/* ==========================================================
   Salon 6ter — éléments communs à toutes les pages
   En-tête et menu, bandeaux de congés, encart « rendez-vous »,
   pied de page, bandeau des pages
   secondaires.
   ========================================================== */

/* ---------- En-tête ---------- */

/* Barre flottante arrondie, translucide, en écho aux arrondis du bandeau */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: var(--retrait) var(--retrait) 0;
  color: var(--texte);
  pointer-events: none;
}
.entete__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
  max-width: none;
  padding: .4rem .5rem .4rem .6rem;
  background: #fffdf9f7;
  border: 1px solid #2e2a2612;
  border-radius: 999px;
  box-shadow: 0 6px 20px -16px #2e2a2640;
  pointer-events: auto;
  transition: box-shadow .3s, background-color .3s;
}
.entete--defile .entete__inner {
  background: var(--blanc);
  box-shadow: 0 14px 34px -18px #2e2a2673;
}
.marque {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
}
.marque img {
  width: 3.7rem;
  height: 3.7rem;
  border-radius: 50%;
  background: var(--blanc);
}
.marque span {
  font-family: var(--corps);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.marque em { font-style: normal; color: var(--jaune-fonce); }

/* Menu : ancres vers les sections de l'accueil */
.entete__nav {
  display: flex;
  align-items: center;
  gap: clamp(.1rem, 1vw, .6rem);
}

.entete__lien {
  position: relative;
  font-size: 1.05rem;
  color: var(--texte);
  text-decoration: none;
  padding: .75rem .35rem;
}
.entete__lien::after {
  content: "";
  position: absolute;
  left: .35rem; right: .35rem; bottom: .5rem;
  height: 2px;
  background: var(--jaune);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--courbe);
}
.entete__lien:hover,
.entete__lien[aria-current] { color: var(--jaune-fonce); }
.entete__lien:hover::after,
.entete__lien[aria-current]::after { transform: scaleX(1); }

/* Sur écran moyen, on garde l'essentiel : Tarifs et Horaires */
@media (max-width: 820px) {
  .entete__lien--large { display: none; }
}

/* ---------- Bandeau de congés (réglages dans js/conges.js) ---------- */

.conges {
  margin: var(--retrait) var(--retrait) 0;
  border-radius: 20px;
  background: var(--jaune-pale);
  color: var(--encre);
  border: 1.5px solid #d3973f80;
}
.conges__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: var(--largeur);
  margin-inline: auto;
  padding: 1rem var(--marge);
}
.conges p { margin: 0; line-height: 1.45; }

.conges__message { display: block; font-style: italic; }
.conges__icone {
  width: 2.75rem;
  height: 2.75rem;
  padding: .6rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--jaune);
  color: var(--encre);
}
/* Pendant les congés : impossible à rater */
.conges--ferme {
  background: var(--rouge);
  color: var(--blanc);
  border-color: var(--rouge);
  font-size: 1.15rem;
}
.conges--ferme .conges__inner { padding-block: 1.25rem; }
.conges--ferme .conges__titre {
  display: block;
  margin: 0 0 .15rem;
  font-family: var(--titre);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}
.conges--ferme .conges__icone { width: 3.5rem; height: 3.5rem; padding: .8rem; background: var(--blanc); color: var(--rouge); }

.statut.statut--conges {
  background: var(--rouge);
  color: var(--blanc);
  font-weight: 700;
}
.statut.statut--conges .statut__point { background: var(--blanc); }
.horaires li.aujourdhui.aujourdhui--conges { background: var(--rouge-pale); box-shadow: none; }
.horaires__conges + .horaires__conges { margin-top: .5rem; }
.horaires__conges {
  margin: 1.25rem 0 0;
  padding: .75rem 1rem;
  border-left: 4px solid var(--rouge);
  border-radius: 0 10px 10px 0;
  background: var(--rouge-pale);
  color: var(--encre);
  font-weight: 700;
}


/* ---------- Encart « rendez-vous par téléphone » (accueil et tarifs) ---------- */

