/* IDvisu / Front-end: match Figma header 17:318 (desktop) and 20:86 (mobile).
   Tokens stay in tokens.css. Account/payment links are intentionally non-operational. */
.header-inner {max-width:1440px;padding-inline:52px;gap:16px;min-height:96px}
.header-inner .brand {flex:0 0 176px;gap:12px;font-size:21px;font-weight:600}
.header-inner .desktop-nav {flex:0 0 396px;margin-left:0;display:flex;gap:20px;align-items:center}
.header-inner .desktop-nav a {font-size:14px;font-weight:400;color:var(--muted)}
.header-inner .desktop-nav a:first-child {min-width:80px}
.header-inner .desktop-nav a:nth-child(2) {min-width:144px}
.header-inner .header-actions {display:flex;flex:1;min-width:0;justify-content:flex-end;align-items:center;margin-left:0;gap:12px}
.header-signin {white-space:nowrap;font-weight:600}
.header-register,.header-offers {min-width:150px;min-height:44px;white-space:nowrap;border-radius:13px}
.theme-toggle {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:108px;min-height:44px;padding:9px 11px;border:1px solid transparent;border-radius:8px;background:var(--soft);color:var(--fg);font:600 13px/18px Geist,Arial,sans-serif;cursor:pointer}
.theme-toggle:hover {border-color:var(--border)}
.theme-symbol {width:24px;display:inline-flex;align-items:center;justify-content:center;font-size:21px;line-height:1}
.theme-toggle:focus-visible {outline:3px solid var(--focus-strong);outline-offset:3px}
@media (min-width:1151px) and (max-width:1340px) {
 .header-inner {padding-inline:28px}
 .header-inner .desktop-nav {flex:1;gap:16px}
 .header-inner .desktop-nav a:nth-child(2) {min-width:auto}
 .header-inner .header-actions {flex:0 1 auto}
 .header-register,.header-offers {min-width:120px;padding-inline:12px}
}
@media (max-width:1150px) {
 .header-inner {padding-inline:clamp(20px,4vw,52px)}
 .header-inner .brand {flex:0 0 auto}
 .header-inner .desktop-nav {flex:1;gap:17px;justify-content:center}
 .header-inner .desktop-nav a:first-child,.header-inner .desktop-nav a:nth-child(2) {min-width:auto}
 .header-inner .header-actions {flex:0 0 auto}
 .header-register,.header-offers {display:none}
}
@media (max-width:700px) {
 .header-inner {min-height:76px;gap:10px;padding-inline:20px}
 .header-inner .brand {margin-right:auto;flex:0 0 auto}
 .header-inner .desktop-nav,.header-inner .header-signin {display:none}
 .header-inner .header-actions {gap:10px}
 .header-inner .mobile-menu {display:block;order:0}
 .theme-toggle {min-width:88px;min-height:44px;padding:8px 7px}
 .theme-symbol {width:20px;font-size:18px}
 .mobile-menu summary {justify-content:center}
 .mobile-access {display:flex;align-items:center;justify-content:space-between;min-height:56px;gap:12px;padding:8px 20px}
 .mobile-access a {white-space:nowrap;min-height:44px;display:inline-flex;align-items:center}
}

/* DEC-121 — deux actions de compte seulement ; Profils reste dans la navigation. */
.header-register{display:inline-flex;min-width:148px}
.header-offers{display:none!important}
@media (min-width:701px) and (max-width:1150px){
 .header-inner .header-register{display:inline-flex;min-width:132px;padding-inline:12px}
 .header-inner .desktop-nav{gap:12px}
 .header-inner .desktop-nav a{font-size:13px}
 .header-inner .brand{font-size:19px}
}
@media (max-width:700px){
 .header-inner .header-register{display:none}
 .mobile-access{justify-content:flex-end;gap:22px}
}

/* DEC-122 — actions ferrées à droite ; Connexion Primary Filled, compte Outline. */
.header-inner .header-actions{margin-left:auto;flex:1 1 auto;justify-content:flex-end;min-width:0;}
.header-inner .header-signin,.header-inner .header-register{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:150px;white-space:nowrap;border-radius:12px;font-weight:600;font-size:14px;}
.header-inner .header-signin{color:var(--action-fg);background:var(--action);border:1px solid var(--action);}
.header-inner .header-signin:hover{background:var(--action-hover);border-color:var(--action-hover);}
.header-inner .header-register{background:transparent;color:var(--soft-ink);border:1px solid var(--soft-ink);}
.header-inner .header-register:hover{background:var(--soft);}
.mobile-access{justify-content:flex-end;gap:12px;}
.mobile-access .mobile-signin,.mobile-access .mobile-register{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:0 14px;white-space:nowrap;border-radius:10px;}
.mobile-access .mobile-signin{background:var(--action);color:var(--action-fg);border:1px solid var(--action);}
.mobile-access .mobile-register{background:transparent;color:var(--soft-ink);border:1px solid var(--soft-ink);}
@media(max-width:1150px) and (min-width:701px){
 .header-inner .header-actions{margin-left:auto;flex:0 0 auto;}
 .header-inner .header-signin,.header-inner .header-register{display:inline-flex;min-width:116px;padding:0 10px;font-size:13px;}
}
@media(max-width:700px){
 .header-inner .header-signin,.header-inner .header-register{display:none;}
 .mobile-access{justify-content:flex-end;gap:12px;}
 .mobile-access .mobile-signin,.mobile-access .mobile-register{font-size:13px;}
}
@media(max-width:360px){
 .mobile-access .mobile-signin,.mobile-access .mobile-register{padding-inline:9px;font-size:12px;}
}

/* DEC-123 — Blanc de charte (#FFFFFF), Outline Dark, toutes tailles. */
[data-theme="dark"] .header-inner .header-register,
[data-theme="dark"] .mobile-access .mobile-register{background:transparent;color:var(--outline-fg);border:1px solid var(--outline-border);}
[data-theme="dark"] .header-inner .header-register:hover,
[data-theme="dark"] .mobile-access .mobile-register:hover{background:var(--soft);color:var(--outline-fg);border-color:var(--outline-border);}

/* DEC-124 — Produit devient l'unique rubrique principale du site public. */
.header-inner .desktop-nav{flex:0 0 auto;min-width:90px;margin-left:0}
.header-inner .desktop-nav a:first-child{min-width:auto}
.header-inner .header-actions{margin-left:auto}
