/* ==========================================================================
   Maison Orsine : socle commun (couleurs, polices, boutons)
   Demonstration Solane IA. Identite fictive.
   ========================================================================== */

@font-face {
  font-family: "Cormorant";
  src: url("../fonts/Cormorant-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/Cormorant-var-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/InterTight-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Nuit : les fonds sombres */
  --encre: #070B14;
  --nuit: #0C1424;
  --nuit-2: #121C31;
  --nuit-3: #1A2640;
  /* Or champagne : les accents */
  --or: #C6A667;
  --or-clair: #E2CC9A;
  --or-sombre: #9C7F45;
  /* Ivoire : les pages d'outils */
  --ivoire: #F5F0E6;
  --ivoire-2: #EDE5D6;
  --papier: #FBF8F2;
  /* Textes */
  --txt-clair: #ECE6DA;
  --txt-doux: #9AA3B5;
  --txt-fonce: #161C28;
  --txt-gris: #5E6472;
  /* Filets */
  --filet-clair: rgba(198, 166, 103, 0.28);
  --filet-fonce: rgba(22, 28, 40, 0.14);

  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--txt-clair);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--or); color: var(--encre); }

.or-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* Petites capitales espacees : la signature typographique de la maison */
.or-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--or);
  margin: 0;
}
.or-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
}
.or-h2 em, .or-h1 em { font-style: italic; color: var(--or-clair); }

/* Boutons */
.or-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 28px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.or-btn--or { background: var(--or); color: var(--encre); }
.or-btn--or:hover { background: var(--or-clair); }
.or-btn--ligne { border-color: var(--filet-clair); color: var(--txt-clair); }
.or-btn--ligne:hover { border-color: var(--or); color: var(--or-clair); }
.or-btn--sombre { background: var(--txt-fonce); color: var(--ivoire); }
.or-btn--sombre:hover { background: var(--nuit-3); }
.or-btn:focus-visible, a:focus-visible, button:focus-visible { outline: 1px solid var(--or); outline-offset: 4px; }

.or-lien {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--or);
  border-bottom: 1px solid var(--filet-clair);
  padding-bottom: 4px;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.or-lien:hover { color: var(--or-clair); border-color: var(--or); }

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