/* =========================================================
   BASE — Design Système "La vedette Hair"
   ========================================================= */
:root {
  /* Scheme 1 (Général / Blanc strict & Noir) */
  --scheme-1-bg: #FFFFFF;
  --scheme-1-text: #050505;
  --scheme-1-btn: #050505;
  --scheme-1-btn-label: #FFFFFF;
  --scheme-1-outline: #050505;
  --scheme-1-accent: #9A7B4F;
  --scheme-1-border: #E8E8E8;

  /* Scheme 2 (Gris Soie / Nude Chic) */
  --scheme-2-bg: #F8F7F5;
  --scheme-2-text: #050505;
  --scheme-2-btn: #050505;
  --scheme-2-btn-label: #F8F7F5;
  --scheme-2-outline: #050505;
  --scheme-2-accent: #9A7B4F;
  --scheme-2-border: #E0DDD7;

  /* Scheme 3 (Noir de jais - Luxe) */
  --scheme-3-bg: #0A0A0A;
  --scheme-3-text: #F8F7F5;
  --scheme-3-btn: #F8F7F5;
  --scheme-3-btn-label: #0A0A0A;
  --scheme-3-outline: #F8F7F5;
  --scheme-3-accent: #D4AF37;
  --scheme-3-border: #222222;

  /* Layout */
  --page-width: 1440px;
  --spacing-sections: 0px;
  --radius-base: 0px;
  --radius-media: 0px;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --heading-scale: 1;
  --body-scale: 1;
  --heading-tracking: 0.02em;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Transitions */
  --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ANTI-DÉBORDEMENT ABSOLU (Verrouillage du scroll horizontal) */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  font-family: var(--font-body);
  font-size: calc(1rem * var(--body-scale));
  line-height: 1.7;
  color: var(--scheme-1-text);
  background: var(--scheme-1-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Empêcher les textes longs de casser le layout */
h1, h2, h3, h4, p, a, span {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: var(--transition-base); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* =========================================================
   TYPOGRAPHIE
   ========================================================= */
h1, h2, h3, h4, h5, h6, .h0, .h1, .h2, .h3, .h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: var(--heading-tracking);
  margin: 0 0 var(--space-sm);
}

.h0 { font-size: calc(3.5rem * var(--heading-scale)); line-height: 1.05; }
.h1 { font-size: calc(3rem * var(--heading-scale)); }
.h2 { font-size: calc(2.25rem * var(--heading-scale)); }
.h3 { font-size: calc(1.75rem * var(--heading-scale)); }
.h4 { font-size: calc(1.25rem * var(--heading-scale)); }

@media (min-width: 750px) {
  .h0 { font-size: calc(4.5rem * var(--heading-scale)); }
  .h1 { font-size: calc(3.5rem * var(--heading-scale)); }
  .h2 { font-size: calc(2.5rem * var(--heading-scale)); }
}

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* =========================================================
   LAYOUT
   ========================================================= */
.page-width {
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}
@media (min-width: 750px) {
  .page-width { padding: 0 var(--space-md); }
}

.section {
  padding: var(--space-lg) 0;
  background: var(--scheme-1-bg);
  color: var(--scheme-1-text);
  width: 100%;
}
@media (min-width: 750px) {
  .section { padding: var(--space-xl) 0; }
}

.scheme-1 { background: var(--scheme-1-bg); color: var(--scheme-1-text); }
.scheme-2 { background: var(--scheme-2-bg); color: var(--scheme-2-text); }
.scheme-3 { background: var(--scheme-3-bg); color: var(--scheme-3-text); }

.grid { display: grid; gap: var(--space-md); width: 100%; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 990px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
}