/* ============================================================
   LE MAS DES FLEURS — feuille de style
   Direction artistique : éditoriale, provençale, raffinée.
   Palette : lavande, olivier & pierre.
   ============================================================ */

:root {
  /* Palette — Lavande, olivier & pierre */
  --c-cream:        #efebe1;   /* fond principal, pierre claire */
  --c-cream-warm:   #d8d4c4;   /* fond alternatif, pierre chaude */
  --c-terracotta:   #8a82b3;   /* accent lavande (utilisé avec parcimonie) */
  --c-terracotta-d: #6d6494;   /* lavande profonde */
  --c-olive:        #8a8a52;   /* vert olive clair */
  --c-olive-d:      #4a4b27;   /* olive profond — sections sombres */
  --c-ink:          #2d2e2a;   /* texte principal — gris-vert très foncé */
  --c-ink-soft:     #5a5a55;   /* texte secondaire */
  --c-line:         #c9c4b1;   /* lignes de séparation */
  --c-gold:         #a59a6d;   /* accent doré discret (feuillage argenté) */

  /* Polices */
  --f-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Échelle / espacement */
  --container: 1200px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --section-pad: clamp(4rem, 10vw, 8rem);

  --radius: 2px;
  --shadow-soft: 0 30px 60px -30px rgba(45, 46, 42, 0.28);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Texture papier subtile sur le fond */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(184, 89, 58, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(107, 106, 57, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.02;
  font-weight: 300;
}
h1 em {
  font-style: italic;
  color: var(--c-terracotta-d);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 400;
}
h2 em {
  font-style: italic;
  color: var(--c-terracotta);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.25;
}

p { margin: 0 0 1.2em; }

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-terracotta);
  margin-bottom: 1.5em;
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--c-terracotta);
}

.lede {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-style: italic;
  color: var(--c-ink-soft);
  line-height: 1.5;
  max-width: 38ch;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95em 2em;
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  transition: all 0.35s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--c-terracotta-d);
  color: var(--c-cream);
  border-color: var(--c-terracotta-d);
}
.btn-primary:hover {
  background: var(--c-ink);
  border-color: var(--c-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(45, 46, 42, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn-ghost:hover {
  background: var(--c-ink);
  color: var(--c-cream);
}
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: all 0.35s ease;
  background: transparent;
}
.site-header.is-scrolled {
  background: rgba(245, 239, 228, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--c-ink);
}
.brand-mark {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-terracotta-d);
  color: var(--c-terracotta-d);
  border-radius: 50%;
  letter-spacing: -0.05em;
}
.brand-amp {
  color: var(--c-terracotta);
  margin: 0 0.05em;
}
.brand-name {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-ink);
  position: relative;
  padding: 0.4em 0;
  transition: color 0.25s;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: var(--c-terracotta);
  transition: all 0.3s;
}
.nav a:hover { color: var(--c-terracotta-d); }
.nav a:hover::after { width: 100%; left: 0; }

.nav-cta {
  background: var(--c-terracotta-d);
  color: var(--c-cream) !important;
  padding: 0.7em 1.6em !important;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--c-ink); }
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--c-ink);
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vh, 6rem);
  color: var(--c-cream);
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(45, 46, 42, 0.70) 0%,
    rgba(45, 46, 42, 0.35) 18%,
    rgba(45, 46, 42, 0.25) 40%,
    rgba(45, 46, 42, 0.55) 65%,
    rgba(45, 46, 42, 0.88) 100%
  );
}
.hero-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #3d4128 0%, #6b6a39 30%, #8a8260 60%, #b5a585 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(255, 230, 180, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(120, 80, 50, 0.4) 0%, transparent 50%);
}
.placeholder-label {
  position: relative;
  z-index: 1;
  background: rgba(45, 46, 42, 0.55);
  color: var(--c-cream);
  padding: 0.6em 1.4em;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px dashed rgba(245, 239, 228, 0.5);
  border-radius: var(--radius);
  font-family: var(--f-body);
  text-align: center;
  max-width: 80%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero .eyebrow {
  color: var(--c-cream);
  opacity: 0.9;
}
.hero .eyebrow::before { background: var(--c-cream); }
.hero h1 {
  color: var(--c-cream);
}
.hero h1 em { color: #c8c0e0; }

.hero-tagline {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-style: italic;
  color: rgba(245, 239, 228, 0.92);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero .btn-ghost {
  color: var(--c-cream);
  border-color: var(--c-cream);
}
.hero .btn-ghost:hover {
  background: var(--c-cream);
  color: var(--c-ink);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--gutter);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--c-cream);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: var(--c-cream);
  position: relative;
  overflow: hidden;
}
.scroll-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-terracotta);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-header.center .eyebrow {
  justify-content: center;
}

