.entete {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--gg-blanc);
  border-bottom: 3px solid var(--gg-rouge);
  box-shadow: 0 8px 24px rgb(26 40 65 / 0.06);
}

.entete__barre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  max-width: var(--gg-mesure);
  margin: 0 auto;
  padding: 0.85rem 1.25rem 1rem;
}

.entete__droite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.75rem;
  margin-left: auto;
}

.entete__outils {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.logo {
  margin-right: auto;
  line-height: 0;
}

.logo img {
  width: 220px;
  max-width: 58vw;
  height: auto;
}

.entete__tel,
.langue a,
.nav a,
.pied a,
.appel-fixe,
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}

.entete__tel {
  display: none;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--gg-beige);
  color: var(--gg-bleu-nuit);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  transition: background var(--gg-duree) ease, color var(--gg-duree) ease;
}

.entete__tel:hover,
.entete__tel:focus-visible {
  background: var(--gg-bleu-nuit);
  color: var(--gg-blanc);
}

.langue {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0.2rem;
  border-radius: 999px;
  background: var(--gg-beige);
}

.langue a {
  position: relative;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--gg-bleu-nuit);
  font-weight: 700;
  text-decoration: none;
  transition: background var(--gg-duree) ease;
}

.langue__nom {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.drapeau {
  display: block;
  width: 32px;
  height: 22px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgb(26 40 65 / 0.25);
}

.langue a:hover,
.langue a:focus-visible {
  background: var(--gg-blanc);
  color: var(--gg-bleu-nuit);
}

.nav-large {
  display: none;
}

.nav-plus {
  position: relative;
}

.nav-plus summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.4rem 0.85rem;
  border-radius: 0.7rem;
  color: var(--gg-bleu-nuit);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.nav-plus summary::-webkit-details-marker {
  display: none;
}

.nav-plus summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
}

.nav-plus[open] summary {
  background: var(--gg-beige);
}

.nav-plus[open] summary::after {
  transform: translateY(0.12rem) rotate(225deg);
}

.nav-plus:has(a[aria-current="page"]) > summary {
  box-shadow: inset 0 -3px 0 var(--gg-rouge);
}

.nav-plus .nav__liste {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 30;
  min-width: 16rem;
  margin: 0;
  padding: 0.4rem;
  border-radius: 1rem;
  background: var(--gg-blanc);
  box-shadow: var(--gg-ombre-forte);
}

.nav-compact {
  flex-basis: auto;
}

.nav-compact summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.4rem 1.15rem;
  border-radius: 999px;
  background: var(--gg-bleu-nuit);
  color: var(--gg-blanc);
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  list-style: none;
  transition: background var(--gg-duree) ease, transform var(--gg-duree) ease;
}

.nav-compact summary::-webkit-details-marker {
  display: none;
}

.nav-compact[open] summary {
  background: var(--gg-rouge);
}

.nav-compact[open] .nav__liste {
  animation: monter 0.35s ease both;
}

.nav__liste {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.nav a {
  justify-content: flex-start;
  padding: 0.45rem 0.8rem;
  border-radius: 0.7rem;
  color: var(--gg-bleu-nuit);
  font-weight: 500;
  text-decoration: none;
  transition: background var(--gg-duree) ease, color var(--gg-duree) ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--gg-beige);
  color: var(--gg-bleu-nuit);
}

.nav a[aria-current="page"] {
  background: var(--gg-beige);
  box-shadow: inset 0 -3px 0 var(--gg-rouge);
}

.nav-secondaire {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
}

.pied {
  background: var(--gg-bleu-nuit);
  color: var(--gg-blanc);
}

.pied :focus-visible {
  outline-color: var(--gg-beige);
}

.pied__contenu {
  display: grid;
  gap: 2rem 2.5rem;
  max-width: 90rem;
  margin: 0 auto;
  padding: 2.75rem 1.25rem 1.5rem;
}

