/* =========================================================
   ACADEMY — Chrislo Conseils & Investissements
   Direction : « l'agenda des sessions ». Couleurs du logo
   (marine + or) ; l'élément signature est le ticket de date
   de session, repris partout. Tout le reste reste calme.
   ========================================================= */

:root {
  --encre: #16203a;        /* marine du logo : titres, fonds sombres */
  --encre-2: #24304f;      /* marine éclairci : survols sur fond sombre */
  --texte: #3e4759;        /* corps de texte */
  --texte-doux: #5b6476;   /* textes secondaires (>= 4,5:1 sur --fond-doux) */
  --or: #c9a24a;           /* or du logo : tickets, filets — jamais du texte sur fond clair */
  --or-clair: #e9d7a6;     /* or sur fond marine */
  --or-texte: #7a5c18;     /* or lisible sur fond clair (>= 4,5:1) */
  --fond: #ffffff;
  --fond-doux: #f3f4f7;
  --trait: #dfe2e9;

  /* Une couleur par thématique : repérage dans les listes */
  --th-management: #3a5ba0;
  --th-finance: #2f7d6d;
  --th-comptabilite: #6a4c93;
  --th-fiscalite: #b5523b;
  --th-bureautique: #4f7a28;
  --th-vente: #a23b6b;

  --font-titre: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-texte: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;

  --rayon: 10px;
}

/* -------- Base -------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-texte);
  font-size: 1.0625rem;
  background-color: var(--fond);
  color: var(--texte);
  line-height: 1.6;
}

h1, h2, h3, h4, .font-titre {
  font-family: var(--font-titre);
  color: var(--encre);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.05rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
h3 { font-size: 1.25rem; }

a { color: var(--encre); text-decoration-color: var(--or); text-underline-offset: 0.2em; }
a:hover { color: var(--or-texte); }

.text-muted { color: var(--texte-doux) !important; }
.lead { font-size: 1.2rem; color: var(--texte); max-width: 40rem; }
.mesure { max-width: 42rem; }

.fond-doux { background: var(--fond-doux); }

/* -------- Bandeau de contact -------- */
.bandeau-contact {
  background: var(--encre);
  color: #d6dbe6;
  font-size: 0.88rem;
  padding: 0.35rem 0;
}
.bandeau-contact a { color: #fff; text-decoration: none; }
.bandeau-contact a:hover { color: var(--or-clair); text-decoration: underline; }

/* -------- Navigation -------- */
.navbar-academy {
  background: var(--fond);
  border-bottom: 1px solid var(--trait);
  padding: 0.85rem 0;
}
.navbar-academy .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--encre);
  line-height: 1.05;
}
.navbar-academy .navbar-brand .marque-a {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 8px;
  background: var(--or);
  color: var(--encre);
  font-size: 1.35rem;
}
.navbar-academy .navbar-brand small {
  display: block;
  font-family: var(--font-texte);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0;
  color: var(--texte-doux);
}
.navbar-academy .nav-link {
  font-size: 1rem;
  color: var(--encre);
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px;
}
.navbar-academy .nav-link:hover { color: var(--or-texte); }
.navbar-academy .nav-link.active {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--or);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.45em;
}

/* -------- Boutons -------- */
.btn {
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.62rem 1.35rem;
}
.btn-sm { font-size: 0.92rem; padding: 0.42rem 1rem; }
.btn-principal {
  background: var(--encre);
  border: 2px solid var(--encre);
  color: #fff;
}
.btn-principal:hover, .btn-principal:focus-visible {
  background: var(--encre-2);
  border-color: var(--encre-2);
  color: #fff;
}
.btn-or {
  background: var(--or);
  border: 2px solid var(--or);
  color: var(--encre);
}
.btn-or:hover, .btn-or:focus-visible {
  background: var(--or-clair);
  border-color: var(--or-clair);
  color: var(--encre);
}
.btn-contour {
  background: transparent;
  border: 2px solid var(--encre);
  color: var(--encre);
}
.btn-contour:hover, .btn-contour:focus-visible {
  background: var(--encre);
  color: #fff;
}
.btn-contour-clair {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn-contour-clair:hover, .btn-contour-clair:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--encre);
}

/* =========================================================
   Ticket de session — l'élément signature
   ========================================================= */
