/* Ombre Suspendue. Palette et typographies de « Marque » (validées le 19/10/2026).
   Noir #0A0A0A, ivoire #F2EDE4, gris #5A5A5A (uniquement sur fond ivoire).
   Cormorant Garamond : Light 300, Regular 400, italique 400, SemiBold 600.
   Jost : Regular 400, Medium 500, SemiBold 600. Polices libres (licence SIL OFL). */

@font-face { font-family: "Cormorant Garamond"; font-weight: 300; font-style: normal; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("/assets/fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/assets/fonts/jost-latin-600-normal.woff2") format("woff2"); }

:root {
  --noir: #0A0A0A;
  --ivoire: #F2EDE4;
  --gris: #5A5A5A;
  --focus: var(--ivoire);
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 76rem;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--ivoire);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ivoire); color: var(--noir); padding: 0.75rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* Mise en page */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(4rem, 9vw, 8rem) 0; }
.sec--ivoire { background: var(--ivoire); color: var(--noir); --focus: var(--noir); }
.prose { max-width: 62ch; }
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.note { color: var(--gris); font-size: 0.9375rem; margin: 1.5rem 0 0; }

/* Titres */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-weight: 300; font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.02; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; margin-bottom: 1.75rem; }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); max-width: 46ch; }

/* En-tête */
.site-header {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  max-width: var(--max); margin: 0 auto;
  padding: 1.5rem var(--gutter);
}
.logo { display: block; width: clamp(11rem, 20vw, 15rem); margin-left: calc(clamp(11rem, 20vw, 15rem) * -0.0466); text-decoration: none; }
.logo svg { width: 100%; height: auto; }
.nav { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); }
.nav a { font-weight: 500; font-size: 1rem; text-decoration: none; padding: 0.25rem 0; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.5em; }

/* Boutons */
.btn {
  display: inline-block; padding: 0.95rem 1.75rem;
  background: var(--ivoire); color: var(--noir);
  font: 500 1rem/1.2 var(--sans); text-decoration: none;
  border: 1px solid var(--ivoire);
}
.btn:hover { background: transparent; color: var(--ivoire); }
.btn--sombre { background: var(--noir); color: var(--ivoire); border-color: var(--noir); }
.btn--sombre:hover { background: transparent; color: var(--noir); }

/* Accueil : pièce sombre, une fente de lumière */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 6rem);
  display: flex; align-items: flex-end;
  padding: 4rem 0 clamp(3rem, 8vw, 6rem);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero h1 { max-width: 17ch; margin-bottom: 2rem; }
.hero .lede { margin: 0 0 2.5rem; }
.light {
  position: absolute; inset: 0; pointer-events: none; animation: lumiere 3.2s ease-out both;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28%, #000 78%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 28%, #000 78%, transparent 100%);
}
.light::before, .light::after { content: ""; position: absolute; top: -15%; bottom: -15%; transform: skewX(-9deg); }
.light::before {
  left: 62%; width: clamp(5rem, 17vw, 16rem); filter: blur(24px);
  background: linear-gradient(to bottom, rgba(242,237,228,0), rgba(242,237,228,0.17) 35%, rgba(242,237,228,0.07) 75%, rgba(242,237,228,0));
}
.light::after {
  left: calc(62% + clamp(2.5rem, 7.5vw, 7rem)); width: clamp(0.5rem, 1.2vw, 1.1rem); filter: blur(5px);
  background: linear-gradient(to bottom, rgba(242,237,228,0), rgba(242,237,228,0.26) 40%, rgba(242,237,228,0.1) 80%, rgba(242,237,228,0));
}
@keyframes lumiere { from { opacity: 0; } to { opacity: 1; } }

/* Engagements (accueil) */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem clamp(2rem, 6vw, 6rem); margin: 0; }
.duo dt { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.15; margin-bottom: 0.5rem; }
.duo dd { margin: 0; max-width: 38ch; }

