/* ============================================================
   GROUPE CHEDJOU — Base Reset & Global Styles
   ============================================================ */

/* Montserrat (toutes graisses) + Montserrat Alternates — police officielle charte Groupe Chedjou */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,700&family=Montserrat+Alternates:ital,wght@0,500;0,700;1,700&display=swap');

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-weight-reg);
  color: var(--color-grey-dark);
  background-color: var(--color-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Accessibilité ── */
.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 ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-px);
}
.container--md { max-width: var(--container-md); }
.container--sm { max-width: var(--container-sm); }

/* ── Typographie ── */

/* Tous les titres — Montserrat Bold (charte officielle) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-grey-dark);
}

h1 { font-size: var(--text-hero); line-height: 1.05; }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { line-height: 1.75; color: var(--color-grey-mid); }

/* ── Sélection ── */
::selection { background: var(--color-gold); color: var(--color-blue-night); }

/* ── Focus ── */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── Scrollbar ── */
::-webkit-scrollbar        { width: 5px; }
::-webkit-scrollbar-track  { background: var(--color-grey-light); }
::-webkit-scrollbar-thumb  { background: var(--color-blue-deep); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

/* ── Section spacing ── */
section { padding-block: var(--section-py); }

/* ── Gold lines ── */
.gold-line-v {
  display: inline-block;
  width: 2px;
  height: 56px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
}

.gold-line-h {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--color-gold);
}

/* ── Text utilities ── */
.text-gold    { color: var(--color-gold) !important; }
.text-white   { color: var(--color-white) !important; }
.text-blue    { color: var(--color-blue-deep) !important; }
.text-mid     { color: var(--color-grey-mid) !important; }
.text-center  { text-align: center; }

/* ── Lazy loading ── */
img[loading="lazy"] { opacity: 0; transition: opacity var(--dur-slow) var(--ease-out); }
img[loading="lazy"].loaded { opacity: 1; }

/* ── AOS ── 
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }*/
