/* ==========================================================================
   LADY M - main.css
   Styles communs aux deux pages : variables, base, en-tête, boutons, hero,
   galerie, sections, pied de page, lightbox, animations.
   Approche Mobile First : les styles de base visent le smartphone.
   Les adaptations tablette et bureau sont dans responsive.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES (design system)
   Couleurs tirées du logo : noir du script et dorés cuivrés de l'anneau.
   Pour changer l'identité visuelle, modifie uniquement ce bloc.
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs */
  --color-bg: #FCFAF6;          /* fond principal (ivoire chaud) */
  --color-surface: #FFFFFF;     /* cartes et formulaires */
  --color-tint: #F4ECE0;        /* fond des sections alternées (crème) */
  --color-ink: #1B1618;         /* noir du logo : textes, onglets, éléments sombres */
  --color-gold: #B98A4B;        /* doré cuivré de l'anneau du logo (boutons) */
  --color-gold-light: #CBA25F;  /* doré clair (survol) */
  --color-gold-dark: #8E6A35;   /* doré foncé lisible sur fond clair (icônes, liens) */
  --color-text: #1B1618;        /* texte principal */
  --color-text-soft: #645B52;   /* texte secondaire */
  --color-line: #E6DAC8;        /* bordures fines */
  --color-whatsapp: #1B7F4A;
  --color-whatsapp-dark: #166A3E;
  --color-error: #B3261E;

  /* Typographie */
  --font-title: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Formes et ombres */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 2px 12px rgba(27, 22, 24, 0.06);
  --shadow-soft: 0 12px 32px rgba(27, 22, 24, 0.12);

  /* Divers */
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  animation: page-in 0.5s ease both; /* transition d'entrée de page */
}

body.is-leaving { opacity: 0; transition: opacity 0.25s ease; } /* transition de sortie */
body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.1;
}

a { color: inherit; }
ul { padding: 0; }

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Accessibilité : texte lisible uniquement par les lecteurs d'écran */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--color-ink);
  color: #fff;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   3. BOUTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--primary { background: var(--color-gold); color: var(--color-ink); }
.btn--primary:hover { background: var(--color-gold-light); }

.btn--outline { border-color: var(--color-ink); color: var(--color-ink); background: transparent; }
.btn--outline:hover { background: var(--color-ink); color: #fff; }

.btn--whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--color-whatsapp-dark); }

