/* Polices Fraunces et Jost : chargées par le <link> Google Fonts de layout.php et admin.php. */

:root {
  color-scheme: light;

  /* Jetons du design system Villa Kerhuella (thème Jour).
     ocean, surface-100 et ciel sont réglables dans l’administration (redéfinis par theme_style_tag()). */
  --surface-100: #faf6ee;
  --surface-200: #e7f0f1;
  --ink: #0f2a37;
  --ink-muted: #4a6270;
  --ocean: #1b5a75;
  --on-ocean: #faf6ee;
  --ciel: #8fc3dd;
  --soleil: #eda92e;
  --on-soleil: #0f2a37;
  --granit: #c98670;
  --sable: #e9dcc3;
  --hairline: #cbd8dc;
  --focus-ring: var(--ocean);
  --space-1: 4px;
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-12: 48px;
  --radius-sm: 2px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  /* Noms historiques de la feuille, reliés aux jetons du design system. */
  --navy: var(--ocean);
  --navy-deep: var(--ink);
  --navy-soft: color-mix(in srgb, var(--ocean) 85%, var(--surface-100));
  --paper: var(--surface-100);
  --paper-tint: var(--surface-200);
  --sky: var(--ciel);
  --sky-soft: color-mix(in srgb, var(--ciel) 40%, var(--surface-100));
  --muted: var(--ink-muted);
  --faint: var(--ink-muted);
  --line: var(--hairline);
  --line-strong: var(--hairline);
  --past: color-mix(in srgb, var(--hairline) 35%, var(--surface-100));
  --shadow: color-mix(in srgb, var(--ink) 8%, transparent);
  --sand: var(--soleil);
  --serif: var(--font-display);
  --sans: var(--font-sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  color: white;
  background: var(--ocean);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 88px;
  align-items: center;
  justify-content: space-between;
  padding: 0 7.2%;
  color: white;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.wordmark em {
  font-family: var(--serif);
  font-weight: 400;
}

.wordmark-icon {
  color: #dec6a8;
  font-size: 1.65rem;
  line-height: 1;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.navigation a,
.back-to-top {
  transition: opacity 180ms ease;
}

.navigation a:hover,
.back-to-top:hover {
  opacity: 0.72;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.82rem 1rem;
  border: 1px solid rgb(255 255 255 / 54%);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(790px, 100svh);
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--navy-soft);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-image {
  object-position: center 54%;
}

.hero-shade {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--navy-deep) 66%, transparent) 0%, color-mix(in srgb, var(--navy-deep) 33%, transparent) 53%, color-mix(in srgb, var(--navy-deep) 5%, transparent) 100%),
    linear-gradient(0deg, color-mix(in srgb, var(--navy-deep) 25%, transparent), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 85%);
  margin: 54px 0 0 13.2%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgb(255 255 255 / 83%);
}

.eyebrow-light span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

