/* =========================================================================
   ELYSIOR CONCIERGERIE — Design system
   Charte stricte : noir profond dominant, or en filets / lumière / étoiles.
   « L'or se mérite » : 1px, accents, jamais de gros aplats clinquants.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  /* Charte — thème CLAIR : fond blanc, texte noir, or en accent */
  --noir:      #FFFFFF;          /* fond de page (clair) */
  --noir-soft: #FBFAF6;          /* fond de section légèrement chaud */
  --surface:   #FBFAF6;          /* surface carte */
  --surface-2: #F4F1E8;          /* surface carte survol */
  --or:        #B08829;          /* or profond — lisible sur blanc */
  --or-soft:   #C9A84C;          /* or clair — glows / hover */
  --or-deep:   #8C6B22;
  --blanc:     #14110B;          /* texte principal (presque noir, chaud) */
  --gris:      #57513F;          /* texte secondaire */
  --gris-2:    rgba(20,17,11,0.56);
  --gris-3:    rgba(20,17,11,0.40);
  --filet:     rgba(176,136,41,0.45);    /* filet or */
  --filet-soft:rgba(20,17,11,0.12);      /* filet neutre */
  --or-glow:   rgba(201,168,76,0.20);

  /* Typo */
  --serif: 'Cormorant Garamond', 'Hoefler Text', Georgia, serif;
  --sans:  'Helvetica Neue', Helvetica, 'Segoe UI', Arial, sans-serif;

  /* Rythme */
  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(176,136,41,0.22); color: #14110B; }

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

h1, h2, h3 { margin: 0; font-weight: 500; }

/* Layout helper */
.shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

/* ---- Kicker / eyebrow ---- */
.kicker {
  font-family: var(--sans);
  font-size: clamp(11px, 1.05vw, 13px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
}
.kicker::before {
  content: "";
  width: clamp(22px, 4vw, 44px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or));
}
.kicker.centered::after {
  content: "";
  width: clamp(22px, 4vw, 44px);
  height: 1px;
  background: linear-gradient(90deg, var(--or), transparent);
}

/* =========================================================================
   EMBLÈME ELYSIOR (placeholder typographique — clés croisées abstraites)
   ========================================================================= */
.emblem {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.emblem__mark {
  width: 46px; height: 46px;
  position: relative;
  display: grid; place-items: center;
}
.emblem__mark svg { width: 100%; height: 100%; overflow: visible; }
.emblem__word {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.46em;
  text-indent: 0.46em;
  color: var(--blanc);
  font-weight: 500;
  line-height: 1;
}
.emblem__sub {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--gris-2);
}

/* =========================================================================
   STARS
   ========================================================================= */
.stars { display: inline-flex; align-items: center; gap: 0.18em; line-height: 1; }
.star {
  width: 1em; height: 1em;
  display: inline-block;
  color: var(--or);
}
.star svg { width: 100%; height: 100%; display: block; }
.star .star__fill {
  fill: var(--or);
  transition: clip-path .5s var(--ease);
  /* le scale (GSAP) doit pivoter au centre de CHAQUE étoile, pas au coin du SVG */
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

/* =========================================================================
   BUTTONS / CTA
   ========================================================================= */
.btn {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  padding: 17px 30px;
  border-radius: 2px;
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  white-space: nowrap;
}
.btn--primary {
  background: var(--or);
  color: #1a1304;
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--or), 0 14px 38px -16px rgba(201,168,76,0.7);
}
.btn--primary:hover {
  background: var(--or-soft);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--or-soft), 0 20px 46px -16px rgba(201,168,76,0.85);
}
.btn--ghost {
  background: transparent;
  color: var(--blanc);
  box-shadow: inset 0 0 0 1px var(--filet);
  font-weight: 500;
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1px var(--or);
  color: var(--or-soft);
  transform: translateY(-2px);
}
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Section spacing */
section { position: relative; }
.section-pad { padding-block: clamp(80px, 12vh, 160px); }

/* =========================================================================
   BANDE DE VALEURS — l'ancien sous-titre, en bandeau qui revient au scroll
   ========================================================================= */
.valueband {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
  background: var(--noir-soft);
  padding-block: 16px;
}
.valueband__track {
  display: flex;
  width: max-content;
  animation: valueScroll 32s linear infinite;
}
.valueband:hover .valueband__track { animation-play-state: paused; }
.valueband__set {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.valueband__set > span {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blanc);
  padding-inline: clamp(20px, 3vw, 40px);
  white-space: nowrap;
}
.valueband__set > span:first-child { color: var(--or); font-style: normal; }
.valueband__set i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--or);
  flex: 0 0 auto;
  transform: rotate(45deg);
}
@keyframes valueScroll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  /* la bande de valeurs reste un défilement doux (décoratif, non clignotant) */
  .valueband__track { animation-duration: 46s; }
}

/* =========================================================================
   FEU D'ARTIFICE — fin du compteur de note 5,0 (piloté par rating.js)
   ========================================================================= */
.rating-fx {
  position: absolute; left: 50%; top: 45%;
  width: 0; height: 0; pointer-events: none; z-index: 6;
}
.rating-fx i {
  position: absolute; left: 0; top: 0;
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--or-soft, #C9A84C);
  box-shadow: 0 0 8px 1px rgba(201,168,76,0.85);
}