.grid-2,
.grid-2-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 880px) {
  .grid-2, .grid-2-reverse { grid-template-columns: 1fr; }
  .grid-2-reverse > *:first-child { order: 2; }
}

/* ============================================================
   INTRO / LA MAISON
   ============================================================ */
.section-intro {
  background: var(--c-cream);
  border-top: 1px solid var(--c-line);
}

.key-facts {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  border-top: 1px solid var(--c-line);
  padding-top: 2rem;
}
.key-facts li {
  display: flex;
  flex-direction: column;
}
.key-facts strong {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--c-terracotta-d);
  line-height: 1;
}
.key-facts span {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-top: 0.4em;
}

/* Placeholders d'images */
.image-placeholder {
  background:
    linear-gradient(135deg, #b5a585 0%, #8a8260 50%, #6b6a52 100%);
  border-radius: var(--radius);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255, 230, 180, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(60, 40, 30, 0.3) 0%, transparent 60%);
}
.ratio-portrait  { aspect-ratio: 3 / 4; }
.ratio-landscape { aspect-ratio: 4 / 3; }
.ratio-square    { aspect-ratio: 1 / 1; }
.ratio-tall      { aspect-ratio: 4 / 5; }

/* ============================================================
   CITATION
   ============================================================ */
.section-quote {
  background: var(--c-ink);
  color: var(--c-cream);
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-quote::before,
.section-quote::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 1px;
  background: var(--c-terracotta);
  top: 50%;
}
.section-quote::before { left: -100px; }
.section-quote::after  { right: -100px; }

blockquote {
  margin: 0;
  padding: 0;
}
blockquote p {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  max-width: 26ch;
  margin: 0 auto 1.5rem;
  color: var(--c-cream);
}
blockquote footer {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.65);
}
.rating {
  color: var(--c-terracotta);
  margin-left: 0.6em;
  font-weight: 600;
}

/* ============================================================
   CHAMBRES
   ============================================================ */
.section-rooms {
  background: var(--c-cream-warm);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}
.room-card-wide { grid-column: span 2; }
@media (max-width: 900px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .room-card-wide { grid-column: span 2; }
}
@media (max-width: 580px) {
  .rooms-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .room-card-wide { grid-column: span 1; }

  /* Mobile : photo plus petite, descriptif mis en valeur */
  .room-card {
    padding: 1rem;
  }
  .room-card .image-placeholder.ratio-landscape,
  .room-card img.ratio-landscape {
    aspect-ratio: 16 / 10;   /* photo plus courte qu'en desktop */
    margin-bottom: 1rem;
  }
  .room-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3em;
  }
  .room-card .room-meta {
    font-size: 0.72rem;
    margin-bottom: 0.6em;
  }
  .room-card p:last-child {
    color: var(--c-ink);         /* descriptif plus contrasté */
    font-size: 1rem;
    line-height: 1.55;
  }
}

.room-card {
  background: var(--c-cream);
  padding: 1.4rem;
  border-radius: var(--radius);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid var(--c-line);
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.room-card .image-placeholder {
  margin-bottom: 1.2rem;
  box-shadow: none;
}
.room-card h3 {
  margin-bottom: 0.2em;
}
.room-meta {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  margin-bottom: 0.8em;
}
.room-card p:last-child {
  margin-bottom: 0;
  color: var(--c-ink-soft);
}

.amenities {
  border-top: 1px solid var(--c-line);
  padding-top: 3rem;
}
.amenities h3 {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--c-terracotta-d);
}
.amenities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.9rem 2rem;
}
.amenities-list li {
  position: relative;
  padding-left: 1.4em;
  color: var(--c-ink-soft);
  font-size: 0.95rem;
}
.amenities-list li::before {
  content: "◇";
  position: absolute;
  left: 0;
  color: var(--c-terracotta);
}

/* ============================================================
   PISCINE & JARDIN
   ============================================================ */
.section-pool {
  background: var(--c-olive-d);
  color: var(--c-cream);
}
.section-pool .eyebrow {
  color: #e8e4cc;
}
.section-pool .eyebrow::before {
  background: #e8e4cc;
}
.section-pool h2 {
  color: var(--c-cream);
}
.section-pool h2 em {
  color: #e8e4cc;
}
.section-pool p,
.section-pool strong {
  color: rgba(245, 239, 228, 0.92);
}

