/* ==========================================================================
   pages/home.css — Page d'accueil (index.html)
   ========================================================================== */

/* --- Grand visuel d'accueil --------------------------------------------- */
.hero { position: relative; min-height: 86vh; min-height: 86svh; display: flex; align-items: flex-end; padding: 80px 0 60px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background: var(--ink-3) center / cover no-repeat; transform: scale(1.04); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,.3) 0%, rgba(20,17,14,.6) 45%, var(--ink) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(2.8rem, 6.3vw, 5.2rem); font-weight: 900; margin: 0 0 18px; }
.hero h1 > .h1-main { margin-top: 14px; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--brass); }
.hero .lead { max-width: 540px; margin-bottom: 28px; }
.hero .chips { margin-top: 28px; }

/* --- Bande d'informations ------------------------------------------------ */
.infobar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.infobar div { background: var(--ink-2); padding: 22px; }
.infobar b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--brass); }
.infobar small { color: var(--muted); font-size: .85rem; }

/* --- 5 à 7 ---------------------------------------------------------------- */
.happy { background: linear-gradient(135deg, var(--green-2), #1c2b14); border: 0; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.happy h3 { font-size: 2.3rem; }
.happy__times { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.happy__times div { background: rgba(0,0,0,.2); padding: 14px; border-radius: var(--radius-sm); }
.happy__times b { display: block; }
.happy__times small { color: #cad8c0; }

/* --- Aperçu de la carte ------------------------------------------------- */
.pick { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .2s; }
.pick:hover { border-color: var(--brass); }
.pick .eyebrow { font-size: .7rem; }
.pick h3 { font-size: 1.25rem; margin: 10px 0 8px; }
.pick p { font-size: .88rem; color: var(--muted); }

/* --- Aperçu des salles ---------------------------------------------------- */
.teaser-rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.teaser-rooms__photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.teaser-rooms__photos div { aspect-ratio: 3 / 4; border-radius: var(--radius); background: var(--ink-3) center / cover; }
.teaser-rooms__photos div:last-child { margin-top: 40px; }
.teaser-rooms h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0 16px; }
.teaser-rooms ul { margin: 20px 0 28px; display: grid; gap: 10px; }
.teaser-rooms li { display: flex; gap: 10px; color: var(--cream-2); }
.teaser-rooms li::before { content: ""; flex-shrink: 0; width: 6px; height: 11px; margin: 5px 4px 0 3px; border: solid var(--brass); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* --- Histoire ------------------------------------------------------------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story__photo { border-radius: var(--radius); aspect-ratio: 5 / 6; background: var(--ink-3) center / cover; }
.story h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0 20px; }
.story p { color: var(--cream-2); margin-bottom: 14px; }

/* --- Nous trouver -------------------------------------------------------- */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.visit__hours { background: var(--ink-2); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }

/* Tablette (iPad portrait) : le visuel d'accueil s'empile, mais les blocs
   photo + texte restent côte à côte pour profiter de la largeur. */
@media (max-width: 960px) {
  .hero { min-height: auto; padding: 96px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .teaser-rooms, .story { gap: 32px; }
  .visit { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hero { padding: 56px 0 36px; }
  .teaser-rooms, .story, .visit { grid-template-columns: 1fr; }
  .infobar { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hero .lead { font-size: 1rem; margin-bottom: 22px; }
  .hero .chips { margin-top: 20px; }
  .hero .chip { font-size: .76rem; padding: 6px 11px; }
  .hero .wrap { gap: 32px; }
  .infobar div { padding: 16px; }
  .infobar b { font-size: 1.3rem; }
  .happy { padding: 26px 22px; }
  .happy h3 { font-size: 1.8rem; }
  .happy__times { grid-template-columns: 1fr; }
  .teaser-rooms { gap: 28px; }
  .teaser-rooms__photos div { aspect-ratio: 1 / 1; }
  .teaser-rooms__photos div:last-child { margin-top: 24px; }
  .story { gap: 28px; }
  .story__photo { aspect-ratio: 4 / 3; }
  .visit__hours { padding: 22px; }
  .map-embed, .map-embed iframe { min-height: 280px; }
}

