/* site-commun.css - Menu unique et bilingue de resiwell.org (07/10/2026).
   Styles préfixés rw- : indépendants des feuilles de style propres à chaque page. */
body { padding-top: 0 !important; }
.rw-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1030; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); font-family: 'Inter', 'Montserrat', Arial, sans-serif; }
.rw-nav * { box-sizing: border-box; }
.rw-nav-in { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rw-marque { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; flex-shrink: 0; }
.rw-marque img { height: 42px; width: auto; align-self: flex-start; }
.rw-marque .l1 { font-size: .62rem; letter-spacing: 1.5px; color: #2a9fd8; font-weight: 600; margin-top: 3px; }
.rw-marque .l2 { font-size: .56rem; color: #6c757d; }
.rw-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.rw-menu > li { position: relative; }
.rw-menu a, .rw-menu button.rw-ouvre { display: block; color: #2c3e50; text-decoration: none; font-size: .74rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 10px 11px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.rw-menu a:hover, .rw-menu button.rw-ouvre:hover, .rw-menu a.actif { color: #2a9fd8; }
.rw-ouvre::after { content: ''; display: inline-block; margin-left: 5px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.rw-sous { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 8px 0; list-style: none; margin: 0; }
.rw-sous a { text-transform: none; letter-spacing: 0; font-size: .86rem; font-weight: 500; padding: 8px 18px; }
.rw-sous a:hover { background: #e8f4fd; }
.rw-sous .sep { border-top: 1px solid #eee; margin: 6px 0; }
.rw-sous .titre { font-size: .68rem; text-transform: uppercase; letter-spacing: 1px; color: #9aa5b1; padding: 6px 18px 2px; }
.rw-menu > li:hover > .rw-sous, .rw-menu > li.ouvert > .rw-sous { display: block; }
.rw-droite { display: flex; align-items: center; gap: 10px; }
.rw-langue { display: inline-flex; border: 1.5px solid #2a9fd8; border-radius: 30px; overflow: hidden; }
.rw-langue button { border: 0; background: #fff; color: #1a7fb8; font-size: .72rem; font-weight: 700; padding: 5px 10px; cursor: pointer; }
.rw-langue button.actif { background: #2a9fd8; color: #fff; }
.rw-in { color: #2c3e50; font-size: 1.1rem; display: inline-flex; }
.rw-burger { display: none; background: none; border: 0; font-size: 1.6rem; color: #2c3e50; cursor: pointer; padding: 4px 8px; }
@media (max-width: 1100px) {
  .rw-burger { display: block; }
  .rw-panneau { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.1); padding: 8px 16px 16px; max-height: calc(100vh - 70px); overflow-y: auto; }
  .rw-nav.ouvert .rw-panneau { display: block; }
  .rw-menu { flex-direction: column; align-items: stretch; }
  .rw-menu a, .rw-menu button.rw-ouvre { width: 100%; text-align: left; padding: 12px 6px; border-bottom: 1px solid #f1f3f5; }
  .rw-sous { position: static; box-shadow: none; padding: 0 0 6px 10px; min-width: 0; }
  .rw-menu > li:hover > .rw-sous { display: none; }
  .rw-menu > li.ouvert > .rw-sous { display: block; }
  .rw-droite { padding-top: 12px; }
}
@media (min-width: 1101px) { .rw-panneau { display: flex; align-items: center; gap: 14px; } }

/* Bandeau d'action en fin de page (choix « A », 08/10/2026). */
.rw-cta { padding: 40px 16px; }
.rw-cta-in { max-width: 1100px; margin: auto; background: linear-gradient(135deg, #2a9fd8, #1a7fb8); color: #fff; border-radius: 20px; padding: 2.4rem 1.6rem; text-align: center; font-family: 'Inter', 'Montserrat', Arial, sans-serif; }
.rw-cta-in h2 { font-weight: 700; font-size: 1.6rem; margin: 0 0 .6rem; color: #fff; }
.rw-cta-in p { margin: 0; opacity: .95; font-size: 1rem; }
.rw-cta-in a { background: #fff; color: #1a7fb8; border-radius: 30px; padding: .75rem 1.7rem; font-weight: 700; text-decoration: none; display: inline-block; margin-top: 1.2rem; }
.rw-cta-in a:hover { background: #e8f4fd; color: #1a7fb8; }
