/* ==========================================================================
   Atelier La Lucarne — feuille de style unique
   Mobile first · breakpoints 768px (tablette) et 1024px (desktop)
   Version : à chaque mise en ligne, incrémenter ?v= (ex. v=20261007) sur
   style.css dans index.html, mentions-legales.html et 404.html.
   ========================================================================== */

/* ---------- Polices (auto-hébergées) ---------- */
@font-face {
  font-family: "Poiret One";
  src: url("links/fonts/poiret-one-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --color-bg: #F6F1E9;
  --color-page: #FFFFFF;              /* fond de base (test : blanc) */
  --color-bg-alt: #F6F1E9;            /* blocs alternés (crème) */
  --color-primary: #B7410E;
  --color-primary-hover: #9A360B;
  --color-accent: #14283F;
  --color-accent-hover: #1F3A5C;
  --color-black: #000000;
  --color-line: rgba(20, 40, 63, 0.15);
  --color-footer: #F6F1E9;
  --color-line-light: rgba(246, 241, 233, 0.2);

  --font-heading: "Poiret One", Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;

  --fs-h1: clamp(2.074rem, 1.6rem + 2.2vw, 2.986rem);
  --fs-h2: clamp(1.728rem, 1.35rem + 1.8vw, 2.488rem);
  --fs-h3: clamp(1.44rem, 1.15rem + 1.4vw, 2.074rem);
  --fs-h4: clamp(1.296rem, 1.1rem + 0.9vw, 1.728rem);
  --fs-h5: clamp(1.2rem, 1.08rem + 0.55vw, 1.44rem);
  --fs-h6: clamp(1.1rem, 1.05rem + 0.25vw, 1.2rem);
  --fs-p: 1rem;
  --fs-small: 0.833rem;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 80px;
  --space-9: 96px;
  --space-10: 128px;

  --section-pad: 80px;
  --container: 1200px;
  --gutter: 16px;
  --header-h: 72px;

  --radius-btn: 15px;
  --radius-card: 8px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1); /* ease-out */
  --dur: 300ms;
}

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
    --header-h: 88px;
    --section-pad: 120px;
  }
}
/* Desktop : la navigation devient une colonne latérale (aside), plus de barre en haut */
@media (min-width: 1024px) {
  :root {
    --gutter: 48px;
    --header-h: 0px;
    --aside-w: 248px;
    --section-pad: 160px;
  }
}
@media (min-width: 1440px) {
  :root {
    --gutter: 180px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--color-page);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: var(--fs-p);
  line-height: 1.6;
  overflow-x: clip; /* évite le scroll horizontal sans casser le sticky */
}

body.is-locked {
  overflow: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-accent);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: 12px; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

p {
  margin: 0 0 var(--space-2);
  max-width: 65ch;
}

strong,
b {
  font-weight: 700;
}

small,
.small {
  font-size: var(--fs-small);
}

ul, ol {
  margin: 0;
  padding: 0;
}

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--dur) var(--ease), text-underline-offset var(--dur) var(--ease);
}
a:hover {
  color: var(--color-primary);
  text-underline-offset: 0.32em;
}

/* Focus visible : règle commune à tous les éléments interactifs */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
:focus:not(:focus-visible) {
  outline: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
}

.section__lead {
  font-size: var(--fs-h6);
  max-width: 60ch;
  margin-bottom: var(--space-7);
}

/* ---------- Lien d'évitement ---------- */
.skip-link {
  position: absolute;
  top: var(--space-1);
  left: var(--space-1);
  z-index: 1000;
  padding: var(--space-1) var(--space-2);
  background: var(--color-primary);
  color: var(--color-bg);
  border-radius: var(--radius-btn);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
  color: var(--color-bg);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  min-height: 44px;
  padding: 18px 32px;
  border: 4px solid transparent;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn--primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-bg);
}
/* Au survol : le fond disparaît, la bordure rouille reste en place */
.btn--primary:hover {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--secondary {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn--secondary:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  cursor: pointer;
  transition: color var(--dur) var(--ease), text-underline-offset var(--dur) var(--ease);
}
.link-button:hover {
  text-underline-offset: 0.32em;
}

/* ==========================================================================
   Aside (navigation)
   ========================================================================== */
.sidebar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-accent);
  color: var(--color-bg);
}
.sidebar a {
  color: var(--color-bg);
}
/* Sur fond bleu nuit, le focus passe en crème pour rester visible */
.sidebar :focus-visible {
  outline-color: var(--color-bg);
}

.sidebar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--header-h);
}

.sidebar__logo {
  display: inline-flex;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.sidebar__logo img {
  height: 40px;
  width: auto;
}
@media (min-width: 768px) {
  .sidebar__logo img {
    height: 48px;
  }
}

/* Burger (mobile) */
.nav-toggle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-bg);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-toggle__bars {
  position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Navigation : panneau plein écran en mobile */
.site-nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  padding: calc(var(--header-h) + var(--space-5)) var(--gutter) var(--space-6);
  background: var(--color-accent);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity var(--dur) var(--ease), visibility 0s;
}
.no-js .site-nav {
  position: static;
  visibility: visible;
  opacity: 1;
  padding: 0;
}
.no-js .nav-toggle {
  display: none;
}