.ticket {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 4.1rem;
  height: 4.4rem;
  background: var(--or);
  color: var(--encre);
  border-radius: 8px;
  font-family: var(--font-titre);
  line-height: 1;
  text-align: center;
  position: relative;
  font-variant-numeric: tabular-nums;
}
/* Encoches latérales du ticket */
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  margin-top: -0.3rem;
  border-radius: 50%;
  background: var(--ticket-fond, var(--fond));
}
.ticket::before { left: -0.3rem; }
.ticket::after { right: -0.3rem; }
.ticket-jour { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; }
.ticket-mois { font-size: 0.92rem; font-weight: 500; margin-top: 0.15rem; }
.ticket-vide {
  background: var(--fond-doux);
  color: var(--texte-doux);
  border: 1px dashed #b9bfcc;
  font-family: var(--font-texte);
  font-size: 0.78rem;
  line-height: 1.2;
  padding: 0 0.3rem;
}
.ticket-vide::before, .ticket-vide::after { display: none; }
.ticket-grand { width: 5rem; height: 5.4rem; }
.ticket-grand .ticket-jour { font-size: 2.2rem; }

/* -------- Pastilles de thématique -------- */
.pastille {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--encre);
  background: var(--fond-doux);
  border-radius: 999px;
  padding: 0.22rem 0.75rem 0.22rem 0.6rem;
  text-decoration: none;
  line-height: 1.4;
}
.pastille::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--th, var(--or));
}
a.pastille:hover { background: var(--trait); color: var(--encre); }
.pastille-blanche { background: #fff; border: 1px solid var(--trait); }

[data-th="Management"] { --th: var(--th-management); }
[data-th="Finance"] { --th: var(--th-finance); }
[data-th="Comptabilite"] { --th: var(--th-comptabilite); }
[data-th="Fiscalite"] { --th: var(--th-fiscalite); }
[data-th="Bureautique"] { --th: var(--th-bureautique); }
[data-th="Vente"] { --th: var(--th-vente); }

/* =========================================================
   Accueil
   ========================================================= */
.hero-accueil { padding: 4.5rem 0 4rem; }
.hero-accueil h1 { max-width: 15ch; }
.hero-accueil .lead { margin: 1.3rem 0 1.8rem; }
.hero-thematiques { margin-top: 2.4rem; }
.hero-thematiques p { font-size: 0.95rem; color: var(--texte-doux); margin-bottom: 0.6rem; }
.hero-thematiques .d-flex { gap: 0.5rem; }

/* Panneau « Prochaines sessions » : l'agenda */
.agenda {
  --ticket-fond: var(--encre);
  background: var(--encre);
  color: #d6dbe6;
  border-radius: 14px;
  padding: 1.8rem 1.7rem 1.4rem;
}
.agenda h2 { color: #fff; font-size: 1.35rem; margin-bottom: 1.1rem; }
.agenda-liste { list-style: none; margin: 0; padding: 0; }
.agenda-item {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}
.agenda-item h3 { font-size: 1.08rem; color: #fff; margin: 0 0 0.2rem; line-height: 1.3; }
.agenda-item h3 a { color: inherit; text-decoration: none; }
.agenda-item h3 a::after { content: ""; position: absolute; inset: 0; }
.agenda-item:hover h3 a, .agenda-item h3 a:focus-visible { text-decoration: underline; text-decoration-color: var(--or); }
.agenda-item p { margin: 0; font-size: 0.95rem; color: #b9c1d1; font-family: var(--font-titre); font-weight: 500; }
.agenda-vide { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1rem; }
.agenda-vide p { color: #d6dbe6; }
.agenda-pied { margin: 0.6rem 0 0; font-size: 0.95rem; }
.agenda-pied a { color: var(--or-clair); }
.agenda-pied a:hover { color: #fff; }

/* Arrivée des tickets : la seule animation du site */
@media (prefers-reduced-motion: no-preference) {
  .agenda-item .ticket { animation: ticket-arrivee 0.5s cubic-bezier(.2,.7,.2,1) both; }
  .agenda-item:nth-child(2) .ticket { animation-delay: 0.08s; }
  .agenda-item:nth-child(3) .ticket { animation-delay: 0.16s; }
  .agenda-item:nth-child(4) .ticket { animation-delay: 0.24s; }
}
@keyframes ticket-arrivee {
  from { opacity: 0; transform: translateY(8px) rotate(-4deg); }
  to { opacity: 1; transform: none; }
}

/* Points forts */
.atouts { padding: 4rem 0; }
.atout h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.atout p { margin: 0; }
.atout { border-top: 3px solid var(--or); padding-top: 1rem; }

.section { padding: 4rem 0; }
.section-tete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.8rem;
}
.section-tete h2 { margin: 0; }

/* Titre de section (fiches, cabinet, accueil) */
.marker-label { margin: 0 0 1rem; }

/* Bloc devis intra */
.bloc-devis { background: var(--fond-doux); padding: 4.5rem 0; }
.bloc-devis ul { padding-left: 1.2rem; }
.bloc-devis li { margin-bottom: 0.4rem; }
.bloc-devis li::marker { color: var(--or-texte); }

/* -------- Encart blanc générique (formulaires) -------- */
.encart {
  background: var(--fond);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  padding: 1.7rem;
}
.encart-titre { font-size: 1.3rem; margin-bottom: 0.4rem; }

/* =========================================================
   En-tête des pages intérieures
   ========================================================= */
.entete-page {
  background: var(--fond-doux);
  padding: 2.6rem 0 2.4rem;
  border-bottom: 1px solid var(--trait);
}
.entete-page .lead { margin-bottom: 0; }
.fil-ariane {
  font-size: 0.92rem;
  color: var(--texte-doux);
  margin-bottom: 0.9rem;
}
.fil-ariane a { color: var(--texte-doux); }
.fil-ariane a:hover { color: var(--encre); }
.fil-ariane .sep { margin: 0 0.4rem; color: #a3aab8; }

/* =========================================================
   Carte formation
   ========================================================= */
.formation-card {
  --ticket-fond: transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--fond);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  overflow: hidden;
}
.formation-card .formation-cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--fond-doux);
  border-bottom: 4px solid var(--th, var(--or));
}
.formation-card .formation-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.formation-card .ticket {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  box-shadow: 0 2px 6px rgba(22, 32, 58, 0.25);
}
.formation-card .ticket::before, .formation-card .ticket::after { display: none; }
.formation-card .formation-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.2rem 1.3rem 1.3rem;
}
.formation-card h3 { font-size: 1.18rem; margin: 0.7rem 0 0.5rem; line-height: 1.25; }
.formation-card h3 a { color: var(--encre); text-decoration: none; }
.formation-card h3 a::after { content: ""; position: absolute; inset: 0; }
.formation-card:hover h3 a, .formation-card h3 a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--or);
  text-decoration-thickness: 2px;
}
.formation-card .formation-resume { font-size: 0.97rem; color: var(--texte-doux); flex-grow: 1; }
.formation-card .formation-meta { font-size: 0.95rem; color: var(--texte); margin-bottom: 0.9rem; }
.formation-card .formation-pied {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--trait);
}
.prix {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--encre);
  font-variant-numeric: tabular-nums;
}
.formation-card .formation-lien { font-size: 0.95rem; color: var(--or-texte); font-weight: 700; }

