/* =========================================================================
   Enza & Pierre — 22.10.2027 — Île de la Réunion
   Socle commun : tokens, reset, typographie
   ========================================================================= */

:root {
  /* --- palette pastel ------------------------------------------------- */
  --creme:        #fdf6ee;
  --creme-chaud:  #f9ece0;
  --sable:        #f3e3ce;
  --rose:         #f7dde3;
  --rose-fonce:   #e9bfc8;
  --peche:        #fbe3d0;
  --lagon:        #cfe9e5;
  --lagon-fonce:  #8fc9c4;
  --ciel:         #dceaf1;
  --feuille:      #b9cdb4;
  --feuille-fonce:#7c9e7f;
  --terracotta:   #d89a82;

  --encre:        #3a3a38;
  --encre-doux:   #6c6a66;
  --ombre:        rgba(93, 78, 70, 0.18);
  --ombre-forte:  rgba(93, 78, 70, 0.28);

  /* --- typographie ----------------------------------------------------- */
  --display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --texte:   "Jost", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --script:  "Petit Formal Script", "Snell Roundhand", "Apple Chancery", cursive;

  /* --- rythme ---------------------------------------------------------- */
  --rayon:    24px;
  --rayon-xl: 999px;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--creme);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--texte);
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

button { border: 0; font: inherit; color: inherit; }
a { color: inherit; }

img { max-width: 100%; }
/* les calques de decor debordent volontairement du cadre */
.calque { max-width: none; }

/* Bouton pilule crème, réutilisé partout */
.pilule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 30px;
  border-radius: var(--rayon-xl);
  background: var(--creme);
  color: var(--encre);
  box-shadow: 0 14px 32px var(--ombre);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease;
}
.pilule:hover { transform: translateY(-3px); box-shadow: 0 20px 42px var(--ombre-forte); }
.pilule--plein { background: var(--terracotta); color: var(--creme); }
.pilule--ligne  { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }

/* Étiquette / sur-titre en petites capitales espacées */
.surtitre {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
