/* Site vitrine — reprend la palette de l'application (theme.css v5).
   Polices système : aucune requête vers un service tiers (RGPD, CSP stricte). */
:root {
  --encre: #26332C;
  --encre-doux: #5A6B60;
  --papier: #F7F5EF;
  --carte: #FFFFFF;
  --bord: #DCD9CF;
  --vert: #2F6F53;
  --vert-fond: #CDEEDD;
  --peche: #FFDBC5;
  --mimosa: #FEEFB1;
  --ciel: #CCEDF4;
  --rose: #FDD5D3;
  --a-completer: #FFF3CF;
  --rayon: 14px;
  --police: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 17px/1.6 var(--police);
}
a { color: var(--vert); }
a:focus-visible, .bouton:focus-visible { outline: 3px solid var(--vert); outline-offset: 3px; }
img { max-width: 100%; }

.conteneur { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.etroit { max-width: 760px; }

/* En-tête */
.entete { background: var(--carte); border-bottom: 1px solid var(--bord); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.marque { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.1rem; color: var(--encre); text-decoration: none; }
.pastilles { display: inline-flex; gap: 3px; }
.pastilles i { width: 8px; height: 22px; border-radius: 4px; display: block; }
.entete nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.entete nav a { color: var(--encre); text-decoration: none; font-weight: 600; font-size: .95rem; }
.entete nav a:hover { color: var(--vert); }

.bouton {
  display: inline-block; background: var(--vert); color: #fff; font-weight: 700;
  padding: .8rem 1.3rem; border-radius: 999px; text-decoration: none;
}
.bouton:hover { background: #255A43; }
.bouton.secondaire { background: transparent; color: var(--vert); border: 2px solid var(--vert); }

/* Accroche */
.accroche { padding: 4.5rem 0 3.5rem; }
.accroche .conteneur { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.surtitre { display: inline-block; background: var(--mimosa); border-radius: 999px; padding: .2rem .8rem; font-size: .85rem; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.12; margin: .8rem 0 1rem; letter-spacing: -.02em; }
.chapo { font-size: 1.15rem; color: var(--encre-doux); max-width: 34ch; }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* Maquette de semaine (décorative) */
.semaine { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1rem; box-shadow: 0 18px 40px -24px rgba(38,51,44,.35); }
.semaine .jours { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.semaine .jour { border-radius: 10px; padding: .55rem .45rem; font-size: .72rem; line-height: 1.35; min-height: 150px; }
.semaine .jour b { display: block; font-size: .8rem; margin-bottom: .35rem; }
.semaine .jour span { display: block; margin-bottom: .3rem; }
.semaine .pied { display: flex; justify-content: space-between; margin-top: .8rem; font-size: .8rem; color: var(--encre-doux); }
.badge { display: inline-block; padding: .05rem .45rem; border-radius: 6px; font-weight: 700; font-size: .72rem; }
.badge.bio { background: #E8F5E9; color: #2E7D32; }
.badge.p { background: #FCE4E2; color: #A31F1F; }

/* Sections */
section { padding: 3.5rem 0; }
section.alterne { background: var(--carte); border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 .6rem; }
.intro { color: var(--encre-doux); max-width: 60ch; margin: 0 0 2rem; }
.grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.carte { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.3rem; }
section.alterne .carte { background: var(--papier); }
.carte h3 { margin: .4rem 0 .4rem; font-size: 1.08rem; }
.carte p { margin: 0; color: var(--encre-doux); font-size: .96rem; }
.carte .pastille { display: inline-block; width: 34px; height: 8px; border-radius: 4px; }

.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.liste-coches { list-style: none; padding: 0; margin: 0; }
.liste-coches li { padding: .55rem 0 .55rem 2rem; position: relative; border-bottom: 1px solid var(--bord); }
.liste-coches li::before { content: "✓"; position: absolute; left: .3rem; color: var(--vert); font-weight: 700; }

.pilote { background: var(--vert-fond); border-radius: var(--rayon); padding: 2rem; display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; align-items: center; }
.pilote p { margin: .4rem 0 0; }

details { border-bottom: 1px solid var(--bord); padding: .9rem 0; }
summary { font-weight: 700; cursor: pointer; }
details p { color: var(--encre-doux); margin: .6rem 0 0; }

/* Pages juridiques */
.page-texte { padding: 3rem 0 4rem; }
.page-texte h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.page-texte h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.page-texte p, .page-texte li { max-width: 70ch; }
.maj { color: var(--encre-doux); font-size: .95rem; }
mark.a-completer { background: var(--a-completer); border: 1px dashed #D9A21B; border-radius: 4px; padding: 0 .25em; color: #7A4F00; }
.avertissement-brouillon { background: var(--a-completer); border-left: 4px solid #D9A21B; padding: .8rem 1rem; border-radius: 8px; margin: 1.2rem 0; }

.tableau-simple { border-collapse: collapse; width: 100%; background: var(--carte); margin: .8rem 0; }
.tableau-simple th, .tableau-simple td { border: 1px solid var(--bord); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.tableau-simple th { width: 30%; background: #F1EFE8; }

/* Pied */
.pied-site { background: var(--encre); color: #E8ECE9; padding: 2rem 0; font-size: .92rem; }
.pied-site .conteneur { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pied-site a { color: #E8ECE9; }
.pied-site nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

@media (max-width: 860px) {
  .accroche { padding: 2.5rem 0; }
  .accroche .conteneur, .deux-colonnes, .pilote { grid-template-columns: 1fr; }
  .grille { grid-template-columns: 1fr; }
  .semaine .jour { min-height: 0; }
}
@media (max-width: 520px) {
  .semaine .jours { grid-template-columns: 1fr 1fr; }
  .entete nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.marque { flex-wrap: wrap; row-gap: 0; }
.marque-sous-titre { display: block; flex-basis: 100%; margin-left: calc(5 * 8px + 4 * 3px + .6rem); font-size: .78rem; font-weight: 600; color: var(--encre-doux); }
@media (max-width: 520px) { .marque-sous-titre { display: none; } }
