/* Palette reprise du menu, du plan des chambres et des marque-places */
:root {
  --stripe: #c9d2b8;
  --stripe-light: #e4e8d9;
  --paper: #fcfbf6;
  --paper-2: #f4f3ea;
  --olive: #7d855c;
  --olive-soft: #a9ae91;
  --brown: #745a49;
  --ink: #5b4637;
  --orange: #ef9143;
  --rose-paper: #f4efec;

  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --caps: "Cormorant SC", "Cormorant Garamond", Georgia, serif;
  --script: "Mrs Saint Delafield", "Snell Roundhand", cursive;

  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--stripe-light);
  background-image: repeating-linear-gradient(90deg,
    var(--stripe) 0 12px, var(--stripe-light) 12px 24px);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: center; gap: 4px 22px; flex-wrap: wrap;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--olive-soft);
}
.nav a {
  font-family: var(--caps); font-size: 15px; letter-spacing: .18em;
  text-transform: uppercase; text-decoration: none; color: var(--brown);
}
.nav a:hover { color: var(--orange); }

/* ---------- Feuille centrale (double bordure arrondie) ---------- */
.sheet {
  max-width: 980px;
  margin: 32px auto 48px;
  padding: 48px 56px 32px;
  background: var(--paper);
  border-radius: var(--radius);
  outline: 1px solid var(--olive);
  outline-offset: -10px;
  box-shadow: 0 0 0 1px var(--olive), 0 20px 50px rgba(90, 100, 60, .15);
}

/* ---------- Hero (faire-part) ---------- */
.hero { text-align: center; padding: 24px 0 8px; }
.hero__names {
  margin: 0;
  font-family: var(--script); font-weight: 400;
  font-size: clamp(46px, 11vw, 104px); line-height: 1.1;
  color: var(--brown);
}
.hero__names span { font-family: var(--serif); font-size: .55em; vertical-align: .2em; }
.hero__tag {
  margin: 4px 0 0; font-family: var(--caps);
  letter-spacing: .3em; font-size: 16px; color: var(--olive);
}
.hero__illus { width: min(380px, 80%); margin: 18px auto; }
.hero__date { margin: 0; font-size: clamp(30px, 5vw, 40px); color: var(--brown); }
.hero__place {
  margin: 4px 0 0; font-family: var(--caps);
  letter-spacing: .2em; font-size: 15px; color: var(--olive);
}
.hero__countdown {
  display: inline-block; margin: 22px 0 0; padding: 6px 18px;
  border: 1px solid var(--orange); border-radius: 999px;
  color: var(--orange); font-style: italic; font-size: 18px;
}

/* ---------- Sections ---------- */
.section { padding: 56px 0 8px; text-align: center; }
.chevron {
  width: 60px; height: 16px; margin: 0 auto 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 16'%3E%3Cpath d='M1 15 30 1l29 14' fill='none' stroke='%23ef9143' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section__title {
  margin: 0; font-family: var(--caps); font-weight: 600;
  font-size: 26px; letter-spacing: .3em; text-transform: uppercase; color: var(--brown);
}
.section__title--script {
  font-family: var(--script); font-weight: 400; text-transform: none;
  letter-spacing: 0; font-size: 72px; line-height: 1;
}
.section__script {
  margin: 0 0 28px; font-family: var(--script);
  font-size: 34px; line-height: 1.2; color: var(--olive);
}
.section__kicker {
  margin: 8px 0 0; font-family: var(--caps); letter-spacing: .32em;
  font-size: 15px; text-transform: uppercase; color: var(--olive);
}
.section__sub { margin: 4px 0 28px; font-size: 17px; }
.section__sub::after {
  content: ""; display: block; width: 50px; height: 1px;
  margin: 14px auto 0; background: var(--olive);
}

