/* Nocturne — une seule ambiance nocturne assumée ; signature : cartes posées sur une portée musicale. */
:root {
  --night: #18203A;      /* fond */
  --night-2: #1E2743;    /* bande alternée */
  --night-3: #222B48;    /* surface carte / réservation */
  --ivory: #ECE6D9;      /* texte principal */
  --ivory-2: #D6D1C6;    /* texte courant */
  --mist: #B4B0C2;       /* texte secondaire */
  --gold: #CDB077;       /* accent */
  --gold-2: #E6CF98;     /* accent survol */
  --line: rgba(205, 176, 119, 0.35);
  --font-display: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --font-body: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* l'attribut hidden l'emporte sur les display: flex */
html { scroll-behavior: smooth; }
body {
  background: var(--night);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
}
a { color: var(--gold); }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; margin: 0; }
p { margin: 0; }

.band { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band--alt { background: var(--night-2); }
.band--surface { background: var(--night-3); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--gold); color: var(--night); padding: 8px 14px; z-index: 20; }

/* En-tête */
.top { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.brand { font-family: var(--font-display); font-size: 1.625rem; font-weight: 500; color: var(--ivory); text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-size: 0.9375rem; }
.nav a { color: var(--mist); text-decoration: none; }
.nav a:hover { color: var(--ivory); }
.nav .pill { color: var(--gold); border: 1px solid var(--gold); padding: 10px 18px; border-radius: 999px; }

/* Hero */
.hero { padding-block: 64px 112px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__text { flex: 1 1 460px; min-width: 0; max-width: 560px; display: flex; flex-direction: column; gap: 20px; }
.greet { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--gold); }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 8px; }
.eyebrow { display: block; font-family: var(--font-body); font-size: .8125rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); line-height: 1.5; margin-bottom: 16px; }
.hero__text p:not(.greet) { color: var(--ivory-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 16px; }
.actions--end { margin-top: 40px; }
.btn { display: inline-block; background: var(--gold); color: var(--night); text-decoration: none; font-weight: 500; padding: 15px 28px; border-radius: 999px; }
.btn:hover { background: var(--gold-2); color: var(--night); }
.link { color: var(--ivory); padding: 15px 4px; }

.spread { flex: 1 1 400px; min-width: 0; position: relative; height: 440px; max-width: 100%; }
.staff { position: absolute; inset: 150px 0 auto; display: flex; flex-direction: column; gap: 22px; }
.staff span { height: 1px; background: var(--line); }
.card { position: absolute; width: 30%; max-width: 170px; }
.card svg { display: block; width: 100%; height: auto; }
.card--1 { left: 6%; top: 40px; transform: rotate(-9deg); }
.card--2 { left: 35%; top: 10px; z-index: 2; }
.card--3 { left: 64%; top: 60px; transform: rotate(8deg); }
@media (prefers-reduced-motion: no-preference) {
  .card { animation: deal 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .card--1 { animation-delay: .15s; --r: -9deg; }
  .card--2 { animation-delay: .3s; --r: 0deg; }
  .card--3 { animation-delay: .45s; --r: 8deg; }
  @keyframes deal { from { transform: translateY(28px) rotate(0deg); } to { transform: translateY(0) rotate(var(--r)); } }
}

/* Sections */
.section { padding-block: 112px; }
.section h2 { font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1.1; }
.lead { color: var(--ivory-2); max-width: 680px; margin-top: 24px; }
.trio { display: flex; flex-wrap: wrap; gap: 40px 48px; margin-top: 64px; }
.trio > div { flex: 1 1 260px; min-width: 0; border-top: 1px solid rgba(205,176,119,.5); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
h3 { font-size: 1.75rem; font-weight: 500; color: var(--gold); }
.trio p { color: var(--mist); }

.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.portrait { flex: 1 1 320px; min-width: 0; max-width: 420px; width: 100%; height: auto; aspect-ratio: 4 / 5; display: block; object-fit: cover; object-position: 58% 50%; border: 1px solid rgba(205,176,119,.6); border-radius: 220px 220px 12px 12px; }
.about__text { flex: 1 1 460px; min-width: 0; max-width: 600px; display: flex; flex-direction: column; gap: 12px; }
.about__text h2 { margin-bottom: 16px; }
.about__text p { color: var(--ivory-2); }
.about__text h3 { margin-top: 24px; }
.sign { font-family: var(--font-display); font-style: italic; font-size: 1.625rem; color: var(--ivory) !important; margin-top: 28px; }

/* Réservation */
.book { display: flex; flex-wrap: wrap; gap: 56px 64px; }
.book__contact { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.book__contact .lead { margin: 20px 0 32px; max-width: 480px; }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.contact a { font-family: var(--font-display); font-size: clamp(1.625rem, 3vw, 2.125rem); text-decoration: none; overflow-wrap: anywhere; }
.contact a.tel { color: var(--ivory); }
.copy { font: inherit; font-size: .8125rem; color: var(--mist); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; min-height: 32px; }
.copy:hover { color: var(--ivory); border-color: var(--gold); }
.price { color: var(--mist); font-size: .9375rem; margin-top: 20px; }
.steps { flex: 1 1 400px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 28px; }
.steps li { display: flex; gap: 20px; }
.steps .n { font-family: var(--font-display); font-size: 2.125rem; color: var(--gold); line-height: 1; min-width: 1ch; }
.steps strong { font-weight: 500; }
.steps span.d { color: var(--mist); display: block; }

/* Formulaire */
.booking { margin-top: 64px; display: flex; flex-direction: column; gap: 40px; max-width: 880px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.f-title { font-family: var(--font-display); font-size: 1.75rem; color: var(--ivory); padding: 0; margin-bottom: 20px; }
.f-label { display: block; font-weight: 500; color: var(--ivory); margin-bottom: 6px; padding: 0; }
.f-hint { color: var(--mist); font-size: .9375rem; margin-bottom: 10px; }
.f-note { color: var(--gold); font-size: .9375rem; margin-top: 12px; }
.f-limits { color: var(--mist); font-size: .9375rem; margin-top: 16px; padding-left: 16px; border-left: 1px solid var(--gold); }
.f-limits ul { margin: 6px 0 0; padding-left: 20px; }
.opt { font-weight: 300; color: var(--mist); }
.formula-row { display: flex; flex-wrap: wrap; gap: 16px; }
.formula { flex: 1 1 240px; min-width: 0; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--night); }
.formula:hover { border-color: var(--gold); }
.formula input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.formula:has(input:checked) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.formula:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.formula__name { font-family: var(--font-display); font-size: 1.5rem; color: var(--ivory); }
.formula__price { font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1.1; }
.formula__desc { color: var(--mist); font-size: .9375rem; }
input[type="date"] { color-scheme: dark; }
input[type="text"], input[type="email"], input[type="date"], textarea { width: 100%; font: inherit; font-weight: 400; color: var(--ivory); background: var(--night); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; min-height: 48px; }
textarea { resize: vertical; line-height: 1.55; }
input[type="text"]:focus, input[type="email"]:focus, input[type="date"]:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 1px var(--gold); }
input[type="file"] { font: inherit; font-size: .9375rem; color: var(--mist); max-width: 100%; }
input[type="file"]::file-selector-button { font: inherit; color: var(--night); background: var(--gold); border: 0; border-radius: 999px; padding: 8px 16px; margin-right: 12px; cursor: pointer; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--gold); width: 18px; height: 18px; margin: 0; flex: none; }
[aria-invalid="true"] { border-color: #E59A8C !important; }
.err { color: #F0B3A8; font-size: .9375rem; margin-top: 8px; }
.f-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.f-grid > legend { grid-column: 1 / -1; }
.f-wide { grid-column: 1 / -1; }
.domains { display: flex; flex-direction: column; gap: 10px; }
.domain { border: 1px solid var(--line); border-radius: 10px; background: var(--night); }
.domain:has(input:checked) { border-color: var(--gold); }
.domain > label { display: flex; align-items: center; gap: 12px; padding: 14px 18px; min-height: 52px; cursor: pointer; color: var(--ivory); }
.domain__info { padding: 0 18px 18px 48px; display: flex; flex-direction: column; gap: 8px; color: var(--ivory-2); font-size: .9375rem; max-width: 75ch; }
.is-bilan .domain, .is-bilan .domain:has(input:checked) { border-color: var(--line); }
.is-bilan .domain > label { cursor: default; font-family: var(--font-display); font-size: 1.375rem; color: var(--gold); padding-bottom: 6px; }
.is-bilan .domain input { display: none; }
.is-bilan .domain__info { padding-left: 18px; }
.domain__info strong { font-weight: 500; color: var(--ivory); }
.choices { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.choices label, .consent { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.consent { align-items: flex-start; padding-top: 12px; }
.consent input { margin-top: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.total { font-size: 1.125rem; }
.total strong { font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--gold); margin-left: 6px; }
.btn--submit { border: 0; font: inherit; font-weight: 500; cursor: pointer; min-height: 48px; }
.btn--submit[disabled] { opacity: .6; cursor: wait; }
.btn--submit[aria-disabled="true"] { background: var(--night); color: var(--mist); box-shadow: inset 0 0 0 1px var(--line); cursor: not-allowed; }
.missing { color: var(--mist); font-size: .9375rem; text-align: right; margin-top: -24px; }
.missing.is-alert { color: #F0B3A8; }
.missing:empty { display: none; }
.f-result { border: 1px solid var(--gold); border-radius: 12px; padding: 20px 24px; color: var(--ivory); display: flex; flex-direction: column; gap: 6px; }
.f-result.is-error { border-color: #E59A8C; }
.f-pay { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.f-pay__mount { border-radius: 12px; overflow: hidden; min-height: 120px; }
/* Demande envoyée : seule la confirmation reste visible */
.booking.is-done > :not(#result) { display: none; }
.f-pay__back, .f-again { align-self: flex-start; font: inherit; color: var(--gold); background: none; border: 1px solid var(--gold); border-radius: 999px; padding: 10px 18px; cursor: pointer; min-height: 44px; }
.f-pay__back:hover, .f-again:hover { color: var(--gold-2); border-color: var(--gold-2); }
.contact-alt { margin-top: 48px; color: var(--mist); font-size: .9375rem; }

/* Pied de page */
.foot { padding-block: 72px 40px; color: var(--mist); font-size: .875rem; }
.foot__top { display: flex; flex-wrap: wrap; gap: 32px 48px; padding-bottom: 32px; border-bottom: 1px solid rgba(205,176,119,.25); }
.foot__id { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.foot__name { font-family: var(--font-display); font-size: 1.375rem; color: var(--ivory); }
.foot__nav { flex: 1 1 200px; min-width: 0; }
.foot__h { font-family: var(--font-display); font-size: 1.25rem; color: var(--ivory); margin-bottom: 8px; }
.foot__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.foot__nav a { color: var(--mist); text-decoration: none; }
.foot__nav a:hover { color: var(--ivory); }
details { border-bottom: 1px solid rgba(205,176,119,.18); }
details:first-child { border-top: 1px solid rgba(205,176,119,.18); }
summary { cursor: pointer; padding: 14px 0; font-family: var(--font-display); font-size: 1.25rem; color: var(--ivory); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); }
details[open] summary::after { content: "–"; }
.section h2 + .prose { margin-top: 40px; }
.faq__a { padding: 0 0 20px; display: flex; flex-direction: column; gap: 12px; max-width: 70ch; color: var(--ivory-2); }
.optout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.optout button { font: inherit; color: var(--night); background: var(--gold); border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; min-height: 44px; }
/* Pages de contenu : tirages, questions fréquentes, pages légales */
.page-head { padding-block: 48px 72px; display: flex; flex-direction: column; gap: 20px; }
.page-head > * { max-width: 760px; }
.page-head h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.08; }
.page-head p { color: var(--ivory-2); }
.crumbs { font-size: .875rem; color: var(--mist); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs li + li::before { content: "›"; margin-right: 10px; color: var(--gold); }
.crumbs a { color: var(--mist); }
.prose { display: flex; flex-direction: column; gap: 14px; max-width: 72ch; }
.prose h2 { font-size: clamp(1.875rem, 3.2vw, 2.375rem); line-height: 1.15; margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.5rem; margin-top: 16px; }
.prose p, .prose li { color: var(--ivory-2); }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose strong { font-weight: 500; color: var(--ivory); }
.prose .steps { margin-top: 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 32px; color: var(--mist); font-size: .9375rem; }
.facts strong { font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; color: var(--gold); margin-right: 6px; }
.related { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.related a { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ivory); background: var(--night); }
.related a:hover { border-color: var(--gold); color: var(--ivory); }
.related .r-name { font-family: var(--font-display); font-size: 1.375rem; color: var(--gold); }
.related .r-desc { color: var(--mist); font-size: .9375rem; }
.updated { color: var(--mist); font-size: .875rem; }
.foot__bottom { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
