/* REFONTE — modifications apportées au site d'origine. */

.nav-logo img.brand-logo {
  height: 56px;
  width: auto;
  display: block;
}


.brand-logo,
.brand-logo-footer,
.brand-logo-tunnel {
  shape-rendering: geometricPrecision;
  image-rendering: auto;
}
.footer-logo-wrap img.brand-logo-footer {
  height: 52px;
  width: auto;
  display: block;
}


#tunnel-nav .tn-logo img.brand-logo-tunnel {
  height: 42px;
  width: auto;
  display: block;
}

@media (max-width: 860px) {
  .nav-logo img.brand-logo { height: 48px; }
  #tunnel-nav .tn-logo img.brand-logo-tunnel { height: 36px; }
}
@media (max-width: 420px) {
  .nav-logo img.brand-logo { height: 42px; }
}


.hero-social-proof {
  margin-top: 24px;
  margin-bottom: 28px;
}


.service-cards {
  padding-bottom: 0;
  margin-top: 10px;
  margin-bottom: 12px;
}
.hero { padding-bottom: 44px; }  

@media (max-width: 860px) {
  .service-cards { margin-bottom: 8px; }
  .hero { padding-bottom: 24px; } 
}



body {
  font-family: var(--ff-font);
  font-size: var(--ff-md);
  line-height: var(--ff-md-lh);
  color: var(--ff-text);
  letter-spacing: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: normal;
}


.hero h1 {
  font-size: var(--ff-h1);
  line-height: var(--ff-h1-lh);
  font-weight: 700;
  letter-spacing: normal;
  color: var(--ff-text-title);
}
.section-title,
.cta-final h2 {
  font-size: var(--ff-h2);
  line-height: var(--ff-h2-lh);
  font-weight: 700;
  letter-spacing: normal;
}
.section-title { color: var(--ff-text-title); }
.ritem h3     { font-size: var(--ff-h2); line-height: var(--ff-h2-lh); font-weight: 700;
                color: var(--ff-text-title); }
.step-title,
.success-msg h3 { font-size: var(--ff-h3); line-height: var(--ff-h3-lh); font-weight: 700;
                  color: var(--ff-text-title); }
.step-num     { font-size: var(--ff-h3); font-weight: 700; }

@media (min-width: 768px) {
  .hero h1 { font-size: 2.5rem; line-height: 3rem; }
  .section-title, .cta-final h2, .ritem h3 { font-size: 2rem; line-height: 2.5rem; }
  .step-title, .success-msg h3 { font-size: 1.75rem; line-height: 2.25rem; }
}

/* --- Textes d'accroche ------------------------------------------- */
.hero-sub,
.section-sub,
.cta-final p { font-size: var(--ff-lg); line-height: var(--ff-lg-lh); font-weight: 400; }
.hero-sub, .section-sub { color: var(--ff-text); }

/* --- Sur-titres en capitales -------------------------------------- */

.hero-agrement-top,
.section-label,
.footer-col h4,
.demarche-group-title {
  font-size: var(--ff-sm);
  line-height: var(--ff-sm-lh);
  font-weight: 700;
  letter-spacing: .05em;
}

/* --- Titres de blocs ---------------------------------------------- */
.scard h3,
.step h4 { font-size: var(--ff-lg); line-height: var(--ff-lg-lh); font-weight: 700;
           color: var(--ff-text-title); }
/* Question de FAQ : graisse 500 (voir plus bas), comme l'accordéon du DSFR. */
.faq-q { font-size: var(--ff-lg); line-height: var(--ff-lg-lh);
         color: var(--ff-text-title); }
.rcard-title,
.tp-name { font-size: var(--ff-md); line-height: var(--ff-md-lh); font-weight: 700; letter-spacing: normal; }

/* --- Textes courants ---------------------------------------------- */
.scard p, .step p, .ritem p, .rcard-desc,
.footer-desc, .footer-col ul a, .footer-bottom,
.tname, .tloc, .tp-label, .footer-badge,
.nav-links a, .mobile-menu a, .header-phone, .nav-form-secure,
.hero-pill, .hsp-count, .tab, .progress-label {
  font-size: var(--ff-sm);
  line-height: var(--ff-sm-lh);
}
.faq-a, .ttext, .step-desc {
  font-size: var(--ff-md);
  line-height: var(--ff-md-lh);
}
.tcard-tp-text { font-size: var(--ff-xs); line-height: var(--ff-xs-lh); letter-spacing: normal; }

/* --- Graisses ------------------------------------------------------ */

.nav-form-secure, .scard-btn, .step h4, .tname, .rcard-title,
.btn-next, .success-btn, .tavatar-initials, .progress-label,
.footer-col h4 { font-weight: 700; }

.nav-links a, .mobile-menu a, .header-phone, .hero-pill, .hsp-count,
.tab, .tp-label, .footer-badge, .faq-q, .cta-btns a { font-weight: 500; }

.tloc, .footer-desc, .footer-col ul a, .footer-bottom,
.scard p, .step p, .ritem p, .rcard-desc, .ttext, .faq-a { font-weight: 400; }

.tloc, .footer-bottom { color: var(--ff-text-mention); }

/* --- Boutons et actions -------------------------------------------- */
.scard-btn, .cta-btns a, .btn-next, .success-btn {
  font-size: var(--ff-md);
  line-height: var(--ff-md-lh);
  letter-spacing: normal;
}


.hero-agrement { text-align: center; margin: 28px 0 32px; }

.hero-agrement-top {
  font-size: var(--ff-lg);
  line-height: var(--ff-lg-lh);
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ff-agr-title);
  margin: 0 0 12px;
}
.hero-agrement-sub {
  font-size: var(--ff-sm);
  line-height: var(--ff-sm-lh);
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ff-agr-sub);
  margin: 12px 0 0;
}

.hero-agrement-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0;
}
/* On neutralise les filets bleus du thème, remplacés par les filets gris. */
.hero-agrement-line::before,
.hero-agrement-line::after { content: none; }

