/* ── SHARED STYLES ── all pages load this ── */
:root {
  --stone:  #F7F4EF;
  --olive:  #455A3E;
  --terra:  #9A5C39; /* darkened from #B5704A for WCAG AA (2 Sep) — was ~3.56:1 on --stone / ~3.9:1 white-on-terra, now ~4.82:1 / ~5.29:1 */
  --sage:   #C8D4C0;
  --slate:  #5F6E63; /* darkened from #6B7A6E for WCAG AA (2 Sep) — was ~4.13:1 on --stone, now ~4.91:1. Dark-background uses switched to --sage instead (see .main-footer, .footer-nav, .drawer-sub) — darkening slate further would have fixed light-bg text but made those worse. */
  --ink:    #1A2318;
  --white:  #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
  --sp-xs: 0.4rem; --sp-s: 0.75rem; --sp-m: 1.5rem; --sp-l: 2.5rem; --sp-xl: 4rem;
  --r: 2px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--stone); line-height: 1.6; padding-top: 64px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
section { padding: var(--sp-l) var(--sp-m); }
h2 { font-family: var(--font-display); }
.section-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); margin-bottom: var(--sp-s); }
.inner { max-width: 960px; margin: 0 auto; }
.inner-narrow { max-width: 720px; margin: 0 auto; }
.btn-primary { display: inline-block; background: var(--terra); color: var(--white); font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.85rem 1.75rem; border-radius: var(--r); transition: background 0.2s; }
.btn-primary:hover { background: #7c4830; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: var(--sp-s); }
.tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive); background: var(--sage); padding: 0.25rem 0.7rem; border-radius: var(--r); }

/* ── NAV ── */
nav.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem var(--sp-m);
  background: rgba(69,90,62,0.97); backdrop-filter: blur(8px);
  min-height: 64px;
}
.nav-brand { font-family: var(--font-display); font-size: 0.95rem; color: var(--stone); letter-spacing: 0.03em; line-height: 1.2; }
.nav-brand small { display: block; font-family: var(--font-body); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }
.nav-links { display: flex; align-items: center; gap: 1.25rem; list-style: none; }
.nav-links a { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--sage); transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { border-bottom: 2px solid var(--terra); padding-bottom: 2px; }
.nav-cta { background: var(--terra) !important; color: var(--white) !important; padding: 0.4rem 1rem !important; border-radius: var(--r); border-bottom: none !important; }
.nav-cta:hover { background: #7c4830 !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: default; }
.dropdown-menu {
  /* 2 Sep fix: no margin-top — a gap here between the trigger and the menu is a dead zone the
     mouse crosses without hovering anything, which drops :hover and closes the menu mid-transit.
     The 0.5rem padding below still gives the same visual breathing room, just inside the hoverable box. */
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--ink); border-radius: var(--r); padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3); z-index: 300;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 0.5rem 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--sage); transition: color 0.15s, background 0.15s; border-bottom: none !important; }
.dropdown-menu a:hover { color: var(--white); background: rgba(200,212,192,0.08); }
.dropdown-arrow { font-size: 0.55rem; margin-left: 0.25rem; vertical-align: middle; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; padding: 6px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--stone); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer { display: none; position: fixed; inset: 0; top: 64px; z-index: 190; background: rgba(69,90,62,0.98); backdrop-filter: blur(8px); flex-direction: column; padding: var(--sp-l) var(--sp-m); gap: 0; overflow-y: auto; }
.nav-drawer.open { display: flex; }
.drawer-link { font-family: var(--font-display); font-size: 1.4rem; color: var(--stone); border-bottom: 1px solid rgba(200,212,192,0.15); padding: 0.75rem 0; display: block; }
.drawer-sub { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--sage); padding: 0.4rem 0 0.4rem 1rem; display: block; border-bottom: 1px solid rgba(200,212,192,0.08); }
.drawer-cta { display: block; margin-top: var(--sp-m); background: var(--terra); color: var(--white) !important; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.9rem 2rem; border-radius: var(--r); text-align: center; border-bottom: none !important; }

/* ── FOOTER ── */
footer.main-footer { background: var(--ink); color: var(--sage); padding: var(--sp-m); text-align: center; font-size: 0.82rem; }
footer.main-footer strong { color: var(--stone); }
footer.main-footer a { color: var(--sage); }
footer.main-footer a:hover { color: var(--white); }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 0.75rem; }
.footer-nav a { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sage); }
.footer-nav a:hover { color: var(--white); }