.pool-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
}
.pool-features li {
  display: flex;
  align-items: center;
  gap: 0.8em;
  font-size: 0.95rem;
  color: rgba(245, 239, 228, 0.92);
  border-top: 1px solid rgba(245, 239, 228, 0.15);
  padding-top: 1rem;
}
.feature-icon {
  color: #e8e4cc;
  font-size: 1.1em;
}
.pool-features strong {
  color: var(--c-cream);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================================
   GALERIE
   ============================================================ */
.section-gallery {
  background: var(--c-cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
}
.gallery-item {
  width: 100%;
  height: 100%;
}
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery-wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-tall { grid-row: span 1; }
  .gallery-wide { grid-column: span 1; }
}

.gallery-note {
  text-align: center;
  margin-top: 2rem;
  font-style: italic;
  color: var(--c-ink-soft);
  font-family: var(--f-display);
  font-size: 1.1rem;
}

/* ============================================================
   ALENTOURS
   ============================================================ */
.section-around {
  background: var(--c-cream-warm);
}

.around-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.around-card-feature {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  align-items: stretch;
}
.around-card-feature .image-placeholder {
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}
.around-card-feature .around-card-body {
  padding: clamp(1.8rem, 3vw, 3rem);
}
.around-card-feature h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--c-terracotta-d);
}

.around-card {
  background: var(--c-cream);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}
.around-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.around-card .image-placeholder {
  border-radius: 0;
  box-shadow: none;
}
.around-card-body {
  padding: 1.6rem 1.4rem;
}
.around-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5em;
}
.around-card p {
  color: var(--c-ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 900px) {
  .around-grid { grid-template-columns: repeat(2, 1fr); }
  .around-card-feature {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .around-grid { grid-template-columns: 1fr; }
  .around-card-feature { grid-column: span 1; }
}

/* ============================================================
   ACCÈS
   ============================================================ */
.section-access {
  background: var(--c-cream);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}
.access-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem 0.6rem;
  border-left: 1px solid var(--c-line);
}
.access-item:first-child { border-left: none; }
.access-value {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--c-terracotta-d);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.5em;
}
.access-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .access-grid { grid-template-columns: repeat(3, 1fr); }
  .access-item { border-left: none; border-bottom: 1px solid var(--c-line); padding-bottom: 1.6rem; }
}
@media (max-width: 560px) {
  .access-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Images réelles — se comportent comme les placeholders (recadrage propre) */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.intro-image .img-cover,
.pool-image .img-cover,
.hosts-image.img-cover,
.room-card .img-cover,
.around-card .img-cover {
  box-shadow: var(--shadow-soft);
}
.room-card .img-cover,
.around-card .img-cover {
  box-shadow: none;
}
.intro-image .img-cover,
.pool-image .img-cover {
  /* applique le ratio comme dans les placeholders */
}
.around-card .img-cover {
  box-shadow: none;
}

/* Icônes décoratives pour les cartes alentours sans photo */
.around-icon {
  background: var(--c-olive-d);
  color: var(--c-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.around-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(200, 192, 224, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.15) 0%, transparent 50%);
}
.around-icon svg {
  position: relative;
  width: 38%;
  height: 38%;
  opacity: 0.85;
}
.around-icon.ratio-square { aspect-ratio: 1 / 1; }

.intro-image img.ratio-portrait { aspect-ratio: 3 / 4; }
.pool-image img.ratio-tall      { aspect-ratio: 4 / 5; }
.room-card img.ratio-landscape  { aspect-ratio: 4 / 3; margin-bottom: 1.2rem; }
.around-card img.ratio-square   { aspect-ratio: 1 / 1; }
.hosts-portrait img.ratio-portrait { aspect-ratio: 3 / 4; }

/* Hero — image en arrière-plan plein écran */
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Galerie — les .gallery-item sans placeholder doivent quand même prendre toute la place */
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-item img.img-cover {
  border-radius: 0;
}

/* ============================================================
   PROPRIÉTAIRES (Les hôtes)
   ============================================================ */
.section-hosts {
  background: var(--c-cream);
  position: relative;
}
.section-hosts::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--c-line);
}

.hosts-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 880px) {
  .hosts-inner { grid-template-columns: 1fr; }
}

