/* ════════════════════════════════════════════════════════
   Espace Clients Fidèles — Grand Hôtel des Bains
   Feuille de style partagée
   ════════════════════════════════════════════════════════ */

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

:root {
  --navy:   #1a3a5c;
  --navy2:  #0d2137;
  --navy3:  #07111f;
  --gold:   #c9a96e;
  --gold2:  #a8823f;
  --green:  #2e7d52;
  --white:  #ffffff;
  --gray:   #f5f5f0;
  --gray2:  #ece8e1;
  --text:   #2c2c2c;
  --muted:  #6b6157;
  --border: #e0d8cc;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

/* ── NAVIGATION ─────────────────────────────────────────── */
.nav {
  background: var(--navy3);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold2);
}
.nav-logo {
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: Georgia, serif;
  padding: 1rem 0;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo span {
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  letter-spacing: .2em;
  display: block;
  margin-top: .1rem;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: .2rem;
}
.nav-links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-family: sans-serif;
  font-size: .82rem;
  letter-spacing: .06em;
  padding: 1.2rem 1rem;
  display: block;
  transition: color .2s;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
@media (max-width: 600px) {
  .nav { flex-direction: column; align-items: flex-start; padding: .8rem 1.2rem; gap: .4rem; }
  .nav-links { flex-wrap: wrap; gap: 0; }
  .nav-links a { padding: .5rem .7rem; font-size: .78rem; }
}

/* ── HERO PAGE D'ACCUEIL ─────────────────────────────────── */
.hero-accueil {
  position: relative;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-accueil-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://www.domainedesbains.com/wp-content/uploads/2025/12/hotel.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(.45);
}
.hero-accueil-content {
  position: relative;
  text-align: center;
  padding: 2rem;
  max-width: 700px;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy2);
  font-family: sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .4rem 1.2rem;
  border-radius: 2rem;
  margin-bottom: 1.4rem;
}
.hero-accueil h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: .8rem;
}
.hero-accueil h1 em { color: var(--gold); font-style: normal; }
.hero-accueil p {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.75);
  font-style: italic;
  max-width: 500px;
  margin: 0 auto 2rem;
}
.btn-hero {
  display: inline-block;
  background: var(--gold);
  color: var(--navy2);
  font-family: sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .9rem 2.2rem;
  border-radius: .4rem;
  text-decoration: none;
  margin: .3rem;
  transition: background .2s;
}
.btn-hero:hover { background: #dbb97e; }
.btn-hero.outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.4);
  color: rgba(255,255,255,.85);
}
.btn-hero.outline:hover { background: rgba(255,255,255,.1); }

/* ── GRID PHOTOS ─────────────────────────────────────────── */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  max-height: 360px;
}
@media (max-width: 640px) { .photos-grid { grid-template-columns: 1fr 1fr; max-height: none; } }
.photos-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.photos-grid img:hover { transform: scale(1.03); }

