/* ========================= */
/* VARIABLES & BASE          */
/* ========================= */

:root {
  --ink: #25302d;
  --muted: #65736b;
  --paper: #fbfaf7;
  --soft: #fbfaf7;
  --line: #ded8cc;
  --sage: #6f8375;
  --sage-dark: #42574a;
  --clay: #b9906f;
  --sky: #faf9f6;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(45, 50, 46, 0.12);
  --radius: 8px;

  --gold: #B8860B;
  --gold-dark: #8C6A07;

  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}
.section h1,
.section h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
}


/* ========================= */
/* HEADER                    */
/* ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 48px;
}

.brand-text {
  color: var(--gold);
  font-family: "Georgia", serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--soft);
  color: var(--ink);
}

/* BOUTON MENU MOBILE */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 28px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 9999;
}

/* ========================= */
/* HERO                      */
/* ========================= */

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  background: linear-gradient(
      to right,
      rgba(245, 240, 230, 0.92),
      rgba(245, 240, 230, 0.72)
    ),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0 86px;
}

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding-top: 20px;
}

.hero-logo-large {
  width: 240px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.22));
}

.hero-text {
  max-width: 640px;
  text-align: left;
}

.hero-title {
  color: #c9971a;
  font-family: "Georgia", serif;
  font-weight: 600;
  letter-spacing: 0.6px;
  font-size: clamp(30px, 4vw, 50px)  
  line-height: 1.15;
}

.hero-subtitle {
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  margin-top: 18px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ========================= */
/* SECTIONS                  */
/* ========================= */

.section {
  padding: 88px 0;
}

.section.soft {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 58px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(45, 50, 46, 0.06);
}

.card h3 {
  font-size: 22px;
  font-weight: 700;
}

.contact-band {
  background: var(--paper);
}

.contact-band .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

/* ========================= */
/* FOOTER                    */
/* ========================= */

.site-footer {
  padding: 34px 0;
  background: #18211e;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-inner a {
  color: var(--white);
}

/* ========================= */
/* RESPONSIVE                */
/* ========================= */

@media (max-width: 880px) {

  .menu-toggle {
    display: block;
  }

  .brand-text {
    max-width: 160px;
  }

  .site-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 78px;
  right: 20px;
  width: calc(100% - 40px);
  max-width: 320px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  z-index: 9999; /* ← LA LIGNE QUI RÈGLE TON PROBLÈME */
}


  .site-nav.open {
    display: flex;
  }

  .hero {
    min-height: 520px !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .hero-inner {
    padding: 92px 0 62px;
  }

  .split,
  .grid.two,
  .contact-band .section-inner {
    grid-template-columns: 1fr;
  }

  .media-frame img {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .brand span {
    max-width: 180px;
  }

  .card {
    padding: 22px;
  }
}