/* =========================================================
   Filtres
   ========================================================= */
.filtres {
  background: var(--fond-doux);
  border-radius: var(--rayon);
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.4rem;
}
.form-label { font-size: 0.92rem; font-weight: 700; color: var(--encre); margin-bottom: 0.3rem; }
.resultats { color: var(--texte-doux); margin-bottom: 1.2rem; }

/* -------- Formulaires -------- */
.form-control, .form-select {
  font-family: var(--font-texte);
  font-size: 1rem;
  color: var(--encre);
  background-color: #fff;
  border: 1px solid #c5cad6;
  border-radius: 8px;
  padding: 0.62rem 0.85rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--encre);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.45);
}
::placeholder { color: #737b8c; opacity: 1; }

/* =========================================================
   Fiche formation
   ========================================================= */
.entete-fiche h1 { max-width: 24ch; margin: 0.8rem 0 0.9rem; }
.faits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0;
  margin: 1.8rem 0 0;
  background: var(--fond);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  overflow: hidden;
}
.faits > div { padding: 0.85rem 1.1rem; border-right: 1px solid var(--trait); }
.faits > div:last-child { border-right: 0; }
.faits dt { font-weight: 400; font-size: 0.88rem; color: var(--texte-doux); }
.faits dd { margin: 0.1rem 0 0; font-family: var(--font-titre); font-weight: 700; color: var(--encre); }

