/* Le Chateau Bleu — Anse Aux Pins, Mahé
   One stylesheet, no build. Light theme only (the house is painted for daylight). */

:root {
  --blue-900: #0f2d5c;
  --blue-700: #1a4a8f;
  --blue: #1e5fb8;
  --sky: #5cb6e6;
  --sky-100: #dcEFfa;
  --wash: #f1f5f9;
  --white: #ffffff;
  --sand: #e9dcc0;
  --wood: #6e4423;
  --ink: #14213a;
  --muted: #5a6a80;
  --line: #d3dce8;
  --focus: #ffb02e;

  --font-display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Albert Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;

  --step--1: clamp(0.84rem, 0.8rem + 0.2vw, 0.94rem);
  --step-0: clamp(1rem, 0.96rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --step-4: clamp(2.5rem, 1.8rem + 3.6vw, 4.6rem);

  --gutter: clamp(16px, 4vw, 40px);
  --measure: 62ch;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px rgba(15, 45, 92, 0.12);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.16em; }
a:hover { color: var(--blue-900); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
button { font: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; max-width: var(--measure); text-wrap: pretty; }
.lead { font-size: var(--step-1); line-height: 1.45; color: var(--blue-900); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--blue-900); color: #fff; padding: 10px 14px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Eyebrow: the painted shutter slats of the house, reduced to a mark */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 12px; flex: none;
  background: repeating-linear-gradient(90deg, var(--blue) 0 6px, var(--sky) 6px 9px, transparent 9px 12px);
}
.on-blue .eyebrow { color: var(--sky-100); }
.on-blue .eyebrow::before { background: repeating-linear-gradient(90deg, #fff 0 6px, var(--sky) 6px 9px, transparent 9px 12px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-900); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue-900); border-color: var(--blue-900); }
.btn--ghost:hover { background: var(--blue-900); color: #fff; }
.btn--light { background: #fff; color: var(--blue-900); }
.btn--light:hover { background: var(--sky-100); color: var(--blue-900); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--outline-light:hover { background: #fff; color: var(--blue-900); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 245, 249, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.header.is-stuck { border-bottom-color: var(--line); background: rgba(241, 245, 249, 0.96); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue-900); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.25rem; line-height: 1; white-space: nowrap; }
.brand__sub { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: var(--radius); font-weight: 500; }
.nav a:hover { background: var(--sky-100); color: var(--blue-900); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }

.header__cta { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; gap: 2px; font-family: var(--font-mono); font-size: 0.8rem; }
.lang a { padding: 8px 8px; text-decoration: none; color: var(--muted); border-radius: var(--radius); min-width: 32px; text-align: center; }
.lang a:hover { color: var(--blue-900); background: var(--sky-100); }
.lang a[aria-current="true"] { color: var(--blue-900); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.menu-btn {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: var(--radius);
  align-items: center; justify-content: center; cursor: pointer; color: var(--blue-900);
}
.menu-btn:hover { background: var(--sky-100); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header.is-open .nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px;
    box-shadow: var(--shadow);
  }
  .header.is-open .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .header.is-open .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue); border-radius: 0; padding-left: 16px; }
  .header__cta .btn { display: none; }
}
@media (max-width: 560px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 1.1rem; }
  .lang a { min-width: 28px; padding: 8px 5px; }
}

/* Hero */
.hero { padding-block: clamp(24px, 4vw, 56px) 0; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 0;
  background: var(--blue-900); color: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.hero__text { padding: clamp(28px, 5vw, 72px) clamp(24px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.hero__text h1 { color: #fff; margin-bottom: 0.4em; }
.hero__text h1 em { font-style: normal; color: var(--sky); }
.hero__text .lead { color: var(--sky-100); max-width: 48ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.18); }
.hero__facts li { font-family: var(--font-mono); font-size: var(--step--1); color: var(--sky-100); display: flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; background: var(--sky); border-radius: 50%; }
.hero__media { position: relative; min-height: 360px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero__media figcaption {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(15, 45, 92, 0.78); color: var(--sky-100); font-family: var(--font-mono); font-size: 0.78rem;
  padding: 6px 10px; border-radius: 4px; letter-spacing: 0.04em;
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; min-height: 240px; aspect-ratio: 3 / 2; }
}

/* Sections */
.section { padding-block: clamp(48px, 7vw, 104px); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }
.section--white { background: var(--white); }
.section--blue { background: var(--blue-900); color: #fff; }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--blue p { color: var(--sky-100); }
.section--blue a { color: #fff; }
.section--blue .btn--light { color: var(--blue-900); }
.section--blue .btn--light:hover { color: var(--blue-900); }
.section--sky { background: var(--sky-100); }
.section__head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 44px); }
.section__head p { max-width: 60ch; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; }
.split > figure { margin: 0; }
.split img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split figcaption { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); margin-top: 8px; letter-spacing: 0.03em; }

/* Signature: minutes-from-the-door strip */
.minutes { position: relative; margin-top: clamp(28px, 4vw, 44px); }
.minutes__track {
  position: relative; height: 4px; background: linear-gradient(90deg, var(--sky), var(--blue));
  border-radius: 2px; margin: 0 0 18px;
}
.minutes__track::before, .minutes__track::after {
  content: ""; position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--white); border: 4px solid var(--blue);
}
.minutes__track::before { left: 0; }
.minutes__track::after { left: 100%; border-color: var(--sky); }
.minutes__scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 26px; }
.minutes__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.minutes__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; position: relative; }
.minutes__item .mono { color: var(--blue); display: block; margin-bottom: 4px; }
.minutes__item strong { display: block; font-weight: 600; }
.minutes__item span.how { color: var(--muted); font-size: var(--step--1); }
.minutes__item--drive { background: var(--blue-900); border-color: var(--blue-900); color: #fff; }
.minutes__item--drive .mono { color: var(--sky); }
.minutes__item--drive span.how { color: var(--sky-100); }

/* Offers */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.offer { background: var(--white); border-radius: var(--radius-lg); padding: 24px; border-top: 6px solid var(--sky); box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; gap: 8px; }
.offer h3 { margin: 0; }
.offer p { margin: 0; color: var(--muted); max-width: none; }
.offer .code { align-self: flex-start; margin-top: auto; font-family: var(--font-mono); background: var(--blue-900); color: #fff; padding: 6px 12px; border-radius: 4px; letter-spacing: 0.1em; font-size: 0.85rem; }
.offer .code small { display: block; font-size: 0.65rem; letter-spacing: 0.08em; color: var(--sky); margin-bottom: 2px; }

/* Rooms / feature lists */
.room-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
.room-card figure { margin: 0; }
.room-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.room-card__body { padding: clamp(20px, 3vw, 40px); }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 20px; margin: 18px 0; }
.amenities li { display: flex; align-items: center; gap: 10px; }
.amenities svg { width: 22px; height: 22px; flex: none; color: var(--blue); }

.two-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(24px, 4vw, 48px); }
.two-lists h3 { padding-bottom: 10px; border-bottom: 2px solid var(--sky); display: inline-block; }
.check { display: grid; gap: 10px; }
.check li { display: flex; gap: 12px; align-items: flex-start; }
.check li::before {
  content: ""; flex: none; width: 10px; height: 10px; margin-top: 0.55em;
  background: repeating-linear-gradient(90deg, var(--blue) 0 4px, var(--sky) 4px 7px, var(--blue) 7px 10px);
}
.check small { display: block; color: var(--muted); }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sky-100); }
.gallery img { width: 100%; height: auto; transition: transform 300ms ease; }
.gallery a { display: block; }
.gallery a:hover img { transform: scale(1.02); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 12px 10px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(15, 45, 92, 0.75));
}
.gallery-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.gallery-nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--blue-900); background: var(--white); font-size: var(--step--1); }
.gallery-nav a:hover { border-color: var(--blue); }
.teaser { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 10px; }
.teaser a { position: relative; overflow: hidden; border-radius: var(--radius); display: block; }
.teaser a:first-child { grid-row: span 2; }
.teaser img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.teaser a:hover img { transform: scale(1.03); }
@media (min-width: 760px) { .teaser { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; } .teaser a:first-child { grid-column: span 2; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(15, 45, 92, 0.94); display: none; z-index: 90; padding: 0; border: 0; max-width: none; max-height: none; width: 100%; height: 100%; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 84vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { color: var(--sky-100); font-family: var(--font-mono); font-size: 0.8rem; text-align: center; margin-top: 10px; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; background: rgba(255,255,255,0.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
}
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { background: rgba(255,255,255,0.22); }
.lightbox svg { width: 22px; height: 22px; }

/* Map */
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.map iframe { width: 100%; height: clamp(300px, 45vw, 460px); border: 0; display: block; }
.map__foot { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; padding: 12px 16px; font-size: var(--step--1); }

/* Owner / about */
.quote { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.25; color: var(--blue-900); margin: 0 0 16px; max-width: 26ch; }
.quote + p { color: var(--muted); }

/* Contact / form */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: 0 1px 0 var(--line); }
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-card dd { margin: 2px 0 0; }
.contact-card dd a { font-weight: 600; text-decoration: none; }
.contact-card dd a:hover { text-decoration: underline; }
.direct-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(30, 95, 184, 0.25); outline-offset: 0; }
.form__note { font-size: var(--step--1); color: var(--muted); }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form__status { font-weight: 600; color: var(--blue-900); }

/* Good to know */
.notice { background: var(--white); border-left: 6px solid var(--sand); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; }
.notice p:last-child { margin: 0; }

/* Footer */
.footer { background: var(--blue-900); color: var(--sky-100); padding-block: clamp(40px, 6vw, 72px) 28px; }
.footer a { color: #fff; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.footer h3 { color: #fff; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer ul a { text-decoration: none; }
.footer ul a:hover { text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); font-size: var(--step--1); }
.footer .brand { color: #fff; }
.footer .brand__sub { color: var(--sky); }
.footer p { color: var(--sky-100); }

/* Page header for inner pages */
.page-head { padding-block: clamp(36px, 6vw, 80px) 0; }
.page-head h1 { color: var(--blue-900); margin-bottom: 0.3em; }
.page-head .lead { color: var(--muted); }

/* Prose pages */
.prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

/* Reveal: transform-only, never opacity 0 */
.reveal { transform: translateY(18px); transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-in { transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transform: none; transition: none; } .gallery img, .teaser img, .btn { transition: none; } }

/* Utilities */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wa { color: #fff; }
