/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F8F5EF;
  --sand: #EFE8D9;
  --stone: #CBB896;
  --gold: #A9823E;
  --gold-deep: #8D6B30;
  --ink: #1E1C18;
  --text: #39342C;
  --muted: #6F6659;
  --white: #FFFFFF;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 40px rgba(30, 28, 24, 0.08);
  --shadow-lift: 0 20px 60px rgba(30, 28, 24, 0.16);
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* The photos come from an older compact camera: slightly flat and dull.
     A measured lift wakes them up without looking filtered. */
  --photo: brightness(1.07) contrast(1.06) saturate(1.14);
  --photo-hover: brightness(1.12) contrast(1.08) saturate(1.2);
}

html { scroll-behavior: smooth; }

#top, #gite, #chambres, #piscine, #equipements, #tarifs, #infos, #alentours, #contact { scroll-margin-top: 84px; }

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* Photo treatment — applied to content photography, not the logo or icons. */
.hero-slide,
.intro-img img,
.bento-item img,
.room-img img,
.piscine-imgs img,
.t-item img,
.lightbox img {
  filter: var(--photo);
}
.bento-item:hover img,
.room-card:hover .room-img img,
.piscine-imgs img:hover,
.t-item:hover img,
.intro-img:hover img {
  filter: var(--photo-hover);
}
sup { font-size: 0.65em; vertical-align: super; line-height: 0; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--white);
  padding: 1rem 1.5rem; z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 5vw; }

.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; display: inline-block; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 300; color: var(--ink);
  line-height: 1.15; letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--gold); }

.section-head { max-width: 640px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead { color: var(--muted); font-weight: 300; margin-top: 1rem; font-size: 0.95rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-family: inherit; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s, border-color .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--white); box-shadow: 0 8px 24px rgba(169, 130, 62, 0.35); }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(169, 130, 62, 0.4); }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--gold); transform: translateY(-3px); }
.btn-outline-dark { border-color: rgba(30,28,24,0.25); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 0.7rem 1.4rem; font-size: 0.74rem; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.1rem 5vw;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 0.7rem 5vw;
  box-shadow: 0 4px 30px rgba(30,28,24,0.07);
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img {
  height: 44px; width: auto;
  background: rgba(255,255,255,0.88);
  padding: 4px 8px; border-radius: var(--radius-sm);
  transition: background 0.4s, height 0.4s var(--ease);
}
.nav.scrolled .nav-logo img { background: transparent; height: 38px; }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a:not(.btn) {
  text-decoration: none; color: rgba(255,255,255,0.9);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  position: relative; padding-bottom: 4px;
  transition: color 0.3s;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.nav.scrolled .nav-links a:not(.btn) { color: var(--text); text-shadow: none; }
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--gold); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 10px; z-index: 210;
}
.nav-burger span {
  width: 24px; height: 2px; background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: transform 0.3s var(--ease), opacity 0.3s, background 0.3s;
}
.nav.scrolled .nav-burger span { background: var(--ink); box-shadow: none; }
.nav-burger.open span { background: var(--white); box-shadow: none; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  height: 100svh; min-height: 620px; position: relative;
  display: flex; align-items: flex-end; overflow: hidden; background: var(--ink);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,15,0.42) 0%, rgba(20,18,15,0.3) 35%, rgba(20,18,15,0.88) 100%);
}
.hero-content { position: relative; padding: 0 5vw 7rem; max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.14); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.28); color: var(--white);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.5rem 1.1rem; border-radius: 100px;
  margin-bottom: 1.8rem; font-weight: 500;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 300; color: var(--white);
  line-height: 1.05; margin-bottom: 1.3rem; letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: var(--stone); }
