/* Palette : blanc, beige clair, noir */
:root {
  --white: #ffffff;
  --beige: #f4efe7;
  --beige-2: #e8dfd2;
  --beige-3: #cbbba4;
  --black: #141414;
  --grey: #5f5a54;
  --line: #e4dccf;
  --serif: "Outfit", system-ui, sans-serif; /* titres */
  --sans: "Noto Sans", system-ui, -apple-system, sans-serif;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); color: var(--black); background: var(--white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin-bottom: .8em; }
.lead { color: var(--grey); max-width: 760px; font-size: 1.05rem; }
.muted { color: var(--grey); }
.small { font-size: .85rem; }
.center { text-align: center; }
.hidden { display: none; }
.h-small { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 1.6em 0 .8em; }
.h-small:first-child { margin-top: 0; }

/* Boutons */
.btn { display: inline-block; background: var(--black); color: var(--white); border: 1px solid var(--black); padding: .85em 1.6em; border-radius: var(--radius); font: 500 .95rem var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--white); color: var(--black); }
.btn:disabled { opacity: .35; cursor: not-allowed; background: var(--black); color: var(--white); }
.btn--sm { padding: .5em 1.1em; font-size: .85rem; }
.btn--full { width: 100%; }
.link { background: none; border: 0; padding: 0; font: 500 .95rem var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; margin-top: 1em; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.logo span { font-family: var(--sans); font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; margin-left: .6em; color: var(--grey); vertical-align: middle; }
.logo--light span { color: var(--beige-3); }
.nav__links { display: flex; gap: 1.6rem; align-items: center; font-size: .9rem; }
.nav__links a:not(.btn) { text-decoration: none; }
.nav__links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__burger { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.45) 55%, rgba(0,0,0,.1)); }
.hero__txt { position: relative; padding-block: 64px; }
.hero .eyebrow { color: var(--beige-2); }
.hero__facts { font-size: 1.05rem; opacity: .95; }
.hero__cta { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; margin-top: 1.6rem; }
.hero .btn { background: var(--white); color: var(--black); border-color: var(--white); }
.hero .btn:hover { background: transparent; color: var(--white); }
.hero__note { font-size: .95rem; }

/* Atouts */
.atouts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-top: -1px; background: var(--white); }
.atout { padding: 26px 24px; border-right: 1px solid var(--line); }
.atout:last-child { border-right: 0; }
.atout strong { display: block; font-family: var(--serif); font-size: 1.25rem; margin-bottom: .3em; }
.atout p { margin: 0; color: var(--grey); font-size: .9rem; }

/* Sections */
.section { padding: 88px 0; }
.section--beige { background: var(--beige); }
.grid-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.more summary { cursor: pointer; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; margin-bottom: 1em; }
.rooms { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rooms li { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: .92rem; color: var(--grey); }
.rooms span { display: block; color: var(--black); font-weight: 600; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--beige); padding: 6px 12px; border-radius: 99px; font-size: .85rem; }
.list { padding-left: 1.1em; margin: 0; }
.list li { margin-bottom: .45em; }

