/* ============================================================
   assets/css/base.css
   Reset + styles globaux
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-dark);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; border: none; background: none; }

/* ── Utilitaires ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-8);
}

@media (max-width: 768px) {
  .container { padding-inline: var(--space-4); }
}

/* ── Typographie ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}

/* ── Sections ── */
section {
  padding-block: var(--space-24);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-condensed);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-red);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: var(--space-6);
}

.section-title em {
  font-style: normal;
  color: var(--color-green);
}

.section-desc {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-gray-600);
  max-width: 600px;
}

/* ── Divider décoratif ── */
.divider-gold {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  margin-bottom: var(--space-8);
  border-radius: var(--radius-full);
}

/* ── Fond alterné ── */
.bg-cream  { background-color: var(--color-cream); }
.bg-dark   { background-color: var(--color-green-dark); color: var(--color-white); }
.bg-green  { background-color: var(--color-green); color: var(--color-white); }
