/* N126 - Navigation commune pages assurance */

/* Masquer uniquement les anciens en-tetes des deux pages */
body.s6 > header.s6-header,
body.ah > header.top {
  display:none!important;
}

.sgl-unified-header,
.sgl-unified-header * {
  box-sizing:border-box;
}
.sgl-unified-header {
  position:sticky;
  top:0;
  z-index:10000;
  width:100%;
  background:#101b2e;
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.16);
  font-family:Arial,sans-serif;
}
.sgl-unified-row {
  max-width:1160px;
  margin:auto;
  padding:9px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  min-height:76px;
}
.sgl-unified-brand {
  display:inline-flex;
  align-items:center;
  flex:0 1 auto;
  min-width:0;
  text-decoration:none;
}
.sgl-unified-desktop-logo {
  display:block;
  width:200px;
  max-width:100%;
  height:auto;
  object-fit:contain;
}
.sgl-unified-mobile-logo {
  display:none;
}
.sgl-unified-actions {
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}
.sgl-unified-phone {
  color:#fff;
  font-size:15px;
  font-weight:700;
  text-decoration:none;
}
.sgl-unified-toggle {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:48px;
  padding:10px 13px;
  border:1px solid rgba(255,255,255,.27);
  border-radius:12px;
  background:#263448;
  color:#fff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.05em;
  cursor:pointer;
  white-space:nowrap;
}
.sgl-unified-icon {
  color:#ff6b2c;
  font-size:21px;
  line-height:1;
}
.sgl-unified-toggle:focus-visible,
.sgl-unified-panel a:focus-visible {
  outline:3px solid #ff6b2c;
  outline-offset:2px;
}
.sgl-unified-panel[hidden] {
  display:none!important;
}
.sgl-unified-panel {
  position:absolute;
  top:100%;
  left:0;
  right:0;
  z-index:10001;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  padding:16px max(18px,calc((100% - 1124px)/2));
  max-height:calc(100dvh - 85px);
  overflow-y:auto;
  background:#101b2e;
  box-shadow:0 15px 32px rgba(0,0,0,.25);
}
.sgl-unified-panel a {
  display:flex;
  align-items:center;
  min-height:46px;
  padding:11px 14px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  background:#263448;
  color:#fff;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
}
@media(max-width:700px) {
  .sgl-unified-row {
    padding:9px 12px;
    min-height:74px;
  }
  .sgl-unified-desktop-logo {
    display:none;
  }
  .sgl-unified-mobile-logo {
    display:inline-flex;
    align-items:center;
    gap:6px;
  }
  .sgl-unified-mobile-logo img:first-child {
    display:block;
    width:166px;
    height:auto;
  }
  .sgl-unified-mobile-logo img:last-child {
    display:block;
    width:36px;
    height:auto;
  }
  .sgl-unified-phone {
    display:none;
  }
  .sgl-unified-panel {
    grid-template-columns:1fr;
    padding:12px;
  }
}
@media(max-width:370px) {
  .sgl-unified-mobile-logo img:first-child {
    width:136px;
  }
  .sgl-unified-mobile-logo img:last-child {
    width:30px;
  }
  .sgl-unified-toggle {
    padding:9px 10px;
    gap:6px;
  }
}


/* N128 - Ordre navigation : Assurances, Habitat, Automobile, Tarifs */
.sgl-unified-insurances {
  min-width:0;
  margin:0;
  border:0;
}
.sgl-unified-insurances > summary {
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:46px;
  padding:11px 14px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  background:#263448;
  color:#fff;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  list-style:none;
}
.sgl-unified-insurances > summary::-webkit-details-marker {
  display:none;
}
.sgl-unified-insurances > summary:focus-visible {
  outline:3px solid #ff6b2c;
  outline-offset:2px;
}
.sgl-unified-insurance-links {
  display:grid;
  gap:8px;
  padding:9px 0 0 12px;
}

/* N133 - Navigation ordinateur, styles limites a cet en-tete */
.sgl-unified-header .sgl-assurance-desktop,
.sgl-unified-header .sgl-assurance-cta {
  display:none;
}
@media(min-width:981px) {
  .sgl-unified-header {
    background:rgba(7,17,31,.96);
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  }
  .sgl-unified-header .sgl-unified-row {
    max-width:1180px;
    padding:0 22px;
    gap:24px;
  }
  .sgl-unified-header .sgl-unified-brand {
    flex:0 1 240px;
  }
  .sgl-unified-header .sgl-unified-desktop-logo {
    width:240px;
  }
  .sgl-unified-header .sgl-unified-actions,
  .sgl-unified-header .sgl-unified-panel {
    display:none!important;
  }
  .sgl-unified-header .sgl-assurance-desktop {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex:1;
    gap:16px;
    color:#dbe4f0;
    font-size:14px;
    font-weight:800;
    white-space:nowrap;
  }
  .sgl-unified-header .sgl-assurance-desktop a {
    color:inherit;
    text-decoration:none;
  }
  .sgl-unified-header .sgl-assurance-desktop a:hover {
    color:#fff;
  }
  .sgl-unified-header .sgl-assurance-submenu {
    position:relative;
    margin:0;
    padding:0;
    border:0;
    background:transparent;
  }
  .sgl-unified-header .sgl-assurance-submenu > summary {
    cursor:pointer;
    list-style:none;
    padding:14px 0;
    color:#dbe4f0;
    font:inherit;
  }
  .sgl-unified-header .sgl-assurance-submenu > summary::-webkit-details-marker {
    display:none;
  }
  .sgl-unified-header .sgl-assurance-dropdown {
    position:absolute;
    top:100%;
    left:0;
    min-width:235px;
    padding:8px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:12px;
    background:#101b2e;
    box-shadow:0 12px 30px rgba(0,0,0,.25);
  }
  .sgl-unified-header .sgl-assurance-submenu:not([open]) > .sgl-assurance-dropdown {
    display:none;
  }
  .sgl-unified-header .sgl-assurance-dropdown a {
    display:block;
    padding:12px;
    border-radius:8px;
  }
  .sgl-unified-header .sgl-assurance-dropdown a:hover {
    background:#263448;
  }
  .sgl-unified-header .sgl-assurance-cta {
    display:flex;
    align-items:center;
    gap:8px;
    flex:0 0 auto;
  }
  .sgl-unified-header .sgl-assurance-cta a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 16px;
    border-radius:999px;
    font-size:15px;
    font-weight:900;
    text-decoration:none;
    white-space:nowrap;
  }
  .sgl-unified-header .sgl-assurance-quote {
    color:#fff;
    border:1px solid rgba(255,255,255,.22);
    background:rgba(255,255,255,.08);
  }
  .sgl-unified-header .sgl-assurance-call {
    color:#07111f;
    background:#ff6b2c;
    box-shadow:0 14px 34px rgba(255,107,44,.35);
  }
  .sgl-unified-header a:focus-visible,
  .sgl-unified-header summary:focus-visible {
    outline:3px solid #ff6b2c;
    outline-offset:3px;
  }
}
