/* ReTexto · style v6 pour les pages intérieures (19 nov. 2026)
   Reprend les éléments de l'accueil v6 : menu dans une pilule, appel final en bandeau bleu nuit pleine largeur
   (sans coins arrondis), pied de page posé sur le symbole du logo en très grand, coupé à mi-hauteur.
   Chargé APRÈS site.css et v5-pages.css. L'accueil a les mêmes règles dans home.css. /beta/ ne le charge pas.
   Charte stricte : 10 couleurs, Geist 400/500/600. */

/* ---------- En-tête : navigation groupée dans une pilule ---------- */
@media (min-width: 1024px) {
  .header-nav { gap: 2px; padding: 4px; border-radius: 999px; background: #fbf7f0; border: 1px solid rgba(20, 36, 61, .12); }
  .header-nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #46536a; transition: background-color .2s, color .2s; }
  .header-nav a:hover { background: #ebe2d3; color: #14243d; }
}

/* ---------- Pied de page ---------- */
/* L'appel final (.final) est DANS le pied de page. Il reste en position static : le symbole bleu qu'il contient
   se place donc par rapport au pied de page, au même endroit que le symbole beige ; clip-path le découpe aux bords
   du bandeau. Ne pas passer .final en position relative. */
.v6-foot { position: relative; overflow: hidden; padding: 0; background: transparent; border-top: 0; }
.v6-foot .final { position: static; clip-path: inset(0); padding: 72px 0 80px; color: #fbf7f0;
  background: radial-gradient(60% 90% at 100% 0%, rgba(61, 90, 128, .55), rgba(61, 90, 128, 0) 70%), radial-gradient(50% 80% at 0% 100%, rgba(255, 107, 26, .14), rgba(255, 107, 26, 0) 70%), #14243d; }
.v6-foot .final .final-inner { position: relative; z-index: 1; overflow: visible; isolation: auto; width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
  border-radius: 0; background: none; box-shadow: none; display: grid; gap: 24px; justify-items: start; text-align: left; }
.v6-foot .final .final-inner::before { content: none; }
.v6-foot .final .h2 { margin: 0; max-width: 16em; color: #fbf7f0; }
.v6-foot .final .h2 .soft { color: #dfe6ee; }
.v6-foot .final-price { color: #dfe6ee; }
.v6-links { position: relative; z-index: 1; padding-top: 48px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  .v6-foot .final { padding: 112px 0 120px; }
  .v6-foot .final .final-inner { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: auto auto; align-items: end; column-gap: 64px; row-gap: 14px; }
  .v6-foot .final .h2 { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .v6-foot .final .btn { grid-column: 2; grid-row: 1; justify-self: end; width: auto; }
  .v6-foot .final-price { grid-column: 2; grid-row: 2; justify-self: end; text-align: right; }
  .v6-links { padding-top: 64px; padding-bottom: 56px; }
}

/* Le symbole du logo : aussi large que possible, coupé à mi-hauteur par le bas de la page */
.foot-mark { position: absolute; left: 50%; bottom: 0; width: calc(100% - 2 * var(--gutter)); max-width: 1360px; height: auto; transform: translate(-50%, 50%); pointer-events: none; }
.foot-mark--light { --logo-ink: #ebe2d3; --logo-accent: #ebe2d3; }
.foot-mark--dark { --logo-ink: rgba(61, 90, 128, .4); --logo-accent: rgba(61, 90, 128, .4); }

/* Page d'inscription : pas d'appel final, symbole plus petit et pied de page assez haut pour en montrer la moitié */
.v6-foot--plain .foot-mark { max-width: 640px; }
.v6-foot--plain { min-height: calc(min(100vw - 2 * var(--gutter), 640px) * .49); border-top: 1px solid rgba(20, 36, 61, .12); }

/* ---------- Barre mobile « Réserver ma place » (19 nov.) : petite pilule en bas à droite,
   s'efface quand on fait défiler vers le bas (html.bar-hide, assets/js/bar.js) ---------- */
@media (max-width: 899px) {
  .mobile-bar { left: auto; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); padding: 0; transform: translateY(calc(100% + 40px)); }
  .mobile-bar.show { transform: none; }
  html.bar-hide .mobile-bar.show { transform: translateY(calc(100% + 40px)); }
  .mobile-bar .btn { width: auto; min-height: 46px; padding: 0 20px; border-radius: 999px; font-size: 15px; box-shadow: 0 12px 26px -14px rgba(20, 36, 61, .55); }
}

/* ---------- Menu mobile (19 nov.) : bouton rond dans l'en-tête, liste des liens sous l'en-tête ---------- */
.hdr-act { display: flex; align-items: center; gap: 8px; }
@media (min-width: 1024px) { .header-inner > .hdr-act { justify-self: end; } }
.mnav-btn { display: grid; place-content: center; gap: 5px; width: 42px; height: 42px; flex: none; border-radius: 50%; background: #fbf7f0; border: 1px solid rgba(20, 36, 61, .2); cursor: pointer; }
.mnav-btn span { display: block; width: 16px; height: 2px; border-radius: 2px; background: #14243d; transition: transform .25s var(--ease); }
.mnav-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.mnav-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.site-header .mnav { position: absolute; left: 0; right: 0; top: 100%; padding: 4px var(--gutter) 14px; background: #f3ece1; border-bottom: 1px solid rgba(20, 36, 61, .12); box-shadow: 0 24px 40px -30px rgba(20, 36, 61, .5); }
.mnav[hidden] { display: none; }
.mnav a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid rgba(20, 36, 61, .12); font-size: 17px; font-weight: 500; color: #14243d; text-decoration: none; }
.mnav a:last-child { border-bottom: 0; }
@media (max-width: 380px) { .mnav-btn { width: 40px; height: 40px; } .hdr-act { gap: 6px; } }
@media (min-width: 1024px) { .mnav-btn, .mnav { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mnav-btn span { transition: none; } }
