/* ============================================
   DÉTAILS — Harmonisé avec RÉSERVATIONS (RESA VVA)
   ============================================ */

:root {
  /* Palette cohérente */
  --bg: #f3ede9;
  --panel: #5f4b47;
  --panel-soft: #6a5854;
  --field: #d7ccc9;
  --ink: #2b2524;
  --ink-soft: #3f3836;
  --btn: #bcb1ae;
  --btn-ghost: #ded8d6;
  --border: #4b403d;
  --footer: #5f4b47;
  --ok: #7bd88f;
  --warn: #ff6b6b;
  --pending: #ffd84d;
  

  /* Accents dorés */
  --gold-1:#caa45e;
  --gold-2:#e6d0a5;
  --gold-3:#b9935a;

  --shadow-sm: 0 6px 18px rgba(0,0,0,.10);
  --shadow-md: 0 10px 28px rgba(0,0,0,.12);
  --radius-lg: 18px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #f3ede9;
}

main { flex: 1; }
.container { max-width: 1120px; margin: 0 auto; padding: 1rem; }

/* HEADER — harmonisé avec RESAVVA */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--panel); /* Utiliser panel foncé */
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.topbar__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: .9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe29b, #caa061);
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a, .dropbtn {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  opacity: .95;
  padding: .25rem .15rem;
  border-radius: 6px;
  transition: opacity .15s ease;
}

nav a:hover, .dropbtn:hover {
  opacity: 1;
}

.nav-active {
  border-bottom: 2px solid var(--accent);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--panel);
  color: #fff;
  min-width: 190px;
  padding: .4rem;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
}
.dropdown-content a {
  display: block;
  padding: .55rem .7rem;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}
.dropdown-content a:hover { background: rgba(255,255,255,.12); }
.dropdown:is(:hover,:focus-within) .dropdown-content { display: block; }

/* Responsive header mobile/tablette */
@media (max-width: 680px) {
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }
  nav {
    flex-direction: column;
    gap: .5rem;
    width: 100%;
  }
}

/* ==========================
   TITRES / BOUTONS
   ========================== */
.section-title {
  font-weight: 900;
  color: var(--panel);
  margin: .5rem 0 1rem;
  letter-spacing: .2px;
}

.btn {
  background: linear-gradient(180deg, #cfc5c1, #bcb1ae);
  border: 1px solid var(--border);
  color: #1b1716;
  padding: .7rem 1.1rem;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
  transition: transform .06s ease, filter .15s ease, box-shadow .2s ease;
}
.btn:hover { filter: brightness(1.02); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  background: linear-gradient(180deg, #eee9e7, #ded8d6);
  border: 1px solid var(--border);
}
.retour {
  display: inline-block;
  margin: .5rem 0 1rem;
  text-decoration: none;
  font-weight: 800;
  color: #1b1716;
  padding: .55rem .95rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff8a, #ffffff4a);
  box-shadow: var(--shadow-sm);
}

/* ==========================
   FICHE HÉBERGEMENT
   ========================== */
.fiche {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr .9fr;
  background: var(--panel);
  color: #eee;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fiche:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) { .fiche { grid-template-columns: 1fr; } }

/* Visuel */
.media {
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(45deg, #eee, #eee 6px, #e7e1de 6px, #e7e1de 12px);
  border: 2px dashed #c9c1be;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px #ffffff1a, 0 8px 20px rgba(0,0,0,.15);
}

/* Informations */
.infos .titre {
  margin: .2rem 0 .5rem;
  font-weight: 900;
  font-size: 1.2rem;
}
.meta { opacity: .9; font-weight: 600; color: #f8f5f3; }

.desc {
  margin: .6rem 0;
  line-height: 1.6;
  background: #ffffff12;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  padding: .8rem;
  color: #f8f6f5;
}

/* Prix (ruban doré doux) */
.prix {
  display: inline-block;
  margin: .6rem 0;
  font-weight: 900;
  color: #2b2524;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-1));
  padding: .45rem .8rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* Actions */
.actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: .7rem;
}

/* ==========================
   PANNEAUX / INPUTS
   ========================== */
.panel {
  background: var(--panel);
  color: #eee;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.field label {
  font-size: .9rem;
  color: #f6f2f1;
  opacity: .96;
  font-weight: 800;
}
.field input, .field select, .field textarea {
  background: var(--field);
  border: 1px solid var(--border);
  padding: .72rem .85rem;
  border-radius: 12px;
  color: var(--ink-soft);
  outline: none;
  transition: box-shadow .2s ease, transform .06s ease;
}
.field input:focus, .field select:focus {
  box-shadow: 0 0 0 3px #caa45e44, 0 10px 22px rgba(0,0,0,.10);
}
/* =====================================================
   FOOTER — RESAVVA
   ===================================================== */
footer {
  background: var(--panel); /* brun profond */
  color: #fff;
  text-align: center;
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}