.hero h1 {
  margin: 1.35rem 0 1.35rem;
  font-family: var(--serif);
  font-size: clamp(3.55rem, 7.5vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 em,
h2 em {
  font-weight: 400;
}

.hero-intro {
  max-width: 390px;
  margin-bottom: 2rem;
  color: rgb(255 255 255 / 85%);
  font-size: 0.95rem;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 0 1.2rem;
  border: 0;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-dark {
  width: 100%;
  color: white;
  background: var(--ocean);
}

.button-dark:hover {
  background: var(--navy-soft);
}

.hero-note {
  position: absolute;
  right: 7.2%;
  bottom: 3rem;
  margin: 0;
  color: rgb(255 255 255 / 78%);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
}

.scroll-cue {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  width: 1px;
  height: 70px;
  justify-content: center;
  background: rgb(255 255 255 / 48%);
}

.scroll-cue span {
  width: 1px;
  height: 26px;
  background: white;
  animation: scroll-down 1.8s ease-in-out infinite;
}

@keyframes scroll-down {
  0% { transform: translateY(0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

.section-wrap {
  width: min(1160px, 84%);
  margin: 0 auto;
}

.intro {
  padding-top: 8.25rem;
  padding-bottom: 8.7rem;
}

.intro-kicker {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.kicker-line {
  width: 53px;
  height: 1px;
  background: var(--line-strong);
}

.kicker-number {
  color: var(--faint);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.intro-copy {
  display: grid;
  grid-template-columns: 1fr 0.76fr;
  align-items: end;
  gap: 8%;
  margin: 2.35rem 0 3.4rem;
}

h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.2vw, 5.1rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.07;
}

.intro-description {
  max-width: 405px;
  padding-bottom: 0.25rem;
}

.intro-description p,
.stay-copy > p:not(.eyebrow) {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.74rem;
  font-weight: 600;
}

.availability {
  padding: 7rem 0;
  background: var(--paper-tint);
}

.availability-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.8rem;
}

.availability-heading .eyebrow {
  margin-bottom: 1.3rem;
}

.availability-heading h2 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}

.availability-heading > p {
  max-width: 360px;
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.8;
}

.calendar-panel {
  width: min(590px, 100%);
  margin: 0 auto;
  padding: clamp(1.3rem, 4vw, 2.4rem);
  background: white;
  box-shadow: 0 20px 60px var(--shadow);
}

.calendar-top {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  margin-bottom: 1.8rem;
}

.calendar-top h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  text-align: center;
  text-transform: capitalize;
}

.calendar-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--ocean);
  transition: background 160ms ease;
}

.calendar-arrow:hover {
  background: var(--sky-soft);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
}

.calendar-weekday {
  padding-bottom: 0.45rem;
  color: var(--faint);
  font-size: 0.66rem;
  font-weight: 600;
  text-align: center;
}

.calendar-day {
  display: grid;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.78rem;
}

.calendar-empty {
  visibility: hidden;
}

.calendar-free {
  color: var(--navy);
  background: var(--sky-soft);
}

.calendar-busy {
  color: #7d443c;
  background: #f3e5e0;
  text-decoration: line-through;
}

.calendar-past {
  color: var(--faint);
  background: var(--past);
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.legend-free {
  background: var(--sky);
}

.legend-busy {
  background: #c8897e;
}

.calendar-note {
  margin: 1.2rem auto 0;
  color: var(--faint);
  font-size: 0.68rem;
  line-height: 1.6;
  text-align: center;
}

.calendar-message {
  max-width: 590px;
  margin: 0 auto;
  padding: 1.2rem;
  font-size: 0.82rem;
  line-height: 1.7;
}

.calendar-error {
  color: #773a33;
  background: #f5e6e1;
}

.intro-image {
  position: relative;
  width: 77%;
  margin: 0 0 0 auto;
}

.intro-image img {
  height: clamp(280px, 42vw, 530px);
  object-position: center 55%;
}

.intro-image figcaption {
  position: absolute;
  right: -2.7rem;
  bottom: 1rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 0.8rem;
  font-style: italic;
  writing-mode: vertical-rl;
}

.moments {
  padding: 7.4rem 0 7.8rem;
  color: white;
  background: var(--ocean);
}

.moments-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 3.8rem;
}

.moments-heading .eyebrow {
  margin-bottom: 1.5rem;
  color: var(--sky);
}

.moments-heading h2 {
  font-size: clamp(2.7rem, 4.7vw, 4.5rem);
}

.moments-heading > p {
  width: 310px;
  margin: 0 4% 0 2rem;
  color: rgb(255 255 255 / 70%);
  font-size: 0.85rem;
  line-height: 1.85;
}

.moments-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  align-items: start;
  gap: 1.25rem;
}

.moment-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--navy-soft);
}

.moment-card-large {
  margin-top: 2.7rem;
}

.moment-card-small:last-child {
  margin-top: 5rem;
}

.moment-card img {
  height: clamp(230px, 28vw, 370px);
  transition: transform 500ms ease;
}

.moment-card:hover img {
  transform: scale(1.04);
}

.moment-card-large img {
  height: clamp(300px, 36vw, 460px);
}

.moment-card::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, color-mix(in srgb, var(--navy-deep) 67%, transparent));
  content: "";
}