/* Forfaits */
.forfaits { margin: 0 0 1rem; }
.forfait {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 2rem;
  padding: 2.25rem 0; border-top: 1px solid rgba(10,10,10,0.22);
}
.forfait:first-child { border-top: 0; padding-top: 0; }
.forfait__meta { grid-column: 1; margin: 0; max-width: 46ch; }
.forfait__prix { grid-column: 2; grid-row: 1 / span 3; align-self: start; margin: 0; font: 300 clamp(2.25rem, 4vw, 3.25rem)/1 var(--serif); white-space: nowrap; text-align: right; }
.forfait h3 { grid-column: 1; }

/* Options */
.options { margin: 0; max-width: 40rem; }
.options div { display: flex; justify-content: space-between; gap: 2rem; padding: 0.9rem 0; border-top: 1px solid rgba(242,237,228,0.2); }
.options div:last-child { border-bottom: 1px solid rgba(242,237,228,0.2); }
.options dt { font-weight: 400; }
.options dd { margin: 0; font-weight: 500; white-space: nowrap; }

/* Étapes de réservation (séquence réelle) */
.etapes { list-style: none; margin: 0 0 2.5rem; padding: 0; counter-reset: etape; max-width: 46rem; }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(10,10,10,0.22); }
.etapes li::before { content: counter(etape); font: 300 2.75rem/1 var(--serif); color: var(--gris); }
.etapes p { margin: 0.35rem 0 0; }
.liste { margin: 0; padding-left: 1.1rem; max-width: 56ch; }
.liste li { margin-bottom: 0.6rem; }
.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem clamp(2rem, 6vw, 6rem); align-items: start; }

/* Questions */
.questions { max-width: 46rem; }
.questions details { border-top: 1px solid rgba(242,237,228,0.2); }
.questions details:last-child { border-bottom: 1px solid rgba(242,237,228,0.2); }
.questions summary { list-style: none; cursor: pointer; font-weight: 500; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: 0; top: 1rem; font: 300 1.75rem/1 var(--serif); }
.questions details[open] summary::after { content: "\2212"; }
.questions details p { margin: 0 0 1.25rem; max-width: 56ch; }

/* Pied de page */
.site-footer { padding: 4rem 0 3rem; border-top: 1px solid rgba(242,237,228,0.2); font-size: 0.9375rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; }
.site-footer p { margin: 0; }
.site-footer .liens { display: flex; gap: 1.75rem; flex-wrap: wrap; }

/* Galerie : noir profond. Le cadre ivoire fixe a été supprimé le 28/10/2026 (décision de Thomas, rendu inacceptable sur iPhone). */
.page-galerie { --ivoire-65: #A19E98; }
.galerie__intro { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.galerie__mur { padding: 0 0 clamp(4rem, 9vw, 8rem); }
.mur { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.25rem, 4vw, 4rem) clamp(1rem, 2.5vw, 2.25rem); align-items: start; }
.mur figure { margin: 0; }
.mur .no { display: block; margin: 0 0 0.5rem; font: 300 1.25rem/1 var(--serif); color: var(--ivoire-65); }
.mur .photo { display: block; width: 100%; height: auto; }
.mur .vide { background: rgba(242, 237, 228, 0.07); outline: 1px solid rgba(242, 237, 228, 0.2); outline-offset: -1px; }
.mur .photo { aspect-ratio: auto; }
.p1 { grid-column: 1 / 8; }
.p2 { grid-column: 9 / 13; margin-top: 4rem; }
.p3 { grid-column: 3 / 9; }
.p4 { grid-column: 9 / 12; margin-top: 3rem; }
.p5 { grid-column: 1 / 8; }
.p6 { grid-column: 8 / 12; margin-top: 5rem; }
.p7 { grid-column: 5 / 9; margin-top: 1rem; }
.hotel { margin: clamp(2rem, 4vw, 3rem) 0 0; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 300; }
.hotel__phrase { display: block; margin: 0 0 0.35rem; }
.hotel .lien-modele { flex-wrap: wrap; gap: 0.5rem 1rem; }
.hotel .bouton-lien { font-family: var(--sans); }
.legende { list-style: none; margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0; display: grid; gap: 0.9rem; font-size: 0.9375rem; }
.legende li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; color: var(--ivoire-65); }
.lien-modele { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--ivoire); text-decoration: none; padding: 0.4rem 0; }
.lien-modele:hover span:first-child { text-decoration: underline; text-underline-offset: 0.3em; }
.lien-modele .fleche { width: 2rem; height: auto; }
.lien-modele .bouton-lien { border: 1px solid var(--ivoire); padding: 0.2rem 0.6rem; font-weight: 500; font-size: 0.875rem; }
.lien-modele:hover .bouton-lien { background: var(--ivoire); color: var(--noir); }
@media (max-width: 52rem) {
  .mur { display: block; }
  .mur figure { margin: 0 0 2.5rem; }
  .mur .paysage { width: min(100%, 34rem); }
  .mur .portrait { width: min(80%, 22rem); }
  .mur figure:nth-child(even) { margin-left: auto; }
}