/* Galerie */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 24px; }
.filters button { background: transparent; border: 1px solid var(--beige-3); border-radius: 99px; padding: 6px 14px; font: .85rem var(--sans); cursor: pointer; }
.filters button.on { background: var(--black); color: var(--white); border-color: var(--black); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery button { padding: 0; border: 0; background: var(--beige-2); aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* Réservation */
.book { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; margin-top: 32px; }
.cal { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cal__head { display: flex; gap: 12px; align-items: flex-start; }
.cal__months { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cal__nav { background: none; border: 1px solid var(--line); border-radius: 50%; width: 36px; height: 36px; font-size: 1.3rem; cursor: pointer; flex: none; line-height: 1; }
.cal__nav:disabled { opacity: .3; cursor: default; }
.month h4 { text-align: center; margin: 6px 0 14px; font: 600 1rem var(--sans); text-transform: capitalize; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; text-align: center; }
.month__grid .dow { font-size: .72rem; color: var(--grey); padding-bottom: 6px; }
.day { position: relative; aspect-ratio: 1; border: 0; background: none; font: 500 .9rem var(--sans); cursor: pointer; color: var(--black); }
.day > span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; }
.day:hover:not(:disabled) > span { outline: 1px solid var(--black); }
.day:disabled { cursor: default; }
.day.past { color: #c9c3ba; }
.day.busy { color: #b3aca2; text-decoration: line-through; }
.day.checkout-only { color: var(--grey); }
.day.in-range { background: var(--beige); }
.day.start, .day.end { background: linear-gradient(to right, transparent 50%, var(--beige) 50%); }
.day.end { background: linear-gradient(to left, transparent 50%, var(--beige) 50%); }
.day.start.end { background: none; }
.day.start > span, .day.end > span { background: var(--black); color: var(--white); }
.cal__legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .8rem; color: var(--grey); margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.dot--free { border: 1px solid var(--black); }
.dot--busy { background: #d8d2c8; }
.dot--sel { background: var(--black); }
.cal__status { margin-left: auto; }

.quote { position: sticky; top: 88px; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 30px rgba(20,20,20,.06); background: var(--white); }
.quote__price { font-size: 1rem; }
.quote__price strong { font-family: var(--serif); font-size: 2rem; }

/* Formulaires */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-size: .8rem; font-weight: 500; }
.form label small { font-weight: 400; color: var(--grey); margin-top: -4px; }
.form input, .form textarea { font: 400 .95rem var(--sans); padding: 10px 12px; border: 1px solid var(--beige-3); border-radius: var(--radius); background: var(--white); color: var(--black); width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--black); outline-offset: -1px; }
.form .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: .85rem; }
.form .check input { width: auto; margin-top: 3px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: end; }
.breakdown { background: var(--beige); border-radius: var(--radius); padding: 14px 16px; }
.breakdown p { margin: 0; }
.breakdown .line { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 6px; }
.breakdown .total { border-top: 1px solid var(--beige-3); padding-top: 8px; margin-top: 8px; font-weight: 600; font-size: 1rem; }
.breakdown .err { color: #8a2a1a; font-size: .88rem; }
.step2 { display: none; gap: 14px; }
.step2.on { display: grid; }
.form__msg { margin: 0; font-size: .9rem; }
.form__msg.ok { background: var(--beige); padding: 12px 14px; border-radius: var(--radius); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* Avis */
.scores { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 24px 0 36px; }
.scores div { background: var(--white); border-radius: var(--radius); padding: 14px; text-align: center; }
.scores span { display: block; font-size: .78rem; color: var(--grey); }
.scores b { font-family: var(--serif); font-size: 1.6rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reviews blockquote { margin: 0; background: var(--white); padding: 24px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; }
.reviews p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; }
.reviews cite { font-style: normal; font-size: .85rem; font-weight: 600; }

/* Riom */



.sites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; margin-top: 36px; }
.sites figure { margin: 0 0 14px; }
.sites img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); background: var(--beige-2); }
.sites figcaption { font-size: .7rem; color: var(--grey); margin-top: 4px; }
.sites figcaption a { color: inherit; }
.sites h3 { margin-bottom: .35em; }
.sites p { color: var(--grey); font-size: .92rem; margin: 0; }
.dist { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: var(--beige); padding: 3px 9px; border-radius: 99px; margin-bottom: 10px; }
.riom-bottom { margin-top: 56px; }
.around { list-style: none; padding: 0; margin: 0 0 1em; }
.around li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 8px 0; font-size: .95rem; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--radius); filter: grayscale(.85) contrast(1.05); }

/* Infos */
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.info { background: var(--white); padding: 26px; border-radius: var(--radius); }
.info p { color: var(--grey); font-size: .93rem; margin: 0; }
.info .list { font-size: .93rem; }
.info--alert { border-left: 3px solid var(--black); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 10px; font-size: 1.05rem; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--black); }

/* Footer */
.footer { background: var(--black); color: var(--beige-2); padding: 32px 0; font-size: .85rem; }
.footer__in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }

/* Modales */
dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgba(20,20,20,.7); }
.modal { width: min(880px, 100% - 32px); max-height: 85vh; border-radius: var(--radius); padding: 36px; }
.modal__close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: inherit; }
.equip { columns: 3 220px; column-gap: 32px; }
.equip > div { break-inside: avoid; margin-bottom: 22px; }
.equip h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .5em; }
.equip ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.equip li { padding: 4px 0; border-bottom: 1px solid var(--line); }
.equip .no li { text-decoration: line-through; color: var(--grey); }
.lightbox { background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: 88vw; }
.lightbox img { max-height: 82vh; width: auto; margin: auto; border-radius: var(--radius); }
.lightbox figcaption { text-align: center; margin-top: 10px; font-size: .9rem; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); color: var(--white); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; }
.lb__prev { left: 16px; }
.lb__next { right: 16px; }