.corps-fiche { padding-top: 3rem; padding-bottom: 2rem; }
.corps-fiche section + section { margin-top: 3rem; }
.couverture-fiche { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--rayon); margin-bottom: 2.4rem; }
.presentation { max-width: 42rem; }

/* Objectifs : liste à coches */
.liste-coches { list-style: none; padding: 0; margin: 0; max-width: 42rem; }
.liste-coches li { position: relative; padding-left: 2rem; margin-bottom: 0.7rem; }
.liste-coches li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.35em;
  width: 1.05rem;
  height: 0.6rem;
  border-left: 3px solid var(--or);
  border-bottom: 3px solid var(--or);
  transform: rotate(-45deg);
}

/* Public : pastilles neutres */
.publics { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.publics li { background: var(--fond-doux); border-radius: 999px; padding: 0.35rem 0.95rem; color: var(--encre); }

/* Programme : frise verticale (les modules sont une vraie séquence) */
.frise { list-style: none; padding: 0; margin: 0; counter-reset: module; }
.frise li {
  counter-increment: module;
  position: relative;
  padding: 0 0 1.6rem 3.3rem;
}
.frise li::before {
  content: counter(module);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--encre);
  color: #fff;
  font-family: var(--font-titre);
  font-weight: 700;
}
.frise li::after {
  content: "";
  position: absolute;
  left: calc(1.05rem - 1px);
  top: 2.2rem;
  bottom: 0.2rem;
  width: 2px;
  background: var(--trait);
}
.frise li:last-child { padding-bottom: 0; }
.frise li:last-child::after { display: none; }
.frise-titre { font-weight: 700; color: var(--encre); }
.frise-duree { color: var(--texte-doux); font-size: 0.95rem; margin-left: 0.4rem; }
.frise-detail { color: var(--texte-doux); font-size: 0.97rem; margin-top: 0.25rem; }

/* Colonne d'inscription collante */
.colonne-inscription { position: sticky; top: 96px; }
.carte-inscription {
  background: var(--fond);
  border: 1px solid var(--trait);
  border-top: 5px solid var(--or);
  border-radius: var(--rayon);
  box-shadow: 0 10px 30px rgba(22, 32, 58, 0.08);
  padding: 1.5rem;
}
.carte-inscription .resume-session {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--trait);
}
.carte-inscription .resume-session p { margin: 0; font-size: 0.95rem; font-family: var(--font-titre); font-weight: 500; }
.carte-inscription .resume-session .prix { font-size: 1.4rem; display: block; }
.carte-inscription h2 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.carte-fiche { margin-top: 1rem; padding: 1.3rem 1.5rem; }
.carte-fiche h2 { font-size: 1.1rem; }

.relance {
  background: var(--encre);
  color: #d6dbe6;
  border-radius: 14px;
  padding: 2.4rem 1.5rem;
  text-align: center;
  margin: 3rem 0;
}
.relance h2 { color: #fff; }
.relance p { max-width: 36rem; margin: 0.6rem auto 1.4rem; }

/* =========================================================
   Catalogue
   ========================================================= */
.accordion-catalogue .accordion-item {
  border: 1px solid var(--trait);
  border-radius: var(--rayon) !important;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.accordion-catalogue .accordion-button {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--encre);
  background: var(--fond);
  gap: 0.75rem;
  box-shadow: none;
}
.accordion-catalogue .accordion-button::before {
  content: "";
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--th, var(--or));
}
.accordion-catalogue .accordion-button:not(.collapsed) { background: var(--fond-doux); color: var(--encre); }
.accordion-catalogue .accordion-button:focus { box-shadow: inset 0 0 0 3px rgba(201, 162, 74, 0.6); }
.accordion-catalogue .compte { font-family: var(--font-texte); font-weight: 400; font-size: 0.95rem; color: var(--texte-doux); }
.ligne-catalogue {
  --ticket-fond: var(--fond);
  display: flex;
  gap: 1.1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--trait);
  position: relative;
}
.ligne-catalogue .ticket { width: 3.6rem; height: 3.8rem; }
.ligne-catalogue .ticket-jour { font-size: 1.45rem; }
.ligne-catalogue .ticket-mois { font-size: 0.85rem; }
.ligne-catalogue h3 { font-size: 1.05rem; margin: 0 0 0.2rem; line-height: 1.3; }
.ligne-catalogue h3 a { color: var(--encre); text-decoration: none; }
.ligne-catalogue h3 a::after { content: ""; position: absolute; inset: 0; }
.ligne-catalogue:hover h3 a, .ligne-catalogue h3 a:focus-visible { text-decoration: underline; text-decoration-color: var(--or); }
.ligne-catalogue p { margin: 0; font-size: 0.93rem; color: var(--texte-doux); }
.ligne-catalogue .prix { margin-left: auto; font-size: 1rem; white-space: nowrap; }