/* ── SECTIONS COMMUNES ───────────────────────────────────── */
.section {
  padding: 3.5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.section-title {
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: .4rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 2px;
  background: var(--gold);
  margin-top: .5rem;
}
.section-subtitle {
  font-size: .95rem;
  color: var(--muted);
  font-style: italic;
  margin: 1rem 0 2rem;
}

/* ── FILTRES ─────────────────────────────────────────────── */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.filter-btn {
  background: var(--gray);
  border: 1.5px solid var(--border);
  border-radius: 2rem;
  padding: .45rem 1.2rem;
  font-family: sans-serif;
  font-size: .82rem;
  cursor: pointer;
  color: var(--muted);
  transition: all .15s;
}
.filter-btn:hover { border-color: var(--gold2); color: var(--gold2); }
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ── GRILLE DE CARTES ────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ── CARTE OFFRE ─────────────────────────────────────────── */
.card {
  border-radius: .75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
  background: var(--white);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
.card-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}
.card-body {
  padding: 1.1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.tag {
  display: inline-block;
  border-radius: 2rem;
  padding: .2rem .7rem;
  font-family: sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.tag-hotel  { background: #e8f0fb; color: #1a5276; }
.tag-gite   { background: #e8f5ee; color: var(--green); }
.tag-date   { background: var(--gray2); color: var(--muted); }
.tag-cat    { background: #fdf5e6; color: var(--gold2); }
.tag-moto    { background: #f0e8fb; color: #5b21b6; }
.tag-voiture { background: #e8f0fb; color: #1a5276; }
.tag-senior  { background: #fff3e0; color: #b45309; }
.tag-famille { background: #fce8e8; color: #991b1b; }
.tag-tourisme{ background: #e8f5ee; color: var(--green); }
.card-title {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.3;
}
.card-desc {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.card-footer {
  padding: .9rem 1.2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafaf7;
}
.card-prix {
  font-family: sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
}
.card-cta {
  font-family: sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold2);
  letter-spacing: .04em;
}

/* ── CARTE SÉJOUR ────────────────────────────────────────── */
.card-sejour .card-footer {
  justify-content: space-between;
}
.card-duree {
  font-family: sans-serif;
  font-size: .82rem;
  color: var(--muted);
}

/* ── BLOC CTA ACCUEIL ────────────────────────────────────── */
.cta-section {
  background: var(--navy2);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}
@media (max-width: 600px) { .cta-section { grid-template-columns: 1fr; } }
.cta-card {
  background: var(--navy2);
  padding: 2.5rem 2rem;
  text-align: center;
  text-decoration: none;
  transition: background .2s;
}
.cta-card:hover { background: #142840; }
.cta-card-icon { font-size: 2rem; margin-bottom: .8rem; }
.cta-card h3 { font-size: 1.25rem; font-weight: 400; color: var(--gold); margin-bottom: .5rem; }
.cta-card p { font-size: .88rem; color: rgba(255,255,255,.6); font-style: italic; margin-bottom: 1.2rem; }
.cta-card-btn {
  display: inline-block;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: sans-serif;
  font-size: .82rem;
  padding: .55rem 1.4rem;
  border-radius: .35rem;
  transition: all .2s;
}
.cta-card:hover .cta-card-btn {
  background: var(--gold);
  color: var(--navy2);
}

/* ── PAGE HERO (offres, séjours) ─────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy2) 0%, #1a3a5c 100%);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: .5rem;
}
.page-hero h1 em { color: var(--gold); font-style: normal; }
.page-hero p {
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  font-style: italic;
}

/* ── EMPTY STATE ─────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--muted);
  font-style: italic;
  display: none;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--navy3);
  color: rgba(255,255,255,.4);
  text-align: center;
  padding: 1.8rem 2rem;
  font-family: sans-serif;
  font-size: .78rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer strong { color: var(--gold); font-weight: 400; }

/* ── PAGE DÉTAIL OFFRE / SÉJOUR ──────────────────────────── */
.detail-hero {
  height: 320px;
  position: relative;
  overflow: hidden;
}
.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55);
}
.detail-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.detail-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}
.detail-content h2 {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--navy);
  margin: 2rem 0 .8rem;
}
.detail-content h2:first-child { margin-top: 0; }
.detail-content h2::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--gold);
  margin-top: .4rem;
}
.detail-content p { font-size: .97rem; color: #444; line-height: 1.75; margin-bottom: .8rem; }
.detail-content ul { margin: .5rem 0 1rem 1.2rem; }
.detail-content ul li { font-size: .95rem; color: #444; line-height: 1.7; margin-bottom: .3rem; }
.detail-box {
  background: var(--gray);
  border-left: 3px solid var(--gold);
  border-radius: 0 .5rem .5rem 0;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  font-size: .9rem;
  color: var(--muted);
}
.detail-cta-block {
  background: var(--navy2);
  color: var(--white);
  text-align: center;
  padding: 3rem 2rem;
}
.detail-cta-block h3 { font-size: 1.3rem; font-weight: 400; color: var(--gold); margin-bottom: .6rem; }
.detail-cta-block p { color: rgba(255,255,255,.7); font-size: .95rem; margin-bottom: 1.5rem; }
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy2);
  font-family: sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: .4rem;
  text-decoration: none;
  margin: .3rem;
  transition: background .2s;
}
.btn-gold:hover { background: #dbb97e; }
.btn-outline-white {
  display: inline-block;
  background: transparent;
  border: 2px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.8);
  font-family: sans-serif;
  font-size: .9rem;
  padding: .8rem 1.8rem;
  border-radius: .4rem;
  text-decoration: none;
  margin: .3rem;
}

/* ── PROGRAMME (séjours) ─────────────────────────────────── */
.programme { display: flex; flex-direction: column; gap: 1.2rem; margin: 1rem 0; }
.prog-step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.prog-time {
  min-width: 4.5rem;
  font-family: sans-serif;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold2);
  padding-top: .15rem;
  flex-shrink: 0;
  text-align: right;
}
.prog-dot {
  width: .8rem; height: .8rem;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: .3rem;
}
.prog-body { flex: 1; }
.prog-body strong { font-size: .97rem; color: var(--navy); display: block; margin-bottom: .2rem; }
.prog-body p { font-size: .88rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
  font-family: sans-serif;
  font-size: .8rem;
  color: var(--muted);
  padding: .8rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.breadcrumb a { color: var(--gold2); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