/* ---------- Programme ---------- */
.day {
  margin: 8px 0 18px; font-family: var(--caps); font-weight: 500;
  letter-spacing: .2em; font-size: 18px; color: var(--olive);
}
.timeline {
  list-style: none; margin: 0 auto 36px; padding: 0;
  max-width: 560px; text-align: left; position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: 92px; top: 10px; bottom: 10px;
  width: 1px; background: var(--olive-soft);
}
.timeline__item {
  display: grid; grid-template-columns: 80px 1fr; gap: 26px;
  align-items: baseline; padding: 10px 0; position: relative;
}
.timeline__item::before {
  content: ""; position: absolute; left: 88px; top: 21px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--orange);
}
.timeline__item--icon::before { background: var(--orange); }
.timeline__item img { display: none; }
.timeline time {
  text-align: right; font-weight: 600; color: var(--orange); font-size: 18px;
}
.timeline strong { font-weight: 600; color: var(--brown); }
.note { margin: 0 auto; max-width: 520px; font-size: 20px; }
.note em { font-weight: 500; color: var(--brown); }
.activities {
  list-style: none; margin: 22px auto 18px; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.activities li {
  padding: 6px 18px; border-radius: 999px;
  border: 1px solid var(--olive); outline: 1px solid var(--olive); outline-offset: -4px;
  font-family: var(--script); font-size: 28px; line-height: 1.3; color: var(--brown);
}
.note--tip { font-size: 18px; }
.note strong { font-weight: 600; color: var(--orange); }

/* ---------- Lieux ---------- */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.place {
  padding: 26px 22px 22px; border-radius: 18px;
  border: 1px solid var(--olive); outline: 1px solid var(--olive);
  outline-offset: -6px; background: var(--paper);
}
.place__icon { height: 64px; width: auto; margin: 0 auto 10px; }
.place h3 {
  margin: 0; font-family: var(--caps); font-weight: 600;
  letter-spacing: .12em; font-size: 20px; color: var(--brown);
}
.place__when { margin: 2px 0 12px; font-style: italic; color: var(--olive); }
.place__addr { margin: 0 0 12px; font-size: 20px; }
.place__links { display: flex; gap: 10px; justify-content: center; margin: 0 0 10px; }
.place__links a {
  padding: 6px 16px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--olive); font-family: var(--caps);
  letter-spacing: .12em; font-size: 14px; color: var(--olive);
}
.place__links a:hover { background: var(--olive); color: var(--paper); }
.place__info { margin: 0; font-size: 16px; color: var(--brown); }
.place__access { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--stripe); font-size: 16px; line-height: 1.45; }
.place__access p { margin: 0 0 10px; }
.place__access p:last-child { margin-bottom: 0; }
.place__tag {
  display: block; margin-bottom: 2px; font-family: var(--caps); font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--orange);
}
.place__access strong { font-weight: 600; color: var(--brown); }

