:root {
  --fond: #f6f7f9; --carte: #fff; --texte: #1c2430; --doux: #5b6676; --ligne: #e3e7ed;
  --accent: #1f4e79; --accent-clair: #e8f0f8; --vert: #1e7a46; --vert-clair: #e7f5ec; --rouge: #a3322b; --rouge-clair: #fbeceb;
  --rayon: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: .2em 0 .4em; letter-spacing: -.01em; }
h2 { font-size: 1.12rem; margin: 0 0 .7em; }
.cadre { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.discret { color: var(--doux); }
.petit { font-size: .86rem; }
.cache { position: absolute; left: -9999px; }

.entete { background: var(--carte); border-bottom: 1px solid var(--ligne); }
.entete-l { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--texte); font-size: 1.05rem; }
.logo:hover { text-decoration: none; }
.logo b { color: var(--accent); }
.logo-r { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: #fff; font: 700 1.25rem Georgia, serif; }
.cherche { display: flex; flex: 1 1 300px; min-width: 0; max-width: 520px; }
.cherche input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--ligne); border-right: 0; border-radius: var(--rayon) 0 0 var(--rayon); font: inherit; background: #fff; }
.cherche button, .bouton { padding: 9px 16px; border: 0; background: var(--accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.cherche button { border-radius: 0 var(--rayon) var(--rayon) 0; }
.bouton { display: inline-block; border-radius: var(--rayon); }
.bouton:hover { text-decoration: none; filter: brightness(1.1); }
.cherche.grand { max-width: 640px; margin: 18px 0 6px; }
.cherche.grand input, .cherche.grand button { padding: 13px 16px; font-size: 1.05rem; }

main.cadre { padding-top: 18px; padding-bottom: 40px; }
.fil { font-size: .86rem; color: var(--doux); margin-bottom: 10px; overflow-wrap: anywhere; }
.fil .sep { margin: 0 6px; }
.une { padding: 18px 0 8px; }
.chapo { font-size: 1.06rem; color: #2f3a49; max-width: 820px; }
section { margin: 22px 0; }

.bloc { background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 16px 18px; margin: 0 0 16px; }
.bloc.verifie { border-color: #bcd3ea; background: #f7fafd; }
.grille { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 6px 18px; }
.grille li { padding: 4px 0; border-bottom: 1px dashed var(--ligne); }
.liste { list-style: none; padding: 0; margin: 0; }
.liste li { padding: 9px 0; border-bottom: 1px solid var(--ligne); overflow-wrap: anywhere; }
.liste li:last-child { border-bottom: 0; }

.fiche-tete { margin-bottom: 14px; }
.pastilles { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.pastille { display: inline-block; font-size: .8rem; padding: 2px 9px; border-radius: 99px; background: var(--accent-clair); color: var(--accent); font-weight: 600; }
.pastille.active { background: var(--vert-clair); color: var(--vert); }
.pastille.fermee { background: var(--rouge-clair); color: var(--rouge); }
.fiche-corps { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.tableau { display: grid; grid-template-columns: minmax(150px, 34%) 1fr; margin: 0; }
.tableau dt, .tableau dd { margin: 0; padding: 7px 0; border-bottom: 1px solid var(--ligne); }
.tableau dt { color: var(--doux); padding-right: 12px; }
.tableau dd { overflow-wrap: anywhere; }
.dirigeants { list-style: none; padding: 0; margin: 0; }
.dirigeants li { display: grid; grid-template-columns: minmax(150px, 38%) 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--ligne); }
.dirigeants .role { color: var(--doux); }
.etabs { list-style: none; padding: 0; margin: 0; }
.etabs li { display: flex; flex-direction: column; padding: 9px 0; border-bottom: 1px solid var(--ligne); }
.etab-t { font-weight: 600; }
.revendiquer { background: var(--accent-clair); border-color: #c9dbee; }
.promo { border: 1px dashed #c8d2de; border-radius: var(--rayon); padding: 14px 16px; margin: 0 0 16px; font-size: .92rem; background: #fcfdfe; }
.promo-t { font-weight: 700; margin: 0 0 4px; }
.promo .bouton { padding: 6px 12px; font-size: .88rem; background: #2c3e50; }
.pagination { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 18px 0; }
.texte { background: var(--carte); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px 22px; max-width: 860px; }
.formulaire label { display: block; font-weight: 600; }
.formulaire input, .formulaire textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid var(--ligne); border-radius: 8px; font: inherit; font-weight: 400; }
.formulaire { max-width: 640px; }
.alerte { background: var(--rouge-clair); color: var(--rouge); padding: 10px 12px; border-radius: 8px; }

.pied { background: #1c2430; color: #c8d0da; padding: 26px 0; font-size: .9rem; }
.pied a { color: #e3e9f1; margin-right: 14px; display: inline-block; padding: 3px 0; }
.pied .discret { color: #98a3b1; }

@media (max-width: 600px) {
  .entete-l { gap: 8px; }
  .cherche { flex-basis: 100%; max-width: 100%; }
  .cherche button { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 860px) {
  .fiche-corps { grid-template-columns: 1fr; }
  h1 { font-size: 1.45rem; }
  .tableau, .dirigeants li { grid-template-columns: 1fr; }
  .tableau dt { border-bottom: 0; padding-bottom: 0; font-size: .86rem; }
  .dirigeants li { gap: 0; }
  .dirigeants .role { font-size: .86rem; }
}
