/* An independent header control; no hero styles or image changes. */
html body .ag-language-selector{position:relative;flex:0 0 auto;align-self:center;margin-left:12px;font-family:Poppins,Arial,sans-serif;z-index:40;--language-gold:#d8b36c}
html body .ag-language-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:62px;min-height:44px;padding:8px 10px;border:0;border-radius:4px;background:transparent;color:#fff;font:500 14px/1.2 Poppins,Arial,sans-serif;letter-spacing:.04em;cursor:pointer;transition:color .18s}
html body .ag-language-toggle:is(:hover,[aria-expanded="true"]){color:var(--language-gold)}
html body .ag-language-toggle svg{flex:none;transition:transform .18s}
html body .ag-language-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
html body .ag-language-options{position:absolute;top:calc(100% + 12px);right:0;width:232px;box-sizing:border-box;padding:5px 0;overflow:hidden;background:linear-gradient(135deg,#153b83,#081a46 82%);border:1px solid rgba(216,179,108,.78);border-radius:8px;box-shadow:0 12px 30px rgba(2,8,25,.28);text-align:left;color:#fff}
html body .ag-language-options[hidden]{display:none!important}
html body .ag-language-caption{display:block;padding:9px 17px 8px;color:#c3cee4;font-size:10px;font-weight:500;letter-spacing:.14em;text-transform:uppercase}
html body .ag-language-option{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;min-height:48px;padding:12px 17px;margin:0;border:0;border-radius:0;border-top:1px solid rgba(157,183,236,.15);background:transparent;color:#f6f8fd;text-decoration:none;font:400 14px/1.4 Poppins,Arial,sans-serif;letter-spacing:0;text-align:left}
html body .ag-language-option.is-current{background:rgba(58,99,177,.21);color:var(--language-gold)}
html body .ag-language-check{font-size:18px}
html body .ag-language-option small{font-size:9px;color:#bdc9df;white-space:nowrap}
html body .ag-language-option:disabled{opacity:1;cursor:default;color:#f6f8fd}
html body .ag-language-selector :is(a,button):focus-visible{outline:2px solid var(--language-gold);outline-offset:-3px}
html body header:not(.elementor-location-header) .ag-language-toggle{color:#172a80}
@media(max-width:767px){html body .ag-language-selector{margin-left:auto}html body .ag-language-toggle{min-width:52px;padding-inline:6px;font-size:12px}html body .ag-language-options{width:220px;right:-4px}}
@media(prefers-reduced-motion:reduce){html body .ag-language-selector *{transition:none!important}}

/* Shared selector interaction states across every language. */
html body .ag-language-option:not(.is-current):is(:hover,:focus-visible){background:rgba(58,99,177,.25);color:var(--language-gold)}
html body .ag-language-option{transition:color .18s,background .18s}

/* Give longer French labels a protected gap beside the brand, at the same type size. */
@media(min-width:1025px){
html body#ag-home-page[data-site-language="fr"] .elementor-location-header .ag-header-inner{column-gap:40px!important}
html body#ag-home-page[data-site-language="fr"] .elementor-location-header .ag-header-actions{gap:14px!important;min-width:0!important}
html body#ag-home-page[data-site-language="fr"] .elementor-location-header .ag-menu-desktop .elementor-item{padding-left:8px!important;padding-right:8px!important}
}

/* French navigation is longer: keep every utility-page link inside its header. */
@media(min-width:901px){html[lang="fr"] body:not(#ag-home-page) .header-inner{gap:18px;flex-wrap:wrap}html[lang="fr"] body:not(#ag-home-page) .header-inner nav{flex:1 1 780px;min-width:0;justify-content:flex-end;flex-wrap:wrap;gap:10px 16px}}