.domaine { margin-top: 30px; }
.domaine__intro { max-width: 680px; margin: 0 auto 22px; font-size: 19px; }
.domaine__intro strong { font-weight: 600; color: var(--brown); }
.gallery {
  display: grid; gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: 12px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery__big { grid-column: span 2; grid-row: span 2; }
.gallery__tall { grid-row: span 2; }
.gallery__wide { grid-column: span 2; }

/* ---------- Plan du domaine ---------- */
.floorplan { margin-top: 44px; }
.floorplan__title {
  margin: 0; font-family: var(--caps); font-weight: 600;
  letter-spacing: .28em; font-size: 20px; text-transform: uppercase; color: var(--brown);
}
.floorplan__sub { margin: 0 0 22px; font-family: var(--script); font-size: 30px; line-height: 1.2; color: var(--olive); }
.fp { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.fp__house { position: relative; }
.fp__roof { display: block; width: 100%; height: 46px; }
.fp__roof path { fill: none; stroke: var(--orange); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.fp__name {
  margin: -6px 0 0; font-family: var(--caps); font-weight: 600;
  letter-spacing: .26em; font-size: 17px; text-transform: uppercase; color: var(--brown);
}
.fp__kind { margin: 0 0 10px; font-family: var(--script); font-size: 24px; line-height: 1.2; color: var(--olive); }
.fp__body {
  padding: 10px 12px 14px; border-radius: 6px 6px 14px 14px;
  border: 1px solid var(--olive); outline: 1px solid var(--olive); outline-offset: -5px;
}
.fp__floor {
  margin: 8px 0 6px; font-family: var(--caps); font-size: 12px;
  letter-spacing: .25em; text-transform: uppercase; color: var(--orange);
}
.fp__grid { display: grid; gap: 6px; }
.fp__grid--g1 { grid-template-columns: repeat(4, 1fr); }
.fp__grid--g0 { grid-template-columns: repeat(4, 1fr); }
.fp__grid--t1 { grid-template-columns: repeat(5, 1fr); }
.fp__grid--t0 { grid-template-columns: repeat(4, 1fr); }
.fp__room {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 92px; padding: 8px 4px; border-radius: 6px;
  background: var(--paper-2); border: 1px solid var(--olive-soft);
  font-size: 13px; line-height: 1.25;
}
.fp__room i {
  font-style: normal; font-weight: 600; font-size: 12px; color: var(--orange);
}
.fp__room b {
  font-family: var(--script); font-weight: 400; font-size: 21px; line-height: 1.1;
  color: var(--brown); margin: 1px 0 3px;
}
.fp__room span { color: var(--ink); }
.fp__room--span2 { grid-column: span 2; }
.fp__room--common { background: transparent; min-height: 64px; }
.fp__room--common span { font-style: italic; color: var(--olive); font-size: 12px; }
.fp__room--dashed { border-style: dashed; }
.fp__room--entry { grid-column: 2 / span 2; min-height: 44px; }
.fp__room--entry b { font-size: 19px; }

/* ---------- Menu (repris du menu à imprimer) ---------- */
.menu-card {
  max-width: 520px; margin: 0 auto; padding: 46px 40px 60px;
  background: var(--paper);
  border: 1px solid var(--olive);
  outline: 1px solid var(--olive); outline-offset: -8px;
  border-radius: 260px 260px 200px 200px / 220px 220px 160px 160px;
  box-shadow: 0 10px 30px rgba(90, 100, 60, .18);
}
.section--menu {
  margin: 56px 0 0; padding: 70px 24px; border-radius: 20px;
  background-image: repeating-linear-gradient(90deg,
    var(--stripe) 0 12px, var(--stripe-light) 12px 24px);
}
.menu-card__title {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: 40px; letter-spacing: .35em; text-transform: uppercase; color: var(--brown);
  padding-left: .35em;
}
.menu-card__illus { width: 130px; margin: 8px auto 6px; }
.course {
  margin: 22px 0 0; font-family: var(--script); font-weight: 400;
  font-size: 50px; line-height: 1.1; color: var(--brown);
}
.menu-card p { margin: 0; font-size: 19px; color: var(--ink); }
.menu-card .or {
  margin: 4px 0; font-family: var(--caps); font-weight: 600;
  letter-spacing: .2em; color: var(--brown);
}

/* ---------- Chambres (repris du plan des chambres) ---------- */
.finder { max-width: 380px; margin: 0 auto 30px; }
.finder__label {
  display: block; font-family: var(--script); font-size: 38px;
  line-height: 1.2; color: var(--brown);
}
.finder__input {
  width: 100%; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--olive); background: var(--paper-2);
  font: inherit; font-size: 18px; color: var(--ink); text-align: center;
}
.finder__select { position: relative; }
.finder__select::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 8px; height: 8px; margin-top: -6px; pointer-events: none;
  border-right: 1px solid var(--olive); border-bottom: 1px solid var(--olive);
  transform: rotate(45deg);
}
select.finder__input {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  text-align-last: center; padding-right: 40px; padding-left: 40px;
}
.finder__input:focus { outline: 2px solid var(--orange); outline-offset: 2px; }
.finder__result { min-height: 1.5em; margin: 10px 0 0; font-style: italic; color: var(--orange); }

.house { margin-bottom: 34px; }
.house__name {
  margin: 0; font-family: var(--caps); font-weight: 600;
  letter-spacing: .32em; font-size: 22px; text-transform: uppercase; color: var(--brown);
}
.house__sub {
  margin: 0 0 18px; font-family: var(--script); font-size: 28px;
  line-height: 1.2; color: var(--olive);
}
.rooms { display: grid; gap: 14px; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.room {
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 10px 18px; border-radius: 16px;
  border: 1px solid var(--olive); outline: 1px solid var(--olive); outline-offset: -5px;
  background: var(--paper); transition: background .2s, transform .2s, box-shadow .2s;
}
.room--wide { grid-column: span 2; }
.room--sdb {
  justify-content: center; border-style: dashed; outline: none;
  border-color: var(--olive-soft); color: var(--olive-soft);
}
.room--sdb .room__name { color: var(--olive-soft); font-size: 26px; }
.room--sdb small {
  font-family: var(--caps); letter-spacing: .25em; font-size: 12px;
}
.room__num {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--olive-soft);
  font-weight: 600; font-size: 17px; color: var(--brown);
}
.room__name {
  margin: 6px 0 0; font-family: var(--script); font-size: 28px;
  line-height: 1.2; color: var(--brown);
}
.room__name::after {
  content: ""; display: block; width: 28px; height: 1px;
  margin: 6px auto 10px; background: var(--olive);
}
.room__who { font-size: 18px; line-height: 1.35; }
.room__who span { display: inline-block; }
.room.is-hit {
  background: #fff4ea; transform: translateY(-3px);
  box-shadow: 0 0 0 2px var(--orange), 0 10px 22px rgba(239, 145, 67, .25);
}
.room.is-hit .room__num { background: var(--orange); color: #fff; border-color: var(--orange); }
.car { transition: background .2s, transform .2s, box-shadow .2s; }
.car.is-hit {
  background: #fff4ea; transform: translateY(-3px);
  box-shadow: 0 0 0 2px var(--orange), 0 10px 22px rgba(239, 145, 67, .25);
}
.car.is-hit .car__num { background: var(--orange); color: #fff; border-color: var(--orange); }
#car-index { margin-top: 0; }
.cars + .index-title { margin-top: 36px; }
.room mark { background: none; color: var(--orange); font-weight: 600; }

.index-title {
  margin: 10px 0 14px; font-family: var(--script); font-weight: 400;
  font-size: 40px; color: var(--brown);
}
.index {
  list-style: none; margin: 0; padding: 0; text-align: left;
  columns: 4 180px; column-gap: 28px; font-size: 16px;
}
.index li { display: flex; gap: 4px; align-items: baseline; break-inside: avoid; }
.index button {
  all: unset; cursor: pointer; display: flex; gap: 4px; width: 100%; align-items: baseline;
}
.index button:hover .index__name, .index button:focus-visible .index__name { color: var(--orange); }
.index__name { color: var(--brown); }
.index__dots { flex: 1; border-bottom: 1px dotted var(--olive-soft); transform: translateY(-4px); }
.index__room { font-size: 13px; color: var(--olive); white-space: nowrap; }

/* ---------- Voitures ---------- */
.cars { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cars > .car { flex: 0 1 calc((100% - 28px) / 3); }
.car {
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 14px 20px; border-radius: 16px; border: 1px solid var(--olive);
  outline: 1px solid var(--olive); outline-offset: -5px; text-align: center;
}
.car__num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px;
  border-radius: 50%; background: var(--paper-2); border: 1px solid var(--olive-soft);
  font-weight: 600; font-size: 17px; color: var(--brown);
}
.car__label {
  font-family: var(--caps); letter-spacing: .22em; font-size: 12px;
  text-transform: uppercase; color: var(--olive);
}
.car__driver {
  margin: 0 0 4px; font-family: var(--script); font-size: 32px;
  line-height: 1.25; color: var(--brown);
}
.car__driver:not(:last-child)::after {
  content: ""; display: block; width: 28px; height: 1px;
  margin: 8px auto 10px; background: var(--orange);
}
.car__depart { margin: -4px 0 10px; font-style: italic; color: var(--orange); }
.car__pax { margin: 2px 0 0; font-size: 19px; }
.soon {
  max-width: 440px; margin: 0 auto; padding: 22px;
  border: 1px dashed var(--olive-soft); border-radius: 16px;
  font-style: italic; color: var(--olive);
}

/* ---------- Contact ---------- */
.contacts { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.contact {
  display: flex; flex-direction: column; align-items: center; min-width: 220px;
  padding: 16px 26px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--olive); outline: 1px solid var(--olive); outline-offset: -5px;
  transition: background .2s;
}
.contact:hover { background: var(--paper-2); }
.contact__name { font-family: var(--script); font-size: 38px; line-height: 1.1; color: var(--brown); }
.contact__tel { font-size: 20px; letter-spacing: .08em; color: var(--olive); }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 56px 0 8px; color: var(--olive); font-size: 15px; }
.footer p { margin: 0; }
.footer__script { font-family: var(--script); font-size: 44px; color: var(--brown); line-height: 1.2; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  body { font-size: 18px; }
  .nav { gap: 2px 14px; padding: 10px 12px; }
  .nav a { font-size: 13px; letter-spacing: .12em; }
  .sheet { margin: 16px; padding: 32px 20px 24px; border-radius: 22px; }
  .places { grid-template-columns: 1fr; }
  .fp { grid-template-columns: 1fr; gap: 18px; }
  .fp__grid--g1, .fp__grid--g0 { grid-template-columns: repeat(2, 1fr); }
  .fp__grid--g0 { grid-auto-flow: dense; }
  .fp__grid--t1 { grid-template-columns: repeat(2, 1fr); }
  .fp__grid--t0 { grid-template-columns: repeat(2, 1fr); }
  .fp__room--entry { grid-column: span 2; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .gallery__tall { grid-row: span 2; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .cars > .car { flex-basis: calc((100% - 14px) / 2); }
  .car__driver { font-size: 25px; }
  .room--sdb { display: none; }
  .timeline::before { left: 74px; }
  .timeline__item { grid-template-columns: 62px 1fr; gap: 24px; }
  .timeline__item::before { left: 70px; }
  .timeline time { font-size: 16px; }
  .section--menu { margin: 40px -8px 0; padding: 40px 12px; }
  .menu-card { padding: 40px 20px 50px; border-radius: 200px 200px 120px 120px / 170px 170px 110px 110px; }
  .course { font-size: 44px; }
  .menu-card p { font-size: 17px; }
  .section__title--script { font-size: 60px; }
}
