@import url("https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@700&display=swap");

:root {
  --bg: #f3f5f2;
  --surface: #ffffff;
  --surface-soft: #f8faf7;
  --text: #1f2b22;
  --muted: #4e5f50;
  --primary: #7fa312;
  --primary-strong: #5f7d0d;
  --accent: #c7742d;
  --accent-strong: #a85f22;
  --border: #d7ded5;
  --shadow: 0 16px 34px rgba(34, 61, 28, 0.09);
  --shadow-soft: 0 8px 20px rgba(34, 61, 28, 0.08);
  --radius: 16px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #f8f9f6 0, var(--bg) 46%);
  line-height: 1.65;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  font-family: "Aref Ruqaa", serif !important;
  font-weight: 700;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: 0.2px;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.site-header a:hover,
.site-header a:focus-visible,
.brand:hover,
.brand:focus-visible {
  text-decoration: none;
}

body.home-page {
  background: radial-gradient(circle at top, #f9faf7 0, var(--bg) 46%);
}

body.home-page .container {
  width: min(100% - 2rem, 1240px);
}

body.home-page .hero .container,
body.home-page .section .container,
body.home-page .site-footer .container {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

body.home-page .hero h1 {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.15;
}

body.home-page .hero p,
body.home-page .seo-copy p,
body.home-page .card p {
  line-height: 1.6;
  font-size: 1rem;
}

body.home-page .card,
body.home-page .seo-copy article,
body.home-page .feature {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

body.home-page .card {
  overflow: visible;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 1rem;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.95rem;
  list-style: none;
}

.site-nav {
  display: block;
}


.site-nav a {
  display: inline-block;
  padding: 0.35rem 0.4rem;
  border-radius: 6px;
  color: #dddddd;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
}

.site-nav a[aria-current="page"] {
  color: #ffffff;
  font-weight: 600;
  background: rgba(127, 163, 18, 0.95);
}

.lang-switch {
  display: flex;
  align-items: center;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.35rem;
  line-height: 0;
}

.lang-switch img {
  display: block;
  width: 20px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.hero {
  padding: 2.4rem 0 1.2rem;
}

.hero .container,
.section .container,
.site-footer .container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.hero h1 {
  margin: 0 0 0.8rem;
  line-height: 1.2;
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.3rem;
}

.gdf-hero {
  display: grid;
  gap: 0.75rem;
}

.gdf-hero-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.gite-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.gite-name {
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
  font-weight: 700;
  color: #1f2b22;
  letter-spacing: 0.2px;
}

.gite-ref {
  margin-top: 0.24rem;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 600;
  color: #6f9010;
  letter-spacing: 0.15px;
}

.gdf-hero img {
  width: 168px;
  max-width: 32vw;
}

.gdf-hero > p {
  margin-top: 0.75rem;
  font-size: 1.03rem;
  color: #2f4130;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.seo-copy {
  margin-top: 0.6rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.seo-copy article {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.seo-copy h2,
.seo-copy h3 {
  margin-top: 0;
}

.card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card-media {
  position: relative;
  overflow: visible;
}

.card-media-link {
  display: block;
  line-height: 0;
}

.card-media-link:hover,
.card-media-link:focus-visible {
  text-decoration: none;
}

.card-media-link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.card-media > img:not(.gdf-badge) {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.contact-panel-title {
  margin-top: 0;
}

.card-body {
  padding: 1rem;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card-title-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.card-title-logo img {
  flex-shrink: 0;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 10px;
  padding: 0.6rem 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-strong);
  text-decoration: none;
}

.section {
  padding: 1.6rem 0;
}

.features {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.split {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr 1fr;
}

.gallery-grid {
  line-height: 1;
  column-count: 5;
  column-gap: 0.95rem;
}

.gallery-grid a {
  border-radius: 0;
  overflow: visible;
  display: block;
  background: transparent;
}

.img-polaroid {
  padding: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border-radius: 12px;
}

.gallery-grid figure {
  margin: 0 0 1rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.gallery-grid img {
  width: 100%;
  height: auto;
}

.gallery-grid figcaption {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--muted);
}

@media (max-width: 1200px) {
  .gallery-grid {
    column-count: 4;
  }
}

@media (max-width: 978px) {
  .gallery-grid {
    column-count: 3;
  }
}

@media (max-width: 767px) {
  .gallery-grid {
    column-count: 2;
  }
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip-list li {
  border: 1px solid rgba(127, 163, 18, 0.45);
  background: rgba(127, 163, 18, 0.14);
  color: #3f5a0a;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
}

.contact-box {
  border: 1px solid rgba(199, 116, 45, 0.3);
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, #fff8ef, #fffdfa);
  padding: 1.15rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(199, 116, 45, 0.12);
}

.contact-box p {
  margin: 0;
}

.contact-box p + p {
  margin-top: 0.65rem;
}

.contact-box a {
  font-weight: 650;
}

.site-footer {
  margin-top: 2.2rem;
  border-top: 0;
  padding: 1.2rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.pola {
  text-align: center;
  margin-bottom: 20px;
}

.pola > div {
  padding: 5px;
  border: 1px solid #e3e3e3;
  background: #fff;
  box-shadow: 3px 3px 10px #777;
  text-align: center;
  display: inline-block;
  max-width: 100%;
}

.titre {
  line-height: 30px;
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.table-wrap {
  overflow-x: auto;
}

.access-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr 1fr;
}

.access-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: start;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.access-row img {
  width: auto;
  height: auto;
  max-width: 96px;
  max-height: 96px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.access-row h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.access-row p {
  margin: 0;
}

.access-map iframe {
  width: 100%;
  min-height: 440px;
  border: 0;
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  border: 1px solid var(--border);
  padding: 0.65rem;
  text-align: left;
}

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

  .menu-toggle {
    display: inline-block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  .card-grid .card {
    grid-column: span 12 !important;
  }

  .hero {
    padding: 1.2rem 0 0.7rem;
  }

  .brand {
    font-size: 1.6rem;
  }

  .hero .container,
  .section .container,
  .site-footer .container {
    padding: 1rem;
  }

  .gdf-hero-row {
    align-items: center;
  }

  .gdf-hero img {
    width: 132px;
  }

  .gdf-badge {
    top: -10px;
    right: -10px;
    width: 78px;
  }

  .gite-name {
    font-size: 1.45rem;
  }

  .gite-ref {
    font-size: 0.98rem;
  }

  .seo-copy {
    grid-template-columns: 1fr;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .access-map iframe {
    min-height: 300px;
  }

  body.home-page .container {
    width: min(100% - 1.1rem, 1240px);
  }

  body.home-page .hero h1 {
    font-size: 2.05rem;
  }

  body.home-page .hero p,
  body.home-page .seo-copy p,
  body.home-page .card p {
    font-size: 0.95rem;
  }
}

/* Phase 1 visual refresh: modern spacing, hierarchy and controls */

:root {
  --bg: #f2f4f1;
  --surface: #ffffff;
  --surface-soft: #f7f9f6;
  --text: #152119;
  --muted: #435446;
  --primary: #7d9f1c;
  --primary-strong: #617d15;
  --border: #d4ddd1;
  --shadow: 0 20px 46px rgba(20, 44, 27, 0.09);
  --shadow-soft: 0 10px 26px rgba(20, 44, 27, 0.08);
  --radius: 18px;
}

body {
  color: var(--text);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.container {
  width: min(100% - 2.6rem, var(--container));
}

.site-header {
  background: linear-gradient(135deg, rgba(10, 12, 10, 0.96), rgba(15, 20, 17, 0.94));
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  overflow: visible;
}

.header-inner {
  min-height: 76px;
}

.brand {
  letter-spacing: 0.4px;
}

.site-nav a {
  color: #e9ece8;
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}

.hero {
  padding: 2.8rem 0 1.4rem;
}

.hero-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.83rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 650;
  color: #d7e3ba;
}

body.home-page .hero .container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2.1rem;
  border: 0;
  background:
    linear-gradient(114deg, rgba(16, 24, 18, 0.84), rgba(19, 34, 24, 0.56)),
    url("/assets/img/HP/dordogne-vallery.jpg") center / cover no-repeat;
  box-shadow: 0 20px 44px rgba(14, 29, 20, 0.24);
}

body.home-page .hero .container::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  pointer-events: none;
}

body.home-page .hero h1 {
  color: #ffffff;
  margin-bottom: 0.95rem;
  max-width: 20ch;
}

body.home-page .hero p {
  color: rgba(250, 252, 249, 0.94);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.hero-actions .btn {
  min-width: 205px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 650;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  box-shadow: 0 12px 24px rgba(87, 114, 23, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(3px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(199, 116, 45, 0.3);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: var(--accent-strong);
  color: #fff;
}

.contact-secondary {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.95rem;
}

.property-booking .contact-box {
  margin-bottom: 1.35rem;
}

.property-booking h3 {
  margin-top: 0;
}

.section {
  padding: 1.85rem 0;
}

.hero .container,
.section .container,
.site-footer .container {
  padding: 1.6rem;
}

body.home-page .card-grid.container {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.card,
.feature,
.seo-copy article {
  border-radius: var(--radius);
}

.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(18, 38, 23, 0.14);
}

.card-body {
  padding: 1.2rem;
}

.card h2,
.feature h2,
.seo-copy h2 {
  letter-spacing: -0.01em;
}

.feature p,
.seo-copy p,
.card p {
  color: var(--muted);
}

.chip-list li {
  border-color: rgba(125, 159, 28, 0.38);
  background: rgba(125, 159, 28, 0.12);
}

.site-footer {
  margin-top: 1.5rem;
  padding: 0.55rem 0 1rem;
  color: rgba(67, 84, 70, 0.9);
  font-size: 0.9rem;
}

.site-footer .container {
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0.35rem 0;
}

body.home-page .site-footer .container {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-footer nav {
  gap: 0.55rem;
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 1.2rem, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    max-width: none;
    white-space: nowrap;
    line-height: 1.05;
    font-size: 1.25rem;
  }

  main,
  .site-footer {
    transition: filter 0.35s ease;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open main,
  body.menu-open .site-footer {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
  }

  body.menu-instant main,
  body.menu-instant .site-footer,
  .site-nav.menu-instant,
  .site-nav.menu-instant::before,
  .site-nav.menu-instant a {
    transition: none !important;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    bottom: auto;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    background: rgba(8, 11, 9, 0.92);
    padding: 0;
    overflow-y: auto;
    z-index: 90;
    max-height: calc(100vh - 68px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 0.32s ease,
      transform 0.32s ease,
      visibility 0.32s ease;
  }

  .site-nav::before {
    content: "";
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 11, 9, 0.42);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.32s ease;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav[data-open="true"]::before {
    opacity: 1;
  }

  .site-nav a {
    display: block;
    width: 100%;
    border-radius: 0;
    padding: 0.85rem 1rem;
    line-height: 1.35;
    font-size: 1.08rem;
    font-weight: 600;
    color: #f4f6f3;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 13, 10, 0.8);
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 0.28s ease,
      transform 0.28s ease,
      background-color 0.2s ease,
      color 0.2s ease;
  }

  .site-nav[data-open="true"] a {
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav[data-open="true"] li:nth-child(1) a {
    transition-delay: 0.04s;
  }

  .site-nav[data-open="true"] li:nth-child(2) a {
    transition-delay: 0.08s;
  }

  .site-nav[data-open="true"] li:nth-child(3) a {
    transition-delay: 0.12s;
  }

  .site-nav[data-open="true"] li:nth-child(4) a {
    transition-delay: 0.16s;
  }

  .site-nav[data-open="true"] li:nth-child(5) a {
    transition-delay: 0.2s;
  }

  .site-nav[data-open="true"] li:nth-child(6) a {
    transition-delay: 0.24s;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(22, 30, 24, 0.92);
    color: #ffffff;
  }

  .site-nav a[aria-current="page"] {
    background: rgba(125, 159, 28, 0.92);
    color: #ffffff;
  }

  .site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .site-nav li {
    width: 100%;
  }

  .hero {
    padding-top: 1.2rem;
  }

  body.home-page .hero .container {
    padding: 1.3rem;
  }

  body.home-page .hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.15rem);
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .card:hover {
    transform: none;
  }

  @media (prefers-reduced-motion: reduce) {
    main,
    .site-footer,
    .site-nav,
    .site-nav::before,
    .site-nav a {
      transition: none;
    }

    .site-nav {
      transform: none;
    }

    .site-nav a {
      transform: none;
    }
  }
}

/* Homepage content refresh: airy sections + image-led SEO */
body.home-page .card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

body.home-page .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(18, 38, 23, 0.13);
}

body.home-page .card-body {
  padding: 1.2rem;
}

body.home-page .section-airy .container {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.2rem;
  align-items: start;
}

.intro-copy p {
  max-width: 68ch;
}

.contact-panel {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.52));
}

body.home-page .contact-panel .contact-box {
  margin-top: 0.85rem;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.region-grid article img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0.75rem;
}

.region-grid article a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.region-grid article a:hover h3,
.region-grid article a:focus-visible h3 {
  color: var(--primary);
  text-decoration: underline;
}

.region-grid article h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.region-grid article p {
  margin-top: 0;
  color: var(--muted);
}

.seo-lite {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.seo-lite article {
  max-width: 72ch;
}

.seo-lite h2 {
  margin-top: 0;
}

.seo-lite h3 {
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
}

.seo-lite p {
  color: var(--muted);
}

.seo-lite ul {
  margin-top: 0.8rem;
  padding-left: 1.1rem;
}

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

@media (max-width: 900px) {
  .intro-grid,
  .seo-lite {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-panel {
    padding: 0;
    border-radius: 0;
    background: transparent;
  }
}

/* Property pages (gîte detail) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.property-page {
  background: radial-gradient(circle at top, #f9faf7 0, var(--bg) 46%);
}

body.property-page .container {
  width: min(100% - 2rem, 1240px);
  margin-inline: auto;
}

body.property-page .section .container,
body.property-page .site-footer .container {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.property-plaisant {
  --property-hero-image: url("/assets/img/Plaisant/Slideshow/maison-vacances-dordogne-plaisant-1.jpg");
}

.property-figuiers {
  --property-hero-image: url("/assets/img/Figuiers/Slideshow/Gite-de-france-dordogne-0.jpg");
}

.property-hero {
  position: relative;
  isolation: isolate;
  min-height: min(58vh, 540px);
  display: flex;
  align-items: flex-end;
  padding: 0 0 2.4rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.property-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 20, 14, 0.28) 0%, rgba(12, 20, 14, 0.68) 68%, rgba(12, 20, 14, 0.9) 100%),
    var(--property-hero-image) center / cover no-repeat;
}

.property-hero-inner {
  padding-top: 4.5rem;
}

.property-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
  color: rgba(232, 241, 218, 0.92);
}

body.property-page .gite-title {
  margin: 0 0 0.85rem;
}

.gite-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
}

body.property-page .gite-name {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.15rem);
}

body.property-page .gite-ref {
  color: rgba(214, 232, 168, 0.95);
}

.property-lead {
  margin: 0 0 1rem;
  max-width: 62ch;
  color: rgba(250, 252, 249, 0.93);
  font-size: 1.05rem;
  line-height: 1.55;
}

.property-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.property-highlights li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.88rem;
  font-weight: 550;
}

.property-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.property-badge {
  width: clamp(72px, 12vw, 96px);
  height: auto;
  flex-shrink: 0;
}

.property-gallery-section h2 {
  margin-top: 0;
}

.property-gallery-section .section-intro {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 65ch;
}

body.property-page .gallery-grid a {
  border-radius: 12px;
  overflow: hidden;
  display: block;
  box-shadow: 0 6px 18px rgba(18, 38, 23, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

body.property-page .gallery-grid a:hover,
body.property-page .gallery-grid a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 38, 23, 0.14);
}

body.property-page .gallery-grid .img-polaroid,
body.property-page .gallery-grid img {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}

body.property-page .gallery-grid figure {
  margin-bottom: 0.85rem;
}

.property-details-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.property-copy h2,
.property-booking h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
}

.property-booking {
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
  border: 1px solid var(--border);
}


@media (max-width: 900px) {
  .property-hero {
    min-height: min(52vh, 460px);
  }

  .property-details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .property-booking {
    padding: 0;
    border: 0;
    background: transparent;
  }
}

@media (max-width: 640px) {
  .property-hero-inner {
    padding-top: 3.5rem;
  }

  body.property-page .gite-name {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .property-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.charges-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.charges-list dt {
  font-weight: 600;
  color: #333;
}

.charges-list dd {
  margin: 0;
  color: #666;
}

.charges-list .small {
  display: block;
  font-size: 0.875rem;
  color: #999;
  font-weight: normal;
}

h3.charges-title {
  margin-top: 1rem;
}

/* Visit pages (visites section) */
body.visit-page {
  background: radial-gradient(circle at top, #f9faf7 0, var(--bg) 46%);
}

body.visit-page .container {
  width: min(100% - 2rem, 1240px);
  margin-inline: auto;
}

body.visit-page .section .container,
body.visit-page .site-footer .container {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.visit-hero {
  position: relative;
  isolation: isolate;
  min-height: min(48vh, 420px);
  display: flex;
  align-items: flex-end;
  padding: 0 0 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.visit-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 20, 14, 0.25) 0%, rgba(12, 20, 14, 0.72) 70%, rgba(12, 20, 14, 0.88) 100%),
    var(--visit-hero-image) center / cover no-repeat;
}

.visit-sarlat { --visit-hero-image: url("/assets/img/Visites/Sarlat/sarlat-6.jpg"); }
.visit-lascaux { --visit-hero-image: url("/assets/img/Visites/Lascaux/Lascaux_painting-2.jpg"); }
.visit-marqueyssac { --visit-hero-image: url("/assets/img/Visites/Marqueyssac/marqueyssac-cover.jpg"); }
.visit-padirac { --visit-hero-image: url("/assets/img/Visites/Gouffres/padirac-cover.jpg"); }
.visit-beynac { --visit-hero-image: url("/assets/img/Visites/Beynac/beynac-cover.jpg"); }
.visit-castelnaud { --visit-hero-image: url("/assets/img/Visites/Castelnaud/castelnaud-cover.jpg"); }
.visit-index { --visit-hero-image: url("/assets/img/HP/dordogne-vallery.jpg"); }
.access-page { --visit-hero-image: url("/assets/img/Acces/road.jpg"); }

.visit-hero-inner {
  padding-top: 4rem;
}

.visit-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
  color: rgba(232, 241, 218, 0.92);
}

.visit-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  line-height: 1.15;
  color: #fff;
}

.visit-lead {
  margin: 0;
  max-width: 62ch;
  color: rgba(250, 252, 249, 0.93);
  font-size: 1.05rem;
  line-height: 1.55;
}

.visit-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.visit-copy h2 {
  margin-top: 0;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.visit-copy p {
  color: var(--muted);
}

.visit-media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.visit-media-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.visit-sidebar {
  padding: 1.15rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
  border: 1px solid var(--border);
}

.visit-sidebar h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.visit-sidebar dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 1rem;
  margin: 0 0 1rem;
}

.visit-sidebar dt {
  font-weight: 600;
  color: var(--text);
}

.visit-sidebar dd {
  margin: 0;
  color: var(--muted);
}

.visit-cta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.visit-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.visit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: inherit;
  text-decoration: none;
}

.visit-card:hover,
.visit-card:focus-visible {
  text-decoration: none;
  color: inherit;
}

.visit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(18, 38, 23, 0.13);
}

.visit-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.visit-card-body {
  padding: 1.1rem;
}

.visit-card-body h2,
.visit-card-body h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.visit-card-body p {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.visit-card-distance {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(125, 159, 28, 0.12);
  border: 1px solid rgba(125, 159, 28, 0.38);
  color: #3f5a0a;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
}

.visit-nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.visit-nearby-grid .visit-card:hover {
  transform: translateY(-2px);
}

.visit-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.visit-thumbnail {
  text-align: center;
}

.visit-thumbnail a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.visit-thumbnail a:hover p,
.visit-thumbnail a:focus-visible p {
  color: var(--primary);
}

.visit-thumbnail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-soft);
}

.visit-thumbnail p {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.visit-thumbnail .muted {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 1000px) {
  .visit-cards,
  .visit-nearby-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .visit-content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .visit-sidebar {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .visit-media-row {
    grid-template-columns: 1fr;
  }

  .visit-cards,
  .visit-nearby-grid,
  .visit-thumbnails {
    grid-template-columns: 1fr;
  }

  .visit-hero {
    min-height: min(42vh, 360px);
  }

  .visit-hero-inner {
    padding-top: 3rem;
  }
}

