/* Typographies
   Titres: Higuens Elegant Serif (remplacée par Playfair Display si indisponible)
   Texte: Arapey */

:root {
  --color-bordeaux: #972626;
  --color-vert: #61683f;
  --color-ink: #1d1d1f;
  --color-ink-soft: #4b4b4e;
  --color-bg: #fffdfb;
  --color-bg-alt: #faf6f2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.07);
}

/* Reset minimal et accessibilité */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

body {
  font-family: 'Arapey', serif;
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--color-bordeaux);
  margin: 0 0 0.6em 0;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 4vw + 1rem, 4rem); }
h2 { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.2vw + 0.9rem, 1.6rem); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .9rem;
  color: var(--color-vert);
}

.subtitle { color: var(--color-ink-soft); font-size: 1.1rem; }
.muted { color: var(--color-ink-soft); }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.container.narrow { width: min(800px, 92%); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 251, .9);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid #eee3dc;
}

.site-header .brand {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--color-bordeaux);
  text-decoration: none;
  font-size: 1.1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4%;
}

.site-nav ul {
  display: flex;
  gap: 16px;
}

.site-nav a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--color-ink);
  border-radius: 10px;
}

.site-nav a:hover { background: #f2ece7; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #e8ddd6;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 1.1rem;
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-nav ul {
    position: absolute;
    right: 4%;
    top: 56px;
    background: #fff;
    border: 1px solid #eee3dc;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 8px;
    display: none;
    flex-direction: column;
    width: min(220px, 92%);
  }
  .site-nav ul.open { display: flex; }
}

/* Sections */
.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section.alt { background: var(--color-bg-alt); }

/* Dividers */
.divider { height: 28px; background:
  radial-gradient(60px 12px at 20% 50%, rgba(97,104,63,.14), rgba(97,104,63,0) 70%),
  radial-gradient(50px 12px at 60% 50%, rgba(151,38,38,.12), rgba(151,38,38,0) 70%);
}
.divider.soft { height: 18px; opacity: .7; }

/* Hero */
.hero {
  background: linear-gradient(180deg, rgba(151,38,38,0.07), rgba(151,38,38,0) 60%);
  text-align: center;
}

.hero .hero-cta { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Motifs décoratifs */
.motifs { position: relative; margin-top: 28px; }
.motif { width: clamp(72px, 14vw, 140px); opacity: .9; filter: drop-shadow(0 6px 16px rgba(0,0,0,.08)); }
.motif-a { position: absolute; left: 0; top: -10px; transform: rotate(-8deg); }
.motif-b { position: absolute; right: 6%; top: -18px; transform: rotate(10deg); }
.motif-c { position: absolute; left: 22%; bottom: -18px; transform: rotate(-2deg); }

.section-motifs { position: relative; min-height: 40px; }
.section-motifs .motif { position: absolute; }
.motif-d { right: 0; bottom: -8px; transform: rotate(-6deg) scale(.9); }
.motif-e { left: 0; bottom: -22px; transform: rotate(7deg) scale(1.05); }

.gallery-motifs { display: flex; gap: 12px; justify-content: center; margin-top: 12px; }
.motif-f { transform: rotate(-4deg); }
.motif-g { transform: rotate(6deg); }

/* Timeline */
.timeline { display: grid; gap: 18px; }
.timecard {
  background: #fff;
  border: 1px solid #eee3dc;
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;
}

.btn.primary { background: var(--color-bordeaux); color: #fff; }
.btn.primary:hover { filter: brightness(0.95); }

.btn.secondary { background: var(--color-vert); color: #fff; }
.btn.secondary:hover { filter: brightness(0.95); }

.btn.outline { border: 1px solid var(--color-bordeaux); color: var(--color-bordeaux); }
.btn.outline:hover { background: rgba(151, 38, 38, .06); }

.cta-row { margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer {
  border-top: 1px solid #eee3dc;
  padding: 18px 0;
  text-align: center;
  color: var(--color-ink-soft);
  background: #fff;
}

/* Utilitaires */
::selection { background: rgba(151, 38, 38, .18); }
a { color: inherit; }


