/* Bérénice — public stylesheet. Palette: warm cream paper, rust, ochre, sage. */

:root {
  --cream: #faf3f1;
  --paper: #fffaf8;
  --sand: #f4e3e4;
  --ink: #3b2f35;
  --ink-soft: #6f5c63;
  --rust: #c4687f;
  --rust-dark: #a04f66;
  --ochre: #d4a373;
  --sage: #8ea897;
  --sage-dark: #5f7a68;
  --blush: #f1d9de;
  --line: #ecdcd9;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -24px rgba(59, 47, 53, .3);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); text-decoration: none; }
a:hover { color: var(--rust-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; line-height: 1;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--rust); color: #fff; }
.btn--primary:hover { background: var(--rust-dark); color: #fff; }
.btn--outline { border-color: var(--rust); color: var(--rust); background: transparent; }
.btn--outline:hover { background: var(--rust); color: #fff; }
.btn--soft { background: var(--blush); color: var(--rust-dark); }
.btn--soft:hover { background: #e9c6cf; }
.btn--light { background: var(--paper); color: var(--rust-dark); }
.btn--light:hover { background: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 243, 241, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(236, 220, 217, .8);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); }
.brand__leaf { color: var(--rust); display: inline-flex; }
.brand__name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; letter-spacing: .01em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--ink-soft); font-weight: 600; font-size: .96rem; position: relative; padding: .3rem 0; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--rust); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.site-nav a:not(.btn):hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--ink); }
.site-nav__cta { margin-left: .4rem; }
.site-nav .btn--primary { color: #fff; padding: .85rem 1.5rem; }
.site-nav .btn--primary:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1.25rem 1.2rem; }
  .site-nav li a { display: block; padding: .8rem 0; font-size: 1.05rem; }
  .site-nav__cta { margin: .6rem 0 0; }
  .site-nav__cta .btn { justify-content: center; width: 100%; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section__head { max-width: 640px; margin-bottom: 2.5rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sage-dark); font-weight: 700; margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.text-center { text-align: center; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--sand); min-height: min(82vh, 760px); display: flex; align-items: center; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(250, 243, 241, .96) 0%, rgba(250, 243, 241, .86) 38%, rgba(250, 243, 241, .35) 68%, rgba(250, 243, 241, 0) 100%);
}
.hero__content { position: relative; max-width: 620px; padding: clamp(3rem, 8vw, 6rem) 0; }
.hero__content h1 { margin-bottom: 1rem; }
.hero__content .lead { font-size: 1.2rem; margin-bottom: 2rem; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 700px) {
  .hero__img::after { background: linear-gradient(180deg, rgba(250, 243, 241, .97) 0%, rgba(250, 243, 241, .9) 55%, rgba(250, 243, 241, .5) 100%); }
}

/* Intro (two columns) */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse { grid-template-columns: .9fr 1.1fr; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split__media--landscape img { aspect-ratio: 4 / 3; }
.split__media::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 62%; height: 62%;
  background: var(--blush); border-radius: var(--radius); z-index: -1; opacity: .8;
}
.split__text .prose { margin-bottom: 1.5rem; }
@media (max-width: 800px) { .split, .split--reverse { grid-template-columns: 1fr; } .split__media { order: -1; } }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.pillar { background: var(--paper); border-radius: var(--radius); padding: 1.8rem 1.6rem; border: 1px solid var(--line); }
.pillar__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--sand); color: var(--rust); display: grid; place-items: center; margin-bottom: 1rem; }
.pillar h3 { margin-bottom: .4rem; }
.pillar p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .5rem; }
.card__body h3 a { color: var(--ink); }
.card__body h3 a:hover { color: var(--rust); }
.card__body p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1rem; }
.card__meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: auto; font-size: .9rem; color: var(--sage-dark); font-weight: 600; }
.card__link { font-weight: 700; }
.card__link::after { content: " →"; }
.tag { display: inline-block; background: var(--sand); color: var(--rust-dark); border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; font-weight: 700; }

/* Services detailed */
.service-list { display: grid; gap: 1.6rem; }
.service { display: grid; grid-template-columns: 280px 1fr; gap: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.service__media img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.service__body { padding: 1.8rem 2rem; }
.service__body h3 { font-size: 1.7rem; }
.service__facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: .4rem 0 1rem; }
.service__actions { margin-top: 1.2rem; }
@media (max-width: 700px) { .service { grid-template-columns: 1fr; } .service__media img { aspect-ratio: 16 / 9; min-height: 0; } }

/* Quote band */
.quote-band { background: var(--blush); color: var(--ink); text-align: center; padding: clamp(3rem, 7vw, 5rem) 0; }
.quote-band__text { margin: 0 auto; max-width: 760px; font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-style: italic; line-height: 1.3; }
.quote-band__author { margin: 1rem 0 0; font-size: .95rem; color: var(--rust-dark); font-weight: 600; }