.moment-caption {
  position: absolute;
  z-index: 1;
  right: 1.15rem;
  bottom: 1.15rem;
  left: 1.15rem;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.moment-caption span {
  color: #d9c2a3;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.moment-caption h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.stay {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 12%;
  padding-top: 8.5rem;
  padding-bottom: 8.5rem;
}

.stay-copy {
  max-width: 430px;
}

.stay-copy .eyebrow {
  margin-bottom: 1.6rem;
}

.stay-copy h2 {
  margin-bottom: 1.8rem;
}

.stay-copy > p:not(.eyebrow) {
  max-width: 390px;
}

.stay-detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.4rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.detail-icon {
  color: #a27a4d;
  font-size: 1.1rem;
}

.booking-form {
  align-self: center;
  padding: 2.2rem;
  background: white;
  box-shadow: 0 20px 60px var(--shadow);
}

.booking-form label {
  display: block;
  margin-bottom: 1.35rem;
}

.booking-form label span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.booking-form input {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.88rem;
}

.booking-form input:focus {
  border-color: var(--ocean);
  outline: 0;
}

.booking-form input::placeholder {
  color: var(--faint);
}

.form-hint {
  margin: 0.9rem 0 0;
  color: var(--faint);
  font-size: 0.66rem;
  line-height: 1.5;
}

.request-result {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.request-result > p:first-child {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.7;
  white-space: pre-line;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0;
  border: 0;
  color: var(--ocean);
  background: none;
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 700;
}

.copy-status {
  min-height: 1em;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.site-footer {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 7.2%;
  color: white;
  background: var(--navy-deep);
}

.footer-wordmark {
  font-size: 0.82rem;
}

.site-footer > p {
  margin: 0;
  color: rgb(255 255 255 / 65%);
  font-family: var(--serif);
  font-size: 0.82rem;
  font-style: italic;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.7rem;
}

@media (max-width: 760px) {
  .site-header {
    height: 72px;
    padding: 0 6%;
  }

  .menu-toggle {
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid rgb(255 255 255 / 50%);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: white;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .navigation {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem 6% 1.5rem;
    background: var(--navy);
  }

  .navigation.is-open {
    display: flex;
    flex-direction: column;
  }

  .navigation > a {
    padding: 1rem 0;
    border-bottom: 1px solid rgb(255 255 255 / 17%);
  }

  .navigation .nav-cta {
    justify-content: space-between;
    margin-top: 0.8rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgb(255 255 255 / 50%);
  }

  .hero {
    min-height: 720px;
    min-height: min(760px, 100svh);
  }

  .hero-content {
    width: 86%;
    margin: 35px 0 0 7%;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 13vw, 5.6rem);
  }

  .hero-note {
    right: 7%;
    bottom: 2rem;
    font-size: 0.75rem;
  }

  .scroll-cue {
    left: 8%;
    height: 48px;
  }

  .section-wrap {
    width: 86%;
  }

  .intro {
    padding-top: 5.5rem;
    padding-bottom: 6rem;
  }

  .intro-copy {
    grid-template-columns: 1fr;
    gap: 1.7rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
  }

  .intro-description {
    max-width: 470px;
  }

  .intro-image {
    width: 88%;
  }

  .availability {
    padding: 5.2rem 0;
  }

  .availability-heading {
    display: block;
    margin-bottom: 2rem;
  }

  .availability-heading > p {
    margin-top: 1rem;
  }

  .calendar-grid {
    gap: 0.25rem;
  }

  .calendar-day {
    min-height: 40px;
    font-size: 0.72rem;
  }

  .intro-image figcaption {
    right: -1.6rem;
  }

  .moments {
    padding: 5.5rem 0 5.8rem;
  }

  .moments-heading {
    display: block;
    margin-bottom: 2.5rem;
  }

  .moments-heading > p {
    width: auto;
    max-width: 390px;
    margin: 1.5rem 0 0;
  }

  .moments-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .moment-card-large {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .moment-card-small:last-child {
    margin-top: 2rem;
  }

  .moment-card img,
  .moment-card-large img {
    height: clamp(200px, 55vw, 330px);
  }

  .moment-card-large img {
    height: clamp(260px, 70vw, 410px);
  }

  .moment-caption {
    right: 0.7rem;
    bottom: 0.8rem;
    left: 0.7rem;
    gap: 0.5rem;
  }

  .moment-caption h3 {
    font-size: 1rem;
  }

  .stay {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .booking-form {
    padding: 1.6rem;
  }

  .site-footer {
    min-height: auto;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding: 1.6rem 7%;
  }

  .site-footer > p {
    order: 1;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .wordmark {
    gap: 0.45rem;
    font-size: 0.82rem;
  }

  .hero-intro {
    max-width: 320px;
    font-size: 0.86rem;
  }

  .kicker-line {
    width: 30px;
  }

  .intro-kicker {
    gap: 0.8rem;
  }

  .kicker-number {
    font-size: 0.56rem;
  }

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

  .moment-card-large {
    grid-column: auto;
  }

  .moment-card-small:last-child {
    margin-top: 0;
  }

  .moment-card img,
  .moment-card-large img {
    height: 300px;
  }

  .back-to-top {
    font-size: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Calendrier indisponible, erreurs et actions du formulaire */
.calendar-arrow.is-disabled {
  opacity: 0.3;
  cursor: default;
}
.calendar-error p + p {
  margin-top: 0.6rem;
}
.calendar-error a,
.form-blocked a {
  color: inherit;
  text-decoration: underline;
}
.booking-fields {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.booking-fields:disabled {
  opacity: 0.45;
}
.form-blocked,
.form-error {
  margin: 0 0 1.2rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid #b5523b;
  color: #7a3324;
  background: #fbf1ee;
  font-size: 0.75rem;
  line-height: 1.6;
}
.form-error {
  margin: 1rem 0 0;
}
.request-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
}
.site-footer {
  flex-wrap: wrap;
  row-gap: 1rem;
}
.site-footer > p.photo-credits {
  flex-basis: 100%;
  margin: 0;
  color: rgb(255 255 255 / 45%);
  font-size: 0.62rem;
  line-height: 1.6;
  text-align: left;
}
.photo-credits a {
  color: inherit;
  text-decoration: underline;
}
.moment-caption h3 small {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--sans, inherit);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}
.site-footer > p.photo-credits {
  order: 2;
  font-family: var(--sans);
  font-style: normal;
}

/* ===================== Site multi-pages ===================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Menu : page courante et passage au menu mobile plus tôt (6 entrées) */
.navigation {
  gap: 1.7rem;
}
.navigation a[aria-current="page"]:not(.nav-cta) {
  text-decoration: underline;
  text-decoration-color: var(--sky);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45rem;
}
.navigation .nav-cta[aria-current="page"] {
  color: var(--ink);
  background: var(--paper);
}

/* Bandeau des pages intérieures */
.hero-compact {
  min-height: min(520px, 70svh);
}
.hero-compact .hero-content {
  margin-top: 88px;
}
.hero-compact h1 {
  font-size: clamp(2.9rem, 6vw, 5.4rem);
}

/* Blocs génériques */
.page-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 8%;
}
.split .eyebrow,
.band-title {
  margin-bottom: 1.4rem;
}
.band-title {
  margin-top: 1.3rem;
  margin-bottom: 3rem;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}
.prose p {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.9;
}
.empty-state {
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--sky);
  color: var(--muted);
  background: var(--sky-soft);
  font-size: 0.88rem;
}
.empty-state a,
.prose a {
  text-decoration: underline;
}
.subheading {
  margin: 3.5rem 0 1.2rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}

/* Chiffres clés */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: -1.5rem 0 3rem;
  padding: 0;
  list-style: none;
}
.facts li {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--sky-soft);
  font-size: 0.74rem;
  font-weight: 600;
}
.key-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 4.5rem 0 0;
  border: 1px solid var(--line);
  background: var(--line);
}
.key-facts div {
  padding: 1.6rem 1.4rem;
  background: var(--paper);
}
.key-facts dt {
  margin-bottom: 0.5rem;
  color: var(--faint);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.key-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
}

/* Équipements */
.page-band {
  padding: 7rem 0;
}
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.2rem;
}
.equipment-card {
  padding: 1.7rem;
  background: white;
  box-shadow: 0 20px 60px var(--shadow);
}
.equipment-card h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--sky);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}
.equipment-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.equipment-card li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.1rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}
.equipment-card li::before {
  position: absolute;
  top: 0.95rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  content: "";
}

