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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img, svg { display: block; }

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

ul, ol { list-style: none; }

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

/* ── TYPOGRAPHY SCALE ── */
.font-display { font-family: var(--font-display); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
}

h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.2rem; font-family: var(--font-ui); font-weight: 500; }

p { color: var(--muted); line-height: 1.7; }

/* ── EYEBROW LABEL ── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 1rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--green);
}

.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 79, 74, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn-outline:hover {
  background: var(--green-lt);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--green);
  border: 2px solid var(--white);
  font-weight: 500;
}

.btn-white:hover {
  background: var(--bg);
  transform: translateY(-1px);
}

/* ── LAYOUT HELPERS ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { overflow: hidden; }

/* ── REVEAL ANIMATION BASE ── */
/* JS ajoute .js-ready sur <html> avant d'activer les animations */
/* Les éléments sans JS restent visibles (pas de .js-ready = pas de masquage) */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease var(--delay, 0s), transform 0.7s ease var(--delay, 0s);
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal {
    transition: none;
  }
}
