/* ╔══════════════════════════════════════════════════════════════╗
   ║  L'AUBERGE DU TRÔNE : page d'accueil v2 (octobre 2026)      ║
   ║  Fichier : css/home.css (chargé après style.css)            ║
   ║  Même esprit que les articles du blog : Cinzel + Literata,  ║
   ║  cartes sombres bordées d'or, losanges.                     ║
   ╚══════════════════════════════════════════════════════════════╝ */

body.home {
  --gold: #E2B65C;
  --gold-soft: #c9a04e;
  --cream: #efe5d2;
  --muted: #c3b79f;
  --bg: #1b1611;
  --bg-alt: #15110d;
  --card: #241d16;
  --line: rgba(226,182,92,0.16);
  background: var(--bg);
  color: var(--cream);
  font-family: 'Literata', Georgia, serif;
}
body.home .particles-container { display: none; }

/* ── Navigation ── */
body.home .site-nav,
body.home .site-nav.scrolled {
  background: rgba(21,17,13,0.97);
  border-bottom: 1px solid rgba(226,182,92,0.12);
  padding: 14px 0;
}
body.home .nav-inner { max-width: 1320px; gap: 24px; }
body.home .nav-links { flex: 1; justify-content: center; }
body.home .nav-links .nav-link {
  font-family: 'Literata', Georgia, serif;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: #e6dac2;
}
body.home .nav-links .nav-link:hover { color: var(--gold); }
.nav-cta {
  flex: none;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #15110d;
  background: var(--gold);
  border-radius: 3px;
  padding: 11px 20px;
  transition: background .2s;
}
.nav-cta:hover { background: #f0cf7e; }

/* ── Briques communes ── */
.h-section { padding: 110px 24px; }
.h-section.alt { background: var(--bg-alt); }
.h-wrap { max-width: 1170px; margin: 0 auto; }
.h-wrap-wide { max-width: 1320px; margin: 0 auto; }
.h-center { text-align: center; }
.h-label {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.h-title {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.18;
  color: var(--cream);
  margin: 0;
}
.h-diamond {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px auto 28px;
}
.h-diamond::before,
.h-diamond::after { content: ""; width: 64px; height: 1px; background: rgba(226,182,92,0.45); }
.h-diamond span { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.h-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 640px;
}
.h-center .h-lead { margin: 0 auto; }
.h-link {
  font-size: 16px;
  color: var(--gold);
  border-bottom: 1px solid rgba(226,182,92,0.6);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.h-link:hover { color: #f0cf7e; border-color: #f0cf7e; }
.h-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.h-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.h-btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  border-radius: 3px;
  padding: 15px 28px;
  transition: background .2s, color .2s, border-color .2s;
}
.h-btn-gold { background: var(--gold); color: #15110d; border: 1px solid var(--gold); }
.h-btn-gold:hover { background: #f0cf7e; border-color: #f0cf7e; }
.h-btn-line { background: transparent; color: var(--gold); border: 1px solid rgba(226,182,92,0.7); }
.h-btn-line:hover { background: rgba(226,182,92,0.1); }
.h-list { list-style: none; margin: 0 0 28px; padding: 0; }
.h-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--cream);
}
.h-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.55em;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ── Hero ── */
.h-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 24px 90px;
  overflow: hidden;
}
.h-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  filter: brightness(0.62) saturate(1.05);
}
.h-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg-alt) 0%, rgba(21,17,13,0.4) 35%, transparent 65%),
    linear-gradient(to right, rgba(21,17,13,0.85) 0%, rgba(21,17,13,0.45) 45%, transparent 75%);
}
.h-hero-content { position: relative; z-index: 1; width: 100%; }
.h-hero-crown { margin-bottom: 14px; animation: breathe 4s ease-in-out infinite; }
.h-hero-crown img { width: 44px; height: auto; display: block; filter: drop-shadow(0 0 12px rgba(226,182,92,0.45)); }
.h-hero-kicker { font-size: 16px; color: var(--gold); margin-bottom: 18px; }
.h-hero h1 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: clamp(42px, 6.4vw, 86px);
  line-height: 1.02;
  color: var(--cream);
  margin: 0 0 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.h-hero-tagline {
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  color: #eadfca;
  max-width: 560px;
  margin-bottom: 12px;
}
.h-hero-desc { font-size: 17px; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.h-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.h-hero-rating { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #d8ccb4; }
.h-hero-rating .stars { color: var(--gold); letter-spacing: 3px; }

/* ── Carrousel photo ── */
.h-gallery { padding: 70px 0 100px; background: var(--bg-alt); overflow: hidden; }
.h-gallery .h-head-split { padding: 0 24px; max-width: 1320px; margin: 0 auto 32px; }
.h-gallery-nav { display: flex; align-items: center; gap: 14px; }
.h-gallery-count { font-family: 'Cinzel', serif; font-size: 14px; letter-spacing: 2px; color: var(--muted); min-width: 64px; text-align: right; }
.h-gallery-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(226,182,92,0.5);
  background: transparent;
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
  transition: background .2s;
}
.h-gallery-btn:hover { background: rgba(226,182,92,0.12); }
.h-gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 max(24px, calc((100% - 1320px) / 2 + 24px)) 8px;
  scroll-padding: 0 max(24px, calc((100% - 1320px) / 2 + 24px));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.h-gallery-track::-webkit-scrollbar { display: none; }
.h-slide {
  position: relative;
  flex: 0 0 clamp(250px, 24vw, 330px);
  aspect-ratio: 3 / 4;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  background: var(--card);
}
.h-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
}
.h-slide:hover img { transform: scale(1.04); }
.h-slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 18px 16px;
  background: linear-gradient(to top, rgba(14,11,8,0.92), transparent);
  font-size: 15px;
  line-height: 1.4;
  color: var(--cream);
}
.h-slide figcaption b {
  display: block;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.h-gallery-cta { text-align: center; margin-top: 40px; padding: 0 24px; }

/* ── Concept ── */
.h-concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 780px;
  margin: 56px auto 0;
  text-align: left;
}
.h-concept-card { padding: 28px 24px; }
.h-num { font-family: 'Cinzel', serif; font-size: 13px; color: var(--gold); margin-bottom: 12px; }
.h-card-title {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--cream);
  margin: 0 0 12px;
}
.h-card-text { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ── Espaces ── */
.h-espaces-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.h-espace { overflow: hidden; }
.h-espace img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.h-espace:nth-child(4) img { object-position: 80% 40%; }
.h-espace-body { padding: 22px 20px 26px; }

/* ── Offres ── */
.h-offres-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 52px; text-align: left; max-width: 860px; margin-left: auto; margin-right: auto; }
.h-offre { position: relative; padding: 34px 28px 28px; display: flex; flex-direction: column; }
.h-offre.featured { border-color: rgba(226,182,92,0.45); }
.h-badge {
  position: absolute;
  top: -12px; left: 26px;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #15110d;
  background: var(--gold);
  border-radius: 3px;
  padding: 5px 10px;
}
.h-offre .h-label { font-size: 11px; margin-bottom: 8px; }
.h-offre .h-card-title { font-size: 22px; margin-bottom: 10px; }
.h-price { font-size: 20px; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.h-price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.h-offre .h-card-text { margin-bottom: 22px; }
.h-offre .h-btn { margin-top: auto; }

/* ── Carte cadeau ── */
.h-gift { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.h-gift .h-title { margin-bottom: 22px; }
.h-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.h-steps div { border-top: 2px solid var(--gold); padding-top: 14px; }
.h-steps span { display: block; font-family: 'Cinzel', serif; font-size: 13px; color: var(--gold); margin-bottom: 6px; }
.h-steps strong { display: block; font-family: 'Cinzel', serif; font-size: 14px; color: var(--cream); margin-bottom: 6px; }
.h-steps p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }
.h-gift-card { display: grid; grid-template-columns: 42% 1fr; overflow: hidden; transition: border-color .2s; }
.h-gift-card:hover { border-color: rgba(226,182,92,0.45); }
.h-gift-card img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; display: block; }
.h-gift-card-body { padding: 30px 26px; display: flex; flex-direction: column; justify-content: center; }
.h-gift-price { font-family: 'Cinzel', serif; font-weight: 600; font-size: 36px; color: var(--cream); margin: 4px 0 8px; }
.h-gift-card-body .h-card-text { margin-bottom: 20px; font-size: 14px; }

