/* ===========================================================
   Telhoo — thème blanc & bleu
   =========================================================== */
:root {
  --coral:    #0a5ad6;   /* accent principal (bleu style Booking) — nom conservé pour compat */
  --coral-600:#0848a8;
  --noir:     #1a1d29;   /* texte foncé + footer */
  --creme:    #f4f6f8;   /* fond de page clair */
  --dore:     #e0a52e;   /* étoiles */
  --blanc:    #FFFFFF;
  --gris:     #6b7280;
  --border:   #e6e8ec;
  --radius:   12px;
  --shadow:   0 2px 14px rgba(20, 30, 60, 0.08);
  --font:        'Inter', system-ui, -apple-system, sans-serif;   /* corps */
  --font-title:  'PT Root UI', 'Inter', sans-serif;               /* titres */
}

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

body {
  font-family: var(--font);
  color: var(--noir);
  background: var(--creme);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 700; line-height: 1.2; }
.logo { font-family: var(--font-title); }
.muted { color: var(--gris); }
.small { font-size: .85rem; }
.center { text-align: center; }
.accent { color: var(--coral); }
.section-title { margin: 1.5rem 0 1rem; font-size: 1.3rem; }
.checkout > h1 { font-size: 1.6rem; margin-bottom: 1.2rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  padding: .65rem 1.35rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: var(--blanc); }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(10,90,214,.32); }
.btn-ghost { background: transparent; color: var(--noir); border-color: rgba(12,6,8,.15); }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral); }
.btn-sm { padding: .4rem .9rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Animations & feedback ---------- */
@keyframes hv-spin { to { transform: rotate(360deg); } }
.btn { --spin: var(--coral); }
.btn-primary { --spin: #fff; }
/* État "chargement" : le libellé s'efface, un cercle tourne (clic sur un bouton qui charge des données) */
.btn.is-loading { color: transparent !important; pointer-events: none; position: relative; }
.btn.is-loading::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 1.05em; height: 1.05em; margin: -.53em 0 0 -.53em;
  border: 2px solid var(--spin); border-right-color: transparent; border-radius: 50%; animation: hv-spin .6s linear infinite;
}
/* Barre de progression de navigation (montre que ça charge avant le changement de page) */
.hv-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--coral);
  z-index: 9999; opacity: 0; transition: width .3s ease, opacity .25s; box-shadow: 0 0 10px rgba(10,90,214,.5);
}
.hv-progress.active { opacity: 1; }
@keyframes hv-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  body { animation: hv-fade .3s ease both; }
}

/* Bannière de consentement cookies */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; margin: 0 auto;
  background: var(--blanc); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(20,30,60,.22); padding: 1rem 1.2rem; z-index: 1000;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  transform: translateY(150%); opacity: 0; transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner.show { transform: none; opacity: 1; }
.cookie-text { display: flex; align-items: flex-start; gap: .5rem; font-size: .88rem; color: var(--noir); flex: 1; min-width: 240px; line-height: 1.45; }
.cookie-text .ic { color: var(--coral); width: 1.1em; height: 1.1em; flex-shrink: 0; margin-top: .1rem; }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }
@media (max-width: 560px) { .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; } }

/* Pages légales (confidentialité) */
.legal-wrap { max-width: 720px; margin: 0 auto; }
.legal-wrap h1 { font-size: 1.6rem; margin-bottom: .6rem; }
.legal-wrap p { margin: 1rem 0; color: var(--noir); line-height: 1.7; }
.legal-wrap .btn { margin-top: 1.5rem; }
.help-links { list-style: none; margin: 1.2rem 0; display: flex; flex-direction: column; gap: .6rem; }
.help-links a { display: flex; align-items: center; gap: .65rem; padding: .8rem 1rem; background: var(--blanc); border: 1px solid var(--border); border-radius: var(--radius); color: var(--noir); font-weight: 500; }
.help-links a:hover { border-color: var(--coral); color: var(--coral); text-decoration: none; }
.help-links .ic { color: var(--coral); width: 1.1em; height: 1.1em; }
.contact-email { font-size: 1.05rem; margin: 1.1rem 0; display: flex; align-items: center; gap: .5rem; }
.contact-email .ic { color: var(--coral); }

/* Icônes SVG en trait (remplacent les emojis) */
.ic { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.16em; flex-shrink: 0; }
.btn .ic { vertical-align: -0.18em; }