.site-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  text-decoration: none;
}
.site-nav__list a:hover,
.site-nav__list a.is-active {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
  .site-nav,
  .no-js .site-nav {
    position: static;
    padding: 0;
    background: none;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transition: none;
  }
  .site-nav__list {
    flex-direction: row;
    gap: var(--space-4);
  }
  .site-nav__list a {
    position: relative;
    font-family: var(--font-body);
    font-size: 0.95rem;
  }
  .site-nav__list a:hover,
  .site-nav__list a.is-active {
    text-decoration: none;
  }
  .site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 400ms var(--ease);
  }
  .site-nav__list a:hover::after,
  .site-nav__list a.is-active::after {
    transform: scaleX(1);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .site-nav__list {
    gap: var(--space-3);
  }
}

/* Desktop : tout dans l'aside fixé à gauche */
@media (min-width: 1024px) {
  body {
    padding-left: var(--aside-w);
  }
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: var(--aside-w);
    overflow-y: auto;
  }
  .sidebar__inner {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-8);
    min-height: 100%;
    max-width: none;
    margin: 0;
    padding: var(--space-5) var(--space-4);
  }
  .sidebar__logo img {
    width: 168px;
    height: auto;
  }
  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    width: 100%;
  }
  .site-nav__list {
    flex-direction: column;
    gap: var(--space-1);
    align-items: center;
    text-align: center;
  }
  .site-nav__list a {
    font-family: var(--font-heading);
    font-size: var(--fs-h6);
  }
  .consent {
    left: var(--aside-w);
  }
}

/* ==========================================================================
   Apparition au scroll
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: var(--space-8);
}

.hero h1 {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.hero-brand {
  font-size: var(--fs-h1);
  font-weight: 400;
  color: var(--color-accent);
}
.hero-title {
  font-size: var(--fs-h2);
  font-weight: 400;
  color: var(--color-primary);
  max-width: 20ch;
}
.hero__tagline {
  max-width: 45ch;
  margin-bottom: var(--space-5);
  font-size: var(--fs-p);
}

/* Illustration à droite (masquée sur mobile) */
.hero__media {
  display: none;
}
@media (min-width: 768px) {
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--space-4);
  }
  .hero__media {
    display: block;
    justify-self: end;
    width: 100%;
    max-width: 560px;
  }
  .hero__illu {
    width: 100%;
    height: auto;
  }
}

/* ==========================================================================
   Sections : blocs à fonds alternés (pas de filets)
   ========================================================================== */
.section--alt {
  background: var(--color-bg-alt);
}

/* ==========================================================================
   Blocs « split » : un bloc à gauche, un bloc à droite (texte / image)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* mobile : une colonne fluide */
  gap: var(--space-7);
}
.split > * {
  min-width: 0;
}
.split__text > p {
  margin-bottom: 12px;
}
.split__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-8);
    align-items: center;
  }
  /* Méthode : image après le texte dans le code (mobile), à gauche sur desktop */
  .split--media-first .split__media {
    order: -1;
  }
}

/* Mobile : boutons centrés horizontalement */
@media (max-width: 767px) {
  .hero__text .btn,
  .split__text > .btn {
    display: flex;
    width: fit-content;
    margin-inline: auto;
  }
}

/* Liste de rubriques : titre + texte, sans puces ni numéros */
.items {
  list-style: none;
  display: grid;
  gap: 12px; /* même écart que h2 → p */
  margin-top: 12px;
}
.items h3 {
  margin-bottom: 4px;
  font-size: var(--fs-h5);
}
.items p {
  margin: 0;
}
.items .items__hook {
  margin-bottom: var(--space-1);
  font-style: italic;
}

.split__text > .split__cta-text {
  margin-top: var(--space-3);
  margin-bottom: var(--space-6);
  font-size: var(--fs-h6);
}


/* ==========================================================================
   Portfolio : carrousel en fondu, une réalisation en grand + « Voir le site »
   ========================================================================== */
.portfolio {
  margin-top: var(--space-5);
}
/* Toutes les slides dans la même case : la hauteur suit la plus grande */
.carousel__viewport {
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* la colonne peut rétrécir sous la taille des images */
}
.carousel__slide {
  grid-area: 1 / 1;
  margin: 0;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms ease-in-out, visibility 0s linear 800ms;
}
.carousel__slide.is-active,
.no-js .carousel__slide:first-child {
  opacity: 1;
  visibility: visible;
  transition: opacity 800ms ease-in-out, visibility 0s;
}
.carousel__slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
}
/* Portfolio : fin contour noir autour des captures */
.portfolio .carousel__slide img {
  border: 1px solid var(--color-black);
}
.portfolio__caption {
  display: flex;
  justify-content: center;
  max-width: none;
  margin: var(--space-2) 0 0;
}

