/* SPL3T — charte commune au site et à l'application */
:root {
  --fond: #f7f5ef; --carte: #fff; --encre: #13201b; --doux: #5d6862; --ligne: #e3e0d4;
  --accent: #0c5a45; --accent-fonce: #083f30; --accent-pale: #e4f0ea;
  --corail: #d9482b; --corail-pale: #fdebe6; --soleil: #c8f04a;
  --rayon: 18px; --touche: 48px;
  --police: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 17px/1.5 var(--police); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--soleil); outline-offset: 2px; }

.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--touche); padding: 0 22px; border: 2px solid var(--accent); border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .1s, background .15s; }
.bouton:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); }
.bouton:active { transform: scale(.97); }
.bouton[disabled] { opacity: .5; pointer-events: none; }
.bouton.contour { background: transparent; color: var(--accent-fonce); }
.bouton.contour:hover { background: var(--accent-pale); }
.bouton.discret { background: transparent; border-color: transparent; color: var(--doux); font-weight: 600; padding: 0 12px; }
.bouton.discret:hover { background: rgba(0,0,0,.05); }
.bouton.danger { background: transparent; border-color: transparent; color: var(--corail); }
.bouton.large { width: 100%; min-height: 56px; font-size: 18px; }

/* Pastille de langue */
.langue { position: relative; }
.langue > button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--ligne); border-radius: 999px; background: var(--carte); font-weight: 700; font-size: 14px; }
.langue svg { width: 16px; height: 16px; }
.langue ul { position: absolute; z-index: 50; top: calc(100% + 6px); inset-inline-start: 0; margin: 0; padding: 6px; list-style: none; min-width: 170px; max-height: 60vh; overflow: auto; background: var(--carte); border: 1.5px solid var(--ligne); border-radius: 14px; box-shadow: 0 12px 30px rgba(29,27,47,.14); }
.langue ul[hidden] { display: none; }
.langue li button { display: flex; justify-content: space-between; width: 100%; min-height: 44px; align-items: center; padding: 0 12px; border: 0; border-radius: 10px; background: none; text-align: start; font-size: 16px; }
.langue li button:hover { background: var(--accent-pale); }
.langue li button[aria-current="true"] { font-weight: 800; color: var(--accent-fonce); }
