/*
 * Gîte La Pastorale — feuille de style unique.
 * Reprise fidèle du rendu du thème Fleurdesel (couleurs, polices, espacements mesurés le 21/10/2026),
 * sans framework ni dépendance externe. Polices hébergées localement (RGPD).
 */

/* ---------- Polices ---------- */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-400.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-500.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/roboto-600.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-700.woff2") format("woff2"); }
@font-face {
  font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/playfair-display-latin-wght-normal.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 900; font-display: swap;
  src: url("../fonts/playfair-display-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

/* ---------- Jetons ---------- */
:root {
  --primary: #ef4e2b;
  --text: #353535;
  --text-soft: #666666;
  --muted: #767676; /* #898989 à l'origine, assombri pour un contraste AA sur fond blanc */
  --border: #e8e8e8;
  --dark: #353535;
  --header-fallback: #353537;
  --footer-text: #d3d3d3;
  --footer-link: #e8e8e8;
  --footer-line: #373737;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-title: "Playfair Display", Georgia, "Times New Roman", serif;
  --container: 1170px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.75; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover, a:focus { color: var(--primary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5rem; font-weight: 700; line-height: 1.1; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; }
button { font: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 3000; background: #fff; color: var(--text); padding: 12px 20px; font-weight: 600; }
.skip-link:focus { left: 16px; top: 16px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
@media (min-width: 992px) and (max-width: 1199px) { .container { max-width: 990px; } }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--fill { fill: currentColor; stroke: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- En-tête (desktop) ---------- */
.site-header { position: relative; background-color: var(--header-fallback); background-position: center; background-size: cover; background-repeat: no-repeat; }
.site-header::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .2; pointer-events: none; }
.page-home .site-header { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: none; z-index: 50; }
.page-home .site-header::before { display: none; }
.desk-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 100; }
.topbar { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 0 30px; padding-top: 14px; padding-bottom: 14px; color: #fff; font-size: 16px; line-height: 28px; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.topbar a { color: #fff; }
.topbar a:hover, .topbar a:focus { color: #fff; text-decoration: underline; }
.topbar .icon { margin-right: 5px; }
.navbar { position: relative; height: 90px; background: var(--primary); padding-right: 50px; display: flex; justify-content: flex-end; align-items: center; }
.navbar__logo { position: absolute; left: 30px; top: 50%; transform: translateY(-50%); z-index: 2; }
.navbar__logo img { width: 190px; height: 190px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; }
.menu li { margin: 0 16px; }
.menu li:first-child { margin-left: 0; }
.menu li:last-child { margin-right: 0; }
.menu a { display: block; padding: 32px 0 31px; color: #fefefe; font-size: 15px; line-height: 26px; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a:focus-visible { color: #fff; border-bottom-color: rgba(255, 255, 255, .85); }
.menu a:focus-visible { outline-color: #fff; }

/* Sélecteur de langue : drapeaux à droite du menu (desktop) et dans la carte flottante (mobile / tablette) */
.langs ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.langs a { display: flex; align-items: center; justify-content: center; }
.langs__code { display: none; }
.flag { display: block; width: 22px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); transition: box-shadow .2s ease, transform .2s ease; }
.langs a:hover .flag, .langs a:focus-visible .flag { transform: translateY(-1px); }
.langs a[aria-current="true"] .flag { box-shadow: 0 0 0 1px currentColor; }
.langs--desk { display: flex; align-items: center; margin-left: 26px; padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .45); }
.langs--desk ul { gap: 4px; }
.langs--desk a { padding: 6px 5px; color: #fff; }
.langs--desk a:focus-visible { outline-color: #fff; }
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar { padding-right: 24px; }
  .menu li { margin: 0 8px; }
  .menu a { font-size: 14px; }
  .langs--desk { margin-left: 14px; padding-left: 12px; }
  .langs--desk ul { gap: 0; }
}

/* Bandeau titre de page */
.page-title { position: relative; padding: 168px 0; text-align: center; }
.page-title h1 { color: #fff; font-family: var(--font-title); font-size: clamp(40px, 15vw, 60px); line-height: 1.1; margin: 50px 0 -50px; text-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.banner-gite { background-image: url("../img/bandeaux/gite-salon-1920.jpg"); background-image: image-set(url("../img/bandeaux/gite-salon-1920.webp") type("image/webp"), url("../img/bandeaux/gite-salon-1920.jpg") type("image/jpeg")); }
.banner-loisirs { background-image: url("../img/bandeaux/loisirs-restaurants-1920.jpg"); background-image: image-set(url("../img/bandeaux/loisirs-restaurants-1920.webp") type("image/webp"), url("../img/bandeaux/loisirs-restaurants-1920.jpg") type("image/jpeg")); }
.banner-contact { background-image: url("../img/bandeaux/gite-facade-1920.jpg"); background-image: image-set(url("../img/bandeaux/gite-facade-1920.webp") type("image/webp"), url("../img/bandeaux/gite-facade-1920.jpg") type("image/jpeg")); }
@media (max-width: 991px) {
  .banner-gite { background-image: url("../img/bandeaux/gite-salon-960.jpg"); background-image: image-set(url("../img/bandeaux/gite-salon-960.webp") type("image/webp"), url("../img/bandeaux/gite-salon-960.jpg") type("image/jpeg")); }
  .banner-loisirs { background-image: url("../img/bandeaux/loisirs-restaurants-960.jpg"); background-image: image-set(url("../img/bandeaux/loisirs-restaurants-960.webp") type("image/webp"), url("../img/bandeaux/loisirs-restaurants-960.jpg") type("image/jpeg")); }
  .banner-contact { background-image: url("../img/bandeaux/gite-facade-960.jpg"); background-image: image-set(url("../img/bandeaux/gite-facade-960.webp") type("image/webp"), url("../img/bandeaux/gite-facade-960.jpg") type("image/jpeg")); }
}

/* ---------- En-tête (mobile et tablette, < 992 px) : carte flottante + menu plein écran orange ---------- */
.mbar, .mnav { display: none; }
@media (max-width: 991px) {
  .desk-header { display: none; }
  .mbar { display: flex; align-items: center; gap: 2px; position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 6px 6px 6px 8px; border-radius: 18px; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); color: var(--primary); transition: background .3s ease, box-shadow .3s ease, color .3s ease; }
  .mbar__logo { display: block; }
  .mbar__logo img { width: 64px; height: 64px; }
  .mbar__toggle { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: inherit; }
  .mbar__toggle:hover, .mbar__toggle:focus { color: inherit; }
  .mbar__burger { display: flex; flex-direction: column; gap: 5px; width: 24px; }
  .mbar__burger span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s ease, opacity .2s ease; }
  .menu-open .mbar { background: rgba(255, 255, 255, .14); box-shadow: none; color: #fff; }
  .menu-open .mbar__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .mbar__burger span:nth-child(2) { opacity: 0; }
  .menu-open .mbar__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mnav { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 990; overflow-y: auto; padding: 110px 32px 36px; background: var(--primary); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
  .mnav.is-open, .mnav:target { opacity: 1; visibility: visible; transition: opacity .35s ease; }
  .mnav > ul { list-style: none; margin: auto 0; padding: 0; }
  .mnav > ul > li, .langs--mnav { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
  .mnav.is-open > ul > li, .mnav:target > ul > li, .mnav.is-open .langs--mnav, .mnav:target .langs--mnav { opacity: 1; transform: none; }
  .mnav.is-open > ul > li:nth-child(2) { transition-delay: .06s; }
  .mnav.is-open > ul > li:nth-child(3) { transition-delay: .12s; }
  .mnav.is-open > ul > li:nth-child(4) { transition-delay: .18s; }
  .mnav.is-open .langs--mnav { transition-delay: .24s; }
  .mnav > ul a { display: inline-block; padding: 8px 0; color: #fff; font-family: var(--font-title); font-size: 32px; font-weight: 700; line-height: 1.25; border-bottom: 2px solid transparent; }
  .mnav > ul a:hover, .mnav > ul a:focus-visible, .mnav > ul a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }
  .langs--mnav { margin-top: 36px; }
  .langs--mnav ul { flex-wrap: wrap; gap: 8px; }
  .langs--mnav a { gap: 8px; min-height: 44px; padding: 8px 14px 8px 10px; border: 1px solid transparent; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 1px; }
  .langs--mnav a:hover, .langs--mnav a:focus-visible { color: #fff; background: rgba(255, 255, 255, .12); }
  .langs--mnav a[aria-current="true"] { border-color: #fff; }
  .langs--mnav a[aria-current="true"] .flag { box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
  .langs--mnav .langs__code { display: inline; }
  .mnav__foot { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
  .mnav__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 15px 28px; background: #fff; color: var(--primary); font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
  .mnav__cta:hover, .mnav__cta:focus-visible { background: #fff3ef; color: var(--primary); }
  .mnav__round { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; color: #fff; font-size: 18px; transition: background-color .2s ease; }
  .mnav__round:hover, .mnav__round:focus-visible { background: rgba(255, 255, 255, .15); color: #fff; }
  .mnav :focus-visible { outline-color: #fff; }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 768px) and (max-width: 991px) { .mnav { padding: 130px 64px 48px; } .mnav > ul a { font-size: 40px; }  }

/* ---------- Héros (accueil) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden; background: var(--header-fallback); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__arrow { position: absolute; top: 50%; z-index: 5; transform: translateY(-50%); display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; color: #fff; font-size: 22px; cursor: pointer; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.js .hero__arrow { display: flex; }
.hero__arrow:hover, .hero__arrow:focus-visible { color: #fff; transform: translateY(-50%) scale(1.15); }
.hero__arrow--prev { left: 20px; }
.hero__arrow--next { right: 20px; }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; z-index: 5; display: flex; align-items: center; justify-content: center; width: 75px; height: 75px; margin-left: -37.5px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.hero__scroll .icon { width: 30px; height: 30px; animation: hero-bounce 2s ease-in-out infinite; }
.hero__scroll:hover, .hero__scroll:focus { color: #fff; transform: translateY(2px); }
/* Titre, sous-titre et boutons du héros (voile sombre pour la lisibilité du texte blanc) */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .30) 0%, rgba(0, 0, 0, .42) 50%, rgba(0, 0, 0, .30) 100%); }
.hero__content { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; padding-top: 110px; text-align: center; color: #fff; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero__title { max-width: 1000px; margin: 0 auto; text-wrap: balance; font-family: var(--font-title); font-size: 60px; line-height: 1.15; font-weight: 700; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.hero__subtitle { margin: 22px auto 0; max-width: 760px; font-size: 18px; line-height: 1.6; letter-spacing: .5px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 34px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 34px; border: 2px solid transparent; font-size: 14px; font-weight: 700; line-height: 1.2; letter-spacing: 2px; text-transform: uppercase; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--primary:hover, .btn--primary:focus { background: #d14020; border-color: #d14020; color: #fff; }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover, .btn--ghost:focus { background: #fff; color: var(--text); }
.hero__content .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 991px) { .hero__content { padding-top: 40px; } }
@media (max-width: 767px) {
  .js .hero__arrow { display: none; }
  .hero__title { font-size: 36px; line-height: 1.2; }
  .hero__subtitle { font-size: 16px; margin-top: 16px; }
  .hero__actions { margin-top: 26px; }
  .btn { padding: 12px 24px; letter-spacing: 1.5px; }
}
@keyframes hero-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- Titres, textes, liens ---------- */
.heading { margin-bottom: 60px; }
.heading--tight { margin-bottom: 35px; }
.heading--center { text-align: center; }
.overline { margin: 0 0 1rem; font-size: 16px; line-height: 28px; font-weight: 600; letter-spacing: 3px; color: var(--primary); }
.display { margin: 0 0 8px; font-family: var(--font-title); font-size: 60px; line-height: 75px; font-weight: 700; color: var(--text); word-break: break-word; }
@media (max-width: 767px) { .display { font-size: 40px; line-height: 48px; } }
.prose { color: var(--text-soft); }
.split__text .prose { margin-bottom: 60px; }
.split__text .prose:last-child { margin-bottom: 0; }
.prose ul { padding-left: 40px; }
.prose ul ul { margin-bottom: 0; }
.prose a { color: var(--primary); overflow-wrap: anywhere; }
.prose a:hover, .prose a:focus { text-decoration: underline; }
.btn-view { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; line-height: 21px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.btn-view::after { content: ""; width: 16px; height: 8px; margin-left: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 8'%3E%3Cpath d='M0 4h18M15 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 8'%3E%3Cpath d='M0 4h18M15 1l3 3-3 3' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s ease; }
.btn-view:hover, .btn-view:focus { color: var(--primary); }
.btn-view:hover::after { transform: translateX(3px); }
.btn-center { text-align: center; margin: 30px 0 50px; }

/* ---------- Blocs image + texte (zigzag) ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 30px; align-items: center; }
.split__media { grid-column: 1 / span 5; }
.split__text { grid-column: 7 / span 6; }
.split--reverse .split__media { grid-column: 8 / span 5; grid-row: 1; }
.split--reverse .split__text { grid-column: 1 / span 6; grid-row: 1; }
.split__media img { width: 100%; }
.split__media a { display: block; }
.split--lift .split__media { margin-top: -50px; }
@media (max-width: 991px) {
  .split { display: block; }
  .split__media { margin: 0 0 40px; }
  .split--lift .split__media { margin-top: 0; }
}

/* Bloc « Bienvenue » : logo séparé posé sur la photo (proportions de l'image d'origine).
   --logo-w = largeur du logo en % du bloc ; marges calculées pour garder le même débordement. */
.intro-visual { --logo-w: 79.3%; }
.intro-visual .intro-visual__logo { position: relative; z-index: 1; display: block; width: var(--logo-w); height: auto; margin: calc(var(--logo-w) * -0.031) auto 0; }
.intro-visual__photo { display: block; margin-top: calc(var(--logo-w) * -0.226); }
.intro-visual__photo img { width: 100%; height: auto; }
@media (max-width: 991px) { .intro-visual { --logo-w: 44%; } }
@media (max-width: 575px) { .intro-visual { --logo-w: 58%; } }

/* Rythme vertical des sections (valeurs du site d'origine sur desktop) */
.sec { margin-bottom: 140px; }
.sec--pt160 { padding-top: 160px; }
.sec--pt80 { padding-top: 80px; }
.sec--mb120 { margin-bottom: 120px; }
.sec--mb80 { margin-bottom: 80px; }
.sec--mb100 { margin-bottom: 100px; }
.sec--mb0 { margin-bottom: 0; }
@media (max-width: 991px) {
  .sec { margin-bottom: 90px; }
  .sec--pt160 { padding-top: 100px; }
  .sec--pt80 { padding-top: 50px; }
  .sec--mb120 { margin-bottom: 80px; }
  .sec--mb80 { margin-bottom: 60px; }
  .sec--mb100 { margin-bottom: 70px; }
  .sec--mb0 { margin-bottom: 0; }
}

/* ---------- Boîtes d'icône ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 991px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } .iconbox__inner { padding: 32px 20px; } }
/* Tablette : nombre impair de cases → la dernière est centrée */
@media (min-width: 576px) and (max-width: 991px) { .services > li:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 15px); } }
@media (max-width: 575px) { .services { grid-template-columns: 1fr; } }
.iconbox { position: relative; border: 1px solid var(--border); text-align: center; transition: border-color .4s ease; }
.iconbox__inner { position: relative; padding: 40px; }
.iconbox__icon { display: flex; align-items: center; justify-content: center; height: 66px; margin-bottom: 15px; color: var(--primary); font-size: 60px; }
.iconbox__icon .icon { width: 1.1em; height: 1.1em; stroke-width: 1.1; }
.iconbox__title { margin: 0 0 20px; font-family: var(--font-body); font-size: 20px; font-weight: 500; line-height: 22px; color: var(--text); }
.iconbox::before, .iconbox::after, .iconbox__inner::before, .iconbox__inner::after { content: ""; position: absolute; width: 6px; height: 6px; background: var(--primary); transform: rotate(45deg); opacity: 0; transition: opacity .4s ease; }
.iconbox::before { top: 10px; left: 10px; }
.iconbox::after { top: 10px; right: 10px; }
.iconbox__inner::before { bottom: 10px; left: 9px; }
.iconbox__inner::after { bottom: 10px; right: 9px; }
.iconbox:hover { border-color: var(--primary); }
.iconbox:hover::before, .iconbox:hover::after, .iconbox:hover .iconbox__inner::before, .iconbox:hover .iconbox__inner::after { opacity: 1; }

/* ---------- Galerie + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 991px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .gallery { grid-template-columns: 1fr; } }
.gallery a { display: block; overflow: hidden; background: #eee; }
.gallery img { width: 100%; aspect-ratio: 360 / 260; object-fit: cover; transition: transform .4s ease, opacity .4s ease; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.04); opacity: .9; }
.lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; margin: 0; padding: 60px 70px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; }
.lightbox__caption { margin-top: 12px; color: #ddd; font-size: 14px; text-align: center; }
.lightbox__btn { position: fixed; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; font-size: 22px; cursor: pointer; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: var(--primary); }
.lightbox__btn--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--close { right: 12px; top: 12px; }
@media (max-width: 575px) { .lightbox__figure { padding: 60px 10px; } .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 12px; transform: none; } }

/* ---------- Questions fréquentes (page Gîte) ---------- */
.faq__list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-size: 28px; line-height: 1; color: var(--primary); }
.faq__item[open] summary::after { content: "\2013"; }
.faq__q { margin: 0; font-family: var(--font-title); font-size: 22px; line-height: 1.35; font-weight: 700; color: var(--text); }
.faq__item summary:hover .faq__q, .faq__item summary:focus-visible .faq__q { color: var(--primary); }
.faq__a { padding: 0 50px 24px 0; color: var(--text-soft); }
.faq__a p { margin: 0; }
.faq__a a { color: var(--primary); }
.faq__a a:hover, .faq__a a:focus { text-decoration: underline; }
@media (max-width: 767px) { .faq__q { font-size: 19px; } .faq__a { padding-right: 0; } }

/* ---------- Loisirs & Restaurants ---------- */
.zigzag { margin: 120px 0; }
.zz { position: relative; }
.zz__media img { width: 100%; aspect-ratio: 640 / 500; object-fit: cover; }
.zz__body { padding: 20px 0 40px; }
.zz__overline { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 2.8px; text-transform: uppercase; color: var(--primary); }
.zz__title { margin: 0 0 25px; font-family: var(--font-title); font-size: 30px; line-height: 1.5; }
.zz__title a:hover, .zz__title a:focus { color: var(--primary); }
@media (min-width: 768px) { .zz__body { padding: 40px; } }
@media (min-width: 992px) {
  .zz { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .zz:nth-child(even) .zz__media { order: 2; }
}
.article { max-width: 780px; margin: 0 auto 110px; scroll-margin-top: 30px; }
.article__head { margin-bottom: 40px; text-align: center; }
.article__title { margin: 0; font-family: var(--font-title); font-size: 40px; line-height: 1.2; }
@media (max-width: 767px) { .article__title { font-size: 32px; } }
.article .prose { color: var(--text); }
.article .prose p > strong:only-child { display: block; margin-top: 28px; font-size: 18px; }
.back-top { text-align: center; margin-top: 30px; }

/* ---------- Contact ---------- */
.contact-intro { max-width: 950px; margin: 0 auto 60px; padding-top: 100px; text-align: center; }
.contact-intro .heading { margin-bottom: 90px; }
.contact-intro .prose { color: var(--text); }
.channels, .contact-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; list-style: none; margin: 0; padding: 0; text-align: center; }
.channels { margin-bottom: 80px; }
.contact-boxes { margin-bottom: 150px; }
@media (max-width: 767px) { .channels, .contact-boxes { grid-template-columns: 1fr; gap: 50px; } .contact-boxes { margin-bottom: 100px; } }
.channel a { display: inline-block; }
.channel img { width: 200px; height: 120px; margin: 0 auto 15px; }
.channel__label, .contact-box__value { display: block; font-family: var(--font-title); font-size: 25px; font-weight: 400; line-height: 1.6; color: var(--text); }
address.contact-box__value { font-style: normal; }
.channel a:hover .channel__label, a.contact-box__value:hover, a.contact-box__value:focus { color: var(--primary); }
.contact-box__icon { display: flex; justify-content: center; margin-bottom: 30px; color: var(--primary); font-size: 60px; height: 66px; align-items: center; }
.contact-box__icon .icon { width: 1.1em; height: 1.1em; stroke-width: 1.1; }
.contact-box__title { margin: 0; font-family: var(--font-body); font-size: 14px; font-weight: 700; line-height: 22px; letter-spacing: 3px; color: var(--text); }

/* ---------- Pied de page ---------- */
.site-footer { background-color: var(--dark); background-position: center; background-size: cover; background-repeat: no-repeat; background-image: url("../img/bandeaux/pied-de-page-1920.jpg"); background-image: image-set(url("../img/bandeaux/pied-de-page-1920.webp") type("image/webp"), url("../img/bandeaux/pied-de-page-1920.jpg") type("image/jpeg")); color: var(--footer-text); text-align: center; }
@media (max-width: 991px) { .site-footer { background-image: url("../img/bandeaux/pied-de-page-960.jpg"); background-image: image-set(url("../img/bandeaux/pied-de-page-960.webp") type("image/webp"), url("../img/bandeaux/pied-de-page-960.jpg") type("image/jpeg")); } }
.site-footer a { color: var(--footer-link); }
.site-footer a:hover, .site-footer a:focus { color: var(--primary); }
.footer__logo { padding: 60px 0; }
.footer__logo img { width: 200px; height: 200px; margin: 0 auto; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding: 33px 0; border-bottom: 1px solid var(--footer-line); }
@media (max-width: 767px) { .footer__cols { grid-template-columns: 1fr; } }
.footer__big { display: block; margin: 0 0 8px; font-family: var(--font-title); font-size: 20px; font-weight: 700; line-height: 22px; color: #fff; }
a.footer__big { color: #fff; }
.footer__small { display: block; font-size: 12px; line-height: 1.9; color: var(--footer-text); }
.footer__social { display: inline-flex; margin-top: 2px; font-size: 18px; }
.footer__copy { margin: 0; padding: 24px 0; font-size: 14px; line-height: 24.5px; }

/* ---------- Page 404 : fond orange de marque, « 4 ◇ 4 » avec le logo à la place du 0 ---------- */
body.page-error { background: var(--primary); }
.e404 { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 20px; overflow: hidden; color: #fff; text-align: center; }
.e404::before, .e404::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .18); transform: rotate(45deg); pointer-events: none; }
.e404::before { width: 520px; height: 520px; top: -300px; left: -220px; }
.e404::after { width: 380px; height: 380px; bottom: -230px; right: -150px; }
.e404__code { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1.5vw, 18px); margin: 0; font-family: var(--font-title); font-size: clamp(120px, 20vw, 230px); font-weight: 900; line-height: 1; }
.e404__code img { width: clamp(120px, 19vw, 220px); height: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .18)); animation: e404-sway 6s ease-in-out infinite; }
@keyframes e404-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.e404__title { position: relative; margin: 26px 0 12px; font-family: var(--font-title); font-size: clamp(30px, 4.2vw, 46px); line-height: 1.15; text-wrap: balance; }
.e404__text { position: relative; max-width: 520px; margin: 0 0 34px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.e404__btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 18px 34px; background: #fff; color: var(--primary); font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; transition: background-color .2s ease, transform .2s ease; }
.e404__btn:hover, .e404__btn:focus-visible { background: #fff3ef; color: var(--primary); transform: translateY(-2px); }
.e404__btn .icon { font-size: 18px; }
.e404__links { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; }
.e404__links a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.e404__links a:hover, .e404__links a:focus-visible { color: #fff; border-bottom-color: #fff; }
.e404__langs { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; font-size: 13px; }
.e404__langs a { display: flex; align-items: center; gap: 9px; padding: 8px 16px 8px 12px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; color: #fff; white-space: nowrap; }
.e404__langs a:hover, .e404__langs a:focus-visible { background: rgba(255, 255, 255, .12); color: #fff; }
.e404__langs strong { font-weight: 700; }
.e404 :focus-visible { outline-color: #fff; }
@media (max-width: 575px) { .e404__text { font-size: 16px; } .e404__langs { flex-direction: column; align-items: center; } .e404__short { display: none; } }