/* ── Test du Trône + Ménestrel ── */
.h-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.h-duo-card { padding: 38px 34px; display: flex; flex-direction: column; align-items: flex-start; }
.h-duo-card .h-label { font-size: 11px; }
.h-duo-card .h-card-title { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 16px; }
.h-duo-card .h-card-text { font-size: 16px; margin-bottom: 28px; }
.h-duo-card .h-btn { margin-top: auto; }
.h-player {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px;
  margin-bottom: 26px;
  background: #15110d;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--cream);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
.h-player img { width: 52px; height: 52px; object-fit: contain; background: #241d16; border-radius: 4px; padding: 6px; }
.h-player-text { flex: 1; min-width: 0; }
.h-player-text b { display: block; font-size: 15px; }
.h-player-text span { font-size: 13px; color: var(--muted); }
.h-player-play {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  color: #15110d;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.h-player-frame { width: 100%; margin-bottom: 26px; }
.h-player-frame iframe { display: block; width: 100%; border: 0; border-radius: 10px; }

/* ── Lectures ── */
.h-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-post { overflow: hidden; transition: border-color .2s; }
.h-post:hover { border-color: rgba(226,182,92,0.45); }
.h-post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.h-post-body { padding: 20px 20px 24px; }
.h-post .h-label { font-size: 11px; margin-bottom: 8px; }

/* ── Avis ── */
.h-avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; text-align: left; }
.h-avis { padding: 28px 24px; }
.h-avis .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.h-avis p { font-style: italic; font-size: 16px; line-height: 1.6; color: var(--cream); margin-bottom: 16px; }
.h-avis cite { font-style: normal; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }

/* ── Partenaires ── */
.h-partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; text-align: left; }
.h-partner { padding: 22px 20px; display: block; transition: border-color .2s; }
a.h-partner:hover { border-color: rgba(226,182,92,0.45); }
.h-partner .h-card-title { font-size: 15px; margin-bottom: 8px; }
.h-partner .h-card-text { font-size: 14px; }
.h-partner-links { display: flex; gap: 12px; margin-top: 10px; font-size: 13px; }
.h-partner-links a { color: var(--gold); }

/* ── FAQ (classes conservées pour js/faq.js) ── */
body.home .faq-grid { max-width: 820px; margin: 44px auto 0; display: grid; gap: 12px; padding: 0; }
body.home .faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
body.home .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: 0;
  color: var(--cream);
  font-family: 'Literata', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
body.home .faq-chevron {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(226,182,92,0.6);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 0;
  transform: none;
}
body.home .faq-chevron::before { content: "+"; font-size: 16px; line-height: 1; }
body.home .faq-item.faq-open .faq-chevron::before { content: "\2212"; }
body.home .faq-answer { max-height: none; display: none; padding: 0 22px 20px; }
body.home .faq-item.faq-open .faq-answer { display: block; }
body.home .faq-item { margin: 0; }
body.home .faq-answer p { font-family: 'Literata', Georgia, serif; font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0; padding: 0; border: 0; }
.h-faq-more { text-align: center; margin-top: 30px; }

/* ── Contact (ids conservés pour js/contact.js) ── */
body.home .contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-top: 44px; align-items: start; }
body.home .contact-form { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; }
body.home .contact-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
body.home .contact-form label { display: block; }
body.home .contact-form label > span { display: block; font-size: 14px; font-weight: 600; color: var(--cream); margin-bottom: 8px; font-family: 'Literata', Georgia, serif; letter-spacing: 0; text-transform: none; }
body.home .contact-form input,
body.home .contact-form select,
body.home .contact-form textarea {
  width: 100%;
  background: #15110d;
  border: 1px solid rgba(226,182,92,0.18);
  border-radius: 4px;
  color: var(--cream);
  font-family: 'Literata', Georgia, serif;
  font-size: 15px;
  padding: 12px 14px;
}
body.home .contact-form input:focus,
body.home .contact-form select:focus,
body.home .contact-form textarea:focus { outline: none; border-color: var(--gold); }
body.home .contact-form .form-actions { margin-top: 18px; }
body.home .contact-form .btn-royal { background: var(--gold); color: #15110d; border-radius: 3px; font-size: 13px; padding: 14px 24px; }
body.home .contact-card { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; }
body.home .contact-card h3 { font-family: 'Cinzel', serif; font-weight: 600; font-size: 18px; letter-spacing: 0; text-transform: none; color: var(--cream); margin: 0 0 20px; }
body.home .contact-card p { font-size: 15px; line-height: 1.55; color: var(--cream); margin: 0 0 16px; }
body.home .contact-card p strong { display: block; font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
body.home .contact-card a { color: var(--gold); border-bottom: 1px solid rgba(226,182,92,0.5); }
body.home .contact-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
body.home .contact-socials a { border: 1px solid var(--line); border-radius: 3px; padding: 7px 12px; font-family: 'Literata', Georgia, serif; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--cream); }

/* ── Pied de page ── */
.h-footer { background: #110d0a; padding: 50px 24px 36px; text-align: center; }
.h-footer-logo { font-family: 'Cinzel', serif; font-weight: 600; font-size: 20px; letter-spacing: 3px; color: var(--gold); margin-bottom: 10px; }
.h-footer-tagline { font-style: italic; color: var(--muted); margin-bottom: 18px; }
.h-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 18px; font-size: 14px; }
.h-footer-links a { color: var(--cream); }
.h-footer-links a:hover { color: var(--gold); }
.h-footer-copy { font-size: 13px; color: #8f846f; }
.h-footer-copy a { color: var(--gold); border-bottom: 1px solid rgba(226,182,92,0.5); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  body.home .nav-links { display: none; }
  body.home .nav-mobile-btn { display: block; margin-left: 12px; }
  body.home .nav-inner { justify-content: space-between; }
  body.home .nav-inner .nav-cta { margin-left: auto; }
  .h-espaces-grid { grid-template-columns: repeat(2, 1fr); }
  .h-partners { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .h-section { padding: 80px 20px; }
  .h-offres-grid,
  .h-avis-grid,
  .h-posts { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .h-concept-grid { grid-template-columns: 1fr; max-width: 480px; }
  .h-gift,
    .h-duo,
  body.home .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .h-duo { gap: 20px; }
}
@media (max-width: 600px) {
  .h-hero { min-height: 78vh; padding: 120px 20px 60px; }
  .h-hero-img { object-position: 78% center; }
  .h-hero::after {
    background:
      linear-gradient(to top, var(--bg-alt) 0%, rgba(21,17,13,0.6) 45%, rgba(21,17,13,0.35) 100%);
  }
  .h-hero-actions .h-btn { flex: 1 1 100%; }
  .h-espaces-grid,
  .h-partners { grid-template-columns: 1fr; }
  .h-steps { grid-template-columns: 1fr; }
  .h-gift-card { grid-template-columns: 1fr; }
  .h-gift-card img { min-height: 0; aspect-ratio: 16 / 10; }
  .h-gallery-nav .h-gallery-btn { display: none; }
  .h-gallery-count { text-align: left; min-width: 0; }
  .h-slide { flex-basis: 76vw; }
  body.home .contact-form .form-grid { grid-template-columns: 1fr; }
  .h-duo-card { padding: 30px 22px; }
  .nav-cta { padding: 9px 14px; font-size: 11px; letter-spacing: 1.5px; }
  body.home .nav-logo { font-size: 13px; letter-spacing: 1px; white-space: nowrap; }
}
@media (max-width: 400px) {
  body.home .nav-logo { font-size: 11.5px; letter-spacing: 0.5px; }
  body.home .nav-inner { gap: 10px; padding: 0 14px; }
  .nav-cta { padding: 8px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .h-gallery-track { scroll-behavior: auto; }
  .h-slide img { transition: none; }
  .h-hero-crown { animation: none; }
}