.hero-desc { color: rgba(255,255,255,0.82); font-size: 1.02rem; font-weight: 300; max-width: 490px; margin-bottom: 2.4rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-dots { position: absolute; bottom: 2.6rem; right: 5vw; display: flex; gap: 10px; z-index: 5; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; border: none; padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.dot.active { background: var(--stone); transform: scale(1.4); }

.scroll-cue {
  position: absolute; left: 5vw; bottom: 2.6rem;
  display: flex; align-items: center; gap: 0.7rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue .line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--stone); animation: scrollLine 2s infinite;
}
@keyframes scrollLine { to { top: 100%; } }
@media (max-width: 760px) { .scroll-cue { display: none; } }

/* ===== STATS BAR ===== */
.statbar { background: var(--ink); padding: 1.7rem 5vw; display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.statbar-item { display: flex; align-items: center; gap: 0.65rem; color: var(--stone); font-size: 0.84rem; font-weight: 300; letter-spacing: 0.03em; }
.statbar-item svg { flex-shrink: 0; opacity: 0.9; }

/* ===== INTRO ===== */
.intro { padding: 8rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5.5rem; align-items: center; }
.intro-text p { color: var(--muted); font-weight: 300; margin-bottom: 1rem; font-size: 0.98rem; }
.intro-text p strong { color: var(--text); font-weight: 600; }
.intro-text .btn { margin-top: 1.6rem; }

.intro-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.intro-img img { width: 100%; height: 560px; object-fit: cover; transition: transform 1.2s var(--ease); }
.intro-img:hover img { transform: scale(1.04); }
.intro-stats {
  position: absolute; bottom: 1.4rem; left: 1.4rem; right: 1.4rem;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(14px);
  border-radius: var(--radius-md); padding: 1.3rem 1.6rem;
  display: flex; gap: 2rem; box-shadow: var(--shadow-soft);
}
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; font-weight: 400; color: var(--gold); line-height: 1; }
.stat-num small { font-size: 1rem; }
.stat-label { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.35rem; }

/* ===== GALLERY (bento) ===== */
.gallery-wrap { background: var(--cream); padding: 7rem 0; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 240px 240px; gap: 14px; }
.bento-item { position: relative; overflow: hidden; border-radius: var(--radius-md); cursor: zoom-in; background: var(--sand); }
.bento-item.b-big { grid-column: span 2; grid-row: span 2; }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.4s; }
.bento-item:hover img { transform: scale(1.08); }
.bento-cap {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20,18,15,0.78) 100%);
  display: flex; align-items: flex-end; padding: 1.1rem;
  opacity: 0; transition: opacity 0.35s;
}
.bento-item:hover .bento-cap, .bento-item:focus-visible .bento-cap { opacity: 1; }
.bento-cap span { color: var(--white); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.bento-cap span em { font-style: normal; color: var(--stone); font-weight: 400; }
.bento-zoom {
  position: absolute; top: 0.8rem; right: 0.8rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.7); transition: all 0.3s var(--ease);
}
.bento-item:hover .bento-zoom { opacity: 1; transform: scale(1); }

/* ===== ROOMS ===== */
.rooms-wrap { padding: 8rem 0; }
.rooms-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.2rem; flex-wrap: wrap; gap: 1.2rem; }
.rooms-header .section-head { margin-bottom: 0; }
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.room-card {
  overflow: hidden; border-radius: var(--radius-md); background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.room-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-6px); }
.room-img { overflow: hidden; height: 230px; cursor: zoom-in; position: relative; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.4s; }

/* Tells the visitor there is more to see before they click. */
.photo-count {
  position: absolute; bottom: 0.8rem; right: 0.8rem;
  background: rgba(20,18,15,0.72); backdrop-filter: blur(6px);
  color: var(--white); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 100px;
  display: flex; align-items: center; gap: 0.35rem;
  transition: background 0.3s;
}
.photo-count::before {
  content: ''; width: 11px; height: 9px;
  border: 1.5px solid currentColor; border-radius: 2px;
  box-shadow: 2px -2px 0 -0.5px rgba(255,255,255,0.55);
}
.room-card:hover .photo-count { background: var(--gold); }

