/* Le Prieuré Saint-Géry — feuille de style unique */

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/playfair-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/playfair-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/playfair-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/playfair-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #1d1e20;
  --ink-deep: #0d141a;
  --muted: #56585e;
  --soft: #444;
  --line: #e4e4e4;
  --field: #f3f3f2;
  --paper: #ffffff;
  --cream: #faf8f5;
  --accent: #8a6d3b;
  --container: 1224px;
  --gutter: 24px;
  --header-h: 80px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.3; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--ink-deep); outline-offset: 3px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(13, 20, 26, .08);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(13, 20, 26, .07); }
.site-header .container {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.site-header .logo { justify-self: start; display: block; line-height: 0; }
.site-header .logo img { width: auto; height: 32px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 34px; }
.nav__resa { display: none; }
.nav a {
  position: relative; display: block; padding: 6px 0;
  font-size: 15.5px; letter-spacing: .2px; color: var(--ink); text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta {
  justify-self: end;
  display: inline-flex; align-items: center; height: 42px; padding: 0 22px;
  border: 1px solid var(--ink-deep); border-radius: 21px;
  font-size: 15px; letter-spacing: .2px; color: var(--ink-deep); text-decoration: none;
  transition: background-color .25s, color .25s;
}
.header-cta:hover, .header-cta.is-current { background: var(--ink-deep); color: #fff; }

.burger {
  display: none; justify-self: end;
  width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer;
}
.burger span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1240px) {
  .nav ul { gap: 24px; }
  .nav a { font-size: 15px; }
  .site-header .logo img { height: 28px; }
}

@media (max-width: 1060px) {
  .site-header .container { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .burger { display: block; }
  .site-header .logo img { height: 28px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--paper);
    padding: 48px 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 22px; }
  .nav__resa { display: block; }
  .nav a { font-size: 22px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 194px; height: 56px; padding: 0 28px;
  border: 1px solid var(--ink-deep); border-radius: 28px;
  background: transparent; color: var(--ink-deep);
  font-family: var(--serif); font-size: 16px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s;
}
.btn:hover { background: var(--ink-deep); color: #fff; }
.btn--solid { background: var(--ink-deep); color: #fff; }
.btn--solid:hover { background: #2b3339; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Apparition au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Accueil : héros ---------- */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h)); min-height: 560px; max-height: 760px;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero__media, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero__media img { object-fit: cover; object-position: center 30%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 21, 23, .72) 0%, rgba(20, 21, 23, .45) 55%, rgba(20, 21, 23, .3) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 68px; line-height: 1.15; max-width: 560px; letter-spacing: -.5px; }
.hero p { margin-top: 22px; max-width: 460px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.hero .btn-row { margin-top: 36px; }
.btn--light { border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink-deep); }

/* ---------- Accueil : sections ---------- */
.section { padding: 120px 0; }
.section + .section { padding-top: 0; }
.eyebrow {
  display: block; margin-bottom: 14px;
  font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent);
}
.section-title { font-size: 44px; line-height: 1.2; letter-spacing: -.3px; margin-bottom: 28px; }
.prose { color: #3a3b3e; line-height: 1.75; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose p + p { margin-top: 18px; }
.rounded { border-radius: 12px; }

.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center;
}
.feature__text { max-width: 500px; }
.feature__text .btn-row { margin-top: 36px; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature--georgette .feature__media img { aspect-ratio: 5 / 4; object-position: center 35%; }
.feature--chef { grid-template-columns: 5fr 7fr; }
.feature--chef .feature__media { max-width: 440px; }
.feature--chef .feature__media img { aspect-ratio: 2 / 3; object-position: center top; }
.feature--chef .feature__text { justify-self: start; }

/* Mosaïque d'images (accueil + séjours) */
.mosaic .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.mosaic__col { display: flex; flex-direction: column; gap: 16px; }
.mosaic img { width: 100%; object-fit: cover; border-radius: 12px; }
.mosaic .r-497 { aspect-ratio: 606 / 497; }
.mosaic .r-560 { aspect-ratio: 606 / 560; }
.mosaic .r-368 { aspect-ratio: 606 / 368; }
.mosaic .r-689 { aspect-ratio: 606 / 689; }

/* À propos */
.about__head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.about__head .section-title { margin-bottom: 14px; }
.about__head p { color: var(--muted); font-size: 17px; }
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr; gap: 0 48px;
}
.about__item { display: grid; grid-template-rows: subgrid; grid-row: span 3; }
.about__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; margin-bottom: 32px; }
.about__item h3 {
  font-size: 30px; line-height: 1.25; padding-bottom: 16px; margin-bottom: 20px;
  position: relative;
}
.about__item h3::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 1px; background: var(--ink);
}
.about__item .prose { max-width: 520px; }
.about__item .link {
  display: inline-block; margin-top: 22px; font-size: 15px; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.about__item .link:hover { opacity: .65; }

/* ---------- Pages de contenu (menu, séjours, cours, chèques) ---------- */
.page-content { padding: 80px 0 40px; }
.content-narrow { max-width: 900px; margin: 0 auto; padding: 0 20px; text-align: center; color: #111; }
.page-title { font-size: clamp(34px, 5vw, 48px); font-weight: 700; margin-bottom: 40px; color: #111; }

/* Menu */
.menu-page .intro { font-size: 18px; color: var(--soft); line-height: 1.6; margin-bottom: 40px; }
.menu-page .dish { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: #111; }
.menu-page .desc { font-size: 17px; color: var(--soft); line-height: 1.6; margin-bottom: 30px; }
.menu-page .ou { font-size: 17px; color: var(--soft); font-style: italic; margin-bottom: 30px; }
.separator { font-size: 20px; margin: 35px auto; color: #111; }
.note { font-size: 16px; color: #555; font-style: italic; line-height: 1.6; margin: 25px 0; }
.menu-page .price {
  margin-top: 60px; padding: 28px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.menu-page .price p { font-size: 18px; }
.menu-page .price .note { margin: 8px 0 0; }
.page-cta { text-align: center; padding: 60px 0 70px; }

/* Séjours */
.rooms-page { padding-top: 100px; }
.rooms-page .page-title { font-size: clamp(34px, 5vw, 44px); letter-spacing: 1px; margin-bottom: 56px; }
.rooms-intro { font-size: 17px; line-height: 1.9; color: #333; margin-bottom: 70px; }
.rooms-intro strong { display: block; color: #111; font-weight: 700; font-size: 20px; margin-bottom: 28px; letter-spacing: .5px; }
.stay h2 { font-size: 26px; color: #111; margin-bottom: 15px; letter-spacing: .5px; }
.stay .days { font-style: italic; color: #555; font-size: 17px; margin-bottom: 25px; }
.stay .details { font-size: 17px; color: #222; line-height: 1.8; max-width: 750px; margin: 0 auto 15px; }
.stay .price { font-size: 17px; color: #111; margin-top: 20px; font-weight: 700; }
.rooms-contact { margin: 64px auto 70px; font-size: 17px; line-height: 1.8; color: #333; }
.rooms-contact a { white-space: nowrap; }

/* Cours de cuisine */
.course-page p { font-size: 18px; color: var(--soft); line-height: 1.7; margin: 0 0 18px; }
.course-page .block-title { font-size: 20px; font-weight: 600; margin: 30px 0 12px; color: #111; }
.course-page .list { text-align: left; max-width: 780px; margin: 0 auto 10px; padding: 0 10px; color: var(--soft); font-size: 18px; line-height: 1.7; }
.course-page .list ul { margin: 10px 0 0 22px; padding: 0; }
.course-page .list li { margin: 14px 0; }
.course-page .list strong { color: #222; }
.course-page .contact { margin-top: 40px; font-size: 18px; line-height: 1.8; color: #111; }

/* Chèques cadeaux */
.cheques-page { max-width: 812px; margin: 0 auto; padding: 0 20px; line-height: 1.9; color: #111; }
.cheques-page .page-title { text-align: center; margin-bottom: 48px; font-size: clamp(34px, 5vw, 44px); }
.cheques-page h2 {
  font-size: 24px; margin: 50px 0 25px; color: #111;
  border-bottom: 1px solid #ddd; padding-bottom: 10px;
}
.cheques-page p { font-size: 16px; margin-bottom: 20px; color: #333; }
.cheques-page .highlight { font-weight: 700; color: #111; }
.iban-box {
  background: #f9f9f9; border: 1px solid #ddd; border-radius: 8px;
  padding: 25px; margin: 40px 0; font-size: 18px; text-align: center; line-height: 1.6;
}
.iban-box strong { display: block; font-size: 20px; margin: 10px 0 16px; letter-spacing: .5px; }

/* Nouveautés */
.news-page { padding: 80px 0 30px; text-align: center; }

/* Pages légales */
.legal { padding: 80px 0 60px; }
.legal .content { max-width: 820px; margin: 0 auto; padding: 0 20px; color: #1a1a1a; }
.legal h1 { font-size: clamp(32px, 4.5vw, 44px); margin-bottom: 18px; }
.legal h2 { font-size: 21px; margin: 40px 0 14px; }
.legal p { margin: 0 0 14px; line-height: 1.7; font-size: 16px; }
.legal a { word-break: break-word; }

/* ---------- Réservation ---------- */
.booking { padding: 72px 20px 96px; }
.booking__card {
  max-width: 520px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 40px 40px 36px;
  box-shadow: 0 20px 50px rgba(13, 20, 26, .06);
}
.booking__card h1 { font-size: 32px; text-align: center; margin-bottom: 10px; }
.nw { white-space: nowrap; }
.booking__sub { text-align: center; color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field .optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; height: 46px; padding: 0 14px;
  font-family: var(--serif); font-size: 15.5px; color: var(--ink);
  background: var(--field); border: 1px solid transparent; border-radius: 9px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { height: 88px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1e20' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer;
}
.field select:disabled { cursor: not-allowed; color: #9a9a9a; }
.field input::placeholder, .field textarea::placeholder { color: #9a9a9a; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background-color: #fff; border-color: var(--ink-deep); box-shadow: 0 0 0 3px rgba(13, 20, 26, .07);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; background-color: #fff; }
.field .error { display: none; color: #b3261e; font-size: 13px; margin-top: 5px; }
.field.has-error .error { display: block; }

.guests { display: flex; align-items: center; height: 46px; background: var(--field); border-radius: 9px; border: 1px solid transparent; }
.guests:focus-within { background: #fff; border-color: var(--ink-deep); box-shadow: 0 0 0 3px rgba(13, 20, 26, .07); }
.guests button {
  flex: 0 0 44px; height: 100%; border: 0; background: none; cursor: pointer;
  font-size: 20px; font-family: var(--serif); color: var(--ink);
}
.guests button:disabled { color: #bbb; cursor: not-allowed; }
.guests input { flex: 1; min-width: 0; text-align: center; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0; height: 100%; -moz-appearance: textfield; }
.guests input::-webkit-outer-spin-button, .guests input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn--block { display: flex; width: 100%; min-width: 0; height: 50px; margin-top: 24px; border-radius: 25px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.form-alert { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 9px; font-size: 14.5px; }
.form-alert.is-error { display: block; background: #fbeeed; color: #8c1d18; }

.form-success { display: none; text-align: center; padding: 12px 0 4px; }
.form-success.is-visible { display: block; }
.form-success .check {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; background: var(--cream);
}
.form-success h2 { font-size: 26px; margin-bottom: 10px; }
.form-success p { color: var(--soft); line-height: 1.6; }
.form-success .recap { margin: 20px auto 0; display: inline-grid; gap: 4px; text-align: left; font-size: 15px; padding: 16px 22px; background: var(--cream); border-radius: 10px; }

/* ---------- Pied de page ---------- */
.site-footer { padding: 0 0 22px; }
.site-footer .rule { height: 3px; background: var(--ink); margin-bottom: 60px; }
.footer-grid { display: grid; grid-template-columns: 297px 480px 1fr; gap: 63px; align-items: start; }
.footer-grid h2 { font-size: 26px; line-height: 1.3; color: var(--ink-deep); margin-bottom: 24px; }
.footer-grid p { font-size: 14px; line-height: 1.3; letter-spacing: .63px; color: var(--ink-deep); }
.footer-map { margin-top: 8px; }
.footer-map iframe { display: block; width: 100%; height: 320px; border: 0; background: #eef0f3; }
.footer-links { padding-left: 12px; justify-self: start; }
.footer-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.footer-links a { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: 0; margin-top: 30px; margin-left: -6px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink-deep); transition: opacity .2s; }
.socials a:hover { opacity: .6; }
.socials svg { width: 24px; height: 24px; }
.copyright { text-align: center; font-size: 14px; margin-top: 20px; color: var(--ink-deep); }

/* ---------- Tablette ---------- */
@media (max-width: 1180px) {
  .feature { gap: 56px; }
  .section-title { font-size: 38px; }
  .footer-grid { grid-template-columns: 1fr 1.4fr 0.8fr; gap: 40px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 920px) {
  :root { --gutter: 20px; }
  .hero { height: calc(100svh - var(--header-h)); min-height: 520px; max-height: 720px; align-items: flex-end; padding-bottom: 64px; }
  .hero::after { background: linear-gradient(180deg, rgba(20, 21, 23, .2) 0%, rgba(20, 21, 23, .55) 50%, rgba(20, 21, 23, .8) 100%); }
  .hero h1 { font-size: 42px; max-width: 340px; }
  .hero p { margin-top: 14px; max-width: 320px; font-size: 16px; }
  .hero .btn-row { margin-top: 28px; }
  .hero__media img { object-position: center; }

  .section { padding: 72px 0; }
  .section-title { font-size: 32px; margin-bottom: 20px; }
  .eyebrow { font-size: 12px; margin-bottom: 10px; }
  .feature, .feature--chef { grid-template-columns: 1fr; gap: 36px; }
  .feature__text { max-width: none; text-align: center; }
  .feature__media { order: -1; }
  .feature--chef .feature__media { max-width: 360px; margin: 0 auto; }
  .feature__text .btn-row { justify-content: center; }
  .btn { min-width: 0; height: 50px; padding: 0 26px; }
  .prose { font-size: 15.5px; }

  .mosaic .container { grid-template-columns: 1fr; gap: 12px; }
  .mosaic__col { gap: 12px; }
  .about__head { margin-bottom: 44px; }
  .about__grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 56px; }
  .about__item { display: block; text-align: center; }
  .about__item h3 { font-size: 26px; }
  .about__item h3::after { left: 50%; transform: translateX(-50%); }
  .about__item .prose { max-width: none; }

  .page-content { padding: 56px 0 20px; }
  .rooms-page { padding-top: 64px; }
  .booking { padding: 40px 16px 64px; }
  .booking__card { padding: 30px 20px 26px; border-radius: 14px; }
  .booking__card h1 { font-size: 28px; }

  .site-footer .rule { margin-bottom: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-grid h2 { font-size: 22px; margin-bottom: 16px; }
  .socials { justify-content: center; margin-left: 0; margin-top: 18px; gap: 20px; }
  .footer-links { padding-left: 0; justify-self: stretch; }
  .footer-map iframe { height: 260px; }
}

@media (max-width: 400px) {
  .form-grid { grid-template-columns: 1fr; }
}
