/* ============================================================
   BASE — Reset · Custom properties · Layout utils
   Tiroir / morganetiroir.com
   ============================================================ */


/* ── RESET ── */

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

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

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

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

ul, ol {
  list-style: none;
}


/* ── CUSTOM PROPERTIES ── */

:root {

  /* Fonds */
  --white:          #ffffff;
  --off-white:      #f7f6f4;
  --surface:        #f0eeeb;

  /* Bordures */
  --border:         #e2e0dc;
  --border-strong:  #c8c5bf;

  /* Texte */
  --text-primary:   #111110;
  --text-secondary: #666560;
  --text-muted:     #999794;
  --text-disabled:  #c5c3be;

  /* Couleurs de marque */
  --orange:         #EA8915;
  --teal:           #159184;
  --orange-light:   #fef3e2;
  --teal-light:     #e3f5f3;
  --gradient-brand: linear-gradient(90deg, #EA8915, #159184);

  /* Typographie */
  --font:           'Plus Jakarta Sans', sans-serif;

  /* Echelle typographique */
  --text-xs:        11px;
  --text-sm:        13px;
  --text-base:      15px;
  --text-md:        17px;
  --text-lg:        22px;
  --text-xl:        32px;
  --text-2xl:       48px;
  --text-3xl:       72px;
  --text-hero:      96px;

  /* Espacements */
  --space-1:    4px;
  --space-2:    8px;
  --space-3:    12px;
  --space-4:    16px;
  --space-5:    24px;
  --space-6:    32px;
  --space-7:    48px;
  --space-8:    64px;
  --space-9:    96px;
  --space-10:   128px;

  /* Rayon de bordure */
  --radius-sm:  2px;
  --radius-md:  4px;
  --radius-lg:  8px;

  /* Transitions */
  --ease:             cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast:    0.2s;
  --duration-mid:     0.35s;
  --duration-slow:    0.5s;

  /* Layout */
  --max-width:        1200px;
  --gutter:           60px;
  --gutter-mobile:    24px;
  --header-height:    64px;
}


/* ── BASE ── */

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

body {
  background: var(--off-white);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


/* ── LAYOUT UTILS ── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 0;
}

.surface { background: var(--surface); }
.white   { background: var(--white); }


/* ── RESPONSIVE ── */

@media (max-width: 768px) {
  .container {
    padding: 0 var(--gutter-mobile);
  }
}