.hag-rule { width: 108px; height: 1px; background: var(--ff-agr-rule); }
.hag-flag { display: flex; }
.hag-flag i { display: block; width: 34px; height: 4px; }
.hag-bleu  { background: var(--ff-flag-blue); }
.hag-blanc { background: #fff; box-shadow: inset 0 0 0 1px #DCE2EC; }
.hag-rouge { background: var(--ff-flag-red); }

@media (max-width: 520px) {
  .hero-agrement-top { font-size: var(--ff-md); line-height: var(--ff-md-lh); }
  .hag-rule { width: 56px; }
  .hag-flag i { width: 28px; }
}

/* --- Boutons des cartes de service, devenus de vrais liens --------- */

a.scard-btn {
  display: block;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  line-height: 1.5;
}
a.scard-btn:hover { color: var(--ff-white); }

/*  SECTION D'INTRODUCTION DU HERO */
.hero-intro { text-align: center; margin: 32px 0 0; }


.hero-points {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
}
.hero-points li {
  font-size: var(--ff-lg);
  line-height: var(--ff-lg-lh);
  font-weight: 400;
  color: var(--ff-intro-titre);
  padding: 0 28px;
}
.hero-points li + li { border-left: 1px solid var(--ff-intro-filet); }


.scard-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
}
.scard-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.hero-avis { max-width: 900px; margin: 0 auto 26px; }

.avis-bandeau {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(#fff, #fbfcff);
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  padding: 14px 24px;
  box-shadow: 0 6px 18px rgba(11, 31, 77, .06);
}

/* --- Les cinq portraits, en chevauchement ------------------------- */
.avis-visages { display: flex; flex-shrink: 0; }
.avis-visages img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 1px 3px rgba(11, 31, 77, .12);
}
.avis-visages img + img { margin-left: -12px; }


.avis-ligne { display: flex; align-items: center; gap: 10px; }
.avis-etoiles { width: 96px; height: 19px; display: block; }
.avis-score {
  font-size: var(--ff-h4);
  line-height: 1.2;
  font-weight: 700;
  color: #0a2e75;
}
.avis-mention {
  font-size: var(--ff-md);
  line-height: var(--ff-sm-lh);
  font-weight: 400;
  color: var(--ff-text-title);
  margin: 2px 0 0;
}
.avis-mention strong { font-weight: 700; color: var(--ff-agr-title); }

/* --- Séparateur et compteur ---------------------------------------- */
.avis-trait {
  width: 2px;
  height: 42px;
  background: #d8dfea;
  border-radius: 2px;
  flex-shrink: 0;
}
.avis-compteur {
  font-size: var(--ff-md);
  line-height: var(--ff-md-lh);
  font-weight: 400;
  color: #0a2e75;
  margin: 0;
  text-align: center;
  flex: 1;
}
.avis-compteur strong { font-weight: 700; }

/* --- Petits écrans : on passe sur deux lignes ---------------------- */
@media (max-width: 760px) {
  .avis-bandeau { flex-wrap: wrap; justify-content: center; gap: 14px; padding: 16px 18px; }
  .avis-trait { display: none; }
  .avis-compteur { flex: 1 1 100%; border-top: 1px solid #e8edf6; padding-top: 12px; }
}
@media (max-width: 420px) {
  .avis-visages img { width: 38px; height: 38px; }
  .avis-note { text-align: center; }
  .avis-ligne { justify-content: center; }
}


.passeport-form-wrapper .progress-wrap { display: none; }

.passeport-form-wrapper {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 48px;
  align-items: start;

  max-width: 1200px;
}

/* --- La colonne --------------------------------------------------- */
.ff-stepper {
  --ff-progression: 0%;
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--ff-slate-200);
  border-radius: 14px;
  padding: 24px 22px;
}
.ff-stepper-titre {
  font-size: var(--ff-sm);
  line-height: var(--ff-sm-lh);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ff-intro-sous);
  margin: 0 0 18px;
}
.ff-stepper-pied {
  font-size: var(--ff-sm);
  line-height: var(--ff-sm-lh);
  color: var(--ff-text-mention);
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--ff-slate-200);
}

/* --- La liste et son trait vertical -------------------------------- */
.ff-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
/* trait de fond, du centre de la première puce à celui de la dernière */
.ff-steps::before,
.ff-steps::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-radius: 2px;
}
.ff-steps::before { background: var(--ff-slate-200); }
.ff-steps::after {
  background: var(--ff-blue);
  bottom: auto;
  height: calc((100% - 32px) * var(--ff-progression) / 100%);
  transition: height .35s ease;
}

/* --- Une étape ------------------------------------------------------ */
.ff-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 22px;
}
.ff-step:last-child { padding-bottom: 0; }

.ff-step-puce {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--ff-slate-200);
  font-size: var(--ff-sm);
  font-weight: 700;
  transition: background .25s, border-color .25s, color .25s;
}
.ff-step-num { line-height: 1; }
.ff-step-coche { width: 18px; height: 18px; display: none; }

.ff-step-libelle {
  font-size: var(--ff-sm);
  line-height: 1.35;
  padding-top: 7px;
  transition: color .25s, font-weight .25s;
}

/* --- États ----------------------------------------------------------- */
.ff-step-restant .ff-step-puce   { color: var(--ff-text-mention); }
.ff-step-restant .ff-step-libelle{ color: var(--ff-text-mention); }

.ff-step-courant .ff-step-puce {
  background: var(--ff-blue);
  border-color: var(--ff-blue);
  color: #fff;
  box-shadow: 0 0 0 4px var(--ff-blue-50);
}
.ff-step-courant .ff-step-libelle { color: var(--ff-text-title); font-weight: 700; }

.ff-step-termine .ff-step-puce {
  background: var(--ff-green);
  border-color: var(--ff-green);
  color: #fff;
}
.ff-step-termine .ff-step-num   { display: none; }
.ff-step-termine .ff-step-coche { display: block; }
.ff-step-termine .ff-step-libelle { color: var(--ff-text); }

