/* Hôtel École LÉBÉNÈ — charte graphique (couleurs et typographies de l'identité existante). */
:root {
  /* Blanc dominant, bleu ciel de l'identité pour l'action, textes noirs ; le bleu nuit reste pour l'en-tête des pages et le pied */
  --brun: #0A7CC1;            /* rôle « couleur d'action » (boutons, prix, liens actifs) */
  --jaune: #F9DC00;
  --ciel: #2FB4E5;
  --bleu: #0A7CC1;
  --vert: #0E9F6E;
  --nuit: #0B2A40;

  --fond: #ffffff;
  --fond-2: #F1F8FD;
  --texte: #0B1117;
  --texte-doux: #4E5D6B;
  --bord: #E1E8EF;
  --ombre: 0 1px 2px rgba(11, 42, 64, .05), 0 10px 30px rgba(11, 42, 64, .07);
  --rayon: 14px;
  --large: 1180px;
  --titre: "Playfair Display", Georgia, serif;
  --corps: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fond); color: var(--texte); font-family: var(--corps); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--bleu); }
img { max-width: 100%; display: block; }

.conteneur { width: min(100% - 32px, var(--large)); margin-inline: auto; }
.section { padding: 56px 0; }
.section--fond { background: var(--fond-2); }
.section__intro { max-width: 60ch; color: var(--texte-doux); }
.grille { display: grid; gap: 20px; }
@media (min-width: 720px) { .grille--2 { grid-template-columns: repeat(2, 1fr); } .grille--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .grille--4 { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------------ En-tête */
.entete {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bord);
}
.entete__barre { display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.logo { display: flex; align-items: center; text-decoration: none; color: inherit; margin-right: auto; }
.logo img { height: 46px; width: auto; }
@media (min-width: 900px) { .logo img { height: 56px; } }
.logo__marque {
  width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--brun), #2FB4E5);
  color: var(--jaune); display: grid; place-items: center; font-family: var(--titre); font-size: 1.2rem; font-weight: 700;
}
.logo__nom { font-family: var(--titre); font-size: 1.05rem; line-height: 1.1; }
.logo__nom small { display: block; font-family: var(--corps); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }
.nav { display: none; gap: 22px; }
.nav a { color: var(--texte); text-decoration: none; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--jaune); }
@media (min-width: 900px) { .nav { display: flex; } .menu-btn { display: none; } }
.menu-btn { background: none; border: 1px solid var(--bord); border-radius: 10px; padding: 8px 10px; font-size: 1.1rem; cursor: pointer; }
.nav--mobile { display: flex; flex-direction: column; gap: 4px; padding: 8px 0 16px; border-top: 1px solid var(--bord); }
.nav--mobile a { padding: 10px 4px; }
.langues { display: flex; gap: 2px; background: var(--fond-2); border-radius: 999px; padding: 3px; }
.langues button {
  border: 0; background: none; border-radius: 999px; padding: 5px 11px; font: inherit; font-size: .82rem; cursor: pointer; color: var(--texte-doux);
}
.langues button[aria-pressed="true"] { background: var(--nuit); color: #fff; }

/* ------------------------------------------------------------------ Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; cursor: pointer;
  padding: 12px 24px; font: inherit; font-weight: 700; text-decoration: none; transition: transform .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn--primaire { background: var(--brun); color: #fff; }
.btn--accent { background: var(--jaune); color: var(--nuit); }
.btn--contour { background: transparent; border: 1.5px solid currentColor; color: var(--brun); }
.btn--bloc { width: 100%; }
.btn--petit { padding: 8px 16px; font-size: .88rem; }

/* ------------------------------------------------------------------ Bandeau d'accueil */
.hero { position: relative; color: #fff; background: var(--nuit); overflow: hidden; min-height: 62vh; display: flex; align-items: flex-end; }
.hero__fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 54, .55) 0%, rgba(4, 8, 54, .15) 40%, rgba(4, 8, 54, .82) 100%);
}
.hero__contenu { position: relative; z-index: 1; padding: 120px 0 56px; max-width: 46rem; }
.hero h1 { text-shadow: 0 2px 20px rgba(4, 8, 54, .4); }
.hero__sur { letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; color: var(--jaune); margin-bottom: 12px; }
.hero p { color: #EAF6FD; font-size: 1.05rem; }
.hero__atouts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding: 0; list-style: none; }
.hero__atouts li { background: rgba(255, 255, 255, .12); border-radius: 999px; padding: 6px 14px; font-size: .85rem; }

