/* ===== Mister Hotel — Feuille de style ===== */

/* Polices auto-hébergées */
@font-face {
  font-family: "Jost";
  src: url("../a%20traiter/92zatBhPNqw73oTd4g.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alata";
  src: url("../a%20traiter/PbytFmztEwbIoce9zqY.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --noir: #11100e;
  --noir-doux: #1a1916;
  --creme: #f4f0e9;
  --creme-doux: #ece6db;
  --or: #c2a061;
  --or-clair: #d8bd86;
  --gris: #8c8678;
  --texte: #2a2823;
  --serif: "Alata", "Helvetica Neue", Arial, sans-serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--texte);
  background: var(--creme);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }

a { color: inherit; text-decoration: none; transition: color .25s ease; }
img { max-width: 100%; display: block; }

.container { width: 90%; max-width: 1240px; margin: 0 auto; }

.suptitre {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .35em;
  font-size: .72rem;
  color: var(--or);
  font-weight: 500;
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 500;
  padding: 1.05rem 2.2rem;
  border: 1px solid var(--or);
  color: var(--noir);
  background: var(--or);
  cursor: pointer;
  transition: all .3s ease;
}
.btn:hover { background: transparent; color: var(--or); }
.btn--ghost { background: transparent; color: var(--creme); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: var(--creme); color: var(--noir); border-color: var(--creme); }
.btn--dark { background: var(--noir); color: var(--creme); border-color: var(--noir); }
.btn--dark:hover { background: transparent; color: var(--noir); }

/* ===== En-tête ===== */
.entete {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  padding: 1.6rem 0;
}
.entete.sombre { position: sticky; background: var(--noir); }
.entete__inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--serif); font-size: 1.7rem; color: var(--creme); letter-spacing: .05em; }
.logo span { color: var(--or); }
.entete.sombre .logo { color: var(--creme); }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
  color: var(--creme); text-transform: uppercase; letter-spacing: .18em;
  font-size: .74rem; font-weight: 500;
}
.nav a:hover { color: var(--or); }
.entete__tel { color: var(--creme); font-size: .8rem; letter-spacing: .1em; opacity: .85; }
.entete__tel:hover { color: var(--or); }

.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { width: 26px; height: 2px; background: var(--creme); display: block; }

/* Téléphone visible uniquement sur mobile (à côté du logo et du menu) */
.entete__tel-mobile { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: var(--creme); text-align: center;
  background:
    linear-gradient(to bottom, rgba(13,12,10,.78) 0%, rgba(13,12,10,.52) 45%, rgba(13,12,10,.88) 100%),
    url("https://images.unsplash.com/photo-1455587734955-081b22074882?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
}
.hero__content { width: 92%; max-width: 1000px; margin: 0 auto; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.9rem); line-height: 1.15; letter-spacing: .005em;
  margin: 0 auto 1.6rem;
}
.hero h1 br { display: inline; }
.hero__sous { font-size: 1.05rem; letter-spacing: .05em; opacity: .92; margin-bottom: .5rem; }
.hero__texte { font-size: .95rem; opacity: .82; max-width: 480px; margin: 0 auto 2.5rem; }
.hero__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  font-size: 1.5rem; color: var(--creme); animation: bob 2s infinite;
}
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,10px)} }

/* ===== Sections ===== */
.section { padding: 7rem 0; }
.section--noir { background: var(--noir); color: var(--creme); }
.section--noir h2 { color: var(--creme); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section__head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section__head p { color: var(--gris); }
.section--noir .section__head p { color: #b8b2a4; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { position: relative; overflow: hidden; }
.service-card img { width: 100%; height: 420px; object-fit: cover; transition: transform .6s ease; }
.service-card:hover img { transform: scale(1.06); }
.service-card__cap {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.6rem;
  background: linear-gradient(transparent, rgba(17,16,14,.85));
  color: var(--creme);
}
.service-card__cap h3 { font-size: 1.5rem; }
.service-card__cap p { font-size: .85rem; opacity: .85; }

.services-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem 3.5rem; margin-bottom: 3.5rem; }
.services-list .item { text-align: center; max-width: 200px; }
.services-list .item .ico { font-size: 2rem; margin-bottom: .6rem; }
.services-list .item h4 { font-size: 1.25rem; margin-bottom: .3rem; }
.services-list .item p { font-size: .82rem; color: var(--gris); }

/* Section "au cœur de tout" */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split img { width: 100%; height: 560px; object-fit: cover; }
.split__txt h2 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 1.3rem; }
.split__txt p { margin-bottom: 1.2rem; color: var(--gris); }

/* Chambres */
.rooms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.room-card { background: var(--noir-doux); overflow: hidden; }
.room-card__img { position: relative; overflow: hidden; }
.room-card__img img { width: 100%; height: 360px; object-fit: cover; transition: transform .6s ease; }
.room-card:hover .room-card__img img { transform: scale(1.05); }
.room-card__prix {
  position: absolute; top: 1rem; right: 1rem; background: var(--or);
  color: var(--noir); padding: .4rem .9rem; font-size: .8rem; letter-spacing: .05em; font-weight: 600;
}
.room-card__body { padding: 1.8rem 2rem 2.2rem; color: var(--creme); }
.room-card__body h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.room-card__meta { display: flex; gap: 1.4rem; font-size: .78rem; color: var(--or-clair); letter-spacing: .08em; margin-bottom: .9rem; text-transform: uppercase; }
.room-card__body p { font-size: .88rem; color: #b8b2a4; margin-bottom: 1.4rem; }
.room-card__links { display: flex; gap: 1.5rem; align-items: center; }
.lien-fleche { text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--or); font-weight: 500; }
.lien-fleche:hover { color: var(--or-clair); }