.pied__picto {
  display: block;
  width: 3.25rem;
  height: auto;
  margin-bottom: 1rem;
}

.pied__combine {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.pied__nom,
.pied__titre,
.pied__label,
.pied__jours {
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.pied__creneaux {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.pied__creneaux li + li {
  margin-top: 0.7rem;
}

.pied__jours,
.pied__heure,
.pied__exception {
  display: block;
}

.pied__heure,
.pied__exception {
  font-weight: 400;
}

.pied__heure + .pied__heure {
  margin-top: 0.1rem;
}

.pied__hotline,
.pied address {
  font-weight: 400;
}

.pied a {
  justify-content: flex-start;
  color: var(--gg-blanc);
  font-weight: 700;
  text-decoration: none;
}

.pied__liste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pied__liste a {
  background-image: linear-gradient(var(--gg-beige), var(--gg-beige));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size var(--gg-duree) ease;
}

.pied__liste a[href$=".pdf"] {
  padding-left: 2.05rem;
  background-image: url("/assets/img/icone-pdf.svg"), linear-gradient(var(--gg-beige), var(--gg-beige));
  background-repeat: no-repeat, no-repeat;
  background-position: left center, 0 100%;
  background-size: 1.45rem 1.75rem, 0 2px;
}

.pied__liste a:hover,
.pied__liste a:focus-visible,
.pied__marque a:not(.pied__tel):hover,
.pied__marque a:not(.pied__tel):focus-visible {
  color: var(--gg-blanc);
  background-size: 100% 2px;
}

.pied__liste a[href$=".pdf"]:hover,
.pied__liste a[href$=".pdf"]:focus-visible {
  background-size: 1.45rem 1.75rem, 100% 2px;
}

.pied__liste a[aria-current="page"] {
  color: var(--gg-rouge);
}

.pied a.pied__tel {
  justify-content: center;
  gap: 0.55rem;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  background: var(--gg-beige);
  color: var(--gg-bleu-nuit);
  font-size: 20px;
}

.pied a.pied__tel:hover,
.pied a.pied__tel:focus-visible {
  background: var(--gg-blanc);
  color: var(--gg-bleu-nuit);
}

.pied__reseaux {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.pied a.pied__reseau {
  justify-content: center;
  width: 44px;
  border-radius: 0.55rem;
  background: var(--gg-blanc);
  color: var(--gg-bleu-nuit);
  font-size: 20px;
}

.pied a.pied__reseau:hover,
.pied a.pied__reseau:focus-visible {
  background: var(--gg-beige);
  color: var(--gg-bleu-nuit);
}

.pied__bas {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 2.5rem;
  text-align: center;
}

.pied__bas p {
  margin-bottom: 0.35rem;
}

address {
  font-style: normal;
}

.appel-fixe {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 0.7rem 1rem;
  background: var(--gg-bleu-nuit);
  color: var(--gg-blanc);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 -8px 24px rgb(26 40 65 / 0.2);
}

.appel-fixe:hover,
.appel-fixe:focus-visible {
  background: var(--gg-rouge);
  color: var(--gg-blanc);
  outline-color: var(--gg-beige);
}

@media (min-width: 768px) {
  .entete__tel {
    display: inline-flex;
  }

  .appel-fixe {
    display: none;
  }

  .pied__contenu {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .entete__droite {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
  }

  .entete__outils {
    order: 1;
  }

  .nav-compact {
    display: none;
  }

  .nav-large {
    display: flex;
    order: 2;
    align-items: center;
    justify-content: flex-end;
  }

  .nav-large .nav-principale .nav__liste {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.15rem;
    margin-top: 0;
  }

  .pied__contenu {
    grid-template-columns: 1.05fr 1.25fr 1.35fr 0.95fr;
  }
}

@media (min-width: 1280px) {
  .entete__barre,
  .pied__contenu {
    padding-left: 0;
    padding-right: 0;
  }
}