/* --- Mobile : la colonne passe au-dessus, en version compacte -------- */
@media (max-width: 900px) {

  .passeport-form-wrapper { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .passeport-form-wrapper > * { min-width: 0; }
  .ff-stepper { position: static; padding: 18px 18px 16px; }
  .ff-stepper-titre { margin-bottom: 14px; }
  .ff-step { padding-bottom: 16px; gap: 10px; }
  .ff-step-puce { width: 28px; height: 28px; font-size: var(--ff-xs); }
  .ff-step-coche { width: 15px; height: 15px; }
  .ff-steps::before, .ff-steps::after { left: 13px; top: 14px; bottom: 14px; }
  .ff-steps::after { height: calc((100% - 28px) * var(--ff-progression) / 100%); }
  .ff-step-libelle { padding-top: 5px; }
  .ff-stepper-pied { margin-top: 14px; padding-top: 12px; }
}




/* Accroche, collée aux cartes pour s'y rattacher visuellement */
.hero-accroche {
  font-size: var(--ff-lg);
  line-height: var(--ff-lg-lh);
  font-weight: 400;
  color: var(--ff-intro-sous);
  max-width: 580px;
  margin: 18px auto 0;
}

/* Respiration avant les avis */
.hero-avis { max-width: 900px; margin: 46px auto 0; }

/* Les trois avantages */
.hero-points { margin-top: 34px; }

/* --- Bloc d'agrément ------------------------------------------------ */
.hero-habilitation {
  max-width: 620px;
  margin: 40px auto 0;
  border: 0;
  padding: 0;
}

@media (max-width: 560px) {
  .hero-avis { margin-top: 34px; }
  .hero-points { margin-top: 26px; }
  .hero-habilitation { margin-top: 30px; }
}


.paiement-inline {
  display: none !important;
}
.paiement-inline.est-ouvert {
  opacity: 1;
  margin-top: 24px;
}
.paiement-inline-corps {
  border-top: 1px solid var(--ff-slate-200);
  padding-top: 24px;
}

/* Bouton de paiement : inactif tant que les conditions ne sont pas réunies */
#btnPayer[disabled] {
  opacity: .5;
  cursor: not-allowed;
}
#btnPayer { transition: opacity .25s; }


#tunnel-nav .tn-logo,
#wp--skip-link--target > h1.wp-block-heading,
.card-brand,
.cg-pay-chip,
.cta-final h2,
.ff-404-pills li,
.floa-box-head,
.footer-logo-text,
.hero h1,
.hero-agrement-title,
.hero-agrement-top,
.nav-logo-text,
.opt-price,
.page-content h1,
.passeport-form-wrapper #step-6 .card-brand,
.passeport-form-wrapper #step-6 .floa-box-head,
.passeport-form-wrapper .card-brand,
.passeport-form-wrapper .ff-title,
.passeport-form-wrapper .floa-box-head,
.passeport-form-wrapper .opt-price,
.passeport-form-wrapper .payment-card-brand,
.passeport-form-wrapper .payment-card-heading,
.passeport-form-wrapper .payment-card-section-final .payment-card-brand,
.passeport-form-wrapper .payment-card-section-final .payment-card-heading,
.passeport-form-wrapper .payment-floa-badge,
.passeport-form-wrapper .payment-floa-chip,
.passeport-form-wrapper .payment-floa-head,
.passeport-form-wrapper .payment-gateway-head,
.passeport-form-wrapper .payment-mode-grid-final .payment-mode-title,
.passeport-form-wrapper .payment-mode-title,
.passeport-form-wrapper .recap-total .tp,
.passeport-form-wrapper .step-title,
.recap-total .tp,
.ritem h3,
.scard h3,
.section-title,
.single .wp-block-post-title,
.single h1.wp-block-post-title,
.step-num,
.step-title,
.success-msg h3,
.tp-name,
.woocommerce-checkout .wc-block-components-checkout-step__title,
.wp-block-post-title.has-x-large-font-size,
body.form-nav-mode .nav-form-secure {
  font-weight: 700;
}


.choix-panneau { padding-top: 4px; }

.choix-h1 {
  font-size: var(--ff-h2);
  line-height: var(--ff-h2-lh);
  font-weight: 700;
  color: var(--ff-text-title);
  margin: 10px 0 10px;
}
.choix-sous {
  font-size: var(--ff-md);
  line-height: var(--ff-md-lh);
  color: var(--ff-text);
  margin: 0 0 26px;
}

.choix-liste { display: grid; gap: 14px; }

.choix-carte {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1.5px solid var(--ff-slate-200);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.choix-carte:hover {
  border-color: var(--ff-blue);
  box-shadow: 0 8px 24px rgba(0, 0, 145, .10);
  transform: translateY(-2px);
}

.choix-visuel {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  overflow: hidden;
  display: block;
}
.choix-visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }

.choix-texte { flex: 1; min-width: 0; }
.choix-titre {
  display: block;
  font-size: var(--ff-lg);
  line-height: var(--ff-lg-lh);
  font-weight: 700;
  color: var(--ff-text-title);
}
.choix-desc {
  display: block;
  font-size: var(--ff-sm);
  line-height: var(--ff-sm-lh);
  color: var(--ff-text-mention);
}
.choix-fleche {
  flex-shrink: 0;
  font-size: var(--ff-lg);
  color: var(--ff-blue);
  transition: transform .2s;
}
.choix-carte:hover .choix-fleche { transform: translateX(4px); }

.choix-note {
  font-size: var(--ff-sm);
  line-height: var(--ff-sm-lh);
  color: var(--ff-text-mention);
  margin: 24px 0 0;
}

@media (max-width: 560px) {
  .choix-carte { padding: 14px; gap: 12px; }
  .choix-visuel { width: 50px; height: 50px; border-radius: 12px; }
}

/* --- Hero des landing pages --------------------------------------- */

.hero-cta-btn {
  display: inline-block;
  margin-top: 30px;
}
.hero .hero-points { margin-top: 30px; }
.hero .hero-avis { margin-bottom: 0; }

@media (max-width: 560px) {
  .hero-cta-btn { margin-top: 22px; }
}

/* COMPOSANT — BANDEAU D'AGRÉMENT */
.ff-agrement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.ff-agr-filet {
  flex: 1 1 auto;
  min-width: 24px;
  max-width: 180px;
  height: 1px;
  background: var(--ff-agr-rule);
}

.ff-agr-marianne {
  flex-shrink: 0;
  height: 26px;
  width: auto;
  display: block;
}