.btn--sm { min-height: 2.5rem; padding: 0.5rem 1.15rem; font-size: 0.875rem; }
.btn--lg { min-height: 3.25rem; padding: 0.85rem 2.25rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   4. EN-TÊTE ET NAVIGATION
   Transparent sur le hero, fond ivoire après défilement (classe is-scrolled).
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #fff;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.site-header.is-scrolled,
.site-header.is-menu-open,
.site-header--solid {
  background: rgba(252, 250, 246, 0.94);
  color: var(--color-text);
  box-shadow: 0 1px 0 var(--color-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Logo : badge rond (le logo a un fond blanc, le cercle évite un carré blanc sur la photo) */
.brand { display: inline-flex; align-items: center; }
.brand img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.nav-toggle .icon { width: 1.6rem; height: 1.6rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Menu mobile : panneau sous l'en-tête */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.25rem 1.25rem 1.25rem;
  background: var(--color-bg);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }

.site-nav__list { margin: 0; list-style: none; }
.site-nav__link {
  display: block;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--color-line);
  font-weight: 500;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. HERO (carrousel de 3 slides)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: var(--color-ink);
}

.hero__slides,
.hero__slide,
.hero__overlay { position: absolute; inset: 0; }

.hero__slide { opacity: 0; transition: opacity 0.9s ease; }
.hero__slide.is-active { opacity: 1; }

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* recadre sans jamais déformer */
  object-position: var(--focus, 50% 50%);
  transform: scale(1.06);
  transition: transform 2.6s ease-out;
}
.hero__slide.is-active img { transform: scale(1); }

.hero__overlay {
  background: linear-gradient(180deg, rgba(27, 22, 24, 0.5) 0%, rgba(27, 22, 24, 0.2) 38%, rgba(27, 22, 24, 0.8) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-block: 7rem 2rem;
}

/* Les trois textes se superposent dans la même cellule : aucun saut de mise en page */
.hero__texts { display: grid; }
.hero__text {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.6s ease 0.2s, transform 0.6s var(--ease) 0.2s;
}
.hero__text.is-active { opacity: 1; transform: none; pointer-events: auto; }

.hero__title {
  max-width: 14ch;
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 11vw, 5rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}
.hero__description {
  max-width: 30rem;
  margin: 0;
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero__footer { display: flex; flex-direction: column; gap: 1.5rem; }

.hero__controls { display: flex; align-items: center; gap: 0.5rem; }

.hero__arrow {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.hero__arrow:hover { background: rgba(255, 255, 255, 0.25); transform: scale(1.06); }

.hero__pause .icon { width: 1.05rem; height: 1.05rem; }
.hero__pause .icon-play { display: none; }
.hero__pause.is-paused .icon-pause { display: none; }
.hero__pause.is-paused .icon-play { display: block; }

/* Indicateurs de progression : la barre se remplit pendant la durée d'une slide */
.hero__dots { display: flex; align-items: center; margin-inline: 0.25rem; }
.hero__dot {
  position: relative;
  width: 2.5rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.hero__dot::before,
.hero__dot::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  top: 50%;
  height: 3px;
  border-radius: 2px;
}
.hero__dot::before { background: rgba(255, 255, 255, 0.4); transform: translateY(-50%); }
.hero__dot::after { background: var(--color-gold-light); transform: translateY(-50%) scaleX(0); transform-origin: left; }
.hero__dot.is-active::after { animation: dot-progress var(--hero-interval, 2000ms) linear forwards; }
.hero.is-paused .hero__dot.is-active::after { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   6. SECTIONS (structure commune)
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--tint { background: var(--color-tint); }

.section__header {
  max-width: 40rem;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 6vw, 3.25rem);
}
/* Petit filet doré sous les titres */
.section__title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin: 1rem auto 0;
  background: var(--color-gold);
}
.section__title--left::after { margin-left: 0; }

.section__subtitle { margin: 0; font-size: 1.05rem; color: var(--color-text-soft); }

/* --------------------------------------------------------------------------
   7. GALERIE (onglets Mains / Pieds + grille en colonnes)
   -------------------------------------------------------------------------- */
.gallery-tabs {
  display: flex;
  gap: 0.25rem;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 2rem;
  padding: 0.3rem;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-surface);
}
.gallery-tab {
  min-height: 2.75rem;
  padding: 0.55rem 1.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.gallery-tab:hover { background: var(--color-tint); }
.gallery-tab.is-active,
.gallery-tab.is-active:hover { background: var(--color-ink); color: #fff; }

.gallery-panel { animation: fade-in 0.4s ease; }
.gallery-panel[hidden] { display: none; }

/* Colonnes : les photos s'empilent avec des proportions variées (effet masonry).
   Pour changer les proportions, modifie les aspect-ratio ci-dessous. */
.gallery {
  margin: 0;
  padding: 0;
  list-style: none;
  column-count: 2;
  column-gap: 0.75rem;
}
.gallery__item {
  display: block;
  margin: 0 0 0.75rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: var(--color-tint);
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
}
.gallery__item:nth-child(3n + 2) { aspect-ratio: 1 / 1; }
.gallery__item:nth-child(5n + 3) { aspect-ratio: 4 / 5; }

.gallery__button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.gallery__button img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* recadrage propre, jamais de déformation */
  transition: transform 0.7s var(--ease);
}
@media (hover: hover) {
  .gallery__button:hover img { transform: scale(1.06); }
}

/* --------------------------------------------------------------------------
   8. À PROPOS
   -------------------------------------------------------------------------- */
.about { display: grid; gap: 2.25rem; align-items: center; }
.about__media { margin: 0; }
.about__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%; /* garde le visage dans le cadre */
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.about__caption {
  margin-top: 1rem;
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--color-text-soft);
}
.about__caption strong { color: var(--color-text); }
.about__text p { margin: 0 0 1.75rem; font-size: 1.05rem; color: var(--color-text-soft); }

/* --------------------------------------------------------------------------
   9. LOCALISATION
   -------------------------------------------------------------------------- */
.location { display: grid; gap: 1.5rem; }
.location__info {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.location__address { display: flex; gap: 0.75rem; margin: 0 0 1.5rem; color: var(--color-text-soft); }
.location__address .icon { margin-top: 0.2rem; color: var(--color-gold-dark); }

.location__map {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-tint);
  box-shadow: var(--shadow-card);
}
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Boutons Plan / Satellite posés sur la carte */
.map-switch {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}
.map-switch__btn {
  min-height: 2.5rem;
  padding: 0.4rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.map-switch__btn:hover { background: var(--color-tint); }
.map-switch__btn.is-active,
.map-switch__btn.is-active:hover { background: var(--color-ink); color: #fff; }

/* --------------------------------------------------------------------------
   10. CONTACT
   -------------------------------------------------------------------------- */
.contact { display: grid; gap: 1rem; }

.contact__icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 50%;
  background: var(--color-tint);
  color: var(--color-gold-dark);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.contact__icon--whatsapp { background: var(--color-whatsapp); color: #fff; }

.contact__label { display: block; margin: 0; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-soft); }
.contact__value { display: block; margin: 0; font-size: 1.1rem; font-weight: 600; }

/* WhatsApp : bloc sombre, sans bordure ni ombre verte */
.contact__featured {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.75rem;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  background: var(--color-ink);
  color: #fff;
}
.contact__featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(185, 138, 75, 0.38), transparent 55%);
  pointer-events: none;
}
.contact__featured > * { position: relative; }
.contact__featured-text { display: flex; align-items: center; gap: 1rem; }
.contact__featured .contact__label { color: rgba(255, 255, 255, 0.7); }
.contact__featured .contact__value {
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 6vw, 2.5rem);
  line-height: 1.1;
}
.contact__hint { margin: 0.35rem 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.contact__featured .btn:hover { box-shadow: none; }

/* Instagram et TikTok : cartes qui montrent qu'elles sont cliquables */
.contact__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  text-decoration: none;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact__body { flex: 1; min-width: 0; }
.contact__cta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold-dark);
}
.contact__go {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  color: var(--color-ink);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact__card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-soft);
}
.contact__card:hover .contact__icon { background: var(--color-gold); color: var(--color-ink); }
.contact__card:hover .contact__go {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
  transform: translate(2px, -2px);
}
.contact__card:hover .contact__cta { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   11. PIED DE PAGE
   -------------------------------------------------------------------------- */
.site-footer { padding-top: 3.5rem; background: var(--color-tint); border-top: 1px solid var(--color-line); }
.site-footer__grid { display: grid; gap: 2rem; }
.site-footer__brand img {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.site-footer__brand p { margin: 0; max-width: 18rem; color: var(--color-text-soft); }
.site-footer__title { margin: 0 0 0.75rem; font-size: 1.35rem; }
.site-footer__list { margin: 0; list-style: none; color: var(--color-text-soft); }
.site-footer__list li { margin-bottom: 0.4rem; }
.site-footer__list a { text-decoration: none; }
.site-footer__list a:hover { color: var(--color-gold-dark); text-decoration: underline; }
.site-footer__copy {
  margin: 2.5rem 0 0;
  padding: 1.25rem 1.25rem 1.5rem;
  border-top: 1px solid var(--color-line);
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-soft);
}

/* Partenaire (logo + lien portfolio) */
.site-footer__partner {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line);
}
.site-footer__partner-label {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}
.site-footer__partner img {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 0.3rem;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.site-footer__partner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gold-dark);
  text-decoration: none;
}
.site-footer__partner-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   12. LIGHTBOX
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 4.5rem;
  background: rgba(20, 14, 16, 0.94);
  animation: fade-in 0.25s ease;
}
.lightbox[hidden] { display: none; }

.lightbox__figure { margin: 0; max-width: min(100%, 64rem); }
.lightbox__image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 75vh;
  max-height: calc(100dvh - 9rem);
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__btn {
  position: absolute;
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__close { top: 0.9rem; right: 0.9rem; }
.lightbox__prev { bottom: 0.9rem; left: calc(50% - 3.5rem); }
.lightbox__next { bottom: 0.9rem; right: calc(50% - 3.5rem); }
.lightbox__count { position: absolute; top: 1.4rem; left: 1.25rem; margin: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); }

/* --------------------------------------------------------------------------
   13. ANIMATIONS
   -------------------------------------------------------------------------- */
/* Apparition progressive : active seulement si JavaScript tourne (classe .js sur <html>) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes dot-progress {
  from { transform: translateY(-50%) scaleX(0); }
  to { transform: translateY(-50%) scaleX(1); }
}

/* Respect de la préférence système "réduire les animations" */
@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;
    transition-delay: 0s !important;
  }
}