/* Les pages du site public autres que l'accueil. Va avec kit/kit.css, dont elle reprend les couleurs, la police et les boutons. */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; background: linear-gradient(180deg, var(--peche-fond) 0, #fff 560px); }
main { flex: 1; }

/* L'en-tête : la même capsule que sur l'accueil */
.haut { position: sticky; top: 0; z-index: 10; padding: 14px 0 0; }
.haut .entete .liens a { text-decoration: none; }
.haut .entete .liens a:hover, .haut .entete .liens a[aria-current] { color: var(--encre); }
.haut .entete .conn { text-decoration: none; }
.haut .entete .conn:hover { color: var(--encre); }

/* Le haut d'une page : un titre, une phrase, et Léo */
.tete-p { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: 40px; padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.tete-p.seule { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.tete-p .sur { font-size: 16px; font-weight: 600; color: var(--peche-encre); }
.tete-p h1 { margin-top: 10px; font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1.03; }
.tete-p .sous { font-size: 20px; text-wrap: pretty; }
.tete-p .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tete-p .leo { justify-self: center; width: min(100%, 340px); height: auto; }
.boutique { margin-top: 14px; font-size: 19px; font-weight: 600; color: var(--peche-encre); }

.btn.clair { background: #fff; box-shadow: var(--k-ombre); }
.btn.clair::before { background: var(--peche-pale); }

/* Les blocs : des cartes blanches avec une ombre, sans contour */
.blocs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; padding-bottom: 24px; }
.bloc { padding: 26px 26px 28px; border-radius: 22px; background: #fff; box-shadow: var(--k-ombre); }
.bloc h2, .bloc h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }
.bloc p, .bloc ul { margin-top: 10px; color: var(--texte); line-height: 1.6; }
.bloc ul { padding-left: 20px; }
.bloc li + li { margin-top: 5px; }
.bloc a, .texte a, .suite a { color: var(--encre); text-underline-offset: 3px; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: var(--peche-fond); font-size: 15px; font-weight: 700; color: var(--peche-encre); }

/* Les étapes : une grande carte par étape, l'image d'un côté */
.etapes { display: grid; gap: 18px; padding-bottom: 24px; }
.etape { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: center; gap: 32px; padding: 30px 34px; border-radius: 26px; background: #fff; box-shadow: var(--k-ombre); }
.etape h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; }
.etape p { margin-top: 12px; font-size: 18px; color: var(--texte); line-height: 1.6; }
.etape img { justify-self: center; width: min(100%, 320px); height: auto; }

/* Les questions */
.questions { display: grid; gap: 14px; max-width: 860px; padding-bottom: 24px; }

/* Le bas de page : où aller ensuite */
.suite { margin: 28px 0 0; padding: 32px; border-radius: 26px; background: var(--peche-fond); text-align: center; }
.suite h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.1; }
.suite p { margin-top: 10px; color: var(--texte); }
.suite .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.page-fin { padding-bottom: 72px; }

/* Les pages de texte (mentions légales, confidentialité) */
.texte { width: min(100% - 40px, 760px); margin: 0 auto; padding: clamp(36px, 6vw, 72px) 0 80px; }
.texte h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); line-height: 1.05; }
.texte .maj { margin-top: 12px; font-size: 15px; color: var(--doux); }
.texte section { margin-top: 26px; padding: 26px 28px; border-radius: 20px; background: #fff; box-shadow: var(--k-ombre); }
.texte h2 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; }
.texte p, .texte ul { margin-top: 10px; color: var(--texte); line-height: 1.6; }
.texte ul { padding-left: 20px; }
.texte li + li { margin-top: 6px; }
.texte .a-completer { padding: 1px 6px; border-radius: 6px; background: var(--peche-fond); color: var(--peche-encre); font-weight: 600; }

/* Le pied de page */
.bas { margin-top: 40px; padding: 56px 0 26px; border-top: 1px solid rgba(184, 67, 31, 0.16); background: linear-gradient(180deg, var(--peche-fond), #FFE2D3); font-size: 15.5px; color: var(--texte); }
.bas .cols { display: grid; grid-template-columns: minmax(0, 1.75fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.bas .marque { font-size: 24px; text-decoration: none; color: var(--encre); }
.bas .marque img { width: 36px; height: 36px; }
.bas .marque-b p { max-width: 21em; margin-top: 14px; }
.bas .titre { font-size: 15px; font-weight: 600; color: var(--encre); }
.bas ul { display: grid; gap: 10px; margin-top: 14px; padding: 0; list-style: none; }
.bas ul a { text-decoration: none; }
.bas ul a:hover { color: var(--encre); text-decoration: underline; text-decoration-color: var(--peche-vif); text-underline-offset: 4px; }
.bas .fin { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(184, 67, 31, 0.16); font-size: 14.5px; color: var(--doux); }

@media (max-width: 1080px) {
  .bas .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
  .bas .marque-b { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .tete-p, .etape { grid-template-columns: minmax(0, 1fr); }
  .tete-p .leo { width: min(70%, 260px); }
  .etape { padding: 24px 22px; }
  .etape img { order: -1; width: min(80%, 260px); }
}
@media (max-width: 620px) {
  .cadre { width: min(100% - 32px, var(--page)); }
  .haut .entete .long { display: none; }
  .texte { width: min(100% - 32px, 760px); }
  .texte section, .bloc { padding: 20px 18px; }
  .suite { padding: 26px 18px; }
  .bas .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
}
.titre-blocs { margin: 8px 0 16px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; }