/* Appel réservation */
.cta-resa { text-align: center; }
.cta-resa h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.2rem; }
.cta-resa p { color: var(--gris); max-width: 540px; margin: 0 auto 2.2rem; }

/* ===== Pied de page ===== */
.footer { background: var(--noir); color: var(--creme); padding: 5rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer h4 { font-size: 1.3rem; margin-bottom: 1.2rem; color: var(--or-clair); }
.footer .logo { margin-bottom: 1rem; }
.footer p, .footer a { color: #b8b2a4; font-size: .9rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .6rem; }
.footer ul a:hover { color: var(--or); }
.footer__social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer__social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.footer__social a:hover { background: var(--or); color: var(--noir); border-color: var(--or); }
.footer__bas { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.8rem; text-align: center; font-size: .8rem; color: var(--gris); }

/* ===== Bandeau de page (pages intérieures) ===== */
.page-hero {
  position: relative; min-height: 56vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--creme);
  background: linear-gradient(rgba(17,16,14,.5), rgba(17,16,14,.6)),
    url("https://images.unsplash.com/photo-1445019980597-93fa8acb246c?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero .fil { margin-top: .8rem; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.page-hero .fil a:hover { color: var(--or); }

/* ===== Détail chambre ===== */
.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3.5rem; }
.detail-galerie .big img { width: 100%; height: 480px; object-fit: cover; margin-bottom: 1rem; }
.detail-galerie .thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.detail-galerie .thumbs img { width: 100%; height: 120px; object-fit: cover; cursor: pointer; opacity: .75; transition: opacity .25s; }
.detail-galerie .thumbs img:hover { opacity: 1; }
.detail-info h1 { font-size: clamp(2rem,4vw,2.8rem); margin-bottom: .6rem; }
.detail-info .prix { color: var(--or); font-size: 1.3rem; font-family: var(--serif); margin-bottom: 1.5rem; }
.detail-info .prix small { color: var(--gris); font-size: .8rem; font-family: var(--sans); }
.detail-info p { color: #555; margin-bottom: 1.5rem; }
.detail-specs { list-style: none; border-top: 1px solid #ddd6c8; margin-bottom: 1.8rem; }
.detail-specs li { display: flex; justify-content: space-between; padding: .8rem 0; border-bottom: 1px solid #ddd6c8; font-size: .9rem; }
.detail-specs li span:first-child { color: var(--gris); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.equip-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; margin-bottom: 2rem; }
.equip-list li { font-size: .88rem; padding-left: 1.4rem; position: relative; }
.equip-list li::before { content: "✦"; color: var(--or); position: absolute; left: 0; }

/* ===== Formulaire réservation ===== */
.resa-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3.5rem; align-items: start; }
.form-card { background: #fff; padding: 2.8rem; box-shadow: 0 25px 60px rgba(0,0,0,.08); }
.form-card h2 { font-size: 2rem; margin-bottom: .4rem; }
.form-card .sous { color: var(--gris); margin-bottom: 2rem; font-size: .9rem; }
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; color: var(--texte); margin-bottom: .5rem; font-weight: 500; }
.form-group input, .form-group select {
  width: 100%; padding: .9rem 1rem; border: 1px solid #d6cfbf; background: var(--creme);
  font-family: var(--sans); font-size: .95rem; color: var(--texte);
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--or); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-card .btn { width: 100%; margin-top: .6rem; }
.form-err { color: #b34237; font-size: .82rem; margin-top: .8rem; min-height: 1rem; }

.resa-aside { background: var(--noir); color: var(--creme); padding: 2.8rem; }
.resa-aside h3 { font-size: 1.7rem; margin-bottom: 1rem; color: var(--or-clair); }
.resa-aside p { color: #b8b2a4; font-size: .9rem; margin-bottom: 1rem; }
.resa-aside ul { list-style: none; }
.resa-aside ul li { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.resa-aside ul li span { color: var(--or); }

/* ===== Confirmation ===== */
.confirm-card { max-width: 760px; margin: 0 auto; background: #fff; box-shadow: 0 25px 60px rgba(0,0,0,.08); }
.confirm-head { background: var(--noir); color: var(--creme); padding: 2.8rem; text-align: center; }
.confirm-head .check { width: 64px; height: 64px; border-radius: 50%; background: var(--or); color: var(--noir); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.2rem; }
.confirm-head h1 { font-size: 2.2rem; }
.confirm-head p { color: #b8b2a4; margin-top: .5rem; }
.confirm-body { padding: 2.8rem; }
.recap { list-style: none; }
.recap li { display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid #e6e0d2; }
.recap li span:first-child { color: var(--gris); text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; }
.recap li span:last-child { font-weight: 500; font-size: .98rem; text-align: right; }
.recap-total { display: flex; justify-content: space-between; align-items: baseline; padding: 1.4rem 0 .4rem; }
.recap-total .lbl { font-family: var(--serif); font-size: 1.4rem; }
.recap-total .val { font-family: var(--serif); font-size: 1.8rem; color: var(--or); }
.confirm-note { font-size: .82rem; color: var(--gris); margin: 1.4rem 0 2rem; }
.confirm-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: flex; }
  .entete__tel-mobile {
    display: inline-block; color: #fff; font-size: .8rem;
    letter-spacing: .04em; font-weight: 500; margin-left: auto; margin-right: 1.2rem;
  }
  .entete__tel-mobile:hover { color: var(--or); }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--noir); padding: 1.5rem 2rem; gap: 1.2rem;
  }
  .services-grid { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .split, .detail-grid, .resa-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .split img, .detail-galerie .big img { height: 360px; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
