/* ============================================================
   STYLE.CSS — La Dolce Noce · Amélie & Benjamin
   Palette : Olive Grove · Amber Harvest · Vanilla Linen
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ── Palette ────────────────────────────────────────────────── */
:root {
  --olive:          #4F583B;
  --olive-dark:     #3a4229;
  --olive-mid:      #5f6e47;
  --olive-light:    #8a9a60;
  --olive-pale:     #d4dbc0;
  --amber:          #D9A450;
  --amber-dark:     #b8832a;
  --amber-light:    #ecc070;
  --citrus:         #F4B840;
  --wheat:          #EAD7B2;
  --wheat-dark:     #d4bc88;
  --linen:          #F8F4E8;
  --linen-dark:     #efe8d4;
  --cream:          #fdfaf2;
  --text:           #252010;
  --text-mid:       #4a3c1a;
  --text-light:     #7a6840;
  --border:         #d8c898;
  --border-light:   #ede0bc;
  --white:          #ffffff;

  --font-display:   'Playfair Display', Georgia, serif;
  --font-serif:     'Cormorant Garamond', Georgia, serif;
  --font-body:      'Jost', 'Helvetica Neue', sans-serif;

  --nav-height:     70px;
  --max-width:      1180px;
  --radius:         6px;
  --radius-lg:      14px;
  --radius-xl:      24px;
  --transition:     0.25s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  background:  var(--linen);
  color:       var(--text);
  font-family: var(--font-body);
  font-size:   16px;
  line-height: 1.75;
  overflow-x:  hidden;
}
img  { max-width: 100%; display: block; }
a    { color: var(--olive); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--olive-dark); }

/* ── Typo ───────────────────────────────────────────────────── */
h1 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; color: var(--text); font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; color: var(--text); font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 0.75rem; }
h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; color: var(--text); font-size: clamp(1.05rem, 2vw, 1.3rem); margin-bottom: 0.4rem; }
p  { color: var(--text-mid); margin-bottom: 1rem; font-size: clamp(0.9rem, 1.4vw, 1rem); }
strong { color: var(--text); }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin:    0 auto;
  padding:   0 clamp(1rem, 4vw, 2.5rem);
  width:     100%;
}
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-title { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-title p { max-width: 600px; margin: 0.5rem auto 0; }

/* Backgrounds alternatifs */
.bg-linen  { background: var(--linen); }
.bg-cream  { background: var(--cream); }
.bg-wheat  { background: var(--wheat); }
.bg-olive  { background: var(--olive); }

/* ── Divider fleuri ─────────────────────────────────────────── */
.divider {
  display:     flex;
  align-items: center;
  justify-content: center;
  gap:         0.5rem;
  margin:      0.75rem auto;
  color:       var(--amber);
  font-size:   0.95rem;
}
.divider::before, .divider::after {
  content: ""; display: block;
  width: 32px; height: 1px;
  background: var(--amber); opacity: 0.55;
}

/* ── Eyebrow ─────────────────────────────────────────────────── */
.eyebrow {
  font-family:    var(--font-body);
  font-size:      0.76rem;
  font-weight:    500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color:          var(--olive-mid);
  display:        block;
  margin-bottom:  0.3rem;
}

/* ── Boutons ─────────────────────────────────────────────────── */
.btn {
  display:        inline-block;
  padding:        0.75rem 2rem;
  border:         none;
  border-radius:  var(--radius);
  font-family:    var(--font-body);
  font-size:      0.82rem;
  font-weight:    500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor:         pointer;
  transition:     all var(--transition);
  text-decoration: none;
  white-space:    nowrap;
}
.btn-primary       { background: var(--olive);      color: var(--white); }
.btn-primary:hover { background: var(--olive-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(79,88,59,0.3); }
.btn-outline       { background: transparent; color: var(--olive); border: 1.5px solid var(--olive); }
.btn-outline:hover { background: var(--olive); color: var(--white); transform: translateY(-2px); }
.btn-amber         { background: var(--amber);      color: var(--white); }
.btn-amber:hover   { background: var(--amber-dark); color: var(--white); transform: translateY(-2px); }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position:    fixed;
  top: 0; left: 0; right: 0;
  height:      var(--nav-height);
  background:  rgba(248, 244, 232, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index:     200;
  display:     flex;
  align-items: center;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo {
  font-family:    var(--font-display);
  font-size:      clamp(1rem, 2vw, 1.4rem);
  font-style:     italic;
  color:          var(--text);
  white-space:    nowrap;
  flex-shrink:    0;
}
.nav-logo .amp { color: var(--amber); font-style: normal; margin: 0 0.2em; }
.nav-links {
  display:    flex;
  gap:        clamp(0.6rem, 1.5vw, 1.6rem);
  list-style: none;
  flex-wrap:  wrap;
  justify-content: flex-end;
}
.nav-links a {
  font-size:      clamp(0.72rem, 1vw, 0.85rem);
  font-weight:    500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--text-mid);
  padding:        0.25rem 0;
  border-bottom:  2px solid transparent;
  transition:     all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color:         var(--olive);
  border-color:  var(--amber);
}

/* Hamburger */
.nav-toggle {
  display:        none;
  flex-direction: column;
  gap:            5px;
  background:     none;
  border:         none;
  cursor:         pointer;
  padding:        6px;
  flex-shrink:    0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s;
}

/* ── Page header (pages intérieures) ─────────────────────────── */
.page-header {
  padding-top:    calc(var(--nav-height) + clamp(2.5rem, 5vw, 4rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  text-align:     center;
  background:     var(--cream);
  border-bottom:  1px solid var(--border-light);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background:  var(--olive-dark);
  color:       rgba(255,255,255,0.5);
  text-align:  center;
  padding:     clamp(2rem, 4vw, 3rem) 1rem;
}
.footer p            { color: rgba(255,255,255,0.5); margin: 0; font-size: 0.85rem; }
.footer p + p        { margin-top: 0.4rem; }
.footer a            { color: var(--amber-light); }
.footer-names        { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.4rem); font-style: italic; color: rgba(255,255,255,0.85) !important; margin-bottom: 0.4rem !important; }
.footer-tagline      { font-family: var(--font-serif); font-style: italic; font-size: 0.9rem; color: rgba(255,255,255,0.35) !important; margin-top: 0.75rem !important; }

/* ── Responsive nav ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display:        none;
    position:       absolute;
    top:            var(--nav-height);
    left: 0; right: 0;
    background:     rgba(248,244,232,0.99);
    flex-direction: column;
    flex-wrap:      nowrap;
    gap:            0;
    border-bottom:  1px solid var(--border);
    padding:        0.5rem 0 1rem;
    z-index:        199;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display:     block;
    padding:     0.75rem clamp(1rem, 4vw, 2rem);
    border:      none;
    font-size:   0.9rem;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
}