/* Couleur par type d'équipement (cartes, filtres, fiche hôtel) — chaque icône sa teinte */
.ic.i-wifi      { color: #0a5ad6; }
.ic.i-parking   { color: #475569; }
.ic.i-pool      { color: #0891b2; }
.ic.i-spa       { color: #16a34a; }
.ic.i-fitness   { color: #dc2626; }
.ic.i-ac        { color: #0ea5e9; }
.ic.i-restaurant{ color: #ea580c; }
.ic.i-bar       { color: #9333ea; }
.ic.i-breakfast { color: #b45309; }
.ic.i-kitchen   { color: #d97706; }
.ic.i-pets      { color: #92400e; }
.ic.i-shuttle   { color: #0d9488; }
.ic.i-beach     { color: #f59e0b; }
.ic.i-family    { color: #db2777; }
.ic.i-laundry   { color: #2563eb; }
.ic.i-reception { color: #ca8a04; }
.ic.i-access    { color: #2563eb; }
.ic.i-ev        { color: #15803d; }
.ic.i-elevator  { color: #475569; }
/* Icônes méta des fiches chambre / hôtel — colorées pour le style */
.ic.i-ruler     { color: #0d9488; }
.ic.i-bed       { color: #7c3aed; }
.ic.i-users     { color: #0a5ad6; }
.ic.i-meal      { color: #ea580c; }
.ic.i-lock      { color: #16a34a; }
.ic.i-refund    { color: #16a34a; }
.ic.i-clock     { color: #0891b2; }
.ic.i-child     { color: #db2777; }
.ic.i-calendar  { color: #0a5ad6; }
.ic.i-location  { color: var(--coral); }
.ic.i-check     { color: #16a34a; }
.ic.i-terrace   { color: #16a34a; }
.ic.i-smoke     { color: #64748b; }
.ic.i-tv        { color: #475569; }
.ic.i-bike      { color: #0d9488; }
.ic.i-eco       { color: #65a30d; }

/* ---------- Navigation ---------- */
.nav { background: var(--blanc); color: var(--noir); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: .9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--noir); letter-spacing: -.5px; }
.logo span { color: var(--coral); }
.logo-sm { font-size: 1.15rem; }
.nav-links { display: flex; align-items: center; gap: 1.1rem; }
.nav-links > * { flex-shrink: 0; }
.nav-links a { color: var(--noir); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--coral); text-decoration: none; }
/* Les boutons dans la nav gardent leur propre couleur de texte (sinon écrasés par .nav-links a) */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--blanc); }
.nav-links a.btn-ghost:hover { color: var(--coral); }
.nav-user { color: var(--gris); font-size: .9rem; }
.logout-form { display: inline-flex; margin: 0; }

/* Menu compte (sous-menu déroulant) */
.acct { position: relative; }
.acct > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .6rem; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--noir); transition: background .15s; }
.acct > summary::-webkit-details-marker { display: none; }
.acct > summary:hover { background: var(--creme); }
.acct-avatar { width: 28px; height: 28px; border-radius: 50%; background: #eaf1fd; color: var(--coral); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.acct-avatar .ic { width: 16px; height: 16px; }
.acct-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-caret { width: 14px; height: 14px; opacity: .55; transition: transform .2s; }
.acct[open] .acct-caret { transform: rotate(180deg); }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 222px; background: var(--blanc); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 30px rgba(20,30,60,.16); padding: .4rem; z-index: 100; }
.acct-menu form { margin: 0; }
.acct-menu .acct-item { display: flex; align-items: center; gap: .65rem; width: 100%; text-align: left; padding: .6rem .7rem; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--noir); background: none; border: none; cursor: pointer; font-family: var(--font); }
.acct-menu .acct-item:hover { background: var(--creme); color: var(--noir); }
.acct-menu .acct-item .ic { width: 18px; height: 18px; color: var(--coral); }
.acct-menu .acct-item.active { color: var(--coral); }
.acct-menu .acct-item.active .ic { color: var(--coral); }
.acct-sep { height: 1px; background: var(--border); margin: .35rem .25rem; }
.acct-menu .acct-logout, .acct-menu .acct-logout .ic { color: #c0492f; }
.acct-menu .acct-logout:hover { background: #fae3df; }
.currency-select {
  background: var(--creme); color: var(--noir); border: 1px solid var(--border);
  border-radius: 8px; padding: .35rem .6rem; font-family: var(--font); cursor: pointer;
}
.currency-select option { color: var(--noir); }

/* ---------- Hero + recherche ---------- */
.hero {
  position: relative;
  background-color: var(--noir);
  background-size: cover; background-position: center;
  color: var(--blanc); padding: 5.5rem 1.5rem 7rem; text-align: center;
}
.hero-inner { max-width: 1000px; margin: 0 auto; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: var(--creme); padding: .45rem 1.1rem; border-radius: 30px; font-size: .85rem; font-weight: 600;
  margin-bottom: 1.4rem; backdrop-filter: blur(4px);
}
.hero h1 { font-size: 4.2rem; margin-bottom: 1.1rem; text-shadow: 0 2px 30px rgba(0,0,0,.45); letter-spacing: -1.5px; line-height: 1.05; }
.hero-sub { color: rgba(255,255,255,.9); font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-trust { margin-top: 1.4rem; color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500; }
.hero-badges {
  margin-top: 1.8rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}
.hero-badge-item {
  display: flex; align-items: center; gap: .75rem; text-align: left;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: .7rem 1.1rem .7rem .8rem; border-radius: 14px; backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0,0,0,.18); transition: transform .2s ease, background .2s ease;
}
.hero-badge-item:hover { transform: translateY(-3px); background: rgba(255,255,255,.18); }
.hb-ico {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; color: var(--blanc);
}
.hb-ico svg { width: 22px; height: 22px; }
.hb-text { display: flex; flex-direction: column; line-height: 1.25; }
.hb-text strong { font-size: .92rem; color: var(--blanc); }
.hb-text span { font-size: .76rem; color: rgba(255,255,255,.8); }

.search-card {
  background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end;
  text-align: left;
}
.field { display: flex; flex-direction: column; flex: 1 1 150px; }
.field-sm { flex: 0 1 130px; }
.field label { font-size: .8rem; font-weight: 600; color: var(--gris); margin-bottom: .35rem; }
.field input, .field select {
  font-family: var(--font); font-size: 1rem; padding: .7rem .8rem;
  border: 1px solid var(--border); border-radius: 8px; background: var(--creme); color: var(--noir);
}
.field input:focus, .field select:focus { outline: 2px solid var(--coral); border-color: var(--coral); }
.btn-search { flex: 0 0 auto; height: 47px; margin-left: auto; }
/* Bouton discret de réinitialisation du formulaire */
.search-reset {
  flex: 0 0 auto; align-self: center;
  display: inline-flex; align-items: center; gap: .35rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: .82rem; font-weight: 600; color: var(--gris);
  padding: .4rem .3rem; transition: color .15s ease;
}
.search-reset:hover { color: var(--coral); }
.search-reset .ic { width: 14px; height: 14px; }

/* ---------- Features ---------- */
.features { max-width: 1280px; margin: -3rem auto 3rem; padding: 0 1.5rem; }
.features-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature { background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; text-align: center; }
.feat-ico { font-size: 2rem; display: block; margin-bottom: .8rem; }
.feature h3 { margin-bottom: .5rem; }
.feature p { color: var(--gris); font-size: .92rem; }

/* ---------- Conteneur générique ---------- */
.results, .hotel-detail, .checkout, .confirmation, .dashboard, .auth, .account, .legal {
  max-width: 1280px; margin: 2.5rem auto; padding: 0 1.5rem; width: 100%;
}
.results-head { margin-bottom: 1.5rem; }
.results-head h1 { font-size: 1.9rem; }

/* ---------- Grille hôtels ---------- */
.hotel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.hotel-card {
  background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; color: var(--noir); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .2s ease;
}
.hotel-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(12,6,8,.15); text-decoration: none; }
.hotel-photo {
  height: 170px; background-size: cover; background-position: center; background-color: #eef0f3;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.no-photo { font-size: 2.5rem; opacity: .5; }
.hotel-stars {
  position: absolute; top: .6rem; right: .6rem; background: rgba(12,6,8,.7); color: var(--dore);
  padding: .2rem .55rem; border-radius: 20px; font-size: .8rem; font-weight: 600;
}
.hotel-stars.big { position: static; display: inline-block; margin-top: .5rem; }
.hotel-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.hotel-body h3 { font-size: 1.1rem; }
.hotel-addr { color: var(--gris); font-size: .85rem; flex: 1; }
.hotel-price { display: flex; flex-direction: column; align-items: flex-end; }
.hotel-price .from { font-size: .7rem; color: var(--gris); }
.hotel-price .amount { font-size: 1.18rem; font-weight: 700; color: var(--coral); }

/* ---------- Détail hôtel ---------- */
.hotel-hero {
  height: 340px; border-radius: var(--radius); background-size: cover; background-position: center;
  background-color: #2a1418; display: flex; align-items: flex-end; overflow: hidden;
}
.hotel-hero-overlay {
  width: 100%; padding: 1.8rem; color: var(--blanc);
  background: linear-gradient(transparent, rgba(12,6,8,.85));
}
.hotel-hero-overlay h1 { font-size: 2rem; }
.hotel-desc { background: var(--blanc); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin-top: 1.5rem; color: var(--gris); }

.room-list { display: flex; flex-direction: column; gap: 1rem; }
.room-card {
  background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.2rem 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.room-info h3 { font-size: 1.1rem; }
.room-meta { color: var(--gris); font-size: .9rem; margin-top: .3rem; }
.room-action { text-align: right; display: flex; flex-direction: column; gap: .5rem; align-items: flex-end; }
.room-price { font-size: 1.12rem; font-weight: 700; color: var(--coral); }
.room-action .btn { padding: .5rem 1.2rem; font-size: .9rem; }

.tag { display: inline-block; padding: .15rem .55rem; border-radius: 20px; font-size: .75rem; font-weight: 600; margin-left: .4rem; }
.tag-ok { background: #e3f3e6; color: #2e7d4f; }
.tag-no { background: #fae3df; color: #c0492f; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.checkout-form, .checkout-summary, .confirm-card {
  background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem;
}
/* Espacement vertical régulier du formulaire (le bouton n'est plus collé au dernier champ) */
.checkout-form form { display: flex; flex-direction: column; gap: 1.1rem; }
/* `.field` a `flex: 1 1 150px` pour la barre de recherche (en ligne, = largeur).
   Ici le formulaire est en colonne → ce flex-basis deviendrait une HAUTEUR de 150px
   et étirerait chaque champ. On force donc une hauteur naturelle. */
.checkout-form form > .field { flex: 0 0 auto; }
.checkout-form form .pay-note { margin-top: -.2rem; }
.summary-row { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--border); gap: 1rem; }
.summary-row span { color: var(--gris); }
.summary-total { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: 1rem; border-top: 2px solid var(--noir); }
.total-amount { font-size: 1.2rem; font-weight: 700; color: var(--coral); }

/* ---------- Confirmation ---------- */
.confirm-banner { text-align: center; margin-bottom: 1.5rem; }
.confirm-ico { font-size: 3rem; display: block; }
.confirm-banner h1 { color: var(--coral); margin-top: .5rem; font-size: 1.45rem; }
.confirm-banner .muted { font-size: .95rem; }
.confirm-card { max-width: 560px; margin: 0 auto; }
.confirm-card .summary-row { font-size: .92rem; }
.confirm-actions { display: flex; gap: 1rem; justify-content: center; align-items: stretch; margin: 1.5rem 0; flex-wrap: wrap; }
.confirm-actions form { margin: 0; display: inline-flex; }
.confirm-actions .btn { min-width: 168px; }

/* CTA invité → compte (page confirmation) */
.confirm-claim {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
  background: var(--blanc); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.1rem 1.4rem; margin: 1.5rem auto .6rem; max-width: 640px;
}
.confirm-claim .claim-text { display: flex; align-items: center; gap: .9rem; }
.confirm-claim .claim-ico {
  width: 44px; height: 44px; border-radius: 50%; background: #eaf1fd; color: var(--coral);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.confirm-claim .claim-ico .ic { width: 22px; height: 22px; }
.confirm-claim .claim-text p { margin: .2rem 0 0; }
.confirm-claim .btn { flex-shrink: 0; }

/* ---------- Dashboard ---------- */
.booking-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.booking-card {
  background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.3rem 1.5rem; display: flex; justify-content: space-between; gap: 1rem;
  border-left: 5px solid var(--coral);
}
.booking-card.is-cancelled { border-left-color: var(--gris); opacity: .7; }
.booking-dates { font-size: .9rem; margin-top: .3rem; }
.booking-ref { font-size: .75rem; color: var(--gris); margin-top: .3rem; }
.booking-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.booking-card h3 { font-size: 1.05rem; }
.booking-price { font-size: 1.15rem; font-weight: 700; color: var(--coral); }

/* ---------- Politique d'annulation (checkout + dashboard) ---------- */
.policy-line { display: flex; align-items: center; gap: .45rem; font-size: .85rem; line-height: 1.35; margin: .2rem 0 .1rem; }
.policy-tag { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 600; padding: .25rem .5rem; border-radius: 8px; }
.policy-ok { color: #2e7d4f; }
.policy-tag.policy-ok { background: #e3f3e6; }
.policy-no { color: #9a6a17; }
.policy-tag.policy-no { background: #fbf0db; }
.policy-line .ic, .policy-tag .ic { width: 1.05em; height: 1.05em; flex-shrink: 0; }

/* ---------- Auth ---------- */
.auth { display: flex; justify-content: center; }
.auth-card { background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.2rem; width: 100%; max-width: 420px; }
.account-wrap { width: 100%; max-width: 640px; margin: 0 auto; }
.profile-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.5rem; }
.profile-avatar { width: 64px; height: 64px; border-radius: 50%; background: #eaf1fd; color: var(--coral); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; flex-shrink: 0; }
.profile-id h1 { font-size: 1.5rem; }
.profile-id .muted { font-size: .95rem; margin-top: .15rem; }
.account-card { background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem 1.7rem; }
.account-card .section-title { margin: 0 0 1rem; display: flex; align-items: center; gap: .5rem; }
.account-card .section-title .ic { color: var(--coral); width: 1.05em; height: 1.05em; }
.account-card .btn { margin-top: 1.4rem; }
.account .alert { margin-bottom: 1.2rem; }
.account-link { display: flex; align-items: center; gap: .9rem; background: var(--blanc); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.2rem; margin-top: 1.2rem; transition: border-color .15s; }
.account-link:hover { text-decoration: none; border-color: var(--coral); }
.al-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--creme); color: var(--coral); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.al-ico .ic { width: 20px; height: 20px; }
.al-text { display: flex; flex-direction: column; flex: 1; }
.al-text strong { font-size: .98rem; color: var(--noir); }
.al-text span { font-size: .85rem; color: var(--gris); }
.al-caret { color: var(--gris); width: 18px; height: 18px; transform: rotate(-90deg); flex-shrink: 0; }
.auth-card h1 { margin-bottom: .3rem; }
.auth-card .field { margin-top: 1rem; }
.auth-card .btn { margin-top: 1.4rem; }
.auth-switch { margin-top: 1.2rem; text-align: center; font-size: .9rem; }

/* ---------- Alertes ---------- */
.alert { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.2rem; font-size: .92rem; }
.alert-error { background: #fae3df; color: #c0492f; }
.alert-warn { background: #fbf0db; color: #9a6a17; }
.alert-ok { background: #e3f3e6; color: #2e7d4f; }

/* ---------- États vides ---------- */
.empty, .status-page { text-align: center; padding: 4rem 1.5rem; }
.empty-ico { font-size: 3rem; display: block; margin-bottom: 1rem; }
.empty h2, .status-page h1 { margin-bottom: .6rem; }
.empty .btn, .status-page .btn { margin-top: 1.2rem; }
.status-code { font-size: 4rem; font-weight: 700; color: var(--coral); display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--noir); color: var(--creme); margin-top: auto; }
.footer-top {
  max-width: 1280px; margin: 0 auto; padding: 3rem 1.5rem 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-col h4 { font-size: .95rem; margin-bottom: 1rem; color: var(--dore); }
.footer-col a { display: block; color: rgba(248,237,220,.72); font-size: .9rem; padding: .3rem 0; }
.footer-col a:hover { color: var(--coral); text-decoration: none; }
.footer-brand .logo { color: var(--creme); }
.footer-brand p { color: rgba(248,237,220,.6); font-size: .9rem; margin: .8rem 0 1.2rem; max-width: 280px; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; color: var(--creme);
  font-size: .9rem; font-weight: 700; transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--coral); color: var(--blanc); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem 1.5rem;
  max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem;
  font-size: .82rem; color: rgba(248,237,220,.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .features-inner { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .search-card { flex-direction: column; align-items: stretch; gap: .7rem; }
  .search-card .field, .search-card .field-sm { flex: 0 0 auto; width: 100%; }
  .btn-search { width: 100%; }
  .nav-inner { flex-wrap: wrap; gap: .6rem; }
  .room-card { flex-direction: column; align-items: stretch; }
  .room-action { align-items: stretch; text-align: left; }
}

/* ===========================================================
   Landing page — sections professionnelles
   =========================================================== */

/* Boutons additionnels */
.btn-lg { padding: .75rem 1.55rem; font-size: 1rem; }
.btn-ghost-light { background: rgba(255,255,255,.12); color: var(--blanc); border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); color: var(--blanc); }

/* Nav : ombre au scroll */
.nav { transition: box-shadow .25s ease, background .25s ease; }
.nav.scrolled { box-shadow: 0 2px 16px rgba(20,30,60,.1); }

/* Cadre de section générique */
.section { max-width: 1280px; margin: 0 auto; padding: 4.5rem 1.5rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: 2rem; letter-spacing: -.5px; }
.section-head p { color: var(--gris); font-size: 1.05rem; margin-top: .5rem; }

/* Animation d'apparition */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Barre de stats */
.stats-bar { background: var(--blanc); color: var(--noir); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-inner {
  max-width: 1000px; margin: 0 auto; padding: 2.2rem 1.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center;
}
.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat-num { font-size: 2.1rem; font-weight: 700; color: var(--coral); }
.stat-lbl { font-size: .9rem; color: var(--gris); }

/* Destinations */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.dest-card {
  position: relative; height: 240px; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; display: flex; align-items: flex-end;
  color: var(--blanc); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.dest-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(12,6,8,.28); text-decoration: none; }
.dest-body { padding: 1.1rem 1.2rem; }
.dest-body h3 { font-size: 1.3rem; color: var(--blanc); }
.dest-body span { font-size: .85rem; color: rgba(255,255,255,.85); }

/* Pourquoi */
.why { background: var(--blanc); max-width: none; }
.why .section-head, .why .why-grid { max-width: 1280px; margin-left: auto; margin-right: auto; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-card { text-align: center; padding: 1.5rem; }
.why-ico { font-size: 2.2rem; display: block; margin-bottom: .8rem; }
.why-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.why-card p { color: var(--gris); font-size: .92rem; }

/* Comment ça marche */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.step { flex: 1 1 240px; max-width: 300px; background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem 1.5rem; text-align: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--coral); color: var(--blanc);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700;
  margin: 0 auto 1rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--gris); font-size: .92rem; }
.step-arrow { display: flex; align-items: center; color: var(--dore); font-size: 1.8rem; font-weight: 700; }

/* Collections */
.coll-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.coll-card {
  position: relative; height: 300px; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; display: flex; align-items: flex-end;
  color: var(--blanc); box-shadow: var(--shadow); transition: transform .2s ease;
}
.coll-card:hover { transform: translateY(-5px); text-decoration: none; }
.coll-body { padding: 1.3rem; }
.coll-body h3 { font-size: 1.35rem; color: var(--blanc); }
.coll-body span { font-size: .9rem; color: rgba(255,255,255,.88); }

/* Témoignages */
.testimonials { }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card { background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.review-stars { color: var(--dore); letter-spacing: 2px; }
.review-card p { color: var(--noir); font-size: .96rem; line-height: 1.6; flex: 1; }
.review-author { display: flex; align-items: center; gap: .8rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--c, var(--coral)); color: var(--blanc);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; flex-shrink: 0;
}
.review-author strong { display: block; font-size: .92rem; }
.review-author span { font-size: .82rem; color: var(--gris); }

/* Bande CTA */
.cta-band { background: linear-gradient(120deg, var(--coral), #063d8f); color: var(--blanc); }
.cta-inner { max-width: 760px; margin: 0 auto; padding: 4rem 1.5rem; text-align: center; }
.cta-inner h2 { font-size: 2.1rem; margin-bottom: .6rem; }
.cta-inner p { font-size: 1.1rem; opacity: .95; margin-bottom: 1.8rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--blanc); color: var(--coral); }
.cta-band .btn-primary:hover { box-shadow: 0 8px 22px rgba(0,0,0,.2); }

/* ===========================================================
   Page résultats — filtres + liste + carte
   =========================================================== */
.results-page { max-width: 1340px; margin: 1.5rem auto 3rem; padding: 0 1.5rem; width: 100%; }
.results-topbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.results-topbar h1 { font-size: 1.7rem; }

.results-layout { display: grid; grid-template-columns: 250px 1fr 380px; gap: 1.4rem; align-items: start; }

/* Filtres */
.filters { position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow-y: auto; overscroll-behavior: contain; background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.3rem; }
.filters::-webkit-scrollbar { width: 7px; }
.filters::-webkit-scrollbar-thumb { background: var(--border); border-radius: 7px; }
.filters::-webkit-scrollbar-thumb:hover { background: #cdd2da; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.filters-head h3 { font-size: 1.1rem; }
.link-btn { background: none; border: none; color: var(--coral); font-family: var(--font); font-size: .82rem; font-weight: 600; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.filter-group { padding: 1rem 0; border-top: 1px solid var(--border); }
.filter-group h4 { font-size: .9rem; margin-bottom: .7rem; }
.filter-group input[type="range"] { width: 100%; accent-color: var(--coral); }
.filter-price-val { font-size: .85rem; color: var(--gris); margin-top: .4rem; }
.filter-price-val strong { color: var(--coral); }
.check { display: flex; align-items: center; gap: .55rem; padding: .28rem 0; font-size: .9rem; cursor: pointer; }
.check input { accent-color: var(--coral); width: 16px; height: 16px; flex-shrink: 0; }
.check .tag-stars, .check span { color: var(--dore); }
.filter-group .check span { color: var(--noir); }
.filter-group .check .cnt { margin-left: auto; color: var(--gris); font-size: .78rem; font-weight: 600; }

/* Paliers de prix (chips) */
.price-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.chip {
  font-family: var(--font); font-size: .78rem; font-weight: 600; cursor: pointer;
  padding: .35rem .6rem; border-radius: 20px; border: 1px solid var(--border);
  background: var(--blanc); color: var(--noir); transition: all .15s ease;
}
.chip:hover { border-color: var(--coral); color: var(--coral); }
.chip.active { background: var(--coral); border-color: var(--coral); color: var(--blanc); }
.chip .cnt { opacity: .7; font-weight: 500; margin-left: .15rem; }

/* Liste d'équipements défilante si longue */
.amen-list { max-height: 240px; overflow-y: auto; padding-right: .3rem; }
.amen-list::-webkit-scrollbar { width: 6px; }
.amen-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }

.row-dist { color: var(--coral); font-weight: 600; }

/* Bouton bascule filtres (mobile/tablette) */
.filters-toggle { display: none; margin-bottom: 1rem; }

/* Liste résultats */
.results-sort { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; gap: .6rem; }
.results-sort select { font-family: var(--font); padding: .45rem .7rem; border: 1px solid var(--border); border-radius: 8px; background: var(--blanc); }
.hotel-list { display: flex; flex-direction: column; gap: 1rem; }

.hotel-row { display: flex; background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .2s ease, transform .15s ease; }
.hotel-row:hover { box-shadow: 0 12px 32px rgba(12,6,8,.16); transform: translateY(-2px); }
.row-photo { width: 210px; flex-shrink: 0; background-size: cover; background-position: center; background-color: #eef0f3; display: flex; align-items: center; justify-content: center; }
.row-photo .no-photo { font-size: 2.5rem; opacity: .5; }
.row-body { flex: 1; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.row-name { font-size: 1.15rem; font-weight: 700; color: var(--noir); }
.row-name:hover { color: var(--coral); text-decoration: none; }
.row-addr { color: var(--gris); font-size: .85rem; }
.row-tags { margin-top: auto; }
.tag-stars { color: var(--dore); letter-spacing: 1px; }
.row-price { width: 175px; flex-shrink: 0; border-left: 1px solid var(--border); padding: 1.1rem; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: .6rem; text-align: right; }
.rating-badge { background: var(--noir); color: var(--blanc); font-weight: 700; font-size: .85rem; padding: .25rem .55rem; border-radius: 8px 8px 8px 0; align-self: flex-end; }
.row-price-amt { display: flex; flex-direction: column; line-height: 1.15; }
.row-price-amt .from { font-size: .72rem; color: var(--gris); }
.row-price-amt strong { font-size: 1.22rem; color: var(--coral); }
.row-price-amt .per { font-size: .72rem; color: var(--gris); }

/* Carte */
.map-col { position: sticky; top: 84px; height: calc(100vh - 110px); }
#map { width: 100%; height: 100%; border-radius: var(--radius); box-shadow: var(--shadow); z-index: 1; }
.price-marker { background: none; border: none; }
.price-marker span {
  display: inline-block; background: var(--coral); color: var(--blanc); font-weight: 700; font-size: .8rem;
  padding: .25rem .55rem; border-radius: 20px; white-space: nowrap; border: 2px solid var(--blanc);
  box-shadow: 0 2px 8px rgba(0,0,0,.3); transform: translate(-50%, -50%);
}
.price-marker.active span, .price-marker span:hover { background: var(--noir); color: var(--dore); z-index: 999; }
.leaflet-popup-content a { color: var(--coral); font-weight: 600; }

/* Responsive résultats */
@media (max-width: 1080px) {
  .results-layout { grid-template-columns: 230px 1fr; }
  .map-col { display: none; }
}
@media (max-width: 760px) {
  .results-layout { grid-template-columns: 1fr; }
  .filters-toggle { display: inline-flex; }
  .filters { position: static; display: none; max-height: none; overflow: visible; }
  .filters.open { display: block; }
  .hotel-row { flex-direction: column; }
  .row-photo { width: 100%; height: 180px; }
  .row-price { width: auto; border-left: none; border-top: 1px solid var(--border); flex-direction: row; align-items: center; text-align: left; }
}

/* Responsive landing */
@media (max-width: 980px) {
  .dest-grid, .coll-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .step-arrow { display: none; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .dest-grid, .coll-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.8rem; }
  .section-head h2 { font-size: 1.6rem; }
}

/* ===========================================================
   Page détail hôtel — galerie, équipements, carte
   =========================================================== */
.detail-page { max-width: 1280px; margin: 1.5rem auto 3rem; padding: 0 1.5rem; width: 100%; }

/* Galerie mosaïque */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; height: 420px; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.6rem; }
.gallery-main { background-size: cover; background-position: center; cursor: pointer; transition: filter .2s; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .5rem; }
.gallery-cell { background-size: cover; background-position: center; cursor: pointer; position: relative; transition: filter .2s; }
.gallery-main:hover, .gallery-cell:hover { filter: brightness(.85); }
.gallery-more { position: absolute; inset: 0; background: rgba(12,6,8,.55); color: var(--blanc); display: flex; align-items: center; justify-content: center; font-weight: 600; }

/* Titre + note */
.detail-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.2rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.detail-stars { color: var(--dore); letter-spacing: 1px; }
.detail-title h1 { font-size: 1.9rem; margin: .2rem 0; }
.detail-addr { color: var(--gris); font-size: .92rem; }
.detail-rating { display: flex; align-items: center; gap: .7rem; }
.rating-big { background: var(--coral); color: var(--blanc); font-weight: 700; font-size: 1.05rem; padding: .35rem .5rem; border-radius: 9px 9px 9px 0; line-height: 1; }
.rating-word { display: flex; flex-direction: column; }
.rating-word strong { font-size: .95rem; }
.rating-word span { font-size: .8rem; color: var(--gris); }

/* Corps 2 colonnes */
.detail-body { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.detail-section { margin-bottom: 2rem; }
.detail-section h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.detail-desc { color: var(--gris); line-height: 1.7; }
.detail-desc strong { color: var(--noir); }

/* Équipements */
.facilities-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1rem; }
.facility { position: relative; padding-left: 1.5rem; font-size: .92rem; }
.facility::before { content: '✓'; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.facility.fac-hidden { display: none; }

/* CTA collant "Voir les chambres" */
.rooms-cta {
  position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  z-index: 60; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--coral); color: var(--blanc); border: none; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 1rem; white-space: nowrap;
  padding: .9rem 1.6rem; border-radius: 50px;
  box-shadow: 0 8px 28px rgba(10, 90, 214, .42);
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}
.rooms-cta:hover { background: var(--coral-600); box-shadow: 0 10px 32px rgba(10, 90, 214, .5); }
.rooms-cta svg { width: 18px; height: 18px; }
.rooms-cta.hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-50%) translateY(140%); }

/* Sidebar */
.detail-side { position: sticky; top: 84px; }
.side-card { background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; }

/* Formulaire de modification des dates (sidebar fiche hôtel) */
.side-search { padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--border); }
.side-h { display: flex; align-items: center; gap: .4rem; font-size: .95rem; margin-bottom: .7rem; }
.side-h .ic { color: var(--coral); }
.side-dates { display: flex; gap: .6rem; margin-bottom: .6rem; }
.side-search label { display: flex; flex-direction: column; flex: 1; font-size: .76rem; font-weight: 600; color: var(--gris); gap: .25rem; }
.side-adults { margin-bottom: .8rem; }
.side-search input, .side-search select {
  font-family: var(--font); font-size: .9rem; padding: .5rem .55rem; color: var(--noir);
  border: 1px solid var(--border); border-radius: 8px; background: var(--creme); width: 100%;
}
.side-search input:focus, .side-search select:focus { outline: 2px solid var(--coral); border-color: var(--coral); }

.side-rating { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.side-rating .rating-big { font-size: 1.15rem; }
.side-times { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.side-times > div { flex: 1; display: flex; flex-direction: column; }
.side-times span { font-size: .78rem; color: var(--gris); }
.side-times strong { font-size: 1rem; }
.side-addr { font-size: .88rem; color: var(--gris); margin: 1rem 0; }
#hotelMap { height: 200px; border-radius: 10px; margin-bottom: 1rem; z-index: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.93); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
#lbImg { max-width: 88%; max-height: 84%; border-radius: 8px; box-shadow: 0 10px 50px rgba(0,0,0,.5); }
.lb-btn { position: absolute; background: rgba(255,255,255,.14); color: var(--blanc); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 1.2rem; right: 1.5rem; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; font-size: 2.4rem; }
.lb-prev { left: 1.5rem; } .lb-next { right: 1.5rem; }
.lb-counter { position: absolute; bottom: 1.3rem; left: 50%; transform: translateX(-50%); color: var(--blanc); font-size: .9rem; background: rgba(0,0,0,.4); padding: .3rem .8rem; border-radius: 20px; }

/* Responsive détail */
@media (max-width: 880px) {
  .detail-body { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .gallery { height: 320px; }
  .facilities-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; height: 240px; }
  .gallery-grid { display: none; }
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 1.8rem; }
}

/* ===========================================================
   Checkout · Confirmation · Dashboard · Auth — finition pro
   =========================================================== */

/* Indicateur d'étapes */
.stepper { list-style: none; display: flex; max-width: 620px; margin: 0 auto 2.2rem; }
.stepper li { flex: 1; text-align: center; position: relative; font-size: .8rem; color: var(--gris); padding-top: 42px; }
.stepper li span {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: #eef0f3; color: var(--gris);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; z-index: 2;
}
.stepper li::before { content: ''; position: absolute; top: 16px; right: 50%; width: 100%; height: 2px; background: #eef0f3; z-index: 1; }
.stepper li:first-child::before { display: none; }
.stepper li.done span, .stepper li.active span { background: var(--coral); color: var(--blanc); }
.stepper li.done::before, .stepper li.active::before { background: var(--coral); }
.stepper li.done, .stepper li.active { color: var(--noir); font-weight: 600; }

/* Checkout */
.field-row { display: flex; gap: 1rem; }
.field-row .field { flex: 1; }
.sum-hotel { display: flex; flex-direction: column; padding-bottom: .9rem; margin-bottom: .5rem; border-bottom: 1px solid var(--border); }
.sum-hotel strong { font-size: 1.05rem; }
.sum-hotel span { color: var(--gris); font-size: .9rem; }
.sum-trust { list-style: none; margin-top: 1.1rem; display: flex; flex-direction: column; gap: .55rem; }
.sum-trust li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; font-weight: 500; color: var(--noir); }
.trust-badge { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-badge .ic { width: 15px; height: 15px; }
.trust-badge.t-ok { background: #e3f3e6; color: #2e7d4f; }
.trust-badge.t-secure { background: #eaf1fd; color: var(--coral); }
.pay-note { margin-top: 1rem; font-size: .82rem; color: var(--gris); text-align: center; }

/* Confirmation */
.confirm-ico {
  width: 76px; height: 76px; border-radius: 50%; background: #e3f3e6; color: #2e7d4f;
  display: flex; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 700;
  margin: 0 auto 1rem;
}
.confirm-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 780px; margin: 1.6rem auto; }
.cn-item { background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem; display: flex; gap: .7rem; align-items: flex-start; }
.cn-item > span { font-size: 1.4rem; line-height: 1; }
.cn-item strong { display: block; font-size: .92rem; }
.cn-item div span { font-size: .82rem; color: var(--gris); }

/* Dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.dash-head h1 { font-size: 1.4rem; }
.dash-stats { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.dash-stat { background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.6rem; text-align: center; }
.ds-num { display: block; font-size: 1.8rem; font-weight: 700; color: var(--coral); }
.ds-lbl { font-size: .82rem; color: var(--gris); }

/* Auth split */
.auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; }
.auth-visual { background-size: cover; background-position: center; display: flex; align-items: center; padding: 3rem; color: var(--blanc); }
.auth-visual-inner { max-width: 360px; }
.auth-visual .logo { color: var(--blanc); font-size: 1.6rem; }
.auth-visual h2 { font-size: 2.1rem; margin: 1rem 0 1.3rem; }
.auth-visual ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.auth-visual li { color: rgba(255,255,255,.92); font-weight: 500; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; background: var(--creme); }
.auth-form-wrap .auth-card { width: 100%; max-width: 400px; }

@media (max-width: 820px) {
  .auth-split { grid-template-columns: 1fr; min-height: 0; }
  .auth-visual { min-height: 200px; padding: 2rem; }
  .confirm-next { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .field-row { flex-direction: column; gap: 0; }
  .stepper li { font-size: 0; }
  .stepper li span { font-size: .85rem; }
}

/* ===========================================================
   Résultats v2 — onglets type, cartes riches, badge note vert
   =========================================================== */
.type-tabs { display: flex; gap: .4rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border); }
.type-tab { background: none; border: none; border-bottom: 3px solid transparent; padding: .6rem .9rem; font-family: var(--font); font-weight: 600; font-size: .95rem; color: var(--gris); cursor: pointer; display: flex; gap: .45rem; align-items: center; }
.type-tab span { background: var(--creme); color: var(--gris); border-radius: 20px; padding: .05rem .5rem; font-size: .76rem; }
.type-tab:hover { color: var(--noir); }
.type-tab.active { color: var(--coral); border-bottom-color: var(--coral); }
.type-tab.active span { background: var(--coral); color: #fff; }

.row-top { display: flex; align-items: center; gap: .6rem; }
.row-type { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--coral); background: rgba(10,90,214,.08); padding: .12rem .5rem; border-radius: 5px; }
.row-amenities { display: flex; gap: .5rem; flex-wrap: wrap; margin: .15rem 0; }
.amen { font-size: 1rem; line-height: 1; }
.row-offer { margin-top: auto; display: flex; flex-direction: column; gap: .35rem; padding-top: .5rem; }
.offer-room { font-size: .88rem; font-weight: 600; color: var(--noir); }
.offer-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.otag { font-size: .75rem; padding: .15rem .5rem; border-radius: 6px; background: var(--creme); color: var(--gris); }
.otag.ok { background: #e6f4ea; color: #1a8754; font-weight: 600; }
.otag.no { background: #fdecea; color: #c0392b; }

.row-price { width: 200px; }
.score-row { display: flex; align-items: center; gap: .5rem; align-self: flex-end; }
.score-word { display: flex; flex-direction: column; text-align: right; line-height: 1.15; }
.score-word strong { font-size: .85rem; color: var(--noir); }
.score-word span { font-size: .72rem; color: var(--gris); }
.score-badge { color: #fff; font-weight: 700; font-size: 1rem; padding: .35rem .55rem; border-radius: 8px 8px 8px 0; min-width: 40px; text-align: center; }

@media (max-width: 760px) {
  .row-price {
    width: auto; flex-direction: row; flex-wrap: wrap;
    align-items: center; justify-content: space-between; gap: .5rem .9rem;
  }
  .score-row { order: -1; width: 100%; align-self: flex-start; }
  .row-price-amt { flex: 0 0 auto; flex-direction: row; align-items: baseline; gap: .3rem; }
  .row-price-amt strong { font-size: 1.1rem; white-space: nowrap; }
  .row-price-amt .from, .row-price-amt .per { font-size: .7rem; }
  .row-price .btn-sm { flex: 0 0 auto; white-space: nowrap; }
  .score-badge { font-size: .9rem; min-width: 34px; padding: .3rem .45rem; }
  .score-word strong { font-size: .8rem; }
}

/* Tags chambres (fiche détail) */
.room-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }

/* ===========================================================
   Détail v2 — bandeau équipements, avis, conditions, chambres+
   =========================================================== */
.detail-highlights { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.6rem; }
.hl { display: flex; align-items: center; gap: .4rem; background: var(--blanc); border: 1px solid var(--border); border-radius: 10px; padding: .45rem .8rem; font-size: .85rem; }
.hl-ico { font-size: 1rem; line-height: 1; }

/* Avis (résumé IA) */
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.rcat { margin-bottom: .7rem; }
.rcat-head { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: .25rem; }
.rcat-head strong { font-weight: 700; }
.rcat-bar { height: 7px; background: var(--creme); border-radius: 5px; overflow: hidden; }
.rcat-bar span { display: block; height: 100%; border-radius: 5px; }
.review-proscons .pc { margin-bottom: 1.1rem; }
.pc h4 { font-size: .95rem; margin-bottom: .5rem; }
.pc ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.pc li { font-size: .88rem; color: var(--noir); padding: .3rem .6rem; border-radius: 8px; }
.pc.pros li { background: #e6f4ea; }
.pc.cons li { background: #fdf1e3; }

/* Conditions */
.cond-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-bottom: 1.2rem; }
.cond { background: var(--blanc); border: 1px solid var(--border); border-radius: 10px; padding: .7rem .9rem; display: flex; flex-direction: column; }
.cond span { font-size: .78rem; color: var(--gris); }
.cond strong { font-size: .95rem; }
.policies { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.policies li { font-size: .88rem; color: var(--gris); line-height: 1.55; }
.policies strong { color: var(--noir); }

/* Chambres enrichies */
.room-card { align-items: stretch; }
.room-thumb { width: 170px; flex-shrink: 0; align-self: stretch; min-height: 120px; background-size: cover; background-position: center; border-radius: 10px; background-color: #eef0f3; }
.room-info { flex: 1; }
.room-specs { display: flex; flex-wrap: wrap; gap: .9rem; color: var(--gris); font-size: .85rem; margin-top: .35rem; }
.room-amen-line { font-size: .82rem; color: var(--gris); margin-top: .45rem; }

@media (max-width: 760px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .cond-grid { grid-template-columns: 1fr; }
  .room-card { flex-direction: column; }
  .room-thumb { width: 100%; height: 160px; }
}

/* ===========================================================
   Retouches accueil — stats stylées, footer clair, titre XL
   =========================================================== */

/* Stats : section dédiée (titre + carte) bien espacée */
.stats-bar { background: transparent; border: none; padding: 1rem 1.5rem 5rem; }
.stats-inner {
  max-width: 1080px; margin: 0 auto;
  background: var(--blanc); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 8px 30px rgba(20,30,60,.10); padding: 2.2rem 1rem;
  grid-template-columns: repeat(4, 1fr);
}
.stat { align-items: center; gap: .25rem; position: relative; padding: 0 1rem; }
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: var(--border);
}
.stat-ico { font-size: 1.7rem; line-height: 1; margin-bottom: .25rem; }
.stat-num { font-family: var(--font-title); font-size: 2.1rem; font-weight: 700; color: var(--coral); }
.stat-lbl { font-size: .85rem; color: var(--gris); }

/* Footer clair */
.footer { background: #eef1f5; color: var(--noir); border-top: 1px solid var(--border); margin-top: auto; }
.footer-col h4 { color: var(--noir); }
.footer-col a { color: var(--gris); }
.footer-col a:hover { color: var(--coral); }
.footer-brand .logo { color: var(--noir); }
.footer-brand p { color: var(--gris); }
.footer-social a { background: var(--blanc); color: var(--noir); border: 1px solid var(--border); }
.footer-social a:hover { background: var(--coral); color: var(--blanc); border-color: var(--coral); }
.footer-bottom { border-top: 1px solid var(--border); color: var(--gris); }

/* Titre hero responsive */
@media (max-width: 980px) { .hero h1 { font-size: 3.2rem; } }
@media (max-width: 600px) {
  .hero h1 { font-size: 2.6rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 0; margin-top: 1rem; }
  .stat:nth-child(3)::before { display: none; }
}

/* ===========================================================
   Retouches 2 — icônes stats SVG (style badges) + sections larges
   =========================================================== */
.stat-ico {
  width: 50px; height: 50px; border-radius: 13px; margin: 0 auto .55rem;
  background: rgba(10,90,214,.08); color: var(--coral);
  display: flex; align-items: center; justify-content: center; font-size: 0;
}
.stat-ico svg { width: 26px; height: 26px; }

/* Sections vitrines plus généreuses */
.stats-inner { max-width: 1180px; }
.section { max-width: 1280px; }
.dest-grid { gap: 1.4rem; }
.dest-card { height: 270px; }
.coll-card { height: 320px; }

/* Fix largeur sections accueil : enfants flex du body → forcer width:100%
   (sinon margin:0 auto les rétrécit au contenu). Alignées sur la carte stats (1180). */
.section { width: 100%; max-width: 1180px; }

/* Icônes "Pourquoi réserver" — carré arrondi + SVG bleu (cohérent stats/badges) */
.why-ico {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 1rem;
  background: rgba(10,90,214,.08); color: var(--coral);
  display: flex; align-items: center; justify-content: center; font-size: 0;
}
.why-ico svg { width: 28px; height: 28px; }

/* Champ de recherche dans les filtres */
.search-wrap { position: relative; display: flex; align-items: center; }
.search-ico { position: absolute; left: .75rem; width: 16px; height: 16px; color: var(--gris); pointer-events: none; }
.filter-search { width: 100%; padding: .6rem .8rem .6rem 2.2rem; border: 1px solid var(--border); border-radius: 8px; background: var(--creme); font-family: var(--font); font-size: .9rem; color: var(--noir); }
.filter-search:focus { outline: 2px solid var(--coral); border-color: var(--coral); }

/* ===========================================================
   Polish responsive global — titres, prix, boutons (mobile)
   =========================================================== */
@media (max-width: 600px) {
  /* Titres de page */
  .detail-title h1 { font-size: 1.45rem; line-height: 1.25; }
  .results-topbar h1 { font-size: 1.35rem; line-height: 1.25; }
  .dash-head h1 { font-size: 1.45rem; line-height: 1.25; }
  .auth-card h1 { font-size: 1.5rem; line-height: 1.25; }
  .auth-visual h2 { font-size: 1.7rem; line-height: 1.25; }
  .cta-inner h2 { font-size: 1.7rem; line-height: 1.2; }
  .section-title { font-size: 1.15rem; }

  /* Sous-titres de section */
  .detail-section h2 { font-size: 1.15rem; line-height: 1.3; }
  .room-info h3, .hotel-body h3 { font-size: 1.02rem; line-height: 1.3; }

  /* Prix */
  .room-price { font-size: 1.05rem; }
  .total-amount { font-size: 1.12rem; }
  .booking-price { font-size: 1.05rem; }
  .hotel-price .amount { font-size: 1.1rem; }

  /* Badges note */
  .detail-rating .rating-big { font-size: 1rem; padding: .35rem .5rem; }
  .side-rating .rating-big { font-size: 1.1rem; }

  /* Boutons */
  .btn-lg { padding: .8rem 1.4rem; font-size: 1rem; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .room-action .btn { width: 100%; }
  .rooms-cta { font-size: .9rem; padding: .8rem 1.3rem; }
}

/* ===========================================================
   Carrousel "Hôtels recommandés" — défilement continu, pause au survol
   =========================================================== */
.reco { width: 100%; max-width: 1180px; }
.reco-viewport { overflow: hidden; padding: .4rem 0 1rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.reco-track { display: flex; gap: 1.4rem; width: max-content; animation: reco-scroll 55s linear infinite; }
.reco-viewport:hover .reco-track { animation-play-state: paused; }

@keyframes reco-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.reco-card { flex: 0 0 330px; background: var(--blanc); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .2s ease; }
.reco-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(20,30,60,.16); text-decoration: none; }
.reco-photo { height: 200px; background-size: cover; background-position: center; background-color: #eef0f3; }
.reco-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .35rem; }
.reco-stars { color: var(--dore); letter-spacing: 1px; font-size: .9rem; line-height: 1; }
.reco-name { font-size: 1.1rem; font-weight: 700; color: var(--noir); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reco-loc { color: var(--gris); font-size: .85rem; display: flex; align-items: center; gap: .3rem; }
.reco-loc span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reco-loc .ic { color: var(--coral); }
.reco-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: .55rem; gap: .6rem; }
.reco-rating { display: flex; align-items: center; gap: .4rem; }
.reco-score { color: #fff; font-weight: 700; font-size: .82rem; padding: .25rem .45rem; border-radius: 8px 8px 8px 0; }
.reco-rword { display: flex; flex-direction: column; line-height: 1.12; font-size: .76rem; }
.reco-rword strong { color: var(--noir); font-size: .82rem; }
.reco-rword span { color: var(--gris); }
.reco-price { display: flex; flex-direction: column; text-align: right; line-height: 1.1; }
.reco-price strong { color: var(--coral); font-size: 1.05rem; }
.reco-price span { color: var(--gris); font-size: .7rem; }

@media (max-width: 600px) {
  .reco-card { flex-basis: 270px; }
  .reco-photo { height: 165px; }
  .reco-track { animation-duration: 40s; }
}
@media (prefers-reduced-motion: reduce) {
  .reco-track { animation: none; }
  .reco-viewport { overflow-x: auto; }
}