.woocommerce img.ff-agr-marianne,
.woocommerce-page img.ff-agr-marianne {
  height: 26px;
  width: auto;
}

.ff-agr-drapeau { display: flex; flex-shrink: 0; }
.ff-agr-drapeau i { display: block; width: 4px; height: 16px; }
.ff-agr-drapeau i:nth-child(1) { background: var(--ff-flag-blue); }
.ff-agr-drapeau i:nth-child(2) { background: #fff; box-shadow: inset 0 0 0 1px #e3e9f4; }
.ff-agr-drapeau i:nth-child(3) { background: var(--ff-flag-red); }

.ff-agr-texte {
  flex-shrink: 0;
  margin: 0;
  font-size: var(--ff-sm);
  line-height: var(--ff-sm-lh);
  color: var(--ff-agr-title);
  white-space: nowrap;
}
.ff-agr-texte strong { font-weight: 700; }
.ff-agr-texte span { font-weight: 400; color: var(--ff-agr-sub); }


.ff-agrement--compact .ff-agr-filet { display: none; }

.ff-agrement--bloc {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.ff-agrement--bloc .ff-agr-filet { display: none; }


.ff-agrement--bloc .ff-agr-marianne { display: none; }
.ff-agrement--bloc .ff-agr-ligne {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ff-agrement--bloc .ff-agr-texte { white-space: normal; }
.ff-agrement--bloc .ff-agr-texte strong,
.ff-agrement--bloc .ff-agr-texte span { color: #fff; }
.ff-agrement--bloc .ff-agr-texte span { color: rgba(255,255,255,.72); }
.ff-agr-restriction {
  margin: 0;
  font-size: var(--ff-xs);
  line-height: var(--ff-xs-lh);
  color: var(--ff-text-mention);
}
.ff-agrement--bloc .ff-agr-restriction { color: rgba(255,255,255,.6); }

/* --- Petits écrans -------------------------------------------------- */
@media (max-width: 900px) {
  .ff-agrement { gap: 9px; }
  .ff-agr-filet { display: none; }
  .ff-agr-marianne { height: 22px; }
}
@media (max-width: 620px) {
  .ff-agr-texte { white-space: normal; font-size: var(--ff-xs); line-height: var(--ff-xs-lh); }
  .ff-agr-texte span { display: block; }
}

/* ÉTAPE « INFORMATIONS DES PARENTS »*/
.parents-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--ff-blue-50);
  border: 1px solid var(--ff-blue-100);
  border-left: 3px solid var(--ff-blue);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 24px;
}
.parents-info-icone {
  flex-shrink: 0;
  color: var(--ff-blue);
  display: block;
  margin-top: 1px;
}
.parents-info-texte {
  margin: 0;
  font-size: var(--ff-sm);
  line-height: var(--ff-sm-lh);
  color: var(--ff-text);
}
.parents-info-texte strong { font-weight: 700; color: var(--ff-text-title); }


.fhint {
  font-size: var(--ff-xs);
  line-height: var(--ff-xs-lh);
  color: var(--ff-text-mention);
  margin-top: 5px;
}
.fhint strong { font-weight: 700; color: var(--ff-text); }

/* Repère entre les champs prioritaires et ceux qu'on peut remettre */
.parents-plus-tard {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--ff-xs);
  line-height: var(--ff-xs-lh);
  color: var(--ff-text-mention);
  margin: 18px 0 12px;
}
.parents-plus-tard::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ff-slate-200);
}

.parents-info--rassurance {
  background: var(--ff-blue-50);
  border: 1px solid var(--ff-blue-100);
  border-left-width: 1px;
  border-radius: 8px;
  gap: 10px;
  padding: 11px 14px;
  margin: 0 0 18px;
}
.parents-info--rassurance .parents-info-icone { color: var(--ff-blue); }
.parents-info--rassurance .parents-info-texte {
  font-size: var(--ff-xs);
  line-height: var(--ff-xs-lh);
}


.ff-logo {
  display: inline-block;
  line-height: 0;
  color: #092344;
  text-decoration: none;
}
.ff-logo-svg {
 
  height: 57px;              /* seule valeur à changer pour redimensionner */
  width: auto;
  display: block;
  shape-rendering: geometricPrecision;
}


