/* ==========================================================================
   ÉLYSÉE HÔTEL & SPA — RESET, TYPOGRAPHY & BASE STYLES
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
  position: relative;
}

/* --- Sélection de texte soignée --- */
::selection {
  background-color: var(--color-gold-light);
  color: var(--color-bg-dark);
}

/* --- Scrollbar Raffinée --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-subtle);
}

::-webkit-scrollbar-thumb {
  background: #C4BEB5;
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-primary);
}

/* --- Médias --- */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* --- Liens & Boutons --- */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* --- Typographie Hiérarchique --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--text-hero);
  font-weight: 400;
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  color: var(--color-text-secondary);
  font-weight: 400;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* --- Conteneurs & Grilles --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* --- En-têtes de Section "Haute Horlogerie" --- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-2xl) auto;
}

.section-header--left {
  text-align: left;
  margin-left: 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-gold-primary);
  margin-bottom: 1rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--color-gold-primary);
  opacity: 0.7;
}

.section-header--left .section-eyebrow::before {
  display: none;
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  color: var(--color-text-primary);
}

.section-description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.section-header--left .section-description {
  margin-left: 0;
}

/* Séparateur or délicat */
.gold-divider {
  width: 48px;
  height: 1px;
  background: var(--color-gold-primary);
  margin: 1.5rem auto;
  opacity: 0.8;
}

.section-header--left .gold-divider {
  margin-left: 0;
}

/* --- Sections Fond Sombre --- */
.theme-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4 {
  color: var(--color-text-inverse);
}

.theme-dark p {
  color: var(--color-text-inverse-muted);
}

.theme-dark .section-title {
  color: var(--color-text-inverse);
}

.theme-dark .section-description {
  color: var(--color-text-inverse-muted);
}

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

