/* ==========================================================================
   NOCES D'ARGAN — Feuille de style principale
   Palette : Crème #F6F3EE · Sable #D8C8B4 · Argan #B68B5B · Kaki doux #7D8272 · Noir #1A1A1A
   Typographie : Cormorant Garamond (titres) · Montserrat (texte, accents)
   ========================================================================== */

:root {
  --creme: #F6F3EE;
  --sable: #D8C8B4;
  --argan: #B68B5B;
  --argan-dark: #96703F;
  --kaki: #7D8272;
  --noir: #1A1A1A;
  --blanc: #FFFFFF;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;

  --container: 1180px;
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 2rem;
  --space-l: 4rem;
  --space-xl: 7rem;
}

/* -------------------- Reset & base -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--noir);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 var(--space-s);
  color: var(--noir);
}
p { margin: 0 0 1.2em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Visually hidden but accessible */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* -------------------- Eyebrow / labels -------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--argan-dark);
}

/* -------------------- Diamond motif (signature element) -------------------- */
.diamond {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--argan);
  transform: rotate(45deg);
}
.diamond-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 1.4rem 0 2.2rem;
}
.diamond-divider::before,
.diamond-divider::after {
  content: '';
  height: 1px;
  width: 42px;
  background: var(--sable);
}
.diamond-divider.left {
  justify-content: flex-start;
}
.diamond-divider.left::after { display: none; }

/* -------------------- Header / Navigation -------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.site-header.is-solid {
  background: rgba(246, 243, 238, 0.96);
  padding: 0.9rem 0;
  box-shadow: 0 1px 0 rgba(26,26,26,0.06);
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
}
.logo-mark img {
  height: 58px;
  width: auto;
  display: block;
}
.logo-mark .logo-dark { display: none; }
.site-header.is-solid .logo-mark .logo-light,
.page-header .logo-mark .logo-light { display: none; }
.site-header.is-solid .logo-mark .logo-dark,
.page-header .logo-mark .logo-dark { display: block; }
.main-nav ul {
  display: flex;
  gap: 2.4rem;
}
.main-nav a {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--creme);
  transition: color 0.4s ease, opacity 0.25s ease;
  position: relative;
  padding-bottom: 4px;
}
.site-header.is-solid .main-nav a,
.page-header .main-nav a {
  color: var(--noir);
}
.main-nav a:hover { opacity: 0.62; }
.main-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px; height: 20px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--creme);
  transition: background-color 0.4s ease;
}
.site-header.is-solid .nav-toggle span,
.page-header .nav-toggle span { background: var(--noir); }

/* Non-hero pages: solid header from the start */
.page-header {
  background: var(--creme);
  box-shadow: 0 1px 0 rgba(26,26,26,0.06);
}
.page-header .logo-mark,
.page-header .main-nav a { color: var(--noir); }

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--creme);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 90;
  }
  .main-nav.is-open { display: flex; }
  .main-nav.is-visible { opacity: 1; }
  .main-nav ul {
    flex-direction: column;
    text-align: center;
    gap: 2.2rem;
  }
  .main-nav a { color: var(--noir); font-size: 0.95rem; }
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(20,18,15,0.35) 0%, rgba(20,18,15,0.25) 45%, rgba(20,18,15,0.72) 100%),
              url('../images/hero-fairmont.jpg') center 62% / cover no-repeat;
}
.hero-content {
  width: 100%;
  padding-bottom: var(--space-xl);
  color: var(--creme);
  text-align: center;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--sable);
  margin-bottom: 1.4rem;
}
.hero h1 {
  color: var(--creme);
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  font-weight: 500;
  font-style: italic;
  max-width: 15ch;
  margin: 0 auto 1.6rem;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--sable);
  max-width: 40ch;
  margin: 0 auto;
  letter-spacing: 0.02em;
}
.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 44px;
  background: rgba(246,243,238,0.55);
  overflow: hidden;
}
.scroll-cue::after {
  content: '';
  position: absolute;
  top: -44px; left: 0;
  width: 100%; height: 100%;
  background: var(--creme);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { top: -44px; }
  60% { top: 44px; }
  100% { top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue::after { animation: none; top: 0; }
}

/* Inner page header (no hero) */
.page-hero {
  padding: 9.5rem 0 3.5rem;
  text-align: center;
  background: var(--creme);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-style: italic;
}
.page-hero .lede {
  max-width: 56ch;
  margin: 0 auto;
  font-size: 1.02rem;
  color: #43423f;
}

/* -------------------- Sections -------------------- */
section { padding: var(--space-xl) 0; }
.section-alt { background: var(--sable); }
.section-tight { padding: var(--space-l) 0; }

.section-head {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto var(--space-l);
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-style: italic;
}
.section-head p { color: #454440; }

/* Prose blocks */
.prose {
  max-width: 62ch;
  margin: 0 auto;
  font-size: 1.03rem;
  color: #34332f;
}
.prose p:last-child { margin-bottom: 0; }

/* Two-column layout (text + image) */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-l);
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-media { position: relative; }
.split-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.split-text .eyebrow { margin-bottom: 0.9rem; }
.split-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-style: italic; }
.split-text .prose { margin: 0; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
}