.hosts-portrait {
  position: relative;
}
.hosts-image {
  position: relative;
  z-index: 1;
}
.hosts-image::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: -1.5rem;
  bottom: -1.5rem;
  border: 1px solid var(--c-terracotta);
  z-index: -1;
  border-radius: var(--radius);
}

.hosts-signature {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 0.5rem;
}
.signature-line {
  width: 40px;
  height: 1px;
  background: var(--c-terracotta-d);
}
.signature-name {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--c-terracotta-d);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hosts-text h2 em {
  color: var(--c-terracotta-d);
}
.hosts-lede {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-style: italic;
  color: var(--c-olive-d);
  line-height: 1.5;
  margin-bottom: 1.8rem;
  font-weight: 400;
}

.hosts-quote {
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--c-line);
}
.hosts-quote p {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--c-ink-soft);
  line-height: 1.6;
  margin: 0;
  position: relative;
  padding-left: 1.5rem;
}
.hosts-quote p::before {
  content: "“";
  position: absolute;
  left: -0.2rem;
  top: -0.5rem;
  font-size: 3rem;
  color: var(--c-terracotta);
  line-height: 1;
  font-family: var(--f-display);
}

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact {
  background: var(--c-ink);
  color: var(--c-cream);
}
.section-contact .eyebrow { color: #c8c0e0; }
.section-contact .eyebrow::before { background: #c8c0e0; }
.section-contact h2 { color: var(--c-cream); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) {
  .contact-inner { grid-template-columns: 1fr; }
}

.contact-text p {
  color: rgba(245, 239, 228, 0.85);
}
.contact-direct {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(245, 239, 228, 0.18);
  padding-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.contact-direct p {
  margin: 0;
}
.contact-direct strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(245, 239, 228, 0.55);
  margin-bottom: 0.5em;
}
.contact-direct a {
  color: var(--c-cream);
  text-decoration: none;
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-style: italic;
  transition: color 0.25s;
}
.contact-direct a:hover { color: #c8c0e0; }

.contact-form {
  background: rgba(245, 239, 228, 0.04);
  border: 1px solid rgba(245, 239, 228, 0.12);
  padding: clamp(1.8rem, 3vw, 2.5rem);
  border-radius: var(--radius);
}
.field {
  margin-bottom: 1.2rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.7);
  margin-bottom: 0.5em;
  font-weight: 500;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245, 239, 228, 0.25);
  padding: 0.65em 0;
  color: var(--c-cream);
  font-family: var(--f-body);
  font-size: 1rem;
  transition: border-color 0.25s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--c-terracotta);
}
.field textarea {
  resize: vertical;
  min-height: 80px;
}
.field input::-webkit-calendar-picker-indicator {
  filter: invert(0.85);
  cursor: pointer;
}
.form-note {
  margin: 1.2rem 0 0;
  font-size: 0.82rem;
  color: rgba(245, 239, 228, 0.55);
  text-align: center;
  font-style: italic;
}