/* Tarifs */
.rates-table {
  width: 100%;
  margin-top: 3.5rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.rates-table th,
.rates-table td {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.rates-table thead th {
  color: var(--faint);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rates-table tbody th {
  font-weight: 600;
}
.rate-price {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.3rem;
  white-space: nowrap;
}
.rates-table td:last-child {
  color: var(--muted);
}
.conditions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.conditions li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}
.conditions li::before {
  position: absolute;
  left: 0;
  color: var(--sky);
  content: "✓";
  font-weight: 700;
}

/* Avis */
.home-reviews {
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.home-reviews h2 {
  margin: 1.3rem 0 3rem;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.review-list {
  columns: 2 380px;
  column-gap: 1.4rem;
}
.review-list .review-card {
  margin-bottom: 1.4rem;
  break-inside: avoid;
}
.review-card {
  margin: 0;
  padding: 1.8rem;
  border-top: 3px solid var(--sky);
  background: white;
  box-shadow: 0 20px 60px var(--shadow);
}
.review-card blockquote {
  margin: 0 0 1.2rem;
}
.review-card blockquote p {
  margin-bottom: 0.8rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.7;
}
.review-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
}
.review-card figcaption span {
  color: var(--faint);
  font-weight: 400;
}
.stars {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: #d4a24c;
  letter-spacing: 0.15em;
}
.stars-empty {
  color: var(--line);
}
.reviews-count {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Alentours */
.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}
.place-card {
  overflow: hidden;
  background: white;
  box-shadow: 0 20px 60px var(--shadow);
}
.place-card img {
  height: 230px;
  transition: transform 500ms ease;
}
.place-card:hover img {
  transform: scale(1.03);
}
.place-body {
  padding: 1.5rem 1.6rem 1.8rem;
}
.place-number {
  color: #a27a4d;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}
.place-body h3 {
  margin: 0.4rem 0 0.6rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}
.place-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}
.activity h3 {
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgb(255 255 255 / 25%);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
}
.activity p {
  margin: 0;
  color: rgb(255 255 255 / 75%);
  font-size: 0.88rem;
  line-height: 1.85;
}

/* Cartes de l’accueil (liens) */
a.moment-card {
  display: block;
  color: white;
}

/* Bandeau d’appel à l’action */
.cta-band {
  padding: 6rem 0;
  background: var(--paper-tint);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.cta-band h2 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
  min-width: 280px;
}

/* Contact */
.contact-layout {
  grid-template-columns: 0.8fr 1fr;
  gap: 8%;
}
.contact-details {
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
}
.contact-details li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.6;
}
.contact-details span {
  color: var(--faint);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-details a {
  color: var(--navy);
  font-weight: 600;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.4rem;
}
.form-row-3 {
  grid-template-columns: 1fr 1fr 0.7fr;
}
.stay-dates {
  margin: 0.4rem 0 0;
  padding: 0;
  border: 0;
}
.stay-dates legend {
  margin-bottom: 1rem;
  padding: 0;
  font-family: var(--serif);
  font-size: 1.1rem;
}
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
}
.booking-form textarea {
  padding: 0.8rem;
  border: 1px solid var(--line);
  resize: vertical;
}
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--ocean);
  outline: 0;
}
div.form-error {
  margin: 0 0 1.4rem;
}
div.form-error p {
  margin: 0.2rem 0;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-success h3 {
  margin-bottom: 0.8rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}
.form-success p {
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Pied de page */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-size: 0.74rem;
}
.footer-nav a {
  color: rgb(255 255 255 / 80%);
}
.footer-nav a:hover {
  color: white;
}
.site-footer > p.footer-contact {
  flex-basis: 100%;
  order: 1;
  color: rgb(255 255 255 / 70%);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-style: normal;
}
.footer-contact a {
  color: white;
  text-decoration: underline;
}

/* Le menu complet ne tient plus sur une ligne en dessous de 1100 px */
@media (max-width: 1100px) {
  .menu-toggle {
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid rgb(255 255 255 / 50%);
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: white;
    transition: transform 180ms ease;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .navigation {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem 7.2% 1.5rem;
    background: var(--navy);
  }
  .navigation.is-open {
    display: flex;
    flex-direction: column;
  }
  .navigation > a {
    padding: 1rem 0;
    border-bottom: 1px solid rgb(255 255 255 / 17%);
  }
  .navigation .nav-cta {
    justify-content: space-between;
    margin-top: 0.8rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgb(255 255 255 / 50%);
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-section,
  .home-reviews,
  .page-band {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .hero-compact {
    min-height: 460px;
  }
  .hero-compact .hero-content {
    margin-top: 72px;
  }
  .split,
  .contact-layout,
  .conditions {
    grid-template-columns: 1fr;
  }
  .key-facts {
    grid-template-columns: 1fr 1fr;
    margin-top: 3rem;
  }
  .rates-table thead {
    display: none;
  }
  .rates-table tr {
    display: grid;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }
  .rates-table th,
  .rates-table td {
    padding: 0.2rem 0;
    border: 0;
  }
  .rate-price {
    white-space: normal;
  }
  .cta-band {
    padding: 4.5rem 0;
  }
  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-actions {
    width: 100%;
    min-width: 0;
  }
  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
  .contact-details li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .places-grid {
    grid-template-columns: 1fr;
  }
}

/* Tarifs : calendrier et formulaire de demande réunis dans un même bloc */
.booking-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: 2.5rem;
}
.booking-layout .calendar-panel,
.booking-layout .calendar-message {
  width: 100%;
  max-width: none;
}
.booking-layout .calendar-note {
  text-align: left;
}
.booking-layout .booking-form {
  align-self: start;
}
@media (max-width: 960px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   Design system Villa Kerhuella : typographie, rayons, focus, marque.
   Placé en fin de feuille pour primer sur les règles précédentes.
   ===================================================================== */

body {
  color: var(--ink);
  background: var(--surface-100);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 27px;
}

/* Focus clavier : 2px d’écart couleur de page, puis 2px ocean */
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--surface-100);
}
.hero :focus-visible,
.moments :focus-visible,
.site-footer :focus-visible,
.site-header :focus-visible {
  outline-color: var(--on-ocean);
  box-shadow: none;
}

/* Titres : Fraunces 500 */
h1,
h2,
h3,
.hero h1,
.subheading,
.equipment-card h3,
.place-body h3,
.activity h3,
.form-success h3,
.moment-caption h3,
.calendar-top h3,
.key-facts dd,
.rate-price {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 3.5rem); /* display : 56px */
  line-height: 1.07;
}
.hero-compact h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
}
h2,
.availability-heading h2,
.moments-heading h2,
.band-title,
.home-reviews h2,
.cta-band h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.125rem); /* title : 34px/40px */
  line-height: 1.18;
}
.hero h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
}
h2 em {
  color: var(--ocean);
}
.moments h2 em {
  color: var(--ciel);
}
.equipment-card h3,
.place-body h3,
.activity h3,
.subheading {
  font-size: 1.3125rem; /* heading : 21px/28px */
  line-height: 1.33;
}