.ff-logo--clair { color: #fff; }
.ff-logo--clair .ff-l-bleu  { fill: #8585F6; }
.ff-logo--clair .ff-l-blanc { fill: #fff; }

@media (max-width: 860px) { .ff-logo-svg { height: 48px; } }
@media (max-width: 420px) { .ff-logo-svg { height: 42px; } }

body.form-nav-mode .nav-logo .ff-logo-svg { width: auto; }

/* Tout logo est un lien vers l'accueil, où qu'il se trouve. */
.ff-logo-lien {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}
.ff-logo-lien:hover { opacity: .85; }


@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links a { padding-left: 8px; padding-right: 8px; }
  .nav-inner { gap: 10px; }
}


nav:has(.nav-inner)::after { display: none; }


@media (max-width: 768px) {


  nav .nav-inner,
  body.form-nav-mode nav .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
      "menu     logo      compte"
      "agrement agrement  agrement";
    align-items: center;
    justify-content: initial;
    height: auto;
    min-height: 0;
    padding: 8px 14px 11px;
    column-gap: 8px;

    row-gap: 10px;
  }

  nav .nav-inner .hamburger {
    grid-area: menu;
    justify-self: start;
    padding: 6px;
  }
  nav .nav-inner .nav-logo {
    grid-area: logo;
    justify-self: center;
    margin: 0;
  }
  nav .nav-inner .nav-links-wrapper {
    grid-area: compte;
    justify-self: end;
  }

  nav .nav-inner .nav-form-secure {
    display: block;
    grid-area: agrement;
    justify-self: stretch;
    max-width: none;
    min-height: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    white-space: normal;
    text-align: center;
  }


  nav .nav-inner .nav-form-secure .ff-agrement {
    display: block;
    text-align: center;
    max-width: 100%;
  }
  nav .nav-inner .nav-form-secure .ff-agr-filet { display: none; }
  nav .nav-inner .nav-form-secure .ff-agr-marianne {
    display: inline-block;
    vertical-align: -4px;
    height: 16px;
    margin-right: 5px;
  }
  nav .nav-inner .nav-form-secure .ff-agr-drapeau {
    display: inline-flex;
    vertical-align: -3px;
    margin-right: 6px;
  }
  nav .nav-inner .nav-form-secure .ff-agr-drapeau i { height: 13px; width: 3px; }
  nav .nav-inner .nav-form-secure .ff-agr-texte {
    display: inline;
    white-space: normal;
    font-size: 11px;
    line-height: 1.35;
  }
  nav .nav-inner .nav-form-secure .ff-agr-texte span { display: inline; }


  nav .nav-inner .nav-form-secure .ff-agr-portee {
    display: block;
    margin-top: 1px;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 400;
    color: var(--ff-text-mention);
  }


  body.home nav .nav-inner {
    grid-template-areas: "menu logo compte";
    row-gap: 0;
  }
  body.home nav .nav-inner .nav-form-secure { display: none; }
}


@media (max-width: 768px) {
  body { margin-top: 106px !important; }
  /* Accueil et landing pages : barre d'un seul rang, donc décalage réduit.
     Sans cette ligne, les 44 px de trop laissaient une bande vide couleur
     fond sous la barre — le « rectangle bleu » signalé en relecture. */
  body.home, body.ff-lp { margin-top: 62px !important; }
}
@media (max-width: 340px) {
  body { margin-top: 116px !important; }
  body.home, body.ff-lp { margin-top: 62px !important; }
}

@media (min-width: 769px) {
  .nav-form-secure .ff-agr-portee { display: none; }
}


@media (max-width: 768px) {


  .hero-points {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    gap: 0;
  }
  .hero-points li {
    padding: 9px 0;
    text-align: center;
  }
  .hero-points li + li {
    border-left: 0;
    border-top: 1px solid var(--ff-intro-filet);
  }


  .hero-mobile-cta { margin-top: 34px; }
}


@media (max-width: 768px) {

  /* --- 1. La barre revient à un seul rang, comme sur l'accueil ---- */
  body.ff-lp nav .nav-inner {
    grid-template-areas: "menu logo compte";
    row-gap: 0;
  }
  body.ff-lp nav .nav-inner .nav-form-secure { display: none; }

  .hero-mobile-cta {
    display: inline-block;
    max-width: calc(100% - 8px);
    padding: 14px clamp(12px, 4.4vw, 32px);
    font-size: clamp(12.5px, 3.75vw, 15.2px);
    line-height: 1.25;
    white-space: nowrap;
    margin-bottom: 0;
  }

  /* --- 3. Le bandeau d'agrément, sous le bouton ------------------- */
  .lp-agrement {
    margin: 18px auto 0;
    text-align: center;
  }
  .lp-agrement .ff-agrement { justify-content: center; gap: 8px; }
  .lp-agrement .ff-agr-marianne { height: 18px; }
  .lp-agrement .ff-agr-texte {
    white-space: normal;
    font-size: clamp(10px, 3vw, 13px);
    line-height: 1.35;
  }
  .lp-agrement .ff-agr-texte span { display: inline; }
  .lp-agrement .ff-agr-restriction {
    margin-top: 5px;
    font-size: clamp(9px, 2.72vw, 12px);
    line-height: 1.35;
  }

  /* Le bloc d'avis reprend la respiration laissée par le bouton. */
  body.ff-lp .hero-avis { margin-top: 30px; }
}


.lp-cta {
  display: inline-block;
  background: var(--ff-blue);
  color: var(--ff-white) !important;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(0, 0, 145, .22);
}


@media (min-width: 769px) {
  .lp-cta {
    margin-top: 30px;
    padding: 15px 40px;
    font-size: 1.1rem;
  }
}
.lp-cta:hover {
  background: var(--ff-blue-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 145, .3);
}


body.ff-lp .hero-points { margin-top: 30px; }
body.ff-lp .lp-agrement { margin-top: 22px; }


body.ff-lp .hero { padding-bottom: 72px; }
@media (max-width: 768px) {
  body.ff-lp .hero { padding-bottom: 48px; }
}

@media (max-width: 768px) {
  body.ff-lp .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }


  body.ff-lp .hero-inner > * { order: 99; }

  body.ff-lp .hero-inner > h1             { order: 1; }
  body.ff-lp .hero-inner > .hero-agrement { order: 2; }  /* carte grise */
  body.ff-lp .hero-inner > .hero-sub      { order: 3; }
  body.ff-lp .hero-inner > .cg-services-section { order: 4; }
  body.ff-lp .hero-inner > .lp-cta        { order: 5; }
  body.ff-lp .hero-inner > .lp-agrement   { order: 6; }
  body.ff-lp .hero-inner > .hero-avis     { order: 7; }
  body.ff-lp .hero-inner > .hero-points   { order: 8; }


  body.ff-lp .hero-inner > h1,
  body.ff-lp .hero-inner > .hero-sub,
  body.ff-lp .hero-inner > .hero-agrement,
  body.ff-lp .hero-inner > .cg-services-section,
  body.ff-lp .hero-inner > .lp-agrement,
  body.ff-lp .hero-inner > .hero-avis,
  body.ff-lp .hero-inner > .hero-points { width: 100%; }


  body.ff-lp .hero-inner > .hero-sub { margin-bottom: 0; }
  body.ff-lp .hero-inner > .lp-agrement { margin-top: 18px; }
  body.ff-lp .hero-inner > .hero-avis   { margin-top: 32px; }
  body.ff-lp .hero-inner > .hero-points { margin-top: 30px; }
}


