/* =============================================================
   AUBERGE RÉSIDENCE NORDIQUE — compléments pour la version multi-pages
   S'ajoute à style.css (ne le remplace pas) : bannière de page,
   fil d'Ariane, cartes-liens, tableau comparatif, étapes, listes à coches.
   ============================================================= */

/* La barre d'en-tête colle en haut : sans cette marge, un lien d'ancre
   ferait disparaître le titre de la section sous elle. */
[id] { scroll-margin-top: 150px; }

/* Page courante dans le menu */
#entete nav a[aria-current="page"] {
  color: var(--brique-texte);
  box-shadow: inset 0 -3px 0 var(--brique);
}
#entete nav#menu-mobile a.lien-menu[aria-current="page"] {
  background: var(--bleu-pale); color: var(--bleu-fonce);
  box-shadow: inset 4px 0 0 var(--brique); padding-left: .85rem;
}
footer nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- BANNIÈRE DE PAGE ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--bleu-nuit); color: #fff;
}
.page-hero > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(6, 22, 38, .90) 0%, rgba(6, 22, 38, .66) 46%, rgba(6, 22, 38, .26) 100%),
    linear-gradient(to top, rgba(6, 22, 38, .55), transparent 55%);
}
.page-hero .surtitre { color: var(--brique-clair); }
.page-hero h1 {
  font-weight: 800; letter-spacing: -.04em; line-height: .98; color: #fff;
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
}
.page-hero .intro {
  margin-top: 1.3rem; max-width: 56ch; color: #E4EEEB;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem); line-height: 1.6;
}
.page-hero .rangee-boutons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }

/* Fil d'Ariane */
.fil ol { display: flex; flex-wrap: wrap; gap: .3rem .6rem; font-size: .85rem; font-weight: 700; color: var(--brume-2); }
.fil a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fil a:hover { color: var(--brique-clair); }
.fil li + li::before { content: "/"; margin-right: .6rem; opacity: .55; }

/* ---------- CARTES-LIENS (portes d'entrée vers les pages) ---------- */
.carte-porte {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon);
  overflow: hidden; color: inherit; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.carte-porte:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(12, 43, 70, .13); border-color: var(--brique); }
.carte-porte .corps { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1.7rem 1.7rem; }
.carte-porte .plus {
  margin-top: auto; padding-top: 1.1rem; display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 800; font-size: .95rem; color: var(--brique-texte);
}
.carte-porte .plus svg { transition: transform .2s ease; }
.carte-porte:hover .plus svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .carte-porte:hover, .carte-porte:hover .plus svg { transform: none; } }

/* ---------- PASTILLES ---------- */
.puce {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--bleu-pale); color: var(--bleu-fonce);
  font-size: .8rem; font-weight: 800; letter-spacing: .02em;
  padding: .38rem .75rem; border-radius: 999px;
}
.puce svg { width: 15px; height: 15px; }

/* ---------- LISTE À COCHES ---------- */
.coches li { position: relative; padding-left: 2rem; margin-top: .7rem; line-height: 1.55; }
.coches li::before {
  content: ""; position: absolute; left: 0; top: .22em; width: 1.2rem; height: 1.2rem;
  border-radius: 50%; background: var(--brique-doux);
}
.coches li::after {
  content: ""; position: absolute; left: .4rem; top: .5em; width: .42rem; height: .7rem;
  border: solid var(--brique-texte); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg) scale(.82);
  transform-origin: center;
}
.sur-bleu .coches li::before { background: rgba(247, 182, 162, .18); }
.sur-bleu .coches li::after { border-color: var(--brique-clair); }

/* ---------- ÉTAPES NUMÉROTÉES ---------- */
.etapes { counter-reset: etape; display: grid; gap: 1.1rem; }
@media (min-width: 860px) { .etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; } }
.etapes > li {
  counter-increment: etape; position: relative;
  background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 2.9rem 1.6rem 1.6rem;
}
.etapes > li::before {
  content: counter(etape); position: absolute; top: -1.05rem; left: 1.4rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brique); color: #fff; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 0 0 5px var(--creme-2);
}