.imgs-hint {
  color: rgba(255,255,255,0.45); font-size: 0.78rem;
  font-weight: 300; text-align: center; margin-top: 1rem;
}
.room-card:hover .room-img img { transform: scale(1.08); }
.room-body { padding: 1.5rem 1.6rem 1.7rem; }
.room-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 500; color: var(--ink); margin-bottom: 0.7rem; }
.room-body p { color: var(--muted); font-size: 0.87rem; font-weight: 300; }
.room-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.chip {
  display: inline-block; background: var(--cream); color: var(--gold-deep);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.28rem 0.65rem; border-radius: 100px; white-space: nowrap;
}
/* Signals a room that has just been redecorated. */
.chip-new { background: var(--gold); color: var(--white); }

.room-card.room-info-card {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--sand), var(--cream));
  min-height: 300px; box-shadow: none; border: 1px solid var(--sand);
}
.room-info-card .inner { text-align: center; padding: 2rem 1.6rem; }
.room-info-card .big-num { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 300; color: var(--gold); line-height: 1; }
.room-info-card .big-label { color: var(--ink); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0.5rem 0 1rem; line-height: 1.5; }
.room-info-card .info-note { font-size: 0.78rem; color: var(--muted); margin-bottom: 1.4rem; }

/* ===== PISCINE ===== */
.piscine-section { background: var(--ink); padding: 8rem 0 7rem; color: var(--white); }
.piscine-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5.5rem; align-items: center; }
.piscine-text .eyebrow { color: var(--stone); }
.piscine-text .section-title { color: var(--white); margin-bottom: 1.3rem; }
.piscine-text .section-title em { color: var(--stone); }
.piscine-text p { color: rgba(255,255,255,0.62); font-weight: 300; margin-bottom: 1rem; font-size: 0.96rem; }
.piscine-list { list-style: none; margin: 1.6rem 0 0; }
.piscine-list li {
  color: rgba(255,255,255,0.78); font-weight: 300; font-size: 0.9rem;
  padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 0.8rem;
}
.piscine-list li svg { color: var(--gold); flex-shrink: 0; }

.piscine-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.piscine-imgs img {
  width: 100%; height: 230px; object-fit: cover; display: block;
  cursor: zoom-in; border-radius: var(--radius-md);
  transition: transform 0.6s var(--ease);
}
.piscine-imgs img:hover { transform: scale(1.03); }
.piscine-main-img { grid-column: 1 / 3; height: 320px !important; }

.terrasse-row { margin-top: 5rem; }
.terrasse-row-head { text-align: center; margin-bottom: 2.6rem; }
.terrasse-row-head .eyebrow { color: var(--stone); }
.terrasse-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.t-item { overflow: hidden; position: relative; border-radius: var(--radius-md); cursor: zoom-in; aspect-ratio: 3/4; }
.t-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease), filter 0.4s; }
.t-item:hover img { transform: scale(1.1); }
.t-cap {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.78) 100%);
  display: flex; align-items: flex-end; padding: 0.9rem;
  opacity: 0; transition: opacity 0.3s;
}
.t-item:hover .t-cap { opacity: 1; }
.t-cap p { color: var(--stone); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.t-cap p em {
  font-style: normal; background: var(--gold); color: var(--white);
  padding: 0.1rem 0.4rem; border-radius: 100px; margin-left: 0.3rem; font-size: 0.64rem;
}

/* ===== EQUIPEMENTS ===== */
.equip-wrap { padding: 8rem 0; background: var(--cream); }
.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.equip-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.equip-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.equip-card h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 500;
  color: var(--ink); margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.equip-card h3 svg { color: var(--gold); flex-shrink: 0; }
.equip-card p { font-size: 0.87rem; color: var(--muted); font-weight: 300; }
.equip-card p strong { color: var(--gold-deep); font-weight: 600; }
.equip-card-note { background: var(--sand); box-shadow: none; }

/* ===== TARIFS ===== */
.tarifs-wrap { padding: 8rem 0; }
.tarifs-subtitle {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500;
  color: var(--ink); margin: 0 0 1.4rem; text-align: center;
}
.tarifs-subtitle small { font-size: 0.85rem; font-family: 'DM Sans', sans-serif; font-weight: 300; color: var(--muted); }
.tarifs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-bottom: 3.5rem; }
.tarifs-grid-3 { grid-template-columns: repeat(3, 1fr); }
/* Each rate is a real button: clicking it starts the booking request. */
.tarif-card {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem 1.6rem; text-align: center;
  font-family: inherit; color: inherit; width: 100%; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 0;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.tarif-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--stone); }