@media (max-width: 52rem) {
  .duo, .deux { grid-template-columns: minmax(0, 1fr); }
  .light::before { left: 52%; }
  .light::after { left: calc(52% + 3.5rem); }
}
@media (max-width: 30rem) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .nav { flex-wrap: wrap; gap: 0.25rem 1.25rem; }
  .hero { min-height: calc(100svh - 10rem); }
  .forfait { grid-template-columns: minmax(0, 1fr); }
  .forfait__prix { grid-column: 1; grid-row: auto; text-align: left; margin-top: 0.5rem; }
  .etapes li { grid-template-columns: 3rem minmax(0, 1fr); }
}
/* Page À propos */
.apropos__corps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; margin-top: clamp(2rem, 5vw, 4rem); }
.apropos__photo { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.apropos__texte { max-width: 30rem; }
.apropos__texte p { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.35; margin: 0 0 1.25em; }
.apropos__texte p:last-child { margin-bottom: 0; }
@media (max-width: 52rem) {
  .apropos__corps { grid-template-columns: minmax(0, 1fr); }
  .apropos__photo { max-width: 28rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .light { animation: none; }
}

/* Formulaire de réservation */
.formulaire { max-width: 40rem; margin-top: 3rem; }
.formulaire fieldset { border: 0; padding: 0; margin: 0 0 2.75rem; min-width: 0; }
.formulaire legend { font: 400 clamp(1.6rem, 2.6vw, 2.1rem)/1.15 var(--serif); padding: 0; margin-bottom: 1.25rem; }
.formulaire .sous-titre { margin: 1.5rem 0 0.5rem; font-weight: 500; }
.champ { margin-bottom: 1.25rem; }
.champ label { display: block; font-weight: 500; margin-bottom: 0.4rem; }
.champ input, .champ textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ivoire);
  background: transparent; border: 1px solid #A19E98; border-radius: 0;
  padding: 0.8rem 0.9rem; min-height: 2.9rem;
}
.champ textarea { resize: vertical; }
.champ input:focus-visible, .champ textarea:focus-visible { outline: 2px solid var(--ivoire); outline-offset: 2px; border-color: var(--ivoire); }
.choix { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.7rem 0; min-height: 2.75rem; cursor: pointer; }
.choix input {
  flex: none; width: 1.35rem; height: 1.35rem; margin: 0.15rem 0 0;
  -webkit-appearance: none; appearance: none;
  background: transparent; border: 1px solid #A19E98; border-radius: 0;
}
.choix input[type="radio"] { border-radius: 50%; }
.choix input[type="radio"]:checked { background: radial-gradient(circle, var(--ivoire) 0 38%, transparent 42%); border-color: var(--ivoire); }
.choix input[type="checkbox"]:checked {
  background: var(--ivoire) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%230A0A0A' stroke-width='2'/%3E%3C/svg%3E") center / 100% no-repeat;
  border-color: var(--ivoire);
}
.choix input:focus-visible { outline: 2px solid var(--ivoire); outline-offset: 3px; }
.aide { color: #A19E98; font-size: 0.9375rem; margin: 0.5rem 0 0; }
.formulaire .btn { cursor: pointer; margin-top: 0.5rem; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