/* Carrousel des Offres : visuels de formats variés, affichés en entier */
.carousel--gallery .carousel__viewport {
  aspect-ratio: 4 / 5;
  grid-template-rows: minmax(0, 1fr);
}
.carousel--gallery .carousel__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
/* L'image garde ses proportions : l'arrondi suit ses vrais bords */
.carousel--gallery .carousel__slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 12px;
}

/* Pastilles de navigation des carrousels */
.carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin-top: var(--space-3);
}
.carousel__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.carousel__dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.carousel__dot:hover::before {
  background: var(--color-accent);
}
.carousel__dot[aria-current="true"]::before {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.2);
}
/* Petits écrans : pastilles plus étroites (hauteur 44px conservée) */
@media (max-width: 519px) {
  .carousel__dot {
    width: 28px;
  }
}
.no-js .carousel__dots {
  display: none;
}
/* ==========================================================================
   À propos
   ========================================================================== */
.about {
  max-width: 65ch;
  margin-inline: auto;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
  text-align: center;
}
.contact h2,
.contact p {
  margin-inline: auto;
}
.contact__intro {
  max-width: 55ch;
  margin-bottom: var(--space-5);
}
.contact__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.contact__actions .btn {
  max-width: 100%;
  overflow-wrap: anywhere;
}
@media (min-width: 768px) {
  .contact__actions {
    flex-direction: row;
    justify-content: center;
  }
}
.contact__status {
  min-height: 1.6em;
  margin: var(--space-2) auto 0;
  font-size: var(--fs-small);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-footer);
  color: var(--color-accent);
  padding-block: var(--space-7);
  font-size: var(--fs-small);
}
.site-footer a,
.site-footer .link-button {
  color: var(--color-accent);
}
.site-footer a:hover,
.site-footer .link-button:hover {
  color: var(--color-accent);
}
/* Sur ce fond, le focus passe en bleu nuit pour rester visible */
.site-footer :focus-visible {
  outline-color: var(--color-accent);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.site-footer__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.site-footer__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 var(--space-3);
}
.site-footer__links a,
.site-footer__links .link-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-footer__copy {
  margin: 0;
  opacity: 0.85;
}
/* Desktop : e-mail · liens · copyright sur une ligne */
@media (min-width: 768px) {
  .site-footer__inner {
    align-items: stretch;
    text-align: left;
  }
  .site-footer__meta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-2) var(--space-4);
  }
}
/* ==========================================================================
   Bandeau cookies
   ========================================================================== */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--color-page);
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -4px 24px rgba(20, 40, 63, 0.06);
}
.consent[hidden] {
  display: none;
}
.consent__inner {
  position: relative;
  display: grid;
  gap: var(--space-2);
  padding-block: var(--space-4) var(--space-3);
}
.consent__text {
  margin: 0;
  padding-right: 0;
  font-size: 0.95rem;
}
.consent__skip {
  justify-self: end;
  order: -1;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-small);
  margin-block: calc(-1 * var(--space-2)) calc(-1 * var(--space-1));
}
.consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}
.consent__btn {
  width: 100%;
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
}
.consent__btn:hover {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}
@media (min-width: 768px) {
  .consent__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: var(--space-5);
    padding-block: var(--space-5) var(--space-4);
  }
  .consent__skip {
    position: absolute;
    top: 0;
    right: var(--gutter);
    margin: 0;
  }
  .consent__actions {
    grid-template-columns: repeat(2, 10rem);
  }
}

/* ==========================================================================
   Page légale
   ========================================================================== */
.legal {
  max-width: 65ch;
  margin-inline: auto;
  padding-block: var(--space-8) var(--section-pad);
}
.legal h1 {
  margin-bottom: var(--space-4);
}
.legal__section {
  padding-block: var(--space-7);
}
.legal__section h3 {
  margin-top: var(--space-5);
  margin-bottom: 4px;
  font-size: var(--fs-h5);
}
.legal__section ul {
  padding-left: 1.2em;
  margin-bottom: var(--space-2);
}
.legal__section li {
  margin-bottom: var(--space-1);
}
.legal__section li::marker {
  color: var(--color-primary);
}

/* ==========================================================================
   Écran d'ouverture : spinner rouille 1 s, puis fondu (CSS seul)
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-page);
  animation: preloader-out 400ms ease-out 1s forwards;
}
.preloader__spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(183, 65, 14, 0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}
@keyframes preloader-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ==========================================================================
   Spinner rouille pendant le chargement des images
   (classe ajoutée par main.js sur le conteneur, retirée au chargement)
   ========================================================================== */
.is-loading {
  position: relative;
}
.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 3px solid rgba(183, 65, 14, 0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
  pointer-events: none;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Mouvement réduit : tout est désactivé
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