/* CTA band */
.cta-band { background: var(--rust); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band__actions { display: flex; justify-content: flex-end; gap: .8rem; flex-wrap: wrap; }
@media (max-width: 700px) { .cta-band { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery__item { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); }
.gallery__item img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .35s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__caption {
  position: absolute; inset: auto 0 0; padding: 2rem .9rem .8rem; color: #fff; font-size: .9rem;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(40, 25, 18, .7)); opacity: 0; transition: opacity .25s;
}
.gallery__item:hover .gallery__caption { opacity: 1; }
.insta-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }

/* Prose (articles, long texts) */
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.8rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote {
  margin: 1.6rem 0; padding: 1.2rem 1.5rem; border-left: 4px solid var(--ochre);
  background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display); font-size: 1.35rem; font-style: italic; color: var(--ink-soft);
}
.article { max-width: 760px; margin-inline: auto; }
.article__cover img { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 2rem; box-shadow: var(--shadow); }
.article__meta { color: var(--sage-dark); font-weight: 600; font-size: .95rem; margin-bottom: .6rem; }
.article h1 { margin-bottom: 1.2rem; }
.article__back { display: inline-block; margin-top: 2.5rem; font-weight: 700; }
.article__back::before { content: "← "; }

/* Page headers */
.page-head { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { margin-bottom: .5rem; }
.page-head .lead { max-width: 640px; }

/* Booking */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .booking { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.panel h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.calendar__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.calendar__nav strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; text-transform: capitalize; }
.calendar__nav a, .calendar__nav span { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--ink); font-weight: 700; }
.calendar__nav span { opacity: .35; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar__grid .dow { text-align: center; font-size: .78rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; padding-bottom: .3rem; }
.day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; font-weight: 600; font-size: .95rem; color: var(--ink-soft); background: transparent; }
.day--off { color: #cdbfc3; }
.day--free { background: var(--sand); color: var(--ink); }
a.day--free:hover { background: var(--ochre); color: #fff; }
.day--selected, a.day--selected:hover { background: var(--rust); color: #fff; }
.day--empty { background: transparent; }
.calendar__legend { display: flex; gap: 1.2rem; margin-top: 1rem; font-size: .85rem; color: var(--ink-soft); }
.calendar__legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: .35rem; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .6rem; margin-bottom: 1.4rem; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slot span { display: block; text-align: center; padding: .65rem .4rem; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .95rem; transition: all .15s; }
.slot input:checked + span { border-color: var(--rust); background: var(--rust); color: #fff; }
.slot input:focus-visible + span { outline: 2px solid var(--ochre); outline-offset: 2px; }
.slot:hover span { border-color: var(--ochre); }

/* Forms */
.form-grid { display: grid; gap: 1rem; }
.form-grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-grid--2 { grid-template-columns: 1fr; } }
label.field { display: block; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
label.field input, label.field select, label.field textarea {
  display: block; width: 100%; margin-top: .35rem; padding: .75rem .9rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: inherit; color: var(--ink);
}
label.field input:focus, label.field select:focus, label.field textarea:focus { outline: none; border-color: var(--ochre); box-shadow: 0 0 0 3px rgba(196, 104, 127, .22); }
label.field textarea { min-height: 120px; resize: vertical; }
.field--hp { position: absolute; left: -9999px; }
.form-actions { margin-top: 1.2rem; display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-size: .98rem; }
.notice--ok { background: #e3eee6; color: #3b5244; border: 1px solid #c3d8ca; }
.notice--error { background: #f8dfe4; color: #7d3346; border: 1px solid #ebc2cc; }
.notice ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.confirm { text-align: center; padding: 2rem 1rem; }
.confirm__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; margin: 0 auto 1.2rem; font-size: 2rem; }

/* Contact strip on booking page */
.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.contact-strip div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; }
.contact-strip h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.contact-strip p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) { .contact-strip { grid-template-columns: 1fr; } }

/* Pagination */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span { padding: .5rem .9rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; }
.pagination span.is-current { background: var(--rust); color: #fff; border-color: var(--rust); }

/* Footer */
.site-footer { background: #4d3440; color: #f3e4e8; padding: 3.5rem 0 2rem; margin-top: 0; }
.site-footer a { color: #fbeef1; }
.site-footer a:hover { color: #f1b7c7; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer__brand { font-family: var(--font-display); font-size: 1.9rem; margin: 0 0 .2rem; color: #fff; }
.site-footer__tagline { opacity: .8; margin: 0; }
.site-footer__title { font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #f1b7c7; margin-bottom: .8rem; }
.site-footer .btn--outline { border-color: #f1b7c7; color: #f1b7c7; }
.site-footer .btn--outline:hover { background: #f1b7c7; color: #4d3440; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; opacity: .85; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Reveal on scroll (progressive: content visible without JS) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Small phones */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { width: min(var(--container), 100% - 1.5rem); }
  .brand__name { font-size: 1.4rem; }
  .hero { min-height: 0; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .panel { padding: 1.1rem; }
  .calendar__grid { gap: 3px; }
  .day { font-size: .85rem; border-radius: 8px; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .form-actions .btn { width: 100%; justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .service__body { padding: 1.3rem 1.2rem; }
  .cta-band { padding: 1.6rem; }
  .cta-band .btn { width: 100%; justify-content: center; }
}

/* Highlighted word in titles (pages added it after v1): kept discreet */
.hl { font-style: italic; }