/* ------------------------------------------------------------------ Moteur de réservation */
.moteur {
  position: relative; z-index: 2; background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre); padding: 18px;
  margin-top: -28px; margin-bottom: 8px;
}
.moteur__grille { display: grid; gap: 12px; }
@media (min-width: 760px) { .moteur__grille { grid-template-columns: repeat(4, 1fr) auto; align-items: end; } }
.champ { display: flex; flex-direction: column; gap: 5px; }
.champ label { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--texte-doux); }
.champ input, .champ select, .champ textarea {
  font: inherit; padding: 11px 12px; border: 1px solid var(--bord); border-radius: 10px; background: #fff; color: var(--texte); width: 100%;
}
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 2px solid var(--ciel); outline-offset: 1px; }
.champ--erreur input { border-color: #c0392b; }

/* ------------------------------------------------------------------ Cartes */
.carte { background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; }
.carte__image {
  aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(10, 124, 193, .05) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--fond-2), #D6EEFA);
}
.carte__image img { width: 100%; height: 100%; object-fit: cover; }
.carte__motif {
  font-family: var(--titre); font-size: 1.1rem; color: var(--brun); letter-spacing: .06em;
  border: 1px solid rgba(10, 124, 193, .3); border-radius: 999px; padding: 6px 18px; background: rgba(255, 255, 255, .6);
}
.carte__corps { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.carte__prix { font-family: var(--titre); font-size: 1.5rem; color: var(--brun); }
.carte__prix small { font-family: var(--corps); font-size: .78rem; color: var(--texte-doux); }
.etiquettes { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.etiquettes li { font-size: .76rem; background: var(--fond-2); border-radius: 999px; padding: 4px 10px; color: var(--texte-doux); }
.puce { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.puce--vert { background: rgba(0, 144, 120, .12); color: var(--vert); }
.puce--rouge { background: rgba(192, 57, 43, .1); color: #c0392b; }
.puce--jaune { background: rgba(249, 220, 0, .25); color: #7a6b00; }

/* ------------------------------------------------------------------ Tunnel de réservation */
.etapes { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 24px; flex-wrap: wrap; }
.etapes li { flex: 1 1 120px; font-size: .8rem; color: var(--texte-doux); border-top: 3px solid var(--bord); padding-top: 8px; }
.etapes li[aria-current] { color: var(--brun); border-color: var(--brun); font-weight: 700; }
.etapes li.fait { border-color: var(--vert); color: var(--vert); }
.recap { background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 18px; position: sticky; top: 84px; }
.recap dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0 0 12px; font-size: .92rem; }
.recap dt { color: var(--texte-doux); }
.recap dd { margin: 0; text-align: right; font-weight: 600; }
.recap__total { border-top: 1px solid var(--bord); padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.recap__total strong { font-family: var(--titre); font-size: 1.4rem; color: var(--brun); }
@media (min-width: 900px) { .tunnel { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; } }

/* ------------------------------------------------------------------ Divers */
.message { border-radius: 10px; padding: 12px 14px; margin: 12px 0; font-size: .92rem; }
.message--erreur { background: #fdecea; color: #a0281b; }
.message--succes { background: rgba(0, 144, 120, .1); color: var(--vert); }
.message--info { background: rgba(47, 180, 229, .12); color: #0d6b92; }
.chargement { color: var(--texte-doux); font-style: italic; }
.carte-menu { break-inside: avoid; }
.menu__ligne { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--bord); }
.menu__ligne b { font-weight: 600; }
.menu__prix { white-space: nowrap; color: var(--brun); font-weight: 700; }
.note { color: var(--jaune); letter-spacing: 2px; }
.pied { background: var(--nuit); color: #CFE3F1; padding: 48px 0 28px; margin-top: 40px; }
.pied a { color: #fff; text-decoration: none; }
.pied h4 { color: #fff; }
.pied__bas { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 28px; padding-top: 16px; font-size: .84rem; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.masque { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ Bandeaux de page */
.banniere { position: relative; height: 34vh; min-height: 220px; display: flex; align-items: flex-end; overflow: hidden; background: var(--nuit); }
.banniere img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banniere::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 54, .25), rgba(4, 8, 54, .78)); }
.banniere h1 {
  position: relative; z-index: 1; color: #fff; margin: 0 auto 26px; width: min(100% - 32px, var(--large));
}

/* ------------------------------------------------------------------ Chiffres clés */
.chiffres { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 760px) { .chiffres { grid-template-columns: repeat(4, 1fr); } }
.chiffre b { display: block; font-family: var(--titre); font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--brun); line-height: 1; }
.chiffre span { font-size: .84rem; color: var(--texte-doux); }

/* ------------------------------------------------------------------ Cartes enrichies */
.carte--chambre .carte__image { aspect-ratio: 3 / 2; display: block; }
.carte__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.carte--chambre:hover .carte__image img { transform: scale(1.04); }
.carte__corps h3 a { color: inherit; text-decoration: none; }
.carte__corps h3 a:hover { color: var(--brun); }
.carte__pied { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.carte--avis .note { font-size: 1.1rem; }
.carte--avis .reponse { font-size: .88rem; color: var(--texte-doux); border-left: 3px solid var(--jaune); padding-left: 10px; }
.carte-formulaire { background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 20px; }
.option { cursor: pointer; }
.option:hover { border-color: var(--brun); }

/* ------------------------------------------------------------------ Galeries et figures */
.galerie { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 20px 0; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); }
.figure { margin: 0; }
.figure img { width: 100%; border-radius: var(--rayon); }
.texte p { max-width: 68ch; }

/* ------------------------------------------------------------------ Fiches et tableaux */
.fil { font-size: .84rem; color: var(--texte-doux); margin-bottom: 16px; }
.fil a { color: var(--texte-doux); }
.tableau-fiche { width: 100%; border-collapse: collapse; margin: 12px 0 24px; }
.tableau-fiche th, .tableau-fiche td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--bord); vertical-align: top; }
.tableau-fiche th { width: 40%; font-weight: 700; color: var(--texte-doux); font-size: .9rem; }
.liste-equipements { columns: 2; column-gap: 24px; padding-left: 18px; margin: 0 0 20px; }
.liste-equipements li { break-inside: avoid; margin-bottom: 4px; }
@media (max-width: 560px) { .liste-equipements { columns: 1; } }
.tableau-defilant { overflow-x: auto; margin-bottom: 20px; }
.comparatif { width: 100%; min-width: 620px; border-collapse: collapse; background: #fff; border-radius: var(--rayon); overflow: hidden; }
.comparatif th, .comparatif td { padding: 10px 12px; border-bottom: 1px solid var(--bord); text-align: left; }
.comparatif thead th { background: var(--fond-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--texte-doux); }
.comparatif .num { text-align: right; }

/* ------------------------------------------------------------------ Avis */
.note-globale { display: flex; align-items: baseline; gap: 10px; margin-bottom: 24px; }
.note-globale b { font-family: var(--titre); font-size: 3rem; color: var(--brun); line-height: 1; }
.note-globale small { color: var(--texte-doux); }

/* ------------------------------------------------------------------ Divers */
.entete__cta { display: none; }
@media (min-width: 1000px) { .entete__cta { display: inline-flex; } }
.recap__image { width: 100%; border-radius: 10px; margin-bottom: 12px; aspect-ratio: 3 / 2; object-fit: cover; }
.recap__dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0 0 12px; }
.recap__dl dt { color: var(--texte-doux); }
.recap__dl dd { margin: 0; text-align: right; font-weight: 600; }
.navigation-etape { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.menu__famille { margin: 22px 0 6px; color: var(--brun); border-bottom: 2px solid var(--jaune); display: inline-block; padding-bottom: 2px; }
.coordonnees p { margin-bottom: 14px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pied__logo { filter: brightness(0) invert(1); opacity: .95; margin-bottom: 10px; }
.pied__devise { font-family: var(--titre); font-size: 1.1rem; color: var(--jaune); margin-bottom: 10px; }

/* ------------------------------------------------------------------ Espace entreprise */
.ee-accueil { align-items: start; margin-top: 12px; }
.ee-accueil h2 { font-size: 1.4rem; }
.ee-accueil h3 { font-size: 1rem; margin-top: 18px; color: var(--brun); }
.ee-serre { gap: 0 16px; }
.ee-piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ee-cgv { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 16px; font-size: .9rem; }
.ee-entete { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.ee-entete h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: .2em; }
.ee-sur { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--brun); font-weight: 700; margin: 0; }
.ee-onglets { display: flex; gap: 4px; border-bottom: 1px solid var(--bord); margin: 18px 0 22px; overflow-x: auto; }
.ee-onglets button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font: inherit; font-weight: 700;
  color: var(--texte-doux); cursor: pointer; white-space: nowrap; }
.ee-onglets button.actif { color: var(--brun); border-bottom-color: var(--brun); }
.ee-titre-liste { margin: 24px 0 12px; }
.ee-offre .carte__prix { margin: 0; }
.ee-tuile { display: flex; flex-direction: column; gap: 4px; }
.ee-tuile span { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--texte-doux); }
.ee-tuile strong { font-family: var(--titre); font-size: 1.35rem; color: var(--texte); }
.ee-tuile.ee-du strong { color: var(--brun); }
.ee-tuile.ee-echu strong { color: #c0392b; }
.ee-personnel { margin: 0; padding-left: 18px; }
.puce--gris { background: var(--fond-2); color: var(--texte-doux); }
