/* ============================================================
   CHAMPAGNE JEAN JOSSELIN — Design System
   main.css — Variables, reset, typographie, utilitaires
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --gold:        #9B8634;
  --gold-light:  rgba(155, 134, 52, 0.15);
  --gold-border: rgba(155, 134, 52, 0.3);
  --dark:        #1a1a1a;
  --mid:         #555555;
  --grey:        #888888;
  --grey-light:  #cccccc;
  --bg:          #ffffff;
  --bg-alt:      #faf9f7;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Montserrat', Arial, sans-serif;

  --nav-height:  80px;
  --max-width:   1280px;
  --gutter:      clamp(24px, 5vw, 80px);

  --transition:  0.3s ease;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--dark);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
}

/* ── TYPOGRAPHIE ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

h1 { font-size: clamp(36px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(20px, 2.5vw, 32px); }
h4 { font-size: clamp(16px, 2vw, 22px); }

p {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--mid);
  line-height: 1.9;
}

/* ── UTILITAIRES ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(60px, 10vw, 120px) 0;
}

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

/* Ligne dorée décorative */
.gold-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
}

.gold-line--left { margin: 0; }

/* Label doré (petites capitales) */
.label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Titre de section */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.section-header .label {
  display: block;
  margin-bottom: 16px;
}

.section-header h2 {
  color: var(--dark);
}

/* Bouton principal */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 14px 32px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.btn--dark {
  color: var(--dark);
  border-color: var(--dark);
}

.btn--dark:hover {
  background: var(--dark);
  color: var(--bg);
}

/* Séparateur */
.divider {
  width: 100%;
  height: 1px;
  background: #f0ece4;
}

/* Texte centré */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-grey   { color: var(--grey); }

/* Espacement */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root {
    --nav-height: 76px;
    --gutter: 24px;
  }
}