/* Surtitres : style label (Jost 500, 13px, capitales, 0,14em) */
.eyebrow,
.reviews-count,
.key-facts dt,
.rates-table thead th,
.contact-details span,
.booking-form label span,
.calendar-weekday,
.kicker-number {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.calendar-weekday {
  font-size: 11px;
  letter-spacing: 0.08em;
}
.eyebrow-light {
  color: color-mix(in srgb, var(--on-ocean) 88%, transparent);
}
.eyebrow-light span {
  background: var(--soleil);
}
.moments .eyebrow {
  color: var(--ciel);
}

/* Texte courant : body 17px/27px ; légendes : caption 14px/20px */
.hero-intro,
.prose p,
.intro-description p,
.stay-copy > p:not(.eyebrow),
.moments-heading > p,
.availability-heading > p,
.place-body p,
.activity p,
.conditions li,
.equipment-card li,
.form-success p,
.empty-state {
  font-size: 17px;
  line-height: 27px;
}
.equipment-card li,
.conditions li,
.place-body p {
  font-size: 15px;
  line-height: 24px;
}
.form-hint,
.calendar-note,
.calendar-legend,
.intro-image figcaption,
.footer-contact,
.stay-detail,
.review-card figcaption,
.admin-meta {
  font-size: 14px;
  line-height: 20px;
}
.text-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ocean);
  border-bottom-color: var(--ocean);
}