/* ── HERO ── */
.hero { position: relative; min-height: 100vh; overflow: hidden; margin-top: -64px; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: var(--sp-l); opacity: 0; transition: opacity 1.2s ease-in-out; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(69,90,62,0.85) 0%, rgba(69,90,62,0.3) 55%, rgba(69,90,62,0.1) 100%); }
.hero-slide-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 8s ease-out; }
.hero-slide.active .hero-slide-bg { transform: scale(1); }
.hero-inner { position: relative; z-index: 2; max-width: 820px; padding: 0 var(--sp-m); margin-left: var(--sp-xl); }
.hero-eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-bottom: var(--sp-s); }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; color: var(--white); line-height: 1.12; margin-bottom: 1rem; }
.hero p { font-size: 1.05rem; color: rgba(247,244,239,0.85); max-width: 500px; margin-bottom: var(--sp-m); font-weight: 300; }
.hero-dots { position: absolute; bottom: 1.5rem; right: 1.5rem; z-index: 10; display: flex; gap: 0.5rem; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(247,244,239,0.35); border: 1px solid rgba(247,244,239,0.5); cursor: pointer; padding: 0; transition: background 0.3s; }
.hero-dot.active { background: var(--stone); }

/* ── PAGE HERO (interior pages) ── */
.page-hero { background: var(--olive); color: var(--stone); padding: var(--sp-xl) var(--sp-m) var(--sp-l); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-top: var(--sp-s); }
.page-hero p { color: var(--sage); font-weight: 300; font-size: 1.05rem; max-width: 600px; margin-top: 0.5rem; }

/* ── FORMS ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-s); text-align: left; }
.form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); }
input, select, textarea { font-family: var(--font-body); font-size: 0.9rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--sage); border-radius: var(--r); padding: 0.6rem 0.85rem; width: 100%; transition: border-color 0.2s, box-shadow 0.2s; outline: none; appearance: none; }
input:focus, select:focus, textarea:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(45,59,42,0.1); }
textarea { resize: vertical; min-height: 100px; }
.btn-submit { background: var(--olive); color: var(--white); font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.9rem 2.2rem; border: none; border-radius: var(--r); cursor: pointer; transition: background 0.2s; }
.btn-submit:hover { background: var(--ink); }
.form-note { margin-top: 0.6rem; font-size: 0.78rem; color: var(--sage); }

/* ── AMENITY LISTS (global safety net) ── */
.amenity-list { list-style: none; }
.amenity-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; line-height: 1.4; color: #1A2318; }
.amenity-list li::before { content: '✓'; font-weight: 700; flex-shrink: 0; min-width: 1em; color: #9A5C39; }

/* ── TWO-COL GRID ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-l); align-items: center; }
.two-col img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }
.two-col p { font-weight: 300; font-size: 0.95rem; margin-bottom: 0.5rem; }

/* ── CARD GRID ── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-m); margin-top: var(--sp-m); }
.card { background: var(--white); border-radius: var(--r); overflow: hidden; }
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card-body { padding: var(--sp-s) var(--sp-m); }
.card-body h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--olive); margin-bottom: 0.3rem; }
.card-body p { font-size: 0.88rem; color: var(--slate); }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin-top: var(--sp-m); }
.faq-item { border-bottom: 1px solid rgba(200,212,192,0.35); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-family: var(--font-display); font-size: 1.02rem; color: var(--stone); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--font-body); font-size: 1.3rem; color: var(--sage); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-size: 0.92rem; color: var(--sage); font-weight: 300; padding-bottom: 1rem; max-width: 640px; }

/* ── PHOTO STRIP ── */
.photo-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; height: 280px; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
/* 2 Sep fix: these three are placeholder photos pending Leela's real interior shots (see CLAUDE.md
   "outstanding" list) — object-position only improves the crop of the images we're stuck with today.
   img1 and img3 are portrait source photos forced into this short landscape strip, so default centring
   crops out most of the subject vertically; nudge the crop window toward the château rather than the
   foreground tree (img1) or the sky (img3). img2 is already a well-framed aerial shot, left at default. */
.photo-strip img:nth-child(1) { object-position: center 30%; }
.photo-strip img:nth-child(3) { object-position: center 65%; }

/* ── DARK SECTION ── */
.dark { background: var(--olive); color: var(--stone); }
.dark h2 { color: var(--stone); }
.dark p { color: var(--sage); font-weight: 300; font-size: 0.95rem; margin-bottom: 0.5rem; }
.dark .section-label { color: var(--sage); }

/* ── TESTIMONIAL CAROUSEL ── */
.t-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: var(--sp-m); }
.t-arrow-group { display: flex; gap: 0.5rem; }
.t-arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--sage); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, border-color 0.2s; color: var(--olive); font-size: 1rem; line-height: 1; }
.t-arrow:hover { background: var(--olive); border-color: var(--olive); color: var(--white); }
.t-arrow:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.t-track-wrap { overflow: hidden; }
.t-track { display: flex; gap: var(--sp-m); transition: transform 0.4s ease; }
.testimonial-card { background: var(--white); border-radius: var(--r); padding: var(--sp-m); border-left: 3px solid var(--terra); flex: 0 0 calc(50% - var(--sp-m) / 2); min-width: 0; }
.testimonial-text { font-size: 0.95rem; font-style: italic; color: var(--ink); line-height: 1.6; margin-bottom: var(--sp-s); }
.testimonial-author { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.t-dots { display: flex; gap: 0.4rem; margin-top: var(--sp-m); justify-content: center; }
.t-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); border: none; padding: 0; cursor: pointer; transition: background 0.2s; }
.t-dot.active { background: var(--terra); }