.rdv {
  position: relative;
  overflow: hidden;
  background: var(--noir);
  color: var(--blanc);
  border-radius: var(--rayon);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--ombre-forte);
}
/* Cercles décoratifs dorés */
.rdv::before,
.rdv::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.rdv::before {
  width: 18rem; height: 18rem;
  right: -7rem; top: -7rem;
  border: 2px solid #d3973f59;
}
.rdv::after {
  width: 10rem; height: 10rem;
  right: -2rem; top: -2rem;
  background: #d3973f1f;
}
.rdv > * { position: relative; z-index: 1; }
.rdv h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: .5rem 0 1rem;
}
.rdv h2 em { color: var(--jaune-clair); }
.rdv p { color: var(--clair); }
.rdv .surtitre { color: var(--jaune-clair); }
.rdv p a { color: var(--blanc); text-underline-offset: 3px; }
.rdv p a:hover { color: var(--jaune-clair); }
.rdv__numero {
  display: block;
  width: fit-content;
  font-family: var(--titre);
  font-size: clamp(2.3rem, 6vw, 3.4rem);
  line-height: 1.1;
  color: var(--jaune-clair);
  text-decoration: none;
  margin: 1.5rem 0 1.75rem;
  white-space: nowrap;
  background: linear-gradient(var(--jaune), var(--jaune)) left bottom / 0 2px no-repeat;
  padding-bottom: .15em;
  transition: background-size .45s var(--courbe);
}
.rdv__numero:hover { background-size: 100% 2px; }

/* ---------- Pied de page ---------- */

.pied {
  position: relative;
  background: var(--noir);
  color: var(--clair);
  padding-block: 3.25rem 1.75rem;
  font-size: 1.1rem;
  border-top: 4px solid var(--jaune);
}
.pied__grille {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
}
.pied h2 {
  font-family: var(--corps);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--jaune-clair);
  margin-bottom: 1rem;
}
.pied address { font-style: normal; margin-bottom: 1rem; }
.pied a { color: var(--blanc); text-underline-offset: 3px; }
.pied a:hover { color: var(--jaune-clair); }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li + li { margin-top: .6rem; }
.pied .lien-icone {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.75rem;
}
.pied .lien-icone svg { width: 1.3rem; height: 1.3rem; flex-shrink: 0; }
.pied__marque {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.25rem;
}
.pied__marque img { width: 4rem; height: 4rem; border-radius: 50%; background: var(--blanc); }
.pied__marque span { font-family: var(--titre); font-size: 1.75rem; color: var(--blanc); }
.pied__marque em { color: var(--jaune-clair); }
.pied__bas {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ffffff22;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .95rem;
  color: var(--clair-2);
}
.pied__bas a { color: var(--clair); }
.pied__liens {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}
.pied--simple { padding-block: 2rem; }
.pied--simple .pied__bas { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- En-tête des pages secondaires ---------- */

.bandeau-page {
  position: relative;
  overflow: hidden;
  margin: var(--retrait) var(--retrait) 0;
  border-radius: var(--arrondi);
  background: var(--jaune);
  background-image: linear-gradient(#d3973fb8, #d3973fb8), var(--motif);
  background-size: auto, 140px 140px;
  color: var(--encre);
  padding-block: clamp(2.25rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 4rem);
}
.bandeau-page::before,
.bandeau-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.bandeau-page::before {
  width: 26rem; height: 26rem;
  right: -8rem; top: -12rem;
  border: 2px solid #fffdf9a6;
}
.bandeau-page::after {
  width: 14rem; height: 14rem;
  right: 4rem; top: -6rem;
  background: #fffdf938;
}
.bandeau-page .conteneur { position: relative; z-index: 1; }
.bandeau-page h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin-bottom: 1rem;
}
.bandeau-page h1 em { color: var(--encre); }
.bandeau-page .chapo { color: var(--encre); max-width: 40rem; margin: 0; font-size: 1.2rem; }
.bandeau-page .retour { color: var(--encre); }
.bandeau-page .retour:hover { color: var(--encre); text-decoration-thickness: 2px; }

.retour {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.75rem;
  font-weight: 700;
  min-height: 2.75rem;
  text-underline-offset: 4px;
}
.retour svg { transition: transform .3s var(--courbe); }
.retour:hover svg { transform: translateX(-4px); }

.bandeau-page .surtitre { color: var(--encre); }

/* ---------- Petits écrans ---------- */

@media (max-width: 900px) {
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .pied__grille > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .entete__inner { min-height: 3.6rem; gap: .5rem; padding-right: 1rem; }
  .marque img { width: 3.1rem; height: 3.1rem; }
  .marque span { font-size: 1.2rem; }

  .conges__inner { gap: .75rem; }
  .conges--ferme { font-size: 1.05rem; }
  .conges--ferme .conges__icone { width: 3rem; height: 3rem; }

  .pied__liens a { display: inline-block; padding-block: .5rem; }
  .pied__grille { grid-template-columns: 1fr; }

}

@media (max-width: 340px) {
  .marque span { display: none; }
}
