/* Sélecteur de langue — s'intègre au topbar existant */
.lang-switch{margin-left:14px;flex:0 0 auto}
.lang-switch select{appearance:none;-webkit-appearance:none;-moz-appearance:none;height:38px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 28px 0 12px;border:1px solid #e2dfd5;border-radius:999px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23687268' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center/10px 7px;font:600 13px 'DM Sans',sans-serif;color:var(--ink,#17251d);cursor:pointer}
.lang-switch select:hover{border-color:#c8c4b8}
.lang-switch select:focus{outline:2px solid var(--green,#235c41);outline-offset:1px}

/* On masque le widget Google natif : seul notre sélecteur reste visible.
   On ne cache jamais le select.goog-te-combo lui-même : c'est lui que
   translate.js pilote pour déclencher la traduction. */
#google_translate_element{position:absolute !important;left:-9999px !important;top:auto !important;width:1px;height:1px;overflow:hidden}
.goog-te-banner-frame{display:none !important}
.goog-te-gadget-icon{display:none !important}
.goog-tooltip,.goog-tooltip:hover{display:none !important}
.goog-text-highlight{background:none !important;box-shadow:none !important}
html,body{top:0 !important;margin-top:0 !important;position:static !important}
.skiptranslate iframe{display:none !important}

@media(max-width:780px){
  .lang-switch{margin-left:auto;order:2;flex:0 0 auto;max-width:96px}
  .lang-switch select{height:34px;max-width:96px;font-size:11px;padding:0 22px 0 8px;background-position:right 8px center}
  .menu-toggle{order:3;margin-left:8px}
  .topbar nav{order:4}
}

@media(max-width:400px){
  .lang-switch{max-width:74px}
  .lang-switch select{max-width:74px;font-size:10px;padding:0 18px 0 6px}
}