/* ── FACT CARDS ── */
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-m); }
.fact-card { border-top: 2px solid var(--sage); padding-top: var(--sp-s); display: flex; align-items: flex-start; gap: 0.6rem; }
.fact-text { flex: 1; }
.fact-icon { font-size: 1.5rem; line-height: 1; margin-top: 0.4rem; flex-shrink: 0; }
.fact-number { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--olive); line-height: 1; }
.fact-unit { font-size: 0.9rem; font-weight: 300; color: var(--slate); }
.fact-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); margin-top: 0.2rem; }

/* ── TARIF TABLE ── */
.tarif-table { width: 100%; border-collapse: collapse; margin-top: var(--sp-m); }
.tarif-table th { background: var(--olive); color: var(--stone); font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.75rem 1rem; text-align: left; }
.tarif-table td { padding: 0.75rem 1rem; font-size: 0.9rem; border-bottom: 1px solid var(--sage); }
.tarif-table tr:last-child td { border-bottom: none; }
.tarif-table tr:nth-child(even) td { background: rgba(200,212,192,0.15); }
.tarif-note { font-size: 0.82rem; color: var(--slate); margin-top: var(--sp-s); }

/* ── PARTNER LOGOS ── */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-m); margin-top: var(--sp-m); }
.partner-card { background: var(--white); border-radius: var(--r); padding: var(--sp-m); text-align: center; border: 1px solid var(--sage); }
.partner-card h3 { font-family: var(--font-display); font-size: 1rem; color: var(--olive); margin-bottom: 0.25rem; }
.partner-card p { font-size: 0.82rem; color: var(--slate); }

/* ── INSTAGRAM ── */
.instagram { text-align: center; border-top: 1px solid var(--sage); }
.instagram-header { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.instagram-icon { width: 26px; height: 26px; }
.instagram h2 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--olive); }
.instagram-handle { display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; color: var(--slate); margin-bottom: var(--sp-m); }
.instagram-handle:hover { color: var(--terra); }
.instagram-embed-area { background: var(--white); border: 1.5px dashed var(--sage); border-radius: var(--r); padding: var(--sp-l) var(--sp-m); color: var(--slate); }
.instagram-embed-area .embed-icon { font-size: 2rem; margin-bottom: 0.6rem; opacity: 0.4; }
.instagram-embed-area p { font-size: 0.85rem; line-height: 1.6; max-width: 440px; margin: 0 auto; }
.instagram-embed-area code { display: inline-block; background: var(--stone); border: 1px solid var(--sage); border-radius: 2px; padding: 0.1rem 0.45rem; font-size: 0.78rem; color: var(--olive); margin-top: 0.4rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { margin-left: 0; }
  .two-col { grid-template-columns: 1fr; }
  .two-col img { display: none; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: 1fr; height: auto; }
  .photo-strip img:nth-child(2), .photo-strip img:nth-child(3) { display: none; }
  .photo-strip img { height: 200px; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 85vw; }
  .t-header { flex-direction: column; align-items: flex-start; gap: var(--sp-s); }
  section { padding: var(--sp-m) var(--sp-s); }
}
@media (max-width: 480px) {
  .facts-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide-bg { transition: none; }
}