/* Responsive */
@media (max-width: 960px) {
  .book, .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .quote { position: static; }
  .atouts { grid-template-columns: 1fr 1fr; }
  .atout:nth-child(2) { border-right: 0; }
  .atout:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .reviews, .infos, .sites { grid-template-columns: 1fr 1fr; }
  .scores { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav__burger { display: block; }
  .nav__links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--line); }
  .nav__links.open { display: flex; }
}
@media (max-width: 760px) {
  .cal { padding: 16px; }
  .cal__months { grid-template-columns: 1fr; }
  .cal__months .month:nth-child(2) { display: none; }
  .section { padding: 64px 0; }
  .reviews, .infos, .sites { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .modal { padding: 28px 20px; }
  .hero { min-height: 70vh; }
}
@media (max-width: 420px) {
  .atouts { grid-template-columns: 1fr; }
  .atout { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .scores { grid-template-columns: 1fr 1fr; }
  .row-3 { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
}

/* Pages légales */
.wrap--narrow { width: min(760px, 100% - 32px); }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }
.legal p, .legal .list { color: #2b2926; }
.legal a { text-underline-offset: 3px; }
.summary { background: var(--beige); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.summary strong { display: block; margin-bottom: 8px; }
.summary .list li:last-child { margin-bottom: 0; }
.todo { background: #fff3c4; padding: 0 4px; border-radius: 3px; }
.footer a { color: inherit; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--grey); margin: 12px 0 0; }

/* Prix direct */
.q-ref { font-size: .85rem; color: var(--grey); text-decoration: line-through; margin-left: 6px; }
.badge { display: inline-block; background: var(--black); color: var(--white); font-size: .78rem; font-weight: 500; padding: 4px 10px; border-radius: 99px; margin: 8px 0 4px; }

.month { max-width: 420px; margin-inline: auto; width: 100%; }

/* Stationnement */
.parks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.park { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; transition: border-color .2s, background .2s; }
.park:hover { border-color: var(--black); background: var(--beige); }
.park .dist { align-self: flex-start; }
.park strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.park__note { color: var(--grey); font-size: .9rem; }
.park__go { margin-top: auto; padding-top: 8px; font-size: .85rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.park-alert { border-left: 3px solid var(--black); background: var(--beige); padding: 14px 18px; border-radius: var(--radius); margin: 0; }
@media (max-width: 760px) { .parks { grid-template-columns: 1fr; } }

.form input#f-code { text-transform: uppercase; letter-spacing: .06em; }
.code-msg { font-size: .8rem; font-weight: 500; min-height: 1em; }
.code-msg.ok { color: #2f6b3a; }
.code-msg.ko { color: #8a2a1a; }

/* Autour de Riom */
.around-title { margin-top: 56px; }
.sites--around { margin-top: 0; margin-bottom: 16px; }
.sites--around article { display: flex; flex-direction: column; }
.more-link { display: inline-block; margin-top: 10px; font-size: .88rem; font-weight: 500; text-underline-offset: 3px; }
.more-link:hover { text-decoration-thickness: 2px; }

/* Options à l'arrivée */
.extras { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.extras summary { cursor: pointer; font-weight: 600; font-size: .9rem; }
.extras summary small { font-weight: 400; color: var(--grey); margin-left: 4px; }
.extras[open] summary { margin-bottom: 6px; }
.extras > p { margin: 0 0 8px; }
.extras__list { display: grid; gap: 2px; }
.extra { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.extra__txt { display: grid; font-size: .85rem; line-height: 1.3; }
.extra__txt strong { font-weight: 500; }
.extra__txt span { color: var(--grey); font-size: .8rem; }
.extra.on .extra__txt strong { font-weight: 600; }
.extra__qty { display: flex; align-items: center; gap: 8px; flex: none; }
.extra__qty button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--beige-3); background: var(--white); font-size: 1rem; line-height: 1; cursor: pointer; color: var(--black); }
.extra__qty button:hover:not(:disabled) { border-color: var(--black); }
.extra__qty button:disabled { opacity: .3; cursor: default; }
.extra__qty output { min-width: 1.2em; text-align: center; font-weight: 600; font-size: .9rem; }

.reviews-source { margin: -8px 0 0; }