/* Navigation */
.navigation {
  font-size: 15px;
  letter-spacing: 0.01em;
}
.nav-cta {
  border-radius: var(--radius-md);
  border-color: color-mix(in srgb, var(--on-ocean) 60%, transparent);
}

/* Boutons : rayon md, ocean / on-ocean */
.button {
  min-height: 50px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
}
.button-dark {
  color: var(--on-ocean);
  background: var(--ocean);
}
.button-dark:hover {
  background: color-mix(in srgb, var(--ocean) 85%, var(--ink));
}
.button-light {
  color: var(--ink);
  background: var(--surface-100);
}

/* Cartes, photos, panneaux : rayon md, filet hairline */
.calendar-panel,
.booking-form,
.review-card,
.equipment-card,
.place-card,
.moment-card,
.intro-image img,
.key-facts,
.calendar-message,
.empty-state,
.rates-table {
  border-radius: var(--radius-md);
}
.place-card,
.moment-card,
.key-facts {
  overflow: hidden;
}
.calendar-panel,
.booking-form,
.review-card,
.equipment-card,
.place-card {
  border: 1px solid var(--hairline);
  background: #ffffff;
  box-shadow: 0 12px 40px var(--shadow);
}
.review-card {
  border-top: 1px solid var(--hairline);
}
.equipment-card h3 {
  border-bottom: 2px solid var(--ciel);
}
.equipment-card li::before {
  background: var(--ocean);
}
.conditions li::before {
  color: var(--ocean);
}
.empty-state {
  border: 1px solid var(--hairline);
  color: var(--ink);
  background: var(--surface-200);
}
.form-blocked,
.form-error {
  border: 1px solid #c98670;
  border-radius: var(--radius-sm);
  color: #7a3324;
  background: #fbf1ee;
}