@media (max-width: 900px) {

  body.ff-stepper-h .ff-stepper {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas:
      "titre  etat"
      "etapes etapes";
    justify-content: space-between;
    align-items: baseline;
    column-gap: 12px;
    padding: 13px 16px 11px;
  }
  body.ff-stepper-h .ff-stepper-titre {
    grid-area: titre;
    margin: 0;
    font-size: var(--ff-xs);
    line-height: var(--ff-xs-lh);
  }
  body.ff-stepper-h .ff-stepper-pied {
    grid-area: etat;
    margin: 0;
    padding-top: 0;
    border-top: 0;
    font-size: var(--ff-xs);
    line-height: var(--ff-xs-lh);
    font-weight: 700;
    color: var(--ff-blue);
  }

  body.ff-stepper-h .ff-steps {
    grid-area: etapes;
    display: flex;
    align-items: center;
    margin-top: 12px;
    padding-bottom: 22px;   /* réserve la ligne du libellé */
  }

  body.ff-stepper-h .ff-steps::before,
  body.ff-stepper-h .ff-steps::after { display: none; }

  body.ff-stepper-h .ff-step {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    padding: 0;
    min-width: 0;
    position: static;
  }
  body.ff-stepper-h .ff-step:first-child { flex: 0 0 auto; }

  body.ff-stepper-h .ff-step + .ff-step::before {
    content: "";
    flex: 1 1 auto;
    height: 2px;
    min-width: 8px;
    background: var(--ff-slate-200);
    border-radius: 2px;
  }
  body.ff-stepper-h .ff-step-termine + .ff-step::before,
  body.ff-stepper-h .ff-step-termine::before { background: var(--ff-green); }

  body.ff-stepper-h .ff-step-puce {
    width: 26px;
    height: 26px;
    font-size: var(--ff-xs);
    flex-shrink: 0;
  }
  body.ff-stepper-h .ff-step-coche { width: 14px; height: 14px; }

  body.ff-stepper-h .ff-step-libelle { display: none; }
  body.ff-stepper-h .ff-step-courant .ff-step-libelle {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    text-align: center;
    font-size: var(--ff-sm);
    line-height: var(--ff-sm-lh);
    font-weight: 700;
    color: var(--ff-text-title);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


@media (min-width: 901px) {

  body.ff-stepper-h .passeport-form-wrapper {
    column-gap: 48px;
    row-gap: 0;
  }
  body.ff-stepper-h .passeport-form-wrapper > .ff-head {
    grid-column: 2;
    grid-row: 1;
  }
  body.ff-stepper-h .passeport-form-wrapper > .ff-stepper {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  body.ff-stepper-h .passeport-form-wrapper > .passeport-form,
  body.ff-stepper-h .passeport-form-wrapper > .choix-panneau {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 900px) {

  body.ff-stepper-h main.wp-block-group { padding-top: 20px !important; }


  body.ff-stepper-h .passeport-form-wrapper { row-gap: 18px; }
  body.ff-stepper-h .passeport-form-wrapper > .ff-head { margin-bottom: 0; }
  body.ff-stepper-h .passeport-form-wrapper > .ff-head .ff-title { margin-bottom: 10px; }

  body.ff-stepper-h .passeport-form-wrapper > .ff-head .choix-sous { margin-bottom: 0; }
  body.ff-stepper-h .passeport-form-wrapper > .ff-stepper { margin-bottom: 6px; }


  body.ff-stepper-h .ff-steps { padding-bottom: 30px; }
  body.ff-stepper-h .ff-steps:not(:has(.ff-step-courant)) { padding-bottom: 0; }
  body.ff-stepper-h .ff-stepper:not(:has(.ff-step-courant)) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "titre"
      "etapes"
      "etat";
    justify-content: stretch;
  }
  body.ff-stepper-h .ff-stepper:not(:has(.ff-step-courant)) .ff-stepper-pied {
    margin-top: 10px;
    text-align: center;
  }
  body.ff-stepper-h .ff-step-courant .ff-step-libelle { bottom: 1px; }

  body.ff-stepper-h .passeport-form-wrapper .btn-next {
    padding: 14px clamp(8px, 2.6vw, 22px);
    font-size: clamp(11.5px, 3.35vw, 15.5px);
    white-space: nowrap;
    min-width: 0;
  }
  body.ff-stepper-h .passeport-form-wrapper .btn-back {
    padding: 13px clamp(10px, 3vw, 22px);
    font-size: clamp(11.5px, 3.35vw, 15.5px);
    white-space: nowrap;
    flex: 0 0 auto;
  }
  body.ff-stepper-h .passeport-form-wrapper .fnav { gap: 8px; }
}


@media (max-width: 768px) {
  .passeport-form-wrapper .rcard-check {
    top: 50%;
    transform: translateY(-50%);
  }
}


@media (max-width: 768px) {
  .passeport-form-wrapper .rcard.sel .rcard-check::after {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    transform: translate(calc(-50% - 0.11px), calc(-50% - 1.20px)) rotate(40deg);
  }
}


@media (max-width: 768px) {
  body.ff-lp .hero,
  body.home .hero { padding-top: 18px; }
}


@media (hover: none) {
  .passeport-form-wrapper .rcard:hover,
  .passeport-form-wrapper .cbcard:hover,
  .passeport-form-wrapper .opt:hover,
  .passeport-form-wrapper .rpcard:hover {
    border-color: var(--ff-slate-200);
    background: #fff;
  }
  .passeport-form-wrapper .rcard.sel:hover,
  .passeport-form-wrapper .rpcard.sel:hover,
  .passeport-form-wrapper .opt.sel:hover {
    border-color: var(--ff-blue);
    background: var(--ff-blue-50);
  }
  .passeport-form-wrapper .cbcard.chk:hover {
    border-color: var(--ff-blue);
    background: var(--ff-blue-50);
    color: var(--ff-blue);
  }
}


@media (max-width: 900px) {
  body.ff-stepper-h:not(.ff-premiere-etape) .ff-head .ff-title { display: none; }
  body.ff-stepper-h:not(.ff-premiere-etape) .ff-head { margin-bottom: 0; }


  body.ff-stepper-h .ff-stepper-titre {
    font-size: clamp(9px, 2.6vw, 12px);
    letter-spacing: .02em;
    line-height: 1.3;
  }
  body.ff-stepper-h .ff-stepper-pied {
    font-size: clamp(9px, 2.6vw, 12px);
    white-space: nowrap;
  }
}

body.ff-lp .hero-inner h1 {
  font-size: 46px;
  line-height: 1.14;
  letter-spacing: -.02em;
}
body.ff-lp .avis-mention {
  font-size: 14.5px;
  line-height: 1.45;
}

@media (max-width: 768px) {
  body.ff-lp .hero-inner h1 {
    font-size: 36px;
    line-height: 1.16;
  }
  body.ff-lp .avis-mention {
    font-size: 13.5px;
    line-height: 1.4;
  }
}


@media (max-width: 768px) {
  body.ff-lp .hero-inner h1 {
    font-size: 31.5px;
    line-height: 1.10;
    letter-spacing: -.015em;
    margin-bottom: 16px;
  }
  body.ff-lp .hero-inner > .hero-sub { margin-bottom: 0; }
  body.ff-lp .hero-inner > .lp-cta { margin-top: 28px; }
}

html, body { overflow-x: clip; }


@media (max-width: 768px) {

  nav .nav-inner .nav-form-secure .ff-agrement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: nowrap;
  }
  nav .nav-inner .nav-form-secure .ff-agr-texte {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    text-align: center;
    text-wrap: balance;
  }
  nav .nav-inner .nav-form-secure .ff-agr-marianne,
  nav .nav-inner .nav-form-secure .ff-agr-drapeau {
    flex-shrink: 0;
    margin-right: 0;
    vertical-align: baseline;
  }
}


.ff-mail-etat {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  line-height: 1.35;
  margin-top: -1px;          /* le .fgroup pose déjà 6px de gouttière */
}
.ff-mail-etat.ff-visible { display: inline-flex; }

/* Confirmation : une pastille, pour qu'on la repère sans la chercher. */
.ff-mail-etat.ff-mail-ok {
  align-self: flex-start;
  padding: 4px 10px 4px 7px;
  border: 1px solid #dcfce7;
  border-radius: 20px;
  background: #f0fdf4;
  color: var(--ff-green);
  font-weight: 700;
}
.ff-mail-etat.ff-mail-ok svg { flex-shrink: 0; }

.ff-mail-etat.ff-mail-ecart {
  color: var(--ff-red-doux);
  font-weight: 400;
}
.ff-mail-etat.ff-mail-ecart svg {
  flex-shrink: 0;
  color: var(--ff-red-doux);
  opacity: .8;        /* le pictogramme accompagne, il ne tape pas */
}


.fgroup.has-error .ff-mail-etat { display: none !important; }


.form-group .ff-mail-etat { margin-top: 7px; }


@media (max-width: 359px) {
  nav .nav-inner .nav-form-secure .ff-agr-marianne,
  nav .nav-inner .nav-form-secure .ff-agr-drapeau { display: none; }
}


.ff-aide {
  position: fixed;
  z-index: 1001;                 /* au-dessus de la barre de tunnel (1000) */
  right: 20px;
  bottom: 20px;
  width: 340px;
  max-width: calc(100vw - 32px);
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 38px 15px 16px;  /* la marge droite dégage la croix */
  background: var(--ff-white);
  border: 1px solid var(--ff-blue-100);
  border-left: 3px solid var(--ff-blue);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .14);
  font-family: var(--ff-font);
}

/* Entrée : elle monte de quelques pixels, le temps qu'on la remarque. */
.ff-aide {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease;
}
.ff-aide.ff-aide--visible { opacity: 1; transform: translateY(0); }

.ff-aide__icone {
  flex-shrink: 0;
  color: var(--ff-blue);
  display: block;
  margin-top: 1px;
}

.ff-aide__texte {
  margin: 0 0 10px;
  font-size: var(--ff-sm);
  line-height: var(--ff-sm-lh);
  color: var(--ff-text);
}

.ff-aide__ok {
  display: inline-block;
  padding: 7px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--ff-blue);
  color: var(--ff-white);
  font-family: var(--ff-font);
  font-size: var(--ff-xs);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
.ff-aide__ok:hover { background: var(--ff-blue-dark); }
.ff-aide__ok:focus-visible,
.ff-aide__croix:focus-visible {
  outline: 2px solid var(--ff-blue);
  outline-offset: 2px;
}

.ff-aide__croix {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--ff-slate-400);
  cursor: pointer;
}
.ff-aide__croix:hover { color: var(--ff-text); background: var(--ff-slate-50); }