.section-contact .btn-primary {
  background: var(--c-terracotta);
  border-color: var(--c-terracotta);
  margin-top: 0.5rem;
}
.section-contact .btn-primary:hover {
  background: var(--c-cream);
  color: var(--c-ink);
  border-color: var(--c-cream);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-cream-warm);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--c-line);
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--c-ink-soft);
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.footer-nav a {
  text-decoration: none;
  color: var(--c-ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.footer-nav a:hover { color: var(--c-terracotta-d); }
.footer-credit {
  font-size: 0.8rem;
  color: var(--c-ink-soft);
  margin: 0;
  font-style: italic;
}

/* ============================================================
   RÉVÉLATION AU SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-line::before { animation: none; }
  * { transition-duration: 0.001s !important; }
}

/* ============================================================
   RESPONSIVE — NAVIGATION MOBILE
   ============================================================ */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .brand-name { display: none; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85%, 360px);
    background: var(--c-cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 2.5rem;
    gap: 1.8rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    box-shadow: -20px 0 40px rgba(0,0,0,0.15);
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { font-size: 0.9rem; }
  .nav-cta { align-self: stretch; text-align: center; }
}

/* ============================================================
   OVERRIDE FINAL — Cartes chambres en mobile
   (placé en dernier pour gagner la spécificité de cascade)
   ============================================================ */
@media (max-width: 580px) {
  .room-card .image-placeholder.ratio-landscape,
  .room-card img.ratio-landscape {
    aspect-ratio: 16 / 10;
    height: auto;            /* libère le 100% imposé par .img-cover */
    margin-bottom: 1rem;
  }
  .room-card {
    padding: 1rem 1.1rem 1.3rem;
  }
  .room-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3em;
  }
  .room-card .room-meta {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.7em;
  }
  .room-card p:last-child {
    color: var(--c-ink);
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 0;
  }
}

/* ============================================================
   OVERRIDE FINAL — Photos chambres et alentours : forcer aspect-ratio
   (placé en dernier pour gagner la cascade)
   ============================================================ */

/* Photos chambres : 4/3 paysage, hauteur libre */
.room-card img.ratio-landscape {
  aspect-ratio: 4 / 3;
  height: auto;
  width: 100%;
}

/* Cartes alentours : photo carrée uniforme */
.around-card img.ratio-square,
.around-card .around-icon.ratio-square {
  aspect-ratio: 1 / 1;
  height: auto;
  width: 100%;
}

/* Carte feature alentours : photo 16/9 sur largeur complète */
.around-card-feature img.ratio-square {
  aspect-ratio: 21 / 9;
  height: auto;
}
@media (max-width: 900px) {
  .around-card-feature img.ratio-square {
    aspect-ratio: 4 / 3;
  }
}

/* Hôtes : photo verticale 3/4 */
.hosts-portrait img.ratio-portrait {
  aspect-ratio: 3 / 4;
  height: auto;
  width: 100%;
}

/* Mobile chambres : photo plus courte 16/10 */
@media (max-width: 580px) {
  .room-card img.ratio-landscape {
    aspect-ratio: 16 / 10;
  }
}

/* ============================================================
   SECTION CONTACT SIMPLIFIÉE (sans formulaire)
   ============================================================ */
.contact-simple {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.contact-simple .eyebrow {
  justify-content: center;
}
.contact-simple h2 {
  margin-bottom: 1.5rem;
}
.contact-simple h2 em {
  color: #c8c0e0;
}
.contact-intro {
  color: rgba(245, 239, 228, 0.85);
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-style: italic;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 auto 3rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 640px) {
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(245, 239, 228, 0.06);
  border: 1px solid rgba(245, 239, 228, 0.18);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--c-cream);
  transition: all 0.3s ease;
}
.contact-card:hover {
  background: rgba(245, 239, 228, 0.12);
  border-color: var(--c-terracotta);
  transform: translateY(-3px);
}
.contact-card-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.55);
  margin-bottom: 0.8em;
  font-weight: 500;
}
.contact-card-value {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--c-cream);
  letter-spacing: 0.01em;
}
.contact-card:hover .contact-card-value {
  color: #c8c0e0;
}
.contact-note {
  font-size: 0.85rem;
  color: rgba(245, 239, 228, 0.55);
  font-style: italic;
  margin: 0;
}

/* ============================================================
   OVERRIDE FINAL — Lisibilité du Hero
   ============================================================ */

/* Ombre portée pour faire ressortir tous les textes sur la photo */
.hero h1,
.hero .eyebrow,
.hero-tagline {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Italique lavande : un peu plus saturé pour rester visible sur ciel bleu */
.hero h1 em {
  color: #b8aed4;
  text-shadow: 0 2px 20px rgba(45, 46, 42, 0.85), 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Eyebrow plus contrasté */
.hero .eyebrow {
  color: #fff;
  opacity: 1;
  font-weight: 600;
}

/* Tagline (sous-titre) avec léger fond pour assurer la lecture */
.hero-tagline {
  color: #fff;
  font-weight: 400;
}

/* Boutons : ombre légère pour qu'ils ressortent aussi */
.hero-actions .btn {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Barre de menu en haut : voile sombre dédié uniquement avant scroll */
.site-header:not(.is-scrolled)::before {
  content: "";
  position: absolute;
  inset: 0;
  bottom: -30px;
  background: linear-gradient(
    180deg,
    rgba(45, 46, 42, 0.55) 0%,
    rgba(45, 46, 42, 0.3) 60%,
    transparent 100%
  );
  z-index: -1;
  pointer-events: none;
}

/* Logo et menu : ombre seulement quand non scrollé (sur photo) */
.site-header:not(.is-scrolled) .brand,
.site-header:not(.is-scrolled) .nav a {
  color: var(--c-cream);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
}
.site-header:not(.is-scrolled) .brand-mark {
  border-color: rgba(245, 239, 228, 0.7);
  color: var(--c-cream);
}
