/* Sondage qualité houblon - styles limités au conteneur .so (préfixe so-) */
:root { --so-vert: #2d5a27; --so-vert-fonce: #1e3d1a; --so-kraft: #f5f0e6; --so-cuivre: #8a5422; --so-texte: #1f2a1d; --so-gris: #5b6157; --so-bord: #d6cfbf; }
* { box-sizing: border-box; }
body.so-page { margin: 0; background: var(--so-kraft); color: var(--so-texte); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.so { max-width: 720px; margin: 0 auto; padding: 0 16px 32px; }
.so a { color: var(--so-vert); }
.so-entete { padding: 20px 0 12px; border-bottom: 2px solid var(--so-vert); margin-bottom: 20px; }
.so-entete__marque { margin: 0; font-size: 1.3rem; font-weight: 700; color: var(--so-vert-fonce); }
.so-entete__lieu { margin: 2px 0 0; color: var(--so-gris); font-size: .95rem; }
.so h1 { font-size: 1.7rem; line-height: 1.25; color: var(--so-vert-fonce); margin: 0 0 12px; }
.so h1[tabindex]:focus, .so h2[tabindex]:focus, .so-ecran:focus { outline: none; }
.so h2 { font-size: 1.35rem; color: var(--so-vert-fonce); margin: 4px 0 16px; }
.so-ecran { background: #fff; border: 1px solid var(--so-bord); border-radius: 10px; padding: 20px; }
.js .so-ecran { display: none; }
.js .so-ecran--actif { display: block; }
.so-ecran + .so-ecran { margin-top: 16px; }
.js .so-ecran + .so-ecran { margin-top: 0; }
.so-progression { margin: 0; color: var(--so-cuivre); font-weight: 600; font-size: .9rem; }
.so fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.so legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.so-aide { color: var(--so-gris); margin-top: -8px; }
.so-champ { display: block; font-weight: 600; margin-bottom: 16px; }
.so-champ input, .so-champ textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: inherit; font-weight: 400; border: 1px solid #a9a290; border-radius: 6px; background: #fff; color: inherit; }
.so-champ input:focus, .so-champ textarea:focus { outline: 3px solid rgba(45, 90, 39, .3); border-color: var(--so-vert); }
.so-case { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--so-bord); border-radius: 8px; background: var(--so-kraft); margin-bottom: 18px; cursor: pointer; }
.so-case input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--so-vert); }
.so-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.so-carte { position: relative; display: flex; flex-direction: column; padding: 12px; min-height: 64px; border: 2px solid var(--so-bord); border-radius: 8px; cursor: pointer; background: #fff; }
.so-carte input { position: absolute; opacity: 0; pointer-events: none; }
.so-carte__titre { font-weight: 600; }
.so-carte__desc { font-size: .85rem; color: var(--so-gris); }
.so-carte:has(input:checked) { border-color: var(--so-vert); background: #eaf2e6; }
.so-carte:has(input:focus-visible) { outline: 3px solid rgba(45, 90, 39, .4); }
.so-note__choix { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.so-note__option { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 2px; border: 2px solid var(--so-bord); border-radius: 8px; cursor: pointer; min-height: 64px; }
.so-note__option input { position: absolute; opacity: 0; pointer-events: none; }
.so-note__chiffre { font-weight: 700; font-size: 1.15rem; }
.so-note__lib { font-size: .72rem; line-height: 1.2; color: var(--so-gris); hyphens: none; overflow-wrap: normal; }
.so-note__option:has(input:checked) { border-color: var(--so-vert); background: var(--so-vert); color: #fff; }
.so-note__option:has(input:checked) .so-note__lib { color: #fff; }
.so-note__option:has(input:focus-visible) { outline: 3px solid rgba(45, 90, 39, .4); }
.so-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.so-bouton { min-height: 48px; padding: 10px 22px; font: inherit; font-weight: 600; border-radius: 8px; border: 2px solid var(--so-vert); background: var(--so-vert); color: #fff; cursor: pointer; }
.so-bouton:hover { background: var(--so-vert-fonce); }
.so-bouton--second { background: #fff; color: var(--so-vert); }
.so-bouton--second:hover { background: #eaf2e6; }
.so-bouton[disabled] { opacity: .6; cursor: wait; }
.so-piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.so-turnstile { margin: 8px 0 12px; min-height: 65px; }
.so-rgpd { font-size: .85rem; color: var(--so-gris); }
.so-alerte { padding: 10px 12px; border-radius: 6px; background: #fbeaea; color: #8a1c1c; border: 1px solid #e4b4b4; }
.so-promo { padding: 12px; border: 2px dashed var(--so-cuivre); border-radius: 8px; background: var(--so-kraft); }
.so-pied { margin-top: 24px; font-size: .85rem; color: var(--so-gris); text-align: center; }
@media (max-width: 420px) { .so-ecran { padding: 16px 12px; } .so-note__lib { font-size: .66rem; } .so h1 { font-size: 1.45rem; } }
