/* Château l'Hospital, maquette v2
   Palette et polices : demande du cahier des charges de Félix.
   L'or #D4AF37 ne sert qu'aux filets et ornements sur fond clair (contraste 2,0:1, illisible en texte) ;
   pour le texte et les boutons sur fond clair : or assombri #8A6D1F (4,7:1) et vert sauge #4A5D23 (6,9:1). */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); }

:root {
  --fond: #FAF9F6;          /* blanc cassé */
  --mineral: #EFEBE2;       /* beige minéral, sections alternées */
  --encre: #1A1A1A;
  --gris: #55524C;          /* texte secondaire, 7,4:1 sur le fond */
  --or: #D4AF37;            /* filets et ornements seulement sur fond clair */
  --or-texte: #8A6D1F;      /* or assombri, lisible sur fond clair */
  --sauge: #4A5D23;
  --sauge-fonce: #3A4A1B;
  --titres: "Cormorant Garamond", "Times New Roman", serif;
  --texte: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --marge: clamp(1.25rem, 5vw, 4.5rem);
  --souffle: clamp(5rem, 13vw, 11rem);   /* espace vertical entre sections */
  --bandeau: 0px;
  --entete: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--entete); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 1rem/1.75 var(--texte); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--titres); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: 1.75rem; }
h3 { font-size: 1.75rem; }
p { margin: 0 0 1.25rem; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sauge); outline-offset: 4px; border-radius: 1px; }
.heros :focus-visible, .pied :focus-visible, .entete:not(.est-pleine) :focus-visible { outline-color: #fff; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.saut { position: absolute; left: 1rem; top: -4rem; z-index: 30; background: var(--encre); color: #fff; padding: .6rem 1rem; }
.saut:focus { top: .5rem; }
.cadre { width: min(100% - 2 * var(--marge), 78rem); margin-inline: auto; }
.filet { display: block; width: 4rem; height: 1px; background: var(--or); margin-inline: auto; }

/* Bandeau maquette */
.maquette { margin: 0; height: var(--bandeau); display: grid; place-items: center; background: var(--encre); color: #E9E6DE; font-size: .72rem; letter-spacing: .06em; }

/* En-tête : transparent sur le héros, plein ensuite */
.entete { position: sticky; top: 0; z-index: 20; height: var(--entete); margin-bottom: calc(-1 * var(--entete)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-inline: var(--marge); color: #fff; transition: background-color .4s, color .4s, box-shadow .4s; }
.entete.est-pleine { background: rgba(250, 249, 246, .96); color: var(--encre); box-shadow: 0 1px 0 rgba(26, 26, 26, .1); }
.logotype { display: block; line-height: 0; text-decoration: none; }
.logotype img { height: 2.75rem; width: auto; }
/* Deux variantes du logotype : claire sur le héros sombre, sombre quand l'en-tête devient plein (la page légale, en-tête plein d'emblée, n'a que la sombre) */
.entete.est-pleine .logo-clair, .entete:not(.est-pleine) .logo-sombre { display: none; }
.entete ul { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); list-style: none; margin: 0; padding: 0; }
.entete nav a { white-space: nowrap; font-size: .82rem; font-weight: 500; letter-spacing: .04em; text-decoration: none; padding: .6rem 0; background: linear-gradient(currentColor, currentColor) 0 85% / 0 1px no-repeat; transition: background-size .35s; }
.entete nav a:hover { background-size: 100% 1px; }
.entete a.langue { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; min-width: 2.75rem; white-space: nowrap; font-size: .82rem; font-weight: 500; letter-spacing: .04em; text-decoration: none; border: 1px solid currentColor; padding: .3rem .65rem; transition: background-color .3s, color .3s; }
.entete a.langue:hover { color: var(--encre); background: #fff; border-color: #fff; }
.entete.est-pleine a.langue:hover { color: #fff; background: var(--encre); border-color: var(--encre); }

/* Bouton « Commander » de l'en-tête, toujours visible */
.entete .bouton-entete { padding: .65rem 1.25rem; font-size: .78rem; white-space: nowrap; border-color: rgba(255, 255, 255, .7); }
.entete.est-pleine .bouton-entete { border-color: var(--sauge); }

/* Boutons : bordures fines */
.bouton { display: inline-block; padding: .95rem 2rem; border: 1px solid var(--sauge); color: var(--sauge); font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-decoration: none; transition: background-color .35s, color .35s, border-color .35s; }
.bouton:hover { background: var(--sauge); color: #fff; }
.bouton-clair { border-color: rgba(255, 255, 255, .85); color: #fff; }
.bouton-clair:hover { background: #fff; border-color: #fff; color: var(--encre); }
.bouton-plein { background: var(--sauge); color: #fff; }
.bouton-plein:hover { background: var(--sauge-fonce); border-color: var(--sauge-fonce); }
.lien { color: var(--or-texte); font-weight: 500; font-size: .9rem; text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: .35em; text-decoration-thickness: 1px; }
.lien:hover { color: var(--encre); }

/* Section 1 : héros */
.heros { position: relative; min-height: calc(100vh - var(--bandeau)); min-height: calc(100svh - var(--bandeau)); display: grid; place-items: center; overflow: hidden; background: #2b2a22; color: #fff; text-align: center; }
.heros-image, .heros-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.heros-image { object-fit: cover; object-position: 55% 50%; }
.heros-canvas { opacity: 0; transition: opacity 1.2s; }
.heros-canvas.est-prete { opacity: 1; }
.heros-voile { position: absolute; inset: 0; background: radial-gradient(ellipse 75% 60% at 50% 50%, rgba(22, 20, 12, .62), rgba(22, 20, 12, .38) 70%), linear-gradient(rgba(22, 20, 12, .35), transparent 30%); }
.heros-texte { position: relative; padding: calc(var(--entete) + 1rem) var(--marge) 3rem; max-width: 60rem; }
.heros h1 { font-size: clamp(3rem, 9.5vw, 7.5rem); font-weight: 400; letter-spacing: -.01em; text-shadow: 0 1px 30px rgba(0, 0, 0, .35); }
.heros .filet { margin-block: clamp(1.5rem, 3vw, 2.25rem); width: 5rem; }
.heros-boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.25rem; margin: 0 0 1.1rem; }
.heros-boutons .bouton-plein { border-color: rgba(255, 255, 255, .7); }
.heros-note { margin: 0; font-size: .76rem; letter-spacing: .04em; color: #F1EEE6; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.heros-sous-titre { max-width: 34rem; margin: 0 auto clamp(2rem, 4vw, 3rem); font-size: clamp(.95rem, 1.4vw, 1.1rem); font-weight: 500; letter-spacing: .03em; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }

/* Sections */
.bloc { padding-block: var(--souffle); }
.vins { background: var(--mineral); --or-texte: #7A5F16; }   /* 5,0:1 sur le beige */

/* Section 2 : asymétrie image / texte */
.asym { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2vw, 2rem); align-items: center; }
.asym-image { grid-column: 1 / span 7; margin: 0; overflow: hidden; aspect-ratio: 5 / 4; }
.asym-image img { width: 100%; height: 112%; object-fit: cover; }
.asym-texte { grid-column: 9 / span 4; max-width: 30rem; }
.asym-inverse .asym-texte { grid-column: 2 / span 5; grid-row: 1; }
.asym-inverse .asym-image { grid-column: 8 / span 4; grid-row: 1; }
.asym-portrait { aspect-ratio: 3 / 4; }
.asym-texte p { color: var(--gris); }
.couple { margin: 2.25rem 0 0; }
.couple img { width: 100%; height: auto; }
.couple figcaption { margin-top: .75rem; padding-top: .6rem; border-top: 1px solid var(--or); font: italic 400 1.2rem/1.3 var(--titres); color: var(--encre); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; margin-top: 2.5rem; }

.reperes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem clamp(1.5rem, 3vw, 3rem); margin: clamp(4rem, 9vw, 7rem) 0 0; }
.reperes > div { border-top: 1px solid var(--or); padding-top: 1.25rem; }
.reperes dt { font: italic 400 clamp(1.9rem, 3vw, 2.6rem)/1.1 var(--titres); margin-bottom: .6rem; }
.reperes dd { margin: 0; font-size: .9rem; line-height: 1.65; color: var(--gris); }

blockquote { margin: 2.25rem 0 0; padding-left: 1.5rem; border-left: 1px solid var(--or); }
blockquote p { font: italic 400 1.35rem/1.45 var(--titres); color: var(--encre); margin-bottom: .75rem; }
blockquote footer { font-size: .82rem; color: var(--gris); }

/* Section 3 : cartes */
.chambres-tete { max-width: 40rem; margin: 0 auto clamp(3rem, 7vw, 5.5rem); text-align: center; }
.chambres-tete p { color: var(--gris); }
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); list-style: none; margin: 0; padding: 0; }
.carte { display: flex; flex-direction: column; }
.carte-image { overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 1.75rem; background: var(--mineral); }
.carte-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2, .6, .2, 1); }
.carte:hover .carte-image img, .carte:focus-within .carte-image img { transform: scale(1.05); }
.carte h3 { margin-bottom: .75rem; }
.carte p { color: var(--gris); font-size: .92rem; }
.carte p:last-child { margin: auto 0 0; padding-top: .75rem; }
.note { margin: clamp(3rem, 6vw, 4.5rem) 0 0; text-align: center; font-size: .88rem; color: var(--gris); }

/* Section « Nos vins » : grille de cartes */
.actions-centre { justify-content: center; margin-top: 2rem; margin-bottom: .75rem; }
.note-boutique { font-size: .8rem; color: var(--gris); margin-bottom: 0; }
.cuvees { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.75rem); list-style: none; margin: 0; padding: 0; }
.cuvee { display: flex; flex-direction: column; background: var(--fond); border: 1px solid rgba(212, 175, 55, .55); border-top: 3px solid var(--or); padding: 1.75rem 1.5rem 1.5rem; transition: box-shadow .4s, transform .4s; }
.cuvee:hover, .cuvee:focus-within { box-shadow: 0 14px 34px rgba(26, 26, 26, .09); transform: translateY(-3px); }
.pastille { width: .8rem; height: .8rem; border-radius: 50%; margin-bottom: 1.1rem; border: 1px solid rgba(26, 26, 26, .25); }
.pastille-rouge { background: #6B1F2A; }
.pastille-blanc { background: #E8DFA9; }
.pastille-rose { background: #E3A9A4; }
.pastille-nature { background: transparent; border-color: var(--or); }
.cuvee h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.cuvee-type { font-size: .76rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--or-texte); margin-bottom: 1rem; }
.cuvee-texte { font-size: .9rem; line-height: 1.65; color: var(--gris); }
.cuvee-lien { margin: auto 0 0; padding-top: .75rem; }
.cuvee-lien .lien { display: inline-block; padding: .55rem 0; }
.vins .note { margin-top: 2.5rem; }
.vins-suite { margin-top: clamp(4rem, 9vw, 7rem); }

/* Section 4 : pied */
.pied { background: var(--encre); color: #E9E6DE; text-align: center; padding: clamp(4.5rem, 10vw, 7.5rem) var(--marge) 3rem; }
.pied-logo { margin: 0 0 1.75rem; line-height: 0; }
.pied-logo img { height: clamp(7rem, 16vw, 9rem); width: auto; margin-inline: auto; }
.pied .filet { margin-bottom: 2.25rem; }
.pied ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem clamp(1.25rem, 3vw, 2.5rem); list-style: none; margin: 0 0 2.5rem; padding: 0; }
.pied a { text-decoration: none; }
.pied nav a { font-size: .82rem; letter-spacing: .04em; padding: .5rem 0; display: inline-block; }
.pied a:hover { color: var(--or); }   /* or sur encre : 8,3:1 */
.pied address { font-style: normal; font-size: .9rem; line-height: 1.9; margin-bottom: 2.5rem; }
.pied address a { border-bottom: 1px solid rgba(212, 175, 55, .6); }
.pied-petit { font-size: .74rem; color: #B5B1A7; margin-bottom: .4rem; }

/* Tablette et mobile */
@media (max-width: 60rem) {
  .asym { display: block; }
  .asym-image { margin-bottom: 2.5rem; }
  .asym-inverse { display: flex; flex-direction: column-reverse; }
  .asym-inverse .asym-image { margin: 0 0 2.5rem; width: min(100%, 26rem); }
  .asym-texte { max-width: 38rem; }
  .reperes { grid-template-columns: repeat(2, 1fr); }
  .cartes { grid-template-columns: repeat(2, 1fr); }
  .cuvees { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 40rem) {
  :root { --entete: 6.25rem; }
  .entete { flex-wrap: wrap; justify-content: space-between; align-content: center; gap: .3rem .75rem; }
  .logotype { order: 1; }
  .entete a.langue { order: 2; font-size: .75rem; }
  .entete nav { order: 3; flex: 0 0 100%; }
  .entete ul { justify-content: space-between; gap: .5rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .entete nav { width: 100%; }
  .logotype img { height: 2.3rem; }
  .entete .bouton-entete { padding: .55rem .9rem; font-size: .72rem; letter-spacing: .04em; }
  .entete nav a { font-size: .72rem; letter-spacing: 0; white-space: nowrap; min-height: 2.75rem; display: inline-flex; align-items: center; padding: 0; }
  .cartes { grid-template-columns: 1fr; gap: 3.5rem; }
  .cuvees { grid-template-columns: 1fr; }
  .carte-image { aspect-ratio: 4 / 3; }
  .bouton { padding: .95rem 1.5rem; }
}
@media (max-width: 26rem) {
  .reperes { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .heros-canvas { display: none; }
  .carte:hover .carte-image img, .carte:focus-within .carte-image img { transform: none; }
  .cuvee:hover, .cuvee:focus-within { transform: none; }
}

/* Section Contact */
.contact { text-align: center; }
.contact-cadre { max-width: 36rem; }
.contact h2 { margin-bottom: 1.5rem; }
.contact .filet { margin-bottom: 2rem; }
.contact address { font-style: normal; line-height: 1.8; margin-bottom: 1.5rem; }
.contact p { color: var(--gris); }
.contact .actions { margin-top: 2rem; }
.contact-liens { line-height: 2; }

/* Page mentions légales */
.entete-page { margin-bottom: 0; position: sticky; }
.page-legale { padding-block: clamp(3rem, 7vw, 5rem) clamp(4rem, 9vw, 7rem); }
.page-legale .mesure { max-width: 46rem; }
.page-legale h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 400; margin-bottom: 1.25rem; }
.page-legale .filet-gauche { margin-inline: 0; margin-bottom: 2.5rem; }
.page-legale h2 { font-size: 1.5rem; margin: 2.25rem 0 .6rem; }
.page-legale p { color: var(--gris); }
.pied-petit-clair { font-size: .8rem; }
.page-legale .retour { margin-top: 3rem; }
.pied-page { padding-top: 3.5rem; }
.pied-page .pied-logo { margin-bottom: 1.25rem; }
.pied-page .pied-logo img { height: 6.5rem; }
@media (max-width: 23.5rem) {
  .entete nav a { font-size: .66rem; }
  .entete ul { gap: .35rem; }
}

/* Section « Le domaine en images » : trois thèmes en rangées justifiées (hauteur égale par rangée), suite dépliable par JS */
.galerie { background: var(--mineral); }
.galerie-cadre { container-type: inline-size; }
.galerie-tete { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.galerie-tete h2 { margin-bottom: 1.5rem; }
.galerie-item { overflow: hidden; background: #DDD8CC; }
.galerie-lien { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.galerie-lien img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.2, .6, .2, 1); }
.galerie-lien:hover img, .galerie-lien:focus-visible img { transform: scale(1.04); }
.galerie-lien:focus-visible { outline-offset: -4px; outline-color: #fff; box-shadow: inset 0 0 0 6px var(--sauge); }
.galerie-theme { margin-top: clamp(2.5rem, 6vw, 4rem); }
.galerie-tete + .galerie-theme { margin-top: 0; }
.galerie-theme-titre { margin: 0 0 1.25rem; font-style: italic; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.galerie-rangs { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; margin: 0 0 .75rem; padding: 0; }
.galerie-suite .galerie-rangs:last-child { margin-bottom: 0; }
.galerie-rangs .galerie-item { flex: 0 0 var(--b); aspect-ratio: var(--r); }
.galerie-plus-zone { margin: clamp(2.5rem, 6vw, 4rem) 0 0; text-align: center; }
.galerie-plus[hidden] { display: none; }
.galerie-plus { background: none; font-family: inherit; cursor: pointer; min-height: 2.75rem; }
.galerie-plus:focus-visible { outline: 2px solid var(--sauge); outline-offset: 3px; }
.galerie-credit { margin: 2rem 0 0; text-align: center; font-size: .8rem; letter-spacing: .04em; color: var(--gris); }
@media (max-width: 40rem) {
}

/* Encart « Engagement » */
.engagement-sur { margin: 0 0 .75rem; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gris); }
.engagement-tete { margin-bottom: clamp(2rem, 5vw, 3rem); }
.engagement-tete h2 { margin-bottom: 1.5rem; }
.engagement-date { margin: 1.25rem 0 0; font-style: italic; }
.engagement-texte { max-width: 44rem; margin: 0 auto clamp(2.5rem, 6vw, 4rem); text-align: center; }
.engagement-texte p { color: var(--gris); }
.engagement-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; list-style: none; margin: 0; padding: 0; }
.engagement-item { overflow: hidden; background: #DDD8CC; aspect-ratio: 3 / 2; }
@media (max-width: 40rem) { .engagement-grille { grid-template-columns: repeat(2, 1fr); gap: .5rem; } }
.contact { background: var(--mineral); --or-texte: #7A5F16; }

/* Visionneuse plein écran (<dialog> natif) */
html.visionneuse-ouverte { overflow: hidden; }
.visionneuse { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: rgba(14, 13, 9, .97); color: #fff; }
.visionneuse[open] { display: grid; grid-template-rows: 1fr auto; }
.visionneuse::backdrop { background: rgba(14, 13, 9, .97); }
.visionneuse-figure { margin: 0; min-height: 0; display: grid; grid-template-rows: 1fr auto; justify-items: center; padding: 4.5rem var(--marge) 1rem; touch-action: pan-y; }
.visionneuse-figure img { max-width: 100%; max-height: 100%; min-height: 0; width: auto; height: auto; object-fit: contain; align-self: center; }
.visionneuse-legende { max-width: 46rem; margin-top: 1rem; text-align: center; font-size: .9rem; line-height: 1.6; color: #E9E6DE; }
.visionneuse-barre { display: flex; align-items: center; justify-content: center; gap: 1rem clamp(1rem, 4vw, 2.5rem); padding: .75rem var(--marge) 1.5rem; }
.visionneuse-compteur { min-width: 5rem; text-align: center; font-size: .8rem; letter-spacing: .08em; color: #E9E6DE; }
.visionneuse-bouton { white-space: nowrap; appearance: none; background: none; font: 500 .82rem/1 var(--texte); letter-spacing: .08em; color: #fff; border: 1px solid rgba(255, 255, 255, .7); padding: .9rem 1.5rem; min-height: 2.75rem; cursor: pointer; transition: background-color .3s, color .3s; }
.visionneuse-bouton:hover { background: #fff; color: var(--encre); }
.visionneuse-bouton:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.visionneuse-fermer { position: absolute; top: 1rem; right: var(--marge); }
@media (max-width: 40rem) {
  .galerie-rangs { gap: .5rem; margin-bottom: .5rem; justify-content: center; }
  .galerie-rangs .galerie-item { flex: 1 1 100%; order: 1; }
  .galerie-rangs .galerie-item.d-p { flex: 0 0 calc(50% - .25rem); order: 0; }
}
@media (max-width: 40rem) {
  .visionneuse-figure { padding-top: 4.5rem; }
  .visionneuse-barre { gap: .5rem; padding-left: .75rem; padding-right: .75rem; }
  .visionneuse-bouton { padding: .8rem .7rem; font-size: .74rem; letter-spacing: .02em; white-space: nowrap; }
  .visionneuse-compteur { min-width: 3.5rem; letter-spacing: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .visionneuse[open] { animation: visionneuse-entree .35s ease-out; }
  @keyframes visionneuse-entree { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .galerie-lien:hover img, .galerie-lien:focus-visible img { transform: none; }
}

/* Chambres : mentions, tarifs 2027, photos d'ambiance */
.chambres-tete .chambres-mentions { font-style: italic; font-family: var(--titres); font-size: 1.35rem; line-height: 1.4; color: var(--encre); }
.tarifs { max-width: 26rem; margin: clamp(3rem, 6vw, 4.5rem) auto 0; text-align: center; border-top: 1px solid var(--or); border-bottom: 1px solid var(--or); padding: 1.75rem 0 1.5rem; }
.tarifs h3 { margin-bottom: 1.25rem; }
.tarifs-liste { list-style: none; margin: 0 0 1rem; padding: 0; }
.tarifs-liste li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(26, 26, 26, .12); }
.tarifs-liste li:last-child { border-bottom: 0; }
.tarifs-liste strong { font: 500 1.1rem/1.4 var(--texte); }
.tarifs p { margin: 0; font-size: .88rem; color: var(--gris); }
.chambres-details { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0; }
.detail-item { flex: 0 0 var(--b); aspect-ratio: var(--r); overflow: hidden; background: var(--mineral); }
.detail-item .galerie-lien { height: 100%; }
@media (max-width: 40rem) {
  .chambres-details { gap: .5rem; }
  .detail-item { flex: 1 1 100%; order: 1; }
  .detail-item.d-p { flex: 1 1 calc(50% - .25rem); order: 0; }
}
.contact-accueil { font-size: .95rem; }

/* Formulaire de contact (15/11/2026) */
.contact-ecrire { margin: 3rem auto 2.5rem; text-align: left; }
.contact-ecrire h3 { font-family: var(--titres); font-weight: 500; font-size: 1.7rem; text-align: center; margin-bottom: 1.5rem; }
.form-contact[hidden] { display: none; }
.form-champ { margin: 0 0 1.1rem; }
.form-champ label { display: block; font-size: .8rem; font-weight: 500; letter-spacing: .06em; color: var(--encre); margin-bottom: .4rem; }
.form-champ input, .form-champ select, .form-champ textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--encre);
  background: #fff; border: 1px solid #B8B2A6; border-radius: 0; padding: .75rem .85rem;
}
.form-champ textarea { resize: vertical; min-height: 8rem; }
.form-champ input:focus-visible, .form-champ select:focus-visible, .form-champ textarea:focus-visible { outline: 2px solid var(--sauge); outline-offset: 1px; border-color: var(--sauge); }
.form-piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact .form-note { font-size: .78rem; line-height: 1.6; color: var(--gris); margin: .25rem 0 1.25rem; }
.form-actions { text-align: center; margin: 0; }
.form-actions .bouton { cursor: pointer; font-family: inherit; }
.form-actions .bouton:disabled { opacity: .6; cursor: wait; }
.contact .form-etat { min-height: 1.5em; margin-top: 1rem; text-align: center; font-size: .9rem; }
.contact .form-etat.est-ok { color: var(--sauge-fonce); font-weight: 500; }
.contact .form-etat.est-erreur { color: #8A2C1F; font-weight: 500; }

/* ---- Ruban de l'accueil (js/ruban.js) ----
   Par défaut (mobile, sans JS, mouvement réduit) : défilement horizontal natif avec scroll-snap. */
.ruban-section { overflow-x: clip; }
.ruban { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge); padding-inline: var(--marge); scrollbar-width: thin; scrollbar-color: var(--sauge) transparent; -webkit-overflow-scrolling: touch; outline: none; }
.ruban-piste { display: flex; gap: .75rem; width: max-content; list-style: none; margin: 0; padding: 0 0 1rem; }
.ruban-item { flex: 0 0 auto; height: clamp(15rem, 60vw, 24rem); scroll-snap-align: center; overflow: hidden; background: #DDD8CC; transition: opacity 1.2s ease; }
.ruban-item .galerie-lien img { width: auto; height: 100%; max-width: none; }
.ruban-item img { display: block; width: auto; height: 100%; opacity: 1; transition: transform 1.6s cubic-bezier(.2, .6, .2, 1), opacity 1.2s ease; }
.ruban-item .galerie-lien { width: auto; }
@media (min-width: 56.25rem) { .ruban-item { height: clamp(22rem, 62vh, 34rem); } .ruban-piste { gap: 1.1rem; padding-bottom: 0; } }
/* Mode « scroll piloté » (classe posée par ruban.js sur ordinateur) */
.ruban.ruban-pilote { overflow: hidden; scroll-snap-type: none; }
.ruban.ruban-pilote .ruban-piste { padding-bottom: 0; will-change: transform; }
.ruban-curseur-actif, .ruban-curseur-actif .galerie-lien { cursor: none; }
.ruban-piste.ruban-survol .ruban-item:not(:hover):not(:focus-within) { opacity: .6; }
.ruban-curseur { position: fixed; left: 0; top: 0; z-index: 40; width: 4.75rem; height: 4.75rem; margin: -2.375rem 0 0 -2.375rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .85); background: rgba(14, 29, 66, .38); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; opacity: 0; transform: translate3d(-100px, -100px, 0) scale(.6); transition: opacity .5s ease; }
.ruban-curseur.est-visible { opacity: 1; }
.galerie-plus-zone .bouton { text-decoration: none; }

/* ---- Page Galerie ---- */
.page-galerie { padding-block: clamp(3rem, 7vw, 5rem) clamp(4rem, 9vw, 7rem); }
.page-galerie h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 400; margin-bottom: 1.25rem; }
.page-galerie .filet { margin-inline: 0; margin-bottom: 2rem; display: block; }
.galerie-intro { max-width: 46rem; color: var(--gris); margin: 0 0 2.5rem; }
.galerie-filtres { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2.5rem; }
.galerie-filtres[hidden] { display: none; }
.galerie-filtre { font-family: inherit; font-size: .82rem; letter-spacing: .08em; padding: .6rem 1.25rem; min-height: 2.75rem; border: 1px solid var(--sauge); background: none; color: var(--sauge); cursor: pointer; transition: background-color .35s, color .35s; }
.galerie-filtre:hover { background: rgba(74, 93, 35, .12); }
.galerie-filtre[aria-pressed="true"] { background: var(--sauge); color: #fff; }
.galerie-filtre:focus-visible { outline: 2px solid var(--sauge); outline-offset: 3px; }
.galerie-groupe { margin-top: clamp(2.5rem, 6vw, 4rem); }
.galerie-groupe[hidden] { display: none; }
.galerie-groupe:first-of-type { margin-top: 0; }
.galerie-groupe .galerie-theme-titre { font-size: clamp(1.6rem, 3.2vw, 2.1rem); }
/* Lignes justifiées par rapport largeur/hauteur : chaque photo grandit proportionnellement à son ratio ; fonctionne avec le filtre */
.galerie-grille { --h: 15rem; display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.galerie-grille::after { content: ""; flex-grow: 1000000; }
.gal-item { flex: calc(var(--r) * 100) 1 calc(var(--r) * var(--h)); min-width: 0; overflow: hidden; background: #DDD8CC; }
.gal-item .galerie-lien { height: auto; }
.gal-item img { width: 100%; height: auto; aspect-ratio: var(--r); object-fit: cover; }
@media (max-width: 40rem) { .galerie-grille { --h: 9rem; gap: .5rem; } .galerie-filtres { gap: .4rem; } .galerie-filtre { padding: .55rem .9rem; } }
.page-galerie .galerie-credit { margin-top: 3rem; text-align: left; }
.page-galerie .retour { margin-top: 1.5rem; }
@media (prefers-reduced-motion: reduce) { .ruban-item, .ruban-item img { transition: none; } .ruban-piste.ruban-survol .ruban-item:not(:hover) { opacity: 1; } }