/* ---------- TABLEAU COMPARATIF ---------- */
.defile-x { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--trait); border-radius: var(--rayon); background: #fff; }
.tableau { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; }
.tableau th, .tableau td { padding: 1.05rem 1.3rem; border-bottom: 1px solid var(--trait); vertical-align: top; }
.tableau thead th { background: var(--bleu-fonce); color: #fff; font-weight: 800; font-size: .95rem; border-bottom: 0; }
.tableau tbody th { font-weight: 800; color: var(--bleu); width: 22%; background: var(--bleu-pale); }
.tableau tbody tr:last-child th, .tableau tbody tr:last-child td { border-bottom: 0; }
.tableau td { color: var(--gris); font-size: .96rem; line-height: 1.5; }

/* ---------- BANDEAU D'APPEL À L'ACTION ---------- */
.bandeau-appel { background: var(--bleu-fonce); color: var(--creme); }
.bandeau-appel .rangee-boutons { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- PRIX EN TUILES ---------- */
.tuile-prix {
  background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 1.6rem 1.5rem;
}
.tuile-prix .montant { font-weight: 900; font-size: 2.3rem; line-height: 1; letter-spacing: -.03em; color: var(--bleu); }
.tuile-prix .montant small { font-size: .95rem; font-weight: 700; color: var(--gris); letter-spacing: 0; }

/* ---------- PHOTO AVEC LÉGENDE ---------- */
.fig-legende { position: relative; overflow: hidden; border-radius: var(--rayon); }
.fig-legende figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.4rem 1rem .85rem;
  background: linear-gradient(to top, rgba(6, 22, 38, .85), transparent);
  color: #fff; font-size: .85rem; font-weight: 700;
}

/* Titre de catégorie dans la galerie */
.rubrique-galerie { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 2px solid var(--bleu); padding-top: 1rem; }

/* Lien « alternative à l'hôtel » : visible comme un lien, lisible sur fond clair comme sur fond bleu. */
a.lien-hotel { color: var(--brique-texte); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
a.lien-hotel:hover { color: var(--brique); }
.sur-bleu a.lien-hotel, .page-hero a.lien-hotel, .bandeau-appel a.lien-hotel { color: var(--brique-clair); }
.sur-bleu a.lien-hotel:hover, .page-hero a.lien-hotel:hover, .bandeau-appel a.lien-hotel:hover { color: #fff; }

/* ---------- BANDE DE FAITS CLÉS (sous la bannière) ---------- */
.faits { background: #fff; border-bottom: 1px solid var(--trait); }
.faits ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fait { display: flex; align-items: center; gap: .7rem; padding: 1rem .4rem; font-size: .92rem; line-height: 1.35; color: var(--gris); }
.fait svg { color: var(--brique-texte); flex: none; }
.fait b { color: var(--bleu-fonce); font-weight: 800; }
@media (min-width: 900px) {
  .faits ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fait { padding: 1.2rem 1rem; }
  .fait + .fait { border-left: 1px solid var(--trait); }
}

/* ---------- SOUS-NAVIGATION DE PAGE ---------- */
.sous-nav { position: sticky; top: 67px; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--trait); }
.sous-nav ul { display: flex; gap: .4rem; overflow-x: auto; padding-block: .5rem; scrollbar-width: none; }
.sous-nav ul::-webkit-scrollbar { display: none; }
.sous-nav a {
  display: inline-flex; align-items: center; min-height: 38px; padding: .3rem .95rem; border-radius: 999px;
  font-weight: 800; font-size: .88rem; color: var(--bleu-fonce); white-space: nowrap; border: 1.5px solid transparent;
  transition: background-color .2s ease, color .2s ease;
}
.sous-nav a:hover { background: var(--bleu-pale); }
.sous-nav a.actif { background: var(--bleu); color: #fff; }

/* ---------- BARRE D'ACTION MOBILE (appeler / WhatsApp) ---------- */
.barre-mobile { display: none; }
@media (max-width: 639px) {
  .barre-mobile {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--trait); box-shadow: 0 -8px 24px rgba(12, 43, 70, .08);
  }
  .barre-mobile .btn { padding: .75rem 1rem; min-height: 46px; }
  body { padding-bottom: 4.6rem; }
}