.tarif-card:active { transform: translateY(-2px); }

.tarif-cta {
  margin-top: 1.1rem; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.tarif-card:hover .tarif-cta,
.tarif-card:focus-visible .tarif-cta { opacity: 1; transform: translateY(0); }

/* Confirms which rate was carried into the form. */
.tarif-card.is-chosen { border-color: var(--gold); background: #FFFDF8; box-shadow: var(--shadow-soft); }
.tarif-card.is-chosen .tarif-cta { opacity: 1; transform: none; color: var(--gold-deep); }
.tarif-card.is-chosen .tarif-cta::before { content: '✓ '; }

@media (hover: none) {
  .tarif-cta { opacity: 1; transform: none; }
}
.tarif-card.featured { border-color: var(--gold); position: relative; }
.tarifs-repli {
  text-align: center; color: var(--muted); font-weight: 300;
  font-size: 0.95rem; max-width: 34rem; margin: 0 auto 2rem;
}

.tarif-card.featured::before {
  content: attr(data-etiquette); position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--white); font-size: 0.64rem;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.3rem 0.9rem;
  border-radius: 100px; font-weight: 600;
}
.tarif-period { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1rem; }
.tarif-price {
  font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 400;
  color: var(--ink); line-height: 1; display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.tarif-price .cur { font-size: 1.3rem; color: var(--gold); margin-left: 3px; }
.tarif-price .from { font-size: 0.8rem; font-family: 'DM Sans', sans-serif; font-weight: 400; color: var(--muted); margin-right: 4px; }
.tarif-price .dash { font-size: 1.4rem; color: var(--muted); margin: 0 2px; }
.tarif-note { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; font-weight: 300; line-height: 1.5; }
.tarif-note small { font-size: 0.74rem; opacity: 0.85; }

.tarifs-extra {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--sand); border: 1px solid var(--sand);
  border-radius: var(--radius-md); overflow: hidden; margin-top: 1rem;
}
.extra-item { background: var(--white); padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.15rem; }
.extra-label { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.extra-val { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--gold); font-weight: 500; line-height: 1.2; }
.extra-sub { font-size: 0.72rem; color: var(--muted); font-weight: 300; }

.tarifs-foot { text-align: center; margin-top: 2.8rem; }
.tarifs-foot p { color: var(--muted); font-size: 0.85rem; font-weight: 300; margin-bottom: 1.5rem; }

/* ===== FAQ / INFOS ===== */
.faq-wrap { padding: 7rem 0; background: var(--ink); }
.faq-wrap .section-title { color: var(--white); }
.faq-wrap .eyebrow { color: var(--stone); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.12); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
  color: var(--white); font-size: 1rem; font-weight: 400;
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--stone); }
.faq-item summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 300; color: var(--gold);
  transition: transform 0.3s var(--ease);
  line-height: 1;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary { color: var(--stone); }
.faq-body { padding: 0 2.5rem 1.6rem 0; }
.faq-body p { color: rgba(255,255,255,0.6); font-size: 0.9rem; font-weight: 300; margin-bottom: 0.7rem; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body strong { color: var(--stone); font-weight: 600; }

/* ===== ALENTOURS ===== */
.alentours-wrap { padding: 8rem 0; }
.alentours-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.alentour {
  padding: 2.2rem 1.4rem; border-radius: var(--radius-md); text-align: center;
  background: var(--cream); transition: transform 0.35s var(--ease), background 0.35s;
}
.alentour:hover { transform: translateY(-5px); background: var(--sand); }
.alentour-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem; font-size: 1.5rem; box-shadow: var(--shadow-soft);
}
.alentour h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.12rem; font-weight: 500; color: var(--ink); margin-bottom: 0.4rem; }
.alentour p { font-size: 0.82rem; color: var(--muted); font-weight: 300; }

