/* Base commune à tous les templates : réinitialisation et éléments fonctionnels */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
.wrap{max-width:1100px;margin:0 auto;padding:0 16px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-msg{display:none;padding:14px 16px;border-radius:10px;font-size:15px}
.form-msg.ok{display:block;background:#e7f4ec;color:#1d5b36}
.form-msg.err{display:block;background:#fbeaea;color:#8a1f1f}
button[disabled]{opacity:.6;cursor:wait}
summary{list-style:none}
summary::-webkit-details-marker{display:none}
input[type=range]{width:100%}
form{display:grid;gap:12px}
.f2{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
input,select,textarea{width:100%;font:inherit}
textarea{min-height:110px;resize:vertical}
.field{margin-bottom:18px}
.field:last-child{margin-bottom:0}
.field label{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:500;margin-bottom:6px}
.preview-bar{position:sticky;top:0;z-index:100;background:#111;color:#fff;font:14px/1.4 system-ui,sans-serif;padding:10px 16px;text-align:center}
.preview-bar a{color:#ffd58a;margin-left:8px}
.preview-bar ~ .site-nav{top:40px}
.member-photo .initials{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
/* sélecteur de langue */
.nav-right{display:flex;align-items:center;gap:14px}
.lang-switch{display:flex;gap:2px;font-size:12px;font-weight:700;letter-spacing:.06em}
.lang-switch a{text-decoration:none;padding:4px 6px;border-radius:4px;opacity:.55}
.lang-switch a.on{opacity:1;text-decoration:underline;text-underline-offset:4px}
.lang-switch a:hover{opacity:1}
@media(max-width:420px){.site-nav .btn{display:none}}
/* bouton WhatsApp flottant */
.wa-float{position:fixed;right:18px;bottom:18px;z-index:90;display:flex;align-items:center;gap:8px;background:#25D366;color:#fff;text-decoration:none;
  font:600 15px/1 system-ui,-apple-system,"Segoe UI",sans-serif;padding:12px 18px 12px 14px;border-radius:999px;box-shadow:0 8px 24px rgba(0,0,0,.22);transition:transform .2s,box-shadow .2s}
.wa-float:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.28)}
.wa-float:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media(max-width:600px){.wa-float{padding:13px;right:14px;bottom:14px}.wa-float span{display:none}}
@media print{.wa-float{display:none}}