/* Promises row */
.promises {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: var(--space-m);
}
.promises li {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  padding: 0 2.4rem;
  position: relative;
  text-align: center;
}
.promises li + li::before {
  content: '';
  position: absolute;
  left: 0; top: 12%;
  height: 76%;
  width: 1px;
  background: var(--sable);
}
@media (max-width: 700px) {
  .promises { flex-direction: column; gap: 1.2rem; }
  .promises li + li::before { display: none; }
}

/* Four pillars (savoir-faire) */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-m);
}
.pillar { text-align: center; padding: 0 0.6rem; }
.pillar-icon {
  width: 52px; height: 52px;
  margin: 0 auto 1.3rem;
  color: var(--argan);
}
.pillar-icon svg { width: 100%; height: 100%; }
.pillar h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.pillar p { font-size: 0.92rem; color: #454440; margin-bottom: 0; }

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr 1fr; row-gap: var(--space-l); }
}
@media (max-width: 520px) {
  .pillars { grid-template-columns: 1fr; }
}

/* Inspired-by closing band */
.inspired {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, rgba(26,24,20,0.62), rgba(26,24,20,0.74)), url('../images/lieux-08.jpg') center 30% / cover no-repeat;
  color: var(--creme);
  text-align: center;
}
.inspired .eyebrow { color: var(--sable); }
.inspired blockquote {
  margin: 1.6rem auto 0;
  max-width: 46ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.5;
}
.inspired blockquote p { margin-bottom: 1.1em; }
.inspired blockquote footer {
  margin-top: 1.4rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sable);
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-dark { color: var(--noir); border-color: var(--noir); }
.btn-dark:hover { background: var(--noir); color: var(--creme); }
.btn-light { color: var(--creme); border-color: var(--creme); }
.btn-light:hover { background: var(--creme); color: var(--noir); }
.btn-fill {
  background: var(--argan); border-color: var(--argan); color: var(--creme);
}
.btn-fill:hover { background: var(--argan-dark); border-color: var(--argan-dark); }

/* -------------------- Bios (Qui sommes-nous) -------------------- */
.bio {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-l);
  align-items: start;
}
.bio + .bio { margin-top: var(--space-xl); }
.bio-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.bio-photo::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(182,139,91,0.55);
  border-radius: 4px;
  pointer-events: none;
}
.bio-name {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-style: italic;
  margin-bottom: 0.2rem;
}
.bio-role {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--argan-dark);
  margin-bottom: 1.4rem;
}
.bio .prose { max-width: none; margin: 0; }

.bio.bio-reverse { direction: rtl; }
.bio.bio-reverse > * { direction: ltr; }

@media (max-width: 780px) {
  .bio, .bio.bio-reverse { grid-template-columns: 1fr; direction: ltr; }
  .bio-photo { max-width: 340px; margin: 0 auto; }
}

/* -------------------- Lieux : photo wall -------------------- */
.photo-wall {
  columns: 3 260px;
  column-gap: 1rem;
}
.photo-wall figure {
  margin: 0 0 1rem;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 3px;
}
.photo-wall img,
.photo-wall video {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}
.photo-wall figure:hover img,
.photo-wall figure:hover video { transform: scale(1.035); }

@media (max-width: 700px) {
  .photo-wall { columns: 2 180px; }
}

.credits-line {
  margin-top: var(--space-l);
  text-align: center;
  font-size: 0.72rem;
  color: #6b6a64;
  letter-spacing: 0.02em;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

.lieux-cta {
  text-align: center;
  margin-top: var(--space-l);
}
.lieux-cta p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}

/* -------------------- Contact -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-l); }
}

.contact-list { margin-top: var(--space-m); }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--sable);
}
.contact-list li:first-child { border-top: 1px solid var(--sable); }
.contact-list .ci-icon {
  width: 20px; height: 20px;
  color: var(--argan);
  flex-shrink: 0;
}
.contact-list .ci-icon svg { width: 100%; height: 100%; }
.contact-list a, .contact-list span.static-text {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.contact-list a:hover { color: var(--argan-dark); }

.field { margin-bottom: 1.4rem; }
.field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #55544e;
  margin-bottom: 0.5rem;
}
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--blanc);
  border: 1px solid var(--sable);
  border-radius: 2px;
  color: var(--noir);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--argan);
  outline-offset: 1px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field textarea { resize: vertical; min-height: 130px; }

.form-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #6b6a64;
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--noir);
  color: var(--sable);
  padding: var(--space-l) 0 var(--space-m);
  text-align: center;
}
.footer-logo {
  margin-bottom: 0.9rem;
}
.footer-logo img {
  height: 46px;
  width: auto;
  margin: 0 auto;
}
.footer-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sable);
  margin-bottom: 2rem;
}
.footer-nav { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-nav a { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--creme); opacity: 0.85; }
.footer-nav a:hover { opacity: 1; }
.footer-social { display: flex; justify-content: center; gap: 1.3rem; margin-bottom: 2.2rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(216,200,180,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--creme);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.footer-social a:hover { border-color: var(--argan); color: var(--argan); }
.footer-social svg { width: 16px; height: 16px; }
.footer-fine {
  font-size: 0.72rem;
  color: #8a887f;
  border-top: 1px solid rgba(216,200,180,0.15);
  padding-top: 1.4rem;
}

/* -------------------- Utility spacing -------------------- */
.mt-l { margin-top: var(--space-l); }
.text-center { text-align: center; }
