/* Identité Belle'Hair : sauge, ivoire, sable, taupe, brun.
   Bodoni Moda pour les titres (jamais en capitales), Plus Jakarta Sans pour le texte et l'interface. */

@font-face { font-family: "Bodoni Moda"; font-weight: 400; font-display: swap; src: url("/fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-weight: 500; font-display: swap; src: url("/fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-weight: 600; font-display: swap; src: url("/fonts/bodoni-moda-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Couleurs */
  --ivoire: #F6F2EA;
  --ivoire-fonce: #EFE9DE;
  --blanc: #FFFFFF;
  --sable: #E8DDCB;
  --taupe: #A89886;
  --indice: #857767;        /* textes d'exemple dans les champs : lisibles */
  --brun: #2B211A;
  --brun-doux: #6B5F54;      /* texte secondaire : 5,9:1 sur blanc */
  --sauge: #7E9170;
  --sauge-fonce: #4F6243;
  --sauge-pale: #ECF0E6;
  --terracotta: #A5432B;
  --terracotta-pale: #FBEEE9;
  --filet: rgba(43, 33, 26, 0.08);
  /* Fond de page et panneaux (maquette « the act ») */
  --fond-page: #DDD5CB;
  --panneau: #FFFDF9;
  /* Teintes assorties pour les tuiles (en plus de la palette de Leïla) */
  --teinte-sauge: #C5CFB9;
  --teinte-brume: #B9C8CE;
  --teinte-argile: #DCC6B6;
  --teinte-lavande: #D3CBDB;
  --filet-fort: rgba(43, 33, 26, 0.14);

  /* Typographie */
  --titre: "Bodoni Moda", "Didot", Georgia, serif;
  --texte: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  /* Formes : rayons concentriques (extérieur = intérieur + marge) */
  --r-petit: 10px;
  --r-champ: 14px;
  --r-carte: 24px;
  --r-pilule: 999px;

  /* Ombres douces en plusieurs couches, teintées brun */
  --ombre-1: 0 1px 2px rgba(43, 33, 26, 0.04), 0 2px 8px -2px rgba(43, 33, 26, 0.06);
  --ombre-2: 0 1px 2px rgba(43, 33, 26, 0.04), 0 12px 32px -12px rgba(43, 33, 26, 0.16);
  --ombre-3: 0 2px 4px rgba(43, 33, 26, 0.05), 0 24px 56px -16px rgba(43, 33, 26, 0.24);

  /* Mouvement */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-tiroir: cubic-bezier(0.32, 0.72, 0, 1);   /* courbe des tiroirs iOS (Ionic) */
}

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

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--brun);
  font: 400 16px/1.6 var(--texte);
}

h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}

p, li { text-wrap: pretty; }

a { color: var(--sauge-fonce); text-underline-offset: 3px; }

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

input, select, textarea, button { font: inherit; color: inherit; }
input, select, textarea { font-size: 16px; } /* pas de zoom automatique sur iPhone */

button, a, [role="button"], label { touch-action: manipulation; }
button, [role="button"] { user-select: none; -webkit-user-select: none; }

:focus-visible { outline: 2px solid var(--sauge-fonce); outline-offset: 3px; }

.icone { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.visuellement-cache {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