/* =========================================================
   Cabinet
   ========================================================= */
.chiffres { list-style: none; padding: 0; margin: 0; }
.chiffres li { padding: 0.9rem 0; border-top: 1px solid var(--trait); }
.chiffres li:first-child { border-top: 0; padding-top: 0; }
.chiffre {
  display: block;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 2rem;
  color: var(--encre);
  line-height: 1.1;
}
.mission h3 { font-size: 1.15rem; }
.mission { border-top: 3px solid var(--or); padding-top: 1rem; }

/* -------- Pagination -------- */
.pagination { gap: 0.3rem; }
.pagination .page-link {
  border-radius: 999px !important;
  border: 1px solid var(--trait);
  color: var(--encre);
  min-width: 2.5rem;
  text-align: center;
}
.pagination .page-item.active .page-link { background: var(--encre); border-color: var(--encre); color: #fff; }
.pagination .page-link:hover { background: var(--fond-doux); color: var(--encre); }
.pagination .page-item.disabled .page-link { color: #a3aab8; }

/* -------- Alertes -------- */
.alert { border-radius: 8px; font-size: 0.97rem; }

/* -------- Pied de page -------- */
footer.site-footer {
  background: var(--encre);
  color: #c3c9d6;
  padding: 3.4rem 0 1.6rem;
  font-size: 0.97rem;
}
footer.site-footer .footer-marque { font-family: var(--font-titre); font-weight: 700; font-size: 1.35rem; color: #fff; }
footer.site-footer .footer-title {
  font-family: var(--font-texte);
  font-size: 1rem;
  font-weight: 700;
  color: var(--or-clair);
  margin-bottom: 0.8rem;
}
footer.site-footer a { color: #e3e7ef; text-decoration: none; }
footer.site-footer a:hover { color: var(--or-clair); text-decoration: underline; }
footer .footer-rule { border-color: rgba(255, 255, 255, 0.14); opacity: 1; margin: 2.2rem 0 1.2rem; }
footer .footer-bottom { font-size: 0.88rem; color: #a9b1c2; }

/* -------- Accessibilité -------- */
a:focus-visible, button:focus-visible, .btn:focus-visible, .form-select:focus-visible {
  outline: 3px solid var(--or);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 991.98px) {
  .colonne-inscription { position: static; margin-top: 2.5rem; }
}
@media (max-width: 767.98px) {
  body { font-size: 1rem; }
  .hero-accueil { padding: 2.6rem 0 2.6rem; }
  .atouts, .section, .bloc-devis { padding: 2.8rem 0; }
  .faits > div { border-right: 0; border-bottom: 1px solid var(--trait); }
  .ligne-catalogue { flex-wrap: wrap; }
  .ligne-catalogue .ligne-texte { flex: 1 1 12rem; }
  .ligne-catalogue .prix { margin-left: 4.7rem; }
}

/* -------- Ancres, anti-spam, WhatsApp, barre mobile -------- */
#inscription, #proposition, #fiche { scroll-margin-top: 96px; }

/* Champ anti-spam (honeypot) : invisible pour les humains, rempli par les robots */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1030;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.whatsapp-float:hover { color: #fff; }

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1020;
  padding: 0.6rem 84px 0.6rem 0.9rem; /* laisse la place au bouton WhatsApp */
  background: var(--fond);
  border-top: 1px solid var(--trait);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}
@media (max-width: 767.98px) {
  body:has(.mobile-cta) { padding-bottom: 72px; }
  body:has(.mobile-cta) .whatsapp-float { bottom: 10px; }
}