/* Téléphone : elle s'étale d'un bord à l'autre, sans toucher les bords. */
@media (max-width: 600px) {
  .ff-aide {
    right: 16px;
    left: 16px;
    bottom: 16px;
    width: auto;
  }
}

/* Quelqu'un qui a demandé moins d'animations n'en reçoit aucune. */
@media (prefers-reduced-motion: reduce) {
  .ff-aide { transition: none; transform: none; }
  .ff-aide.ff-aide--visible { transform: none; }
}


body:not(.ff-premiere-etape) .passeport-form-wrapper > .ff-head .ff-desc {
  display: none;
}

.passeport-form-wrapper #recap.recap-sections:not(:empty) { margin-bottom: 24px; }


.ff-aide__titre {
  display: block;
  margin: 0 0 4px;
  font-size: var(--ff-sm);
  line-height: var(--ff-sm-lh);
  font-weight: 700;
  color: var(--ff-text-title);
}


.ff-aide-fond { display: none; }

@media (max-width: 600px) {
  .ff-aide-fond {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(15, 23, 42, .38);
    opacity: 0;
    transition: opacity .22s ease;
  }
  .ff-aide-fond.ff-aide-fond--visible { opacity: 1; }
}


@media (max-width: 600px) {
  .ff-aide {
    top: 50%;
    bottom: auto;
    left: 24px;
    right: 24px;
    width: auto;
    max-width: 320px;
    margin: 0 auto;
    z-index: 1002;                /* au-dessus du voile */
    display: block;               /* la rangée horizontale n'a plus lieu d'être */
    padding: 24px 20px 20px;
    border: 1px solid var(--ff-slate-200);
    border-left-width: 1px;       /* le filet bleu s'efface */
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .22);
    text-align: center;
    transform: translateY(-50%) scale(.97);
  }
  .ff-aide.ff-aide--visible { transform: translateY(-50%) scale(1); }

  /* Le pictogramme en médaillon, centré */
  .ff-aide__icone {
    width: 44px;
    height: 44px;
    margin: 0 auto 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ff-blue-50);
  }
  .ff-aide__icone svg { width: 22px; height: 22px; }

  .ff-aide__titre {
    font-size: 1.02rem;
    line-height: 1.3;
    margin-bottom: 7px;
  }
  .ff-aide__texte {
    margin-bottom: 18px;
    color: var(--ff-text-mention);
  }

  /* Le bouton prend toute la largeur : la cible est franche au pouce. */
  .ff-aide__ok {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: var(--ff-sm);
  }

  .ff-aide__croix { top: 9px; right: 9px; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 600px) {
  .ff-aide,
  .ff-aide.ff-aide--visible { transform: translateY(-50%); }
  .ff-aide-fond { transition: none; }
}


