/* Pied de page du site : bandeau de confiance sur les vagues bleue et orange, puis une ligne discrète
   (menus repliés, ©, réseaux sociaux, crédit GeoNames). Chargé par layouts/app.php sur toutes les pages. */
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans.woff") format("woff"); font-weight: 100 1000; font-display: swap; }

.ft { --ft-ink: #0B1A3D; --ft-navy: #0B2A66; position: relative; overflow: hidden; margin-top: 48px; padding: 18px 0 clamp(60px, 9vw, 96px); background: linear-gradient(180deg, rgba(246, 249, 255, 0) 0, #F4F7FE 60px, #F4F7FE 100%); font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ft-ink); }
.is-home .ft { margin-top: 0; padding-top: 26px; background: #F4F7FE; }
.ft__wave { position: absolute; bottom: 0; z-index: 0; pointer-events: none; }
.ft__wave svg { display: block; width: 100%; height: 100%; }
.ft__wave--g { left: 0; width: clamp(96px, 11.5vw, 192px); aspect-ratio: 192 / 123; }
.ft__wave--d { right: 0; width: clamp(48px, 5vw, 84px); aspect-ratio: 84 / 81; }
.ft__in { position: relative; z-index: 1; width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 clamp(16px, 4.4vw, 74px); display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* Bandeau de confiance */
.ft__trust { display: grid; gap: 12px; width: 100%; margin: 0; padding: 16px 20px; list-style: none; border-radius: 24px; background: #EEF3FB; }
.ft__trust li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 14.5px; line-height: 1.3; color: var(--ft-ink); }
.ft__ic { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ft-navy); font-size: 27px; box-shadow: 0 6px 14px -8px rgba(11, 42, 102, .35); }
.ft__ic svg { width: 1em; height: 1em; }

/* Menus repliés (s'ouvrent vers le haut) */
.ft__menus { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.ft__menu { position: relative; }
.ft__menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #2B3D72; cursor: pointer; user-select: none; }
.ft__menu > summary::-webkit-details-marker { display: none; }
.ft__menu > summary:hover, .ft__menu[open] > summary { background: #E6EDFA; color: var(--ft-navy); }
.ft__menu > summary svg { width: 14px; height: 14px; transition: transform .15s; }
.ft__menu[open] > summary svg { transform: rotate(180deg); }
.ft__panel { position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 30; min-width: 230px; max-width: 86vw; margin: 0; padding: 6px; list-style: none; transform: translateX(-50%); border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #DCE6F8, 0 18px 40px -18px rgba(26, 70, 160, .45); }
.ft__panel a { display: block; padding: 8px 12px; border-radius: 9px; font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--ft-ink); text-decoration: none; }
.ft__panel a:hover { background: #F2F6FF; color: #1C51CC; }

/* Ligne légale */
.ft__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; font-size: 13px; color: #4B5B85; text-align: center; }
.ft__fr { display: inline-flex; align-items: center; gap: 6px; }
.ft__fr svg { border-radius: 2px; }
.ft__social { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ft__social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--ft-navy); background: #E6EDFA; }
.ft__social a:hover { background: var(--ft-navy); color: #fff; }
.ft__credit { color: #6A78A0; text-decoration: none; font-size: 12px; }
.ft__credit:hover { text-decoration: underline; }
.ft a:focus-visible, .ft summary:focus-visible { outline: 3px solid rgba(28, 81, 204, .4); outline-offset: 2px; }

@media (min-width: 640px) {
  .ft__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; width: auto; border-radius: 999px; padding: 10px 28px; }
}
@media (min-width: 1024px) {
  .ft__trust { width: min(1290px, 100vw - 2 * clamp(96px, 11.5vw, 192px)); justify-content: space-evenly; flex-wrap: nowrap; gap: 0; padding: 8px 30px; }
  .ft__trust li { font-size: 14px; }
  .ft__trust li + li { padding-left: 24px; margin-left: 24px; border-left: 1.3px solid #98A5BE; }
}
/* Espace pour la barre d'onglets du bas sur téléphone */
@media (max-width: 767.98px) { .ft { padding-bottom: 110px; } }
@media print { .ft { display: none !important; } }