/* Champs : rayon sm, filet hairline */
.booking-form input,
.booking-form select {
  border-bottom-color: var(--hairline);
}
.booking-form textarea {
  border-color: var(--hairline);
  border-radius: var(--radius-sm);
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--ocean);
}

/* Pastilles « chiffres clés » */
.facts li {
  border-color: var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--surface-200);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Calendrier : ciel = disponible, granit = réservé */
.calendar-free {
  color: var(--ink);
  background: var(--sky-soft);
}
.calendar-busy {
  color: #6b3426;
  background: color-mix(in srgb, var(--granit) 32%, var(--surface-100));
}
.calendar-past {
  color: var(--ink-muted);
  background: var(--past);
  opacity: 0.7;
}
.legend-free {
  background: var(--ciel);
}
.legend-busy {
  background: var(--granit);
}
.calendar-arrow {
  border-color: var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--ocean);
}

/* Sections */
.moments {
  color: var(--on-ocean);
  background: var(--ocean);
}
.moments-heading > p,
.activity p {
  color: color-mix(in srgb, var(--on-ocean) 85%, transparent);
}
.moment-caption span {
  color: var(--soleil);
}
.place-number {
  color: var(--ink-muted);
}
.detail-icon {
  color: var(--soleil);
}
.cta-band {
  background: var(--sable);
}
.site-footer {
  color: var(--on-ocean);
  background: var(--ink);
}

/* Note des avis : en texte (les étoiles sont réservées au classement) */
.review-rating {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 2px 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--surface-200);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.review-card blockquote p {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 27px;
}