/* ===== AVIS ===== */
.avis-wrap { padding: 7rem 0; background: var(--sand); }
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.avis-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem 1.9rem; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 1rem;
}
.avis-card blockquote { position: relative; }
.avis-card blockquote::before {
  content: '"'; font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; color: var(--stone); line-height: 0.6;
  display: block; margin-bottom: 0.4rem;
}
.avis-card p { font-size: 0.92rem; color: var(--text); font-weight: 300; font-style: italic; line-height: 1.65; }
.avis-author { font-size: 0.8rem; color: var(--ink); font-weight: 600; margin-top: auto; }
.avis-author span { color: var(--muted); font-weight: 300; }

/* ===== MAP BANNER ===== */
.map-banner {
  background: var(--ink); padding: 2.2rem 5vw;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem;
}
.map-banner p { color: var(--stone); font-size: 0.88rem; font-weight: 300; }
.map-banner strong { color: var(--white); display: block; margin-bottom: 0.2rem; font-size: 1rem; }

/* ===== CONTACT ===== */
.contact-wrap { background: var(--cream); padding: 8rem 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 5.5rem; align-items: start; }
.contact-info .section-title { margin-bottom: 1.3rem; }
.contact-info > p { color: var(--muted); font-weight: 300; margin-bottom: 2rem; font-size: 0.96rem; }
.c-row { display: flex; align-items: flex-start; gap: 1.1rem; margin-bottom: 1.3rem; }
.c-icon {
  width: 42px; height: 42px; background: var(--white); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--shadow-soft); color: var(--gold);
}
.c-text strong { display: block; color: var(--ink); font-weight: 600; }
.c-text span { color: var(--muted); font-size: 0.85rem; font-weight: 300; }
.c-text a { text-decoration: none; }
.c-text a:hover { color: var(--gold); }

.contact-form {
  display: flex; flex-direction: column; gap: 1rem;
  background: var(--white); padding: 2.4rem;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
}
/* Affiché quand l'envoi automatique échoue : on propose une issue
   plutôt que de laisser le visiteur devant un formulaire muet. */