.rpcard .retract-inline {
  margin-top: 12px;
  padding: 11px 13px;
  border: 1.5px solid var(--ff-blue-100);
  border-radius: 9px;
  background: var(--ff-white);
}
.rpcard .retract-inline > label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin: 0;
}
.rpcard .retract-inline input[type="checkbox"] {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--ff-blue);
  cursor: pointer;
}


.ff-requis {
  display: inline-block;
  margin-bottom: 7px;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--ff-blue-100);
  color: var(--ff-blue);
  font-size: var(--ff-xs);
  font-weight: 700;
  line-height: 1.6;
}
.rpcard .retract-inline.ff-coche { border-color: #dcfce7; background: #f6fef9; }
.rpcard .retract-inline.ff-coche .ff-requis { display: none; }

/* Quand la validation la réclame, le rouge du thème reprend la main. */
.rpcard .retract-inline.has-error { border-color: var(--ff-red); background: #fff5f5; }

@media (max-width: 768px) {
  #sticky-cta .sticky-text { display: none; }
  #sticky-cta .sticky-inner { gap: 0; }
}


#sticky-cta.ff-appui { display: block !important; }



.recap-section-content > .parents-info--rassurance {
  margin: 0 0 12px;
  border-left-width: 1px;
}



@media (min-width: 901px) {

  .passeport-form-wrapper .ff-head { margin-bottom: 20px; }
}


.passeport-form-wrapper .fgroup input,
.passeport-form-wrapper .fgroup select,
.passeport-form-wrapper .fgroup textarea,
.fgroup input,
.fgroup select,
.fgroup textarea { font-size: var(--ff-md); }


.passeport-form-wrapper .fgroup label,
.fgroup label { font-size: var(--ff-sm); }

.passeport-form-wrapper .step-desc,
.wp-block-post-content .step-desc,
.step-desc { font-size: var(--ff-sm); }

.passeport-form-wrapper .rcard-title,
.rcard-title { font-size: var(--ff-sm); }

.passeport-form-wrapper .ff-desc { font-size: var(--ff-sm); }

.ff-step-libelle { font-size: var(--ff-sm); }

.wp-block-post-content p,
.page-content p { font-size: var(--ff-md); }
.footer-desc { font-size: var(--ff-sm); }
.scard .scard-desc,
.scard p { font-size: var(--ff-sm); }


.passeport-form-wrapper .rcard-desc,
.rcard-desc { font-size: var(--ff-xs); }

.passeport-form-wrapper .err-msg,
.passeport-form-wrapper .invalid-feedback,
.err-msg,
.invalid-feedback { font-size: var(--ff-xs); }

.passeport-form-wrapper .fhint,
.fhint { font-size: var(--ff-xs); }

.passeport-form-wrapper .fgroup label .opt-lbl,
.fgroup label .opt-lbl { font-size: var(--ff-xs); }

.passeport-form-wrapper .step-section-title,
.step-section-title { font-size: .875rem; }


@media (max-width: 768px) {
  .passeport-form-wrapper { padding-left: 8px; padding-right: 8px; }
}


.ff-compte-note {
  max-width: 620px;
  padding: 20px 22px;
  border: 1px solid var(--ff-blue-100);
  border-left: 3px solid var(--ff-blue);
  border-radius: 10px;
  background: var(--ff-blue-50);
}
.ff-compte-note p { margin: 0 0 10px; }
.ff-compte-note p:last-child { margin-bottom: 0; }


.page-content #ff-success-wrap h2 {
  border-bottom: 0;
  padding-bottom: 0;
}

.ff-agencify-contact > p {
  padding: 16px 20px;
  border-radius: 10px;
  margin: 0 0 16px;
  font-weight: 600;
  background: var(--ff-slate-50);
  border: 1px solid var(--ff-slate-200);
}
.ff-agencify-contact form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.ff-agencify-contact form > div:first-of-type {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.ff-agencify-contact form > div:first-of-type > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
}
.ff-agencify-contact form > div:first-of-type label {
  display: block;
  font-weight: 700;
  font-size: var(--ff-sm);
  color: var(--ff-ink);
  margin-bottom: 6px;
}
.ff-agencify-contact input[type="text"],
.ff-agencify-contact input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Marianne', sans-serif;
  font-size: var(--ff-md);
  padding: 10px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: var(--ff-slate-50);
  color: var(--ff-ink);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.ff-agencify-contact input[type="text"]:focus,
.ff-agencify-contact input[type="email"]:focus {
  border-color: var(--ff-blue);
  box-shadow: 0 0 0 3px rgba(0, 0, 145, .1);
}
.ff-agencify-contact form > div:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.ff-agencify-contact form > div:nth-of-type(2) > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ff-agencify-contact input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--ff-blue);
  flex-shrink: 0;
  cursor: pointer;
}
.ff-agencify-contact form > div:nth-of-type(2) label {
  font-size: var(--ff-sm);
  font-weight: 400;
  color: var(--ff-text);
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
}
.ff-agencify-contact form > div:nth-of-type(2) label a {
  color: var(--ff-blue);
  text-decoration: underline;
}
.ff-agencify-contact small {
  font-size: var(--ff-xs);
  color: var(--ff-text-mention);
}
.ff-agencify-contact #buttonContactez {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background: var(--ff-blue);
  color: var(--ff-white);
  font-family: 'Marianne', sans-serif;
  font-weight: 700;
  font-size: var(--ff-md);
  padding: 13px 32px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.ff-agencify-contact #buttonContactez:hover {
  background: var(--ff-blue-dark);
}


h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p { text-wrap: wrap; }


body.admin-bar nav { top: 32px; }
body.admin-bar .mobile-menu { top: calc(68px + 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar nav { top: 46px; }
}