/* Logotype (pictogramme + VILLA + Kerhuella) */
.wordmark {
  gap: 0;
}
.logotype {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.logotype-clair {
  color: var(--on-ocean);
}
.brand-picto {
  width: 40px;
  height: 40px;
  flex: none;
}
.logotype-text {
  display: flex;
  flex-direction: column;
}
.logotype-villa {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.logotype-nom {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.01em;
}

/* Mention du classement (composant Classement, variante compacte) */
.site-footer > p.footer-classement {
  margin: 0;
  font-family: var(--font-sans);
  font-style: normal;
}
.classement {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: color-mix(in srgb, var(--on-ocean) 85%, transparent);
  font-size: 14px;
  line-height: 20px;
}
.classement-etoiles {
  display: inline-flex;
  gap: 2px;
}
.classement-etoiles svg {
  display: block;
  width: 12px;
  height: 12px;
}
.classement-etoiles path {
  fill: var(--soleil);
}

/* Bandeau : plusieurs photos superposées, fondu vers la suivante (script.js) */
.hero-image {
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-image.is-active {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero-image {
    transition: none;
  }
}

@media (max-width: 760px) {
  .brand-picto {
    width: 34px;
    height: 34px;
  }
  .logotype-nom {
    font-size: 20px;
    line-height: 22px;
  }
}

/* Pied de page : logotype étendu avec classement, version fond sombre */
.footer-lockup {
  display: inline-flex;
  border-radius: var(--radius-md);
}
.lockup-classement {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  border: 1px solid color-mix(in srgb, var(--on-ocean) 28%, transparent);
  border-radius: var(--radius-md);
  color: var(--on-ocean);
}
.lockup-nom {
  display: flex;
  flex-direction: column;
}
.lockup-villa {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.lockup-kerhuella {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: -0.01em;
}
.lockup-sep {
  width: 1px;
  align-self: stretch;
  background: color-mix(in srgb, var(--on-ocean) 28%, transparent);
}
.lockup-classe {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 18px;
  color: color-mix(in srgb, var(--on-ocean) 85%, transparent);
}
.lockup-classe .classement-etoiles svg {
  width: 16px;
  height: 16px;
}
.lockup-classe .classement-etoiles path {
  fill: var(--soleil);
  stroke: none;
}
@media (max-width: 420px) {
  .lockup-classement {
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
  }
  .lockup-kerhuella {
    font-size: 28px;
    line-height: 32px;
  }
}

/* Classement : pastille claire (page La maison) */
.pastille-classement {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-6) 0 0;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--surface-200);
}
.pastille-classement .classement-etoiles svg {
  width: 16px;
  height: 16px;
}
.pastille-classement .classement-etoiles path {
  fill: var(--soleil);
  stroke: var(--ink);
  stroke-width: 0.9;
  stroke-linejoin: round;
}
.pastille-texte {
  display: flex;
  flex-direction: column;
}
.pastille-sur {
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pastille-bas {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 20px;
}

/* Carrousel de photos (page La maison) */
.gallery {
  padding-bottom: 6rem;
}
.gallery-track {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding: 0 max(8%, calc((100% - 1160px) / 2));
  scroll-padding: 0 max(8%, calc((100% - 1160px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar {
  display: none;
}
.gallery-track:focus-visible {
  outline-offset: 4px;
}
.gallery-slide {
  flex: 0 0 min(78%, 920px);
  margin: 0;
  scroll-snap-align: center;
}
.gallery-slide img {
  height: clamp(260px, 42vw, 560px);
  border-radius: var(--radius-md);
  background: var(--surface-200);
}
.gallery-slide figcaption {
  margin-top: var(--space-2);
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 20px;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.gallery-controls[hidden] {
  display: none;
}
.gallery-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  color: var(--ocean);
  background: #ffffff;
  cursor: pointer;
  font-size: 18px;
  transition: background 160ms ease, color 160ms ease;
}
.gallery-button:hover:not(:disabled) {
  color: var(--on-ocean);
  background: var(--ocean);
}
.gallery-button:disabled {
  opacity: 0.35;
  cursor: default;
}
.gallery-counter {
  min-width: 4rem;
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-align: center;
}
@media (max-width: 760px) {
  .gallery {
    padding-bottom: 4.5rem;
  }
  .gallery-track {
    padding: 0 7%;
    scroll-padding: 0 7%;
    gap: var(--space-2);
  }
  .gallery-slide {
    flex-basis: 86%;
  }
  .gallery-controls {
    justify-content: center;
  }
}
.gallery-track {
  position: relative; /* positions des diapositives mesurées par rapport à la piste (script.js) */
}

/* Page Contact : liens réseaux sociaux et annonces, sous l’adresse */
.contact-details .contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 4px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  color: var(--ocean);
  background: #ffffff;
  font-size: 15px;
  font-weight: 500;
}
.contact-links a:hover {
  border-color: var(--ocean);
  color: var(--on-ocean);
  background: var(--ocean);
}