.form-echec {
  background: #FFF4F2; border-left: 3px solid #C0392B;
  border-radius: var(--radius-sm); padding: 1rem 1.2rem;
}
.form-echec[hidden] { display: none; }
.form-echec strong { color: #96281B; display: block; margin-bottom: 0.3rem; font-size: 0.9rem; }
.form-echec p { color: #7A3129; font-size: 0.85rem; font-weight: 300; margin-bottom: 0.9rem; }
.form-echec-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ===== DISPONIBILITÉS ===== */
.dispo-message {
  font-size: 0.85rem; font-weight: 400;
  padding: 0.8rem 1rem; border-radius: var(--radius-sm);
  border-left: 3px solid; margin-top: -0.2rem;
}
.dispo-message[hidden] { display: none; }
.dispo-message strong { font-weight: 600; }
.dispo-message.libre  { background: #F0F7F0; border-color: #4C9A52; color: #2E6B33; }
.dispo-message.occupe { background: #FFF8E1; border-color: #E0A800; color: #7A5F00; }

.dispo-bloc {
  margin-top: 2rem; padding: 1.4rem 1.6rem;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.dispo-bloc[hidden] { display: none; }
.dispo-bloc h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  font-weight: 500; color: var(--ink); margin-bottom: 0.8rem;
}
.dispo-maj { font-size: 0.76rem; color: var(--muted); font-weight: 300; line-height: 1.6; }

/* ===== CALENDRIER ===== */
.cal-entete {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.cal-entete h3 { margin: 0; }
.cal-nav { display: flex; align-items: center; gap: 0.5rem; }
.cal-nav button {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--sand); background: var(--white);
  color: var(--ink); cursor: pointer; font-size: 1.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.cal-nav button:hover { background: var(--cream); border-color: var(--gold); }
#cal-mois {
  font-size: 0.85rem; font-weight: 600; color: var(--ink);
  min-width: 8.5rem; text-align: center; text-transform: capitalize;
}

.cal-grille {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px;
}
.cal-jour-nom {
  text-align: center; font-size: 0.68rem; font-weight: 600;
  color: var(--muted); text-transform: uppercase; padding-bottom: 0.3rem;
}
.cal-case {
  aspect-ratio: 1; border: none; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.8rem; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--text);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.cal-case.vide { background: transparent; }

/* Libre : cliquable. */
.cal-case.libre { cursor: pointer; background: #F0F7F0; color: #2E6B33; }
.cal-case.libre:hover { background: #D6EAD8; transform: scale(1.08); }

/* Réservé : barré, non cliquable. */
.cal-case.occupe {
  background: var(--sand); color: var(--muted);
  cursor: not-allowed; text-decoration: line-through;
}
.cal-case.passe { background: transparent; color: #CFC9BF; cursor: default; }

/* Séjour en cours de sélection. */
.cal-case.entre { background: var(--stone); color: var(--white); border-radius: 0; }
.cal-case.debut, .cal-case.fin { background: var(--gold); color: var(--white); }
.cal-case.debut { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.cal-case.fin   { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.cal-case.debut.fin { border-radius: var(--radius-sm); }

.cal-legende {
  display: flex; gap: 1.1rem; flex-wrap: wrap;
  margin: 1rem 0 0.8rem; font-size: 0.74rem; color: var(--muted);
}
.cal-legende span { display: flex; align-items: center; gap: 0.35rem; }
.pastille { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.pastille.libre  { background: #D6EAD8; }
.pastille.occupe { background: var(--sand); }
.pastille.choisi { background: var(--gold); }

/* Piège à robots : hors écran plutôt que display:none, que certains
   automates détectent et contournent. Invisible pour un visiteur. */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important; height: 1px !important;
  opacity: 0 !important; pointer-events: none !important;
}

/* Echoes back the rate picked in the tariffs section. */
.form-selected {
  background: var(--sand); border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem; font-size: 0.85rem; font-weight: 500; color: var(--gold-deep);
}
.form-selected[hidden] { display: none; }

.field { display: flex; flex-direction: column; gap: 0.35rem; }
.contact-form label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 500; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 0.9rem 1.1rem;
  border: 1.5px solid var(--sand); background: var(--cream);
  font-family: inherit; font-size: 0.9rem; color: var(--text);
  border-radius: var(--radius-sm); outline: none;
  transition: border-color 0.25s, background 0.25s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--gold); background: var(--white); }
.contact-form input[aria-invalid="true"], .contact-form textarea[aria-invalid="true"] { border-color: #c0392b; background: #fdf3f2; }
.contact-form textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form button { margin-top: 0.3rem; align-self: flex-start; }
.form-error { color: #c0392b; font-size: 0.82rem; font-weight: 500; }
.form-hint { font-size: 0.8rem; color: var(--muted); font-weight: 300; }
.form-hint a { color: var(--gold); font-weight: 500; }
#form-ok { color: var(--gold-deep); font-size: 0.85rem; font-weight: 500; }
#form-ok:empty { display: none; }

/* ===== FOOTER ===== */
footer { background: var(--ink); padding: 4.5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 300; color: var(--white); margin-bottom: 1rem; }
.footer-brand h3 em { font-style: italic; color: var(--stone); }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; font-weight: 300; max-width: 300px; line-height: 1.7; }
.footer-brand .hosts { margin-top: 0.9rem; font-size: 0.82rem; color: var(--stone); }
.footer-col h4 { color: var(--stone); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.3rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; font-weight: 300; transition: color 0.2s; }
.footer-col a:hover { color: var(--stone); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.78rem; font-weight: 300; }

/* ===== FLOATING CONTACT ===== */
.float-contact {
  /* À gauche : en bas à droite, le badge « Powered by Netlify » le recouvre. */
  position: fixed; bottom: 1.6rem; left: 1.6rem; z-index: 150;
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--gold); color: var(--white); text-decoration: none;
  padding: 0.9rem 1.3rem; border-radius: 100px; box-shadow: var(--shadow-lift);
  font-size: 0.82rem; font-weight: 600;
  transition: transform 0.3s var(--ease), background 0.3s, opacity 0.3s;
}
.float-contact:hover { background: var(--gold-deep); transform: translateY(-3px); }
/* Redundant once the contact details are on screen — and it would cover them. */
.float-contact.is-hidden { opacity: 0; pointer-events: none; transform: translateY(14px); }
.float-contact svg { flex-shrink: 0; }
@media (max-width: 600px) { .float-contact span { display: none; } .float-contact { padding: 0.95rem; } }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(15,14,12,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.35s var(--ease);
  padding: 4vh 4vw;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox-figure { display: flex; align-items: center; justify-content: center; max-width: 100%; }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: var(--radius-sm); box-shadow: 0 30px 90px rgba(0,0,0,0.5); }
.lightbox-prev[hidden], .lightbox-next[hidden] { display: none; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28); color: var(--white);
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; line-height: 1; transition: background 0.25s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 1.6rem; right: 1.6rem; }
.lightbox-prev { left: 1.6rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.6rem; top: 50%; transform: translateY(-50%); }
.lightbox-caption {
  position: absolute; bottom: 2rem; left: 0; right: 0; text-align: center;
  color: rgba(255,255,255,0.78); font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
@media (max-width: 700px) {
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; }
  .lightbox-prev { left: 0.6rem; }
  .lightbox-next { right: 0.6rem; }
  .lightbox-close { top: 0.8rem; right: 0.8rem; }
}

/* ===== MOBILE PANEL ===== */
.mobile-panel {
  position: fixed; inset: 0; z-index: 190;
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.8rem;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  overflow-y: auto; padding: 5rem 2rem;
}
.mobile-panel.open { transform: translateX(0); }
.mobile-panel a {
  color: var(--white); text-decoration: none;
  font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300;
}
.mobile-panel a:hover { color: var(--stone); }
.mobile-panel a.btn { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; color: var(--white); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .tarifs-grid { grid-template-columns: repeat(2, 1fr); }
  .tarifs-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .avis-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .intro { grid-template-columns: 1fr; gap: 3rem; padding: 5.5rem 0; }
  .intro-img img { height: 420px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 200px); }
  .bento-item.b-big { grid-column: span 2; grid-row: span 1; height: 280px; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .piscine-inner { grid-template-columns: 1fr; gap: 3rem; }
  .terrasse-grid { grid-template-columns: repeat(3, 1fr); }
  .tarifs-grid-3 { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .tarifs-extra { grid-template-columns: repeat(2, 1fr); }
  .alentours-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
  .gallery-wrap, .rooms-wrap, .equip-wrap, .tarifs-wrap, .alentours-wrap, .contact-wrap { padding: 5rem 0; }
  .piscine-section { padding: 5rem 0; }
  .faq-wrap, .avis-wrap { padding: 5rem 0; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 6vw; }
  .rooms-grid { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: 1fr; }
  .avis-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .bento-item.b-big { grid-column: span 1; height: 260px; }
  .bento-item { height: 220px; }
  .terrasse-grid { grid-template-columns: repeat(2, 1fr); }
  .tarifs-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .tarifs-extra { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .statbar { gap: 1.2rem 2rem; justify-content: flex-start; }
  .map-banner { text-align: center; justify-content: center; }
  .rooms-header { flex-direction: column; align-items: flex-start; }
  .piscine-imgs { grid-template-columns: 1fr; }
  .piscine-main-img { grid-column: 1; height: 260px !important; }
  .contact-form { padding: 1.6rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.4rem; }
}

/* ===== PRINT ===== */
@media print {
  .nav, .float-contact, .hero-dots, .scroll-cue, .mobile-panel, .lightbox, .btn { display: none !important; }
  .hero { height: auto; min-height: 0; padding: 2rem 0; }
  .hero-slides, .hero-overlay { display: none; }
  .hero h1, .hero-desc, .hero-badge { color: #000 !important; }
  body { color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .piscine-section, .faq-wrap, footer, .statbar, .map-banner { background: #fff !important; color: #000 !important; }
  .piscine-text .section-title, .faq-wrap .section-title, .faq-item summary { color: #000 !important; }
  .piscine-list li, .faq-body p, .statbar-item, .map-banner p, .footer-col a { color: #333 !important; }
}

/* Les liens téléphone et e-mail sont reconstruits en JS : ils doivent rester
   cliquables visuellement même avant que le script ne s'exécute. */
.tel-link, .mail-link { cursor: pointer; }
/* Le « @ » est dans un span pour casser le motif xxx@yyy.zz dans le HTML brut. */
.mail-link .at { all: unset; }

/* ===== PAGES LÉGALES (mentions légales, confidentialité) ===== */
.legal-page { background: var(--cream); }
.legal-hero {
  background: var(--ink); padding: 8rem 0 3.5rem; color: var(--white);
}
.legal-hero .section-title { color: var(--white); }
.legal-hero .eyebrow { color: var(--stone); }
.legal-hero p { color: rgba(255,255,255,0.6); font-weight: 300; margin-top: 0.8rem; font-size: 0.9rem; }

.legal-body { max-width: 780px; margin: 0 auto; padding: 3.5rem 5vw 6rem; }
.legal-body h2 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 500;
  color: var(--ink); margin: 2.6rem 0 0.9rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--sand);
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 {
  font-size: 0.95rem; font-weight: 600; color: var(--ink); margin: 1.6rem 0 0.5rem;
}
.legal-body p, .legal-body li { color: var(--text); font-weight: 300; font-size: 0.92rem; margin-bottom: 0.8rem; }
.legal-body ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.legal-body li { margin-bottom: 0.45rem; }
.legal-body strong { font-weight: 600; color: var(--ink); }
.legal-body a { color: var(--gold-deep); }

.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: 0.88rem; }
.legal-table th, .legal-table td {
  text-align: left; padding: 0.7rem 0.9rem; border: 1px solid var(--sand); vertical-align: top;
}
.legal-table th { background: var(--sand); font-weight: 600; color: var(--ink); font-size: 0.8rem; }
.legal-table td { color: var(--text); font-weight: 300; }

/* Encadré jaune : information que le propriétaire doit encore compléter. */
.todo {
  background: #FFF8E1; border-left: 4px solid #E0A800; border-radius: var(--radius-sm);
  padding: 1rem 1.2rem; margin: 1.2rem 0; font-size: 0.88rem;
}
.todo strong { color: #8A6D00; display: block; margin-bottom: 0.3rem; }
.todo p { color: #5C4A00; margin-bottom: 0.4rem; font-weight: 400; }
.todo p:last-child { margin-bottom: 0; }

/* Encadré vert : point déjà conforme, pour information. */
.note-ok {
  background: #F0F7F0; border-left: 4px solid #4C9A52; border-radius: var(--radius-sm);
  padding: 1rem 1.2rem; margin: 1.2rem 0; font-size: 0.88rem;
}
.note-ok strong { color: #2E6B33; display: block; margin-bottom: 0.3rem; }
.note-ok p { color: #35503A; margin-bottom: 0; font-weight: 400; }

.legal-back { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2.5rem; }
.legal-updated { font-size: 0.82rem; color: var(--muted); font-style: italic; margin-top: 2.5rem; }

@media (max-width: 680px) {
  .legal-hero { padding: 6rem 0 2.5rem; }
  .legal-body { padding: 2.5rem 6vw 4rem; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table thead { display: none; }
  .legal-table tr { margin-bottom: 1rem; border: 1px solid var(--sand); border-radius: var(--radius-sm); overflow: hidden; }
  .legal-table td { border: none; border-bottom: 1px solid var(--sand); }
  .legal-table td:last-child { border-bottom: none; }
  .legal-table td::before { content: attr(data-label); display: block; font-weight: 600; font-size: 0.75rem; color: var(--gold-deep); margin-bottom: 0.2rem; }
}
