:root {
  --bleu-marine      : #384972;
  --bleu-marine-dark : #242e4a;
  --bleu             : #7592c0;
  --bleu-clair       : #c3d1e8;
  --bleu-fond        : #eef3fa;
  --texte            : #232b3d;
  --texte-doux       : #5c6b85;
  --fond             : #ffffff;
  --fondpage         : #f7f9fc;
  --bordure          : #e1e7f0;
  --rouge            : #a13a3a;
  --rouge-fond       : #fbeaea;
  --vert             : #3a6035;
  --vert-fond        : #eaf3ea;
  --rayon            : 12px;
  --rayon-lg         : 20px;
  --ombre            : 0 10px 28px rgba(56,73,114,.08);
  --police           : "Montserrat",system-ui,-apple-system,Arial,sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--police); color: var(--texte); background: var(--fondpage); line-height: 1.55; }
a { color: var(--bleu-marine); text-decoration: none; }
a:hover { text-decoration: underline; }
input, select, button, textarea { font-family: inherit; }

/* ---------- Menu de retour vers le site vitrine ---------- */
.site-nav { background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--bordure); position: sticky; top: 0; z-index: 20; }
.site-nav-inner { max-width: 1100px; margin: 0 auto; padding: .65rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-nav-brand img { height: 34px; width: auto; display: block; }
.site-nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.site-nav-links a { text-decoration: none; font-weight: 600; font-size: .82rem; color: var(--texte); padding: .5rem .7rem; border-radius: 8px; transition: background .18s, color .18s; }
.site-nav-links a:hover { background: var(--bleu-fond); color: var(--bleu-marine); text-decoration: none; }
.site-nav-links .site-nav-cta { background: var(--bleu-marine); color: #fff; margin-left: 6px; }
.site-nav-links .site-nav-cta:hover { background: var(--bleu-marine-dark); color: #fff; }
html.en-iframe .site-nav { display: none; }

.bandeau {
  background: linear-gradient(135deg, var(--bleu-marine) 0%, #1e3060 100%);
  padding: .9rem 1.5rem;
  border-bottom: 3px solid var(--bleu-clair);
}
.bandeau .contenu {
  max-width: 640px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.6rem;
}
.bandeau-texte h1 { font-size: 1.05rem; font-weight: 600; color: #fff; }
.bandeau-texte p { font-size: .8rem; color: #b8cde0; }

main.etroit { max-width: 640px; margin: 0 auto; padding: 2.2rem 1.25rem 4rem; }
.carte { background: var(--fond); border: 1px solid var(--bordure); border-radius: var(--rayon-lg); box-shadow: var(--ombre); padding: 1.8rem; }
.carte h2 { color: var(--bleu-marine); font-size: 1.3rem; margin-bottom: .4rem; }
.carte > p.intro { color: var(--texte-doux); font-size: .92rem; margin-bottom: 1.4rem; }

.champ { margin-bottom: 1rem; }
.champ label { display: block; font-size: .85rem; color: var(--texte-doux); margin-bottom: .3rem; }
.champ input, .champ select {
  width: 100%; padding: .68rem .85rem; font-size: .95rem;
  border: 1.5px solid var(--bordure); border-radius: var(--rayon);
  background: var(--fond); color: var(--texte);
}
.champ input:focus, .champ select:focus { outline: none; border-color: var(--bleu-marine); box-shadow: 0 0 0 3px rgba(56,73,114,.16); }
.champ input.invalide, .champ select.invalide { border-color: var(--rouge); }
.champ-ligne { display: flex; gap: .8rem; }
.champ-ligne .champ { flex: 1; }
.champ-case { display: flex; align-items: flex-start; gap: .55rem; font-size: .86rem; color: var(--texte-doux); margin-bottom: 1rem; }
.champ-case input { margin-top: .2rem; }
.champ-aide { font-size: .78rem; color: var(--texte-doux); margin-top: .3rem; }
.champ-erreur { font-size: .8rem; color: var(--rouge); margin-top: .3rem; }

.btn {
  display: inline-block; padding: .72rem 1.6rem; border: 0; border-radius: var(--rayon);
  background: var(--bleu-marine); color: #fff; font-size: .95rem;
  cursor: pointer; transition: background .18s; width: 100%; text-align: center;
}
.btn:hover { background: var(--bleu-marine-dark); text-decoration: none; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bandeau-message { padding: .85rem 1rem; border-radius: var(--rayon); font-size: .9rem; margin-bottom: 1.2rem; }
.bandeau-message.erreur { background: var(--rouge-fond); color: var(--rouge); }
.bandeau-message.succes { background: var(--vert-fond); color: var(--vert); }

.liens-bas { margin-top: 1.3rem; font-size: .87rem; text-align: center; color: var(--texte-doux); }

table.admin { width: 100%; border-collapse: collapse; font-size: .85rem; }
table.admin th, table.admin td { padding: .55rem .6rem; border-bottom: 1px solid var(--bordure); text-align: left; }
table.admin th { color: var(--bleu-marine); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
.etiquette { font-size: .72rem; padding: .12rem .52rem; border-radius: 999px; }
.etiquette.actif { background: var(--vert-fond); color: var(--vert); }
.etiquette.attente { background: #fff4e0; color: #a15c00; }
.etiquette.suspendu { background: var(--rouge-fond); color: var(--rouge); }
.action-mini { font-size: .78rem; padding: .28rem .6rem; border-radius: 6px; background: var(--bleu-fond); color: var(--bleu-marine); border: 0; cursor: pointer; }
.action-mini:hover { background: var(--bleu-marine); color: #fff; }
