/* ============================================================
   Arsõlya — Global Styles
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  margin: 0; padding: 0;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: #ecece8;
}

body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: #111;
  background: #ecece8;
  overflow-x: hidden;
  opacity: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── Transition de page (fade-in/out global) ── */
body.ars-ready {
  opacity: 1;
  transition: opacity 0.22s var(--ars-ease);
}
body.ars-exit {
  opacity: 0;
  transition: opacity 0.09s ease-in !important;
}

/* ── Loader Õ (écran de chargement inter-pages) ── */
html::before {
  content: 'Õ';
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #faf8f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Times New Roman', Georgia, serif;
  font-size: clamp(64px, 14vw, 128px);
  color: rgba(11,13,16,.22);
  letter-spacing: 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.08s ease-in;
}
html.ars-page-ready::before {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.38s ease, visibility 0s 0.38s;
}

/* ── Touch : pas de délai 300ms, feedback immédiat ── */
a, button, [role="button"], input[type="submit"], label {
  touch-action: manipulation;
}

/* ── Feedback tactile universel (opacity only — pas de transform pour éviter conflit avec translateX des boutons centrés) ── */
button:not(:disabled):active { opacity: 0.72; }
a:active { opacity: 0.68; }
main#MainContent { flex: none; background: #faf8f5; padding-bottom: 0 !important; margin-bottom: 0 !important; }
.arsolya-legal-footer { display: none !important; }
#pageLegalEnd { padding-bottom: 0 !important; margin-bottom: 0 !important; overflow: hidden; }
#pageLegalEnd p:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; line-height: 0.85 !important; display: block; overflow: hidden; }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
button { font-family: inherit; }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 50px #faf8f5 inset !important;
  -webkit-text-fill-color: #0b0d10 !important;
  caret-color: #0b0d10;
}

/* ── Google Translate — suppression complète de l'UI ── */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.skiptranslate > iframe,
.goog-te-spinner-pos,
#goog-gt-tt,
.goog-tooltip,
.goog-tooltip-card,
.goog-te-ftab-float,
.goog-te-menu-value { display: none !important; }

/* Widget GT hors-écran — display:none inline bloquerait l'init du combo */
#google_translate_element {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  display: block !important;
}

/* GT décale body et html → on annule avec spécificité maximale */
html body { top: 0 !important; margin-top: 0 !important; }
html       { top: 0 !important; margin-top: 0 !important; }

/* GT injecte des <font> qui cassent les layouts flex/grid → transparent */
font { display: contents !important; }

/* ============================================================
   HEADER
   ============================================================ */

:root {
  --ars-header-height: 90px;
  --ars-text: #111111;
  --ars-menu-bg: #faf8f5;
  --ars-header-solid: #faf8f5;
  --ars-ease: cubic-bezier(.22,1,.36,1);
  --ars-ease-out: cubic-bezier(.16,1,.3,1);
  --ars-ease-in: cubic-bezier(.4,0,1,1);
}

.ars-header {
  position: fixed; top: 0; left: 0;
  width: 100%; height: var(--ars-header-height);
  z-index: 10000; background: transparent;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(0);
  transition: transform .42s var(--ars-ease);
  will-change: transform;
}
.ars-header.ars-header-hidden { transform: translateY(-100%); }
.ars-header.ars-header-solid {
  background: var(--ars-header-solid);
  box-shadow: 0 1px 0 rgba(0,0,0,.07);
}

.ars-header-inner {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.ars-logo {
  font-family: "Times New Roman", serif;
  font-size: 36px; letter-spacing: 0.15em;
  text-decoration: none; color: var(--ars-text); line-height: 1;
  position: absolute; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  padding-left: 0.15em;
}

/* Burger */
.ars-burger {
  position: absolute; left: 14px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10002;
}
.ars-burger-lines { position: relative; width: 28px; height: 20px; }
.ars-burger-lines span {
  position: absolute; left: 0; top: 9px; width: 100%; height: 1.8px;
  background: var(--ars-text); display: block;
  border-radius: 999px; transform-origin: center;
  transition: opacity .22s ease, transform .38s var(--ars-ease);
}
/* 2 traits rapprochés au repos */
.ars-burger-lines span:nth-child(1) { transform: translateY(-2px); }
.ars-burger-lines span:nth-child(2) { transform: translateY(0); opacity: 0; }
.ars-burger-lines span:nth-child(3) { transform: translateY(4px); }
/* Hover : écartement */
.ars-burger:not(.active):hover .ars-burger-lines span:nth-child(1) { transform: translateY(-9px); }
.ars-burger:not(.active):hover .ars-burger-lines span:nth-child(3) { transform: translateY(9px); }
/* Burger → X */
.ars-burger.active .ars-burger-lines span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.ars-burger.active .ars-burger-lines span:nth-child(2) { opacity: 0; }
.ars-burger.active .ars-burger-lines span:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* Lang switcher */
.ars-lang-switcher {
  position: absolute; right: 14px;
  display: flex;
  border: 1.5px solid var(--ars-text);
  border-radius: 3px; overflow: hidden; z-index: 10003;
}
.ars-lang-btn {
  background: transparent; border: none;
  color: var(--ars-text); font-family: Arial, Helvetica, sans-serif;
  font-size: 12px; letter-spacing: 0.10em; font-weight: 700;
  padding: 5px 11px; cursor: pointer;
  transition: background 0.2s, color 0.2s; line-height: 1;
}
.ars-lang-btn + .ars-lang-btn { border-left: 1.5px solid var(--ars-text); }
.ars-lang-btn.ars-lang-active { background: var(--ars-text); color: #f7f5f2; }
.ars-lang-btn:not(.ars-lang-active):hover { opacity: 0.55; }

/* ============================================================
   NAVIGATION HORIZONTALE — header desktop (>= 1100px)
   Injectée par main.js sur toutes les pages (sauf l'accueil qui
   a sa propre version inline). En dessous de 1100px : burger + menu.
   ============================================================ */

.ars-hnav { display: none; }

@media (min-width: 1160px) {
  .ars-header-inner.has-hnav {
    justify-content: flex-start;
    gap: clamp(12px, 1.8vw, 26px);
    padding: 0 clamp(16px, 2.6vw, 38px);
  }
  .ars-header-inner.has-hnav .ars-burger { display: none; }
  .ars-header-inner.has-hnav .ars-logo {
    position: static; left: auto; transform: none;
    padding-left: 0; margin: 0;
    font-size: clamp(21px, 1.5vw, 27px);
    letter-spacing: 0.14em;
  }
  .ars-header-inner.has-hnav .ars-lang-switcher:not(.ars-lang-switcher--menu),
  .ars-header-inner.has-hnav .ars-account-icon {
    position: static; right: auto;
  }
  .ars-header-inner.has-hnav.has-account-icon .ars-lang-switcher:not(.ars-lang-switcher--menu) {
    right: auto;
  }

  .ars-hnav {
    display: flex; align-items: center;
    gap: clamp(10px, 1.5vw, 24px);
    margin-left: auto;
    margin-right: clamp(12px, 1.6vw, 24px);
  }
  .ars-hnav a {
    position: relative;
    font-family: -apple-system, "Helvetica Neue", Arial, sans-serif;
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    text-decoration: none;
    color: var(--ars-text); opacity: 0.66;
    padding: 6px 0; white-space: nowrap;
    transition: opacity 0.3s var(--ars-ease), color 0.3s var(--ars-ease);
  }
  .ars-hnav a:hover,
  .ars-hnav a.is-active { opacity: 1; }
  .ars-hnav a::after {
    content: ""; position: absolute; left: 50%; bottom: -2px;
    width: 18px; height: 1px; background: currentColor;
    transform: translateX(-50%) scaleX(0); transform-origin: center;
    transition: transform 0.36s var(--ars-ease); opacity: 0.85;
  }
  .ars-hnav a:hover::after,
  .ars-hnav a.is-active::after { transform: translateX(-50%) scaleX(1); }
}

/* Sous 1160px : on garde le burger + menu latéral (déjà le comportement par défaut) */
@media (max-width: 1159.98px) {
  .ars-header-inner.has-hnav .ars-hnav { display: none; }
}

/* ── Focus visible global (accessibilité + style luxe) ── */
:focus-visible {
  outline: 1.5px solid rgba(11,13,16,.40);
  outline-offset: 3px;
  border-radius: 2px;
}
button:focus-visible, a:focus-visible { outline-offset: 4px; }

/* Overlay */
.ars-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9998;
  opacity: 0; visibility: hidden; pointer-events: none;
  background: rgba(0,0,0,.22);
  transition: opacity .45s var(--ars-ease), visibility .45s var(--ars-ease);
}
.ars-overlay.active {
  opacity: 1; visibility: visible; pointer-events: auto;
}

/* Menu latéral */
.ars-menu {
  position: fixed; top: 0; left: 0;
  width: 300px; max-width: 80vw; height: 100vh; height: 100dvh;
  background: var(--ars-menu-bg);
  padding: 115px 40px 40px;
  transform: translateX(-100%);
  transition: transform .52s var(--ars-ease-out), box-shadow .52s var(--ars-ease-out);
  z-index: 9999;
  display: flex; flex-direction: column; overflow: hidden;
  -webkit-overflow-scrolling: touch;
  will-change: transform;
  overscroll-behavior: contain;
  contain: layout style;
}
.ars-menu.active {
  transform: translateX(0);
  box-shadow: 24px 0 72px rgba(0,0,0,.12), 8px 0 24px rgba(0,0,0,.06);
}
.ars-menu nav { display: flex; flex-direction: column; gap: 34px; margin-top: 10px; min-height: 100%; height: 100%; }
.ars-menu a { text-decoration: none; color: var(--ars-text); font-size: 22px; font-family: "Times New Roman", serif; transition: transform .28s var(--ars-ease), opacity .28s ease; }
.ars-menu a:hover { transform: translateX(8px); opacity: .60; }

.ars-menu-close {
  display: none;
  position: absolute; top: 0; left: 0;
  width: 70px; height: 90px;
  align-items: center; justify-content: center;
  cursor: pointer; z-index: 10002;
  background: none; border: none; padding: 0;
}

/* Close button = X permanent */
.ars-menu-close .ars-burger-lines span { animation: none !important; }
.ars-menu-close .ars-burger-lines span:nth-child(1) { transform: rotate(45deg); }
.ars-menu-close .ars-burger-lines span:nth-child(2) { opacity: 0; }
.ars-menu-close .ars-burger-lines span:nth-child(3) { transform: rotate(-45deg); }

.ars-menu-logo {
  font-family: "Times New Roman", serif;
  font-size: 28px; letter-spacing: 0.15em; color: var(--ars-text);
  position: absolute; top: 0; left: 0; right: 0; height: 90px;
  display: none; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(17,17,17,.08);
}

.ars-menu-bottom-wrap { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 28px; }
.ars-menu-bottom-label { font-family: Arial, Helvetica, sans-serif; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(17,17,17,.48); line-height: 1.4; }
.ars-menu-bottom-link { text-decoration: none; color: var(--ars-text); font-size: 22px; font-family: "Times New Roman", serif; transition: transform .28s var(--ars-ease), opacity .28s ease; }
.ars-menu-bottom-link:hover { transform: translateX(8px); opacity: .60; }

.ars-lang-menu-row { display: none; align-items: center; gap: 14px; margin-top: 4px; }
.ars-lang-menu-label { font-family: "Times New Roman", serif; font-size: 22px; color: var(--ars-text); }
.ars-lang-switcher--menu { display: flex; margin-top: 0; position: static; }

/* Décalage + fondu main quand menu ouvert (pas de blur : trop coûteux GPU) */
main.ars-blur-target {
  transition: transform .48s var(--ars-ease), opacity .48s var(--ars-ease);
}
body.ars-menu-open main.ars-blur-target {
  -webkit-transform: scale(0.97) translateX(12px);
  transform: scale(0.97) translateX(12px);
  opacity: 0.72;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

/* ── Stagger entrée des liens du menu ── */
@-webkit-keyframes arsMenuLinkIn {
  from { opacity: 0; -webkit-transform: translateX(-20px); transform: translateX(-20px); }
  to   { opacity: 1; -webkit-transform: translateX(0);     transform: translateX(0); }
}
@keyframes arsMenuLinkIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.ars-menu.active nav > a:nth-child(1) { -webkit-animation: arsMenuLinkIn .38s var(--ars-ease) .04s both; animation: arsMenuLinkIn .38s var(--ars-ease) .04s both; }
.ars-menu.active nav > a:nth-child(2) { -webkit-animation: arsMenuLinkIn .38s var(--ars-ease) .08s both; animation: arsMenuLinkIn .38s var(--ars-ease) .08s both; }
.ars-menu.active nav > a:nth-child(3) { -webkit-animation: arsMenuLinkIn .38s var(--ars-ease) .12s both; animation: arsMenuLinkIn .38s var(--ars-ease) .12s both; }
.ars-menu.active nav > a:nth-child(4) { -webkit-animation: arsMenuLinkIn .38s var(--ars-ease) .16s both; animation: arsMenuLinkIn .38s var(--ars-ease) .16s both; }
.ars-menu.active nav > a:nth-child(5) { -webkit-animation: arsMenuLinkIn .38s var(--ars-ease) .20s both; animation: arsMenuLinkIn .38s var(--ars-ease) .20s both; }
.ars-menu.active nav > a:nth-child(6) { -webkit-animation: arsMenuLinkIn .38s var(--ars-ease) .24s both; animation: arsMenuLinkIn .38s var(--ars-ease) .24s both; }
.ars-menu.active nav > a:nth-child(7) { -webkit-animation: arsMenuLinkIn .38s var(--ars-ease) .28s both; animation: arsMenuLinkIn .38s var(--ars-ease) .28s both; }
.ars-menu.active .ars-lang-menu-row    { -webkit-animation: arsMenuLinkIn .38s var(--ars-ease) .30s both; animation: arsMenuLinkIn .38s var(--ars-ease) .30s both; }
.ars-menu.active .ars-menu-bottom-wrap { -webkit-animation: arsMenuLinkIn .38s var(--ars-ease) .34s both; animation: arsMenuLinkIn .38s var(--ars-ease) .34s both; }

/* ── Scroll-reveal ── */
.ars-reveal {
  opacity: 0;
  -webkit-transform: translateY(22px);
  transform: translateY(22px);
}
.ars-reveal.ars-revealed {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: opacity 0.68s var(--ars-ease), -webkit-transform 0.68s var(--ars-ease);
  transition: opacity 0.68s var(--ars-ease), transform 0.68s var(--ars-ease);
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  .ars-reveal { opacity: 1 !important; transform: none !important; }
}

/* ── Modale de succès (contact / devis / simulation) ── */
.ars-modal-ok {
  display: flex;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(14,15,18,.82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .38s var(--ars-ease), visibility .38s var(--ars-ease);
}
.ars-modal-ok.ars-modal-visible { opacity: 1; visibility: visible; }
.ars-modal-ok-inner {
  background: #0e0f12;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  padding: 44px 52px;
  text-align: center;
  max-width: 380px; width: 90%;
  transform: translateY(18px) scale(.97);
  transition: transform .48s var(--ars-ease-out);
  will-change: transform;
}
.ars-modal-ok.ars-modal-visible .ars-modal-ok-inner { transform: translateY(0) scale(1); }

/* ============================================================
   FOOTER
   ============================================================ */

.arsolya-legal-footer {
  width: 100%;
  padding: 40px 38px 0;
  background: #ecece8;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #111;
  flex-shrink: 0;
}
body { margin-bottom: 0 !important; }
.arsolya-legal-footer-inner {
  max-width: 1400px; margin: auto;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 60px; align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.arsolya-legal-left { max-width: 560px; }
.arsolya-legal-eyebrow { margin: 0 0 10px; font-size: 12px; line-height: 1.4; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(0,0,0,0.45); }
.arsolya-legal-brand { display: none; }
.arsolya-legal-line { width: 70px; height: 1px; margin: 0 0 18px; background: rgba(0,0,0,0.18); }
.arsolya-legal-text { margin: 0; font-size: 15px; line-height: 1.85; color: rgba(0,0,0,0.64); max-width: 520px; }
.arsolya-legal-right { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.arsolya-legal-title { margin: 0 0 16px; font-size: 12px; line-height: 1.4; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(0,0,0,0.45); }
.arsolya-legal-nav { display: flex; flex-direction: column; gap: 12px; }
.arsolya-legal-nav a {
  position: relative; display: inline-block; width: fit-content;
  text-decoration: none; color: #111; font-size: 14px; line-height: 1.5;
  transition: opacity 0.28s var(--ars-ease);
}
.arsolya-legal-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px;
  width: 0; height: 1px; background: rgba(0,0,0,.50);
  transition: width 0.32s var(--ars-ease);
}
.arsolya-legal-nav a:hover { opacity: 0.62; }
.arsolya-legal-nav a:hover::after { width: 100%; }
.arsolya-legal-infos p { margin: 0 0 10px; font-size: 14px; line-height: 1.8; color: rgba(0,0,0,0.60); }

/* Nom de marque centré en bas du footer */
.arsolya-legal-bottom {
  display: block;
  text-align: center;
  width: calc(100% + 76px);
  margin: 0 -38px;
  padding: 28px 0 34px;
  background: #ecece8;
  font-family: "Times New Roman", serif;
  font-size: clamp(22px, 2.8vw, 38px);
  letter-spacing: 0.20em;
  color: rgba(0,0,0,0.68);
  font-weight: 400;
  line-height: 1;
  box-sizing: border-box;
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

/* ── Grands écrans (24" → 27"+) ── */
@media (min-width: 1440px) {
  :root { --ars-header-height: 100px; }
  .ars-logo { font-size: 42px; }
  .ars-burger { left: 36px; width: 42px; height: 28px; }
  .ars-burger-lines { width: 32px; height: 22px; }
  .ars-burger-lines span:nth-child(2) { transform: translateY(1px); }
  .ars-burger-lines span:nth-child(3) { transform: translateY(5px); }
  .ars-burger:not(.active):hover .ars-burger-lines span:nth-child(3) { transform: translateY(11px); }
  .ars-lang-switcher:not(.ars-lang-switcher--menu) { right: 36px; }
  .ars-lang-btn { font-size: 13px; padding: 7px 15px; }
  .ars-account-icon { right: 36px; }
  .ars-header-inner.has-account-icon .ars-lang-switcher:not(.ars-lang-switcher--menu) { right: 114px; }
  .ars-account-link { width: 44px; height: 44px; }
  .ars-account-avatar { width: 44px; height: 44px; font-size: 17px; }
  .ars-menu { width: 340px; padding: 128px 48px 48px; }
  .ars-menu a { font-size: 26px; }
  .ars-menu nav { gap: 36px; }
  .ars-menu-bottom-link { font-size: 26px; }
  .ars-menu-bottom-label { font-size: 10px; }
}

@media (min-width: 1920px) {
  :root { --ars-header-height: 112px; }
  .ars-logo { font-size: 48px; }
  .ars-burger { left: 56px; }
  .ars-lang-switcher:not(.ars-lang-switcher--menu) { right: 56px; }
  .ars-lang-btn { font-size: 14px; padding: 8px 17px; }
  .ars-account-icon { right: 56px; }
  .ars-header-inner.has-account-icon .ars-lang-switcher:not(.ars-lang-switcher--menu) { right: 128px; }
  .ars-account-link { width: 48px; height: 48px; }
  .ars-account-avatar { width: 48px; height: 48px; font-size: 18px; }
  .ars-menu { width: 380px; padding: 144px 56px 56px; }
  .ars-menu a { font-size: 28px; }
  .ars-menu nav { gap: 42px; }
  .ars-menu-bottom-link { font-size: 28px; }
  .ars-menu-bottom-label { font-size: 11px; }
}

/* ── 4K et très grands écrans (2560px+) ── */
@media (min-width: 2560px) {
  :root { --ars-header-height: 130px; }
  .ars-logo { font-size: 58px; }
  .ars-burger { left: 72px; width: 52px; height: 52px; }
  .ars-lang-switcher:not(.ars-lang-switcher--menu) { right: 72px; }
  .ars-lang-btn { font-size: 15px; padding: 9px 20px; }
  .ars-account-icon { right: 72px; }
  .ars-header-inner.has-account-icon .ars-lang-switcher:not(.ars-lang-switcher--menu) { right: 148px; }
  .ars-account-link { width: 54px; height: 54px; }
  .ars-account-avatar { width: 54px; height: 54px; font-size: 20px; }
  .ars-menu { width: 420px; padding: 160px 64px 64px; }
  .ars-menu a { font-size: 32px; }
  .ars-menu nav { gap: 48px; }
}

/* ── Écrans moyens : tablettes paysage + petits laptops (701–1099px) ── */
@media (min-width: 701px) and (max-width: 1099px) {
  :root { --ars-header-height: 80px; }
  .ars-logo { font-size: 30px; }
  .ars-burger { left: 18px; }
  .ars-lang-switcher:not(.ars-lang-switcher--menu) { right: 18px; }
  .ars-account-icon { right: 18px; }
  .ars-header-inner.has-account-icon .ars-lang-switcher:not(.ars-lang-switcher--menu) { right: 100px; }
  .ars-account-link { width: 40px; height: 40px; }
  .ars-account-avatar { width: 40px; height: 40px; font-size: 15px; }
  .ars-menu { width: 280px; padding: 110px 36px 36px; }
  .ars-menu a { font-size: 21px; }
  .ars-menu nav { gap: 28px; }
  .ars-menu-bottom-link { font-size: 21px; }
  .ars-menu-close { display: none; }
  .ars-menu-logo { display: flex; }
}

/* ── Laptops standards (1100–1439px) ── */
@media (min-width: 1100px) and (max-width: 1439px) {
  :root { --ars-header-height: 92px; }
  .ars-logo { font-size: 38px; }
  .ars-burger { left: 28px; }
  .ars-lang-switcher:not(.ars-lang-switcher--menu) { right: 28px; }
  .ars-account-icon { right: 28px; }
  .ars-header-inner.has-account-icon .ars-lang-switcher:not(.ars-lang-switcher--menu) { right: 108px; }
  .ars-account-link { width: 42px; height: 42px; }
  .ars-account-avatar { width: 42px; height: 42px; font-size: 16px; }
  .ars-menu { width: 310px; padding: 118px 44px 44px; }
  .ars-menu a { font-size: 24px; }
  .ars-menu nav { gap: 32px; }
  .ars-menu-bottom-link { font-size: 24px; }
}

@media (max-width: 700px) {
  :root { --ars-header-height: 72px; }
  .ars-menu { z-index: 10001; width: 250px; max-width: 85vw; padding: 90px 28px 30px; }
  .ars-menu nav { gap: 22px; margin-top: 10px; }
  .ars-menu a { font-size: 18px; }
  .ars-menu-bottom-wrap { padding-top: 16px; gap: 7px; }
  .ars-menu-bottom-label { font-size: 9px; letter-spacing: .22em; }
  .ars-menu-bottom-link { font-size: 18px; }
  .ars-menu-close { display: flex; }
  .ars-menu-logo { display: none; }
  .ars-lang-switcher:not(.ars-lang-switcher--menu) { display: none; }
  .ars-lang-menu-row { display: flex; }
  .ars-logo { font-size: 22px; }
  .ars-burger { left: 12px; }
}

@media (max-width: 380px) {
  :root { --ars-header-height: 62px; }
  .ars-logo { font-size: 20px !important; }
  .ars-burger { left: 10px; }
  .ars-menu { width: 230px; max-width: 82vw; padding: 80px 20px 24px; }
  .ars-menu a { font-size: 17px; }
  .ars-menu-bottom-link { font-size: 17px; }
  .ars-account-icon { right: 12px; }
  .ars-account-dropdown { min-width: 180px; max-width: calc(100vw - 16px); }
}

@media (max-width: 900px) {
  .arsolya-legal-footer { padding: 28px 20px 0; }
  .arsolya-legal-footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .arsolya-legal-right { grid-template-columns: 1fr; gap: 28px; }
  .arsolya-legal-brand { font-size: 32px; }
  .arsolya-legal-text,
  .arsolya-legal-nav a,
  .arsolya-legal-infos p { font-size: 14px; }
  .arsolya-legal-bottom { width: calc(100% + 40px); margin: 0 -20px; }
}

/* ============================================================
   LEGAL PAGES (mentions-legales, cgv)
   ============================================================ */

.arsolya-legal-page { background: #ecece8; margin: 0; padding: 0; }
body.arsolya-legal-page main#MainContent { background: #f3f3f1; }
.arsolya-legal-wrap { max-width: 980px; margin: 0 auto; padding: 24px 28px 90px; color: #111111; font-family: "Helvetica Neue", Arial, sans-serif; }
.arsolya-legal-head { margin: 0 0 36px; }
.arsolya-legal-kicker { font-family: Georgia, "Times New Roman", serif; font-size: 54px; line-height: 1; letter-spacing: .02em; margin: 0 0 34px; }
.arsolya-legal-head h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; line-height: 1.2; }
.arsolya-legal-body h2 { margin: 34px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 500; line-height: 1.35; }
.arsolya-legal-body p { margin: 0 0 16px; font-size: 15px; line-height: 1.95; color: #2c2c2c; }
.arsolya-legal-body em { font-style: italic; color: rgba(44,44,44,.72); font-size: 13px; line-height: 1.7; }
.arsolya-legal-body a { color: #111111; text-decoration: underline; text-underline-offset: 3px; }
.arsolya-legal-body a:hover { opacity: .65; }
.arsolya-legal-body strong { color: #111111; font-weight: 600; }
.arsolya-legal-alert { background: #fffbeb; border: 1px solid rgba(180,100,0,.18); border-radius: 10px; padding: 16px 20px; margin: 0 0 16px; }
.arsolya-legal-alert p { margin: 0; font-size: 14px; color: #7a4f00; }

@media (max-width: 768px) {
  .arsolya-legal-wrap { padding: 18px 18px 70px; }
  .arsolya-legal-kicker { font-size: 38px; margin-bottom: 26px; }
  .arsolya-legal-head h1 { font-size: 24px; }
  .arsolya-legal-body p { font-size: 14px; line-height: 1.85; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  /* Garder les fondus (opacity, couleurs) — supprimer uniquement les grands déplacements */
  .ars-reveal {
    opacity: 1 !important;
    -webkit-transform: none !important;
    transform: none !important;
    transition: none !important;
  }
  .ars-panel-inner,
  .ars-split-page::after {
    transition: none !important;
    -webkit-filter: none !important;
    filter: none !important;
    -webkit-transform: none !important;
    transform: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

/* ============================================================
   ACCOUNT ICON — header
   ============================================================ */

.ars-header-inner.has-account-icon .ars-lang-switcher:not(.ars-lang-switcher--menu) {
  right: 96px;
}
.ars-account-icon {
  position: absolute; right: 14px; z-index: 10003;
  display: flex; align-items: center;
}
.ars-account-link {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--ars-text); background: none;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(17,17,17,.22);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.ars-account-link:hover,
.ars-account-icon.open .ars-account-link {
  border-color: rgba(17,17,17,.7);
  background: rgba(17,17,17,.05);
}
.ars-account-dot {
  position: absolute; top: -1px; right: -1px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #3a8a5c; border: 1.5px solid #f7f5f2;
  pointer-events: none;
}
.ars-account-dropdown {
  display: block;
  position: absolute; top: calc(100% + 12px); right: 0;
  background: #faf8f5; border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.06);
  padding: 6px; min-width: 196px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 20000;
}
.ars-account-icon.open .ars-account-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.ars-account-dropdown-name {
  padding: 10px 14px 6px;
  font-size: 12px; font-weight: 700; color: #0b0d10;
  letter-spacing: .04em; border-bottom: 1px solid rgba(11,13,16,.07);
  margin-bottom: 4px;
}
.ars-account-dropdown a,
.ars-account-dropdown button {
  display: block; width: 100%;
  padding: 10px 14px; border-radius: 10px;
  font-size: 13px; color: #0b0d10;
  text-decoration: none; cursor: pointer;
  text-align: left; background: none; border: none;
  font-family: inherit; line-height: 1.3;
  transition: background .12s;
}
.ars-account-dropdown a:hover,
.ars-account-dropdown button:hover { background: rgba(11,13,16,.055); }
.ars-account-dropdown .ars-dropdown-main-link {
  font-weight: 600; background: rgba(11,13,16,.04);
}
.ars-account-dropdown .ars-logout-btn { color: #b00; margin-top: 2px; }
.ars-account-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(11,13,16,.92); color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: opacity .2s, transform .15s;
  flex-shrink: 0;
}
.ars-account-avatar:hover { opacity: .82; transform: scale(1.06); }
@media (max-width: 380px) {
  .ars-account-icon { right: 12px; }
  .ars-header-inner.has-account-icon .ars-lang-switcher:not(.ars-lang-switcher--menu) { right: 82px; }
}

/* ============================================================
   PAGE CATALOGUE — v2 (3 livres interactifs)
   ============================================================ */

body[data-page="catalogue"] main.ars-blur-target {
  will-change: auto;
  -webkit-transform: none !important;
  transform: none !important;
  background: transparent !important;
}

body[data-page="catalogue"] {
  background: #faf8f5 !important;
  overflow: hidden !important;
  height: 100% !important;
}

html[data-page="catalogue"] {
  background: #faf8f5 !important;
}

/* fond crème Arsõlya */
body[data-page="catalogue"] .cat-bg {
  position: fixed; inset: 0;
  background: #faf8f5;
  z-index: 0;
}

/* scène principale */
body[data-page="catalogue"] .cat-stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  box-sizing: border-box;
}

/* ── ÉTAGÈRE (3 livres) ── */
body[data-page="catalogue"] .cat-shelf {
  position: absolute;
  inset: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-top: var(--ars-header-height, 90px);
  padding-bottom: 20px;
  gap: 36px;
  box-sizing: border-box;
  -webkit-transition: opacity .55s cubic-bezier(.22,1,.36,1), -webkit-transform .55s cubic-bezier(.22,1,.36,1);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
body[data-page="catalogue"] .cat-shelf.cat-exit {
  opacity: 0;
  -webkit-transform: scale(0.97);
  transform: scale(0.97);
  pointer-events: none;
}

body[data-page="catalogue"] .cat-shelf-label {
  font-size: 13px;
  letter-spacing: .56em;
  text-transform: uppercase;
  color: rgba(60,50,38,.28);
  font-weight: 600;
  text-align: center;
}

body[data-page="catalogue"] .cat-books-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 80px;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

/* ── LIVRE ── */
body[data-page="catalogue"] .cat-book {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 18px;
  cursor: pointer;
}

body[data-page="catalogue"] .cat-book-wrap {
  width: 362px;
  height: 518px;
  position: relative;
  -webkit-transform: perspective(1600px) rotateY(-22deg);
  transform: perspective(1600px) rotateY(-22deg);
  -webkit-transition: -webkit-transform .5s cubic-bezier(.22,1,.36,1), -webkit-box-shadow .5s;
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s;
  -webkit-box-shadow: -26px 38px 100px rgba(0,0,0,.5), 0 10px 32px rgba(0,0,0,.32);
  box-shadow: -26px 38px 100px rgba(0,0,0,.5), 0 10px 32px rgba(0,0,0,.32);
}
body[data-page="catalogue"] .cat-book:hover .cat-book-wrap {
  -webkit-transform: perspective(1600px) rotateY(-30deg) translateY(-22px);
  transform: perspective(1600px) rotateY(-30deg) translateY(-22px);
  -webkit-box-shadow: -38px 56px 120px rgba(0,0,0,.62), 0 20px 50px rgba(0,0,0,.38);
  box-shadow: -38px 56px 120px rgba(0,0,0,.62), 0 20px 50px rgba(0,0,0,.38);
}

/* ombre au sol sous le livre */
body[data-page="catalogue"] .cat-book-wrap::before {
  content: '';
  position: absolute;
  bottom: -28px; left: 6%; right: -10%;
  height: 28px;
  background: radial-gradient(ellipse at 40% 0%, rgba(0,0,0,.55) 0%, transparent 72%);
  -webkit-filter: blur(10px);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

/* tranche des pages réaliste (côté droit) */
body[data-page="catalogue"] .cat-book-wrap::after {
  content: '';
  position: absolute;
  right: -26px; top: 1px; bottom: 1px;
  width: 26px;
  background:
    linear-gradient(to right,
      #9e9a90 0%,
      #c8c4ba 6%,
      #eae6dc 22%,
      #f6f2e8 50%,
      #e8e4da 78%,
      #cac6bc 94%,
      #a8a49a 100%
    );
  /* lignes de pages */
  background-image:
    repeating-linear-gradient(
      to right,
      rgba(0,0,0,.0) 0px,
      rgba(0,0,0,.0) 1.2px,
      rgba(0,0,0,.07) 1.2px,
      rgba(0,0,0,.07) 1.6px,
      rgba(255,255,255,.18) 1.6px,
      rgba(255,255,255,.0) 2.4px
    ),
    linear-gradient(to right,
      #9e9a90 0%, #c8c4ba 6%, #eae6dc 22%,
      #f6f2e8 50%, #e8e4da 78%, #cac6bc 94%, #a8a49a 100%
    );
  border-radius: 0 3px 3px 0;
  -webkit-box-shadow: 5px 0 14px rgba(0,0,0,.35), inset -2px 0 5px rgba(0,0,0,.12);
  box-shadow: 5px 0 14px rgba(0,0,0,.35), inset -2px 0 5px rgba(0,0,0,.12);
  pointer-events: none;
}

/* dos du livre — dégradé courbe 3D sur la tranche gauche */
body[data-page="catalogue"] .cat-book-spine-grad {
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 100%;
  z-index: 10;
  pointer-events: none;
  background:
    linear-gradient(to right,
      rgba(0,0,0,.60) 0%,
      rgba(0,0,0,.22) 22%,
      rgba(255,255,255,.16) 48%,
      rgba(255,255,255,.05) 66%,
      rgba(0,0,0,.38) 100%
    );
}

body[data-page="catalogue"] .cat-book-face {
  position: absolute; inset: 0;
  background:
    /* reflet diagonal mat */
    -webkit-linear-gradient(135deg,
      var(--cb-ov1, rgba(255,255,255,.08)) 0%,
      transparent 38%,
      transparent 62%,
      var(--cb-ov2, rgba(0,0,0,.18)) 100%
    ),
    /* grain de couverture subtil */
    -webkit-repeating-linear-gradient(
      to bottom,
      transparent 0px, transparent 2px,
      rgba(0,0,0,.012) 2px, rgba(0,0,0,.012) 3px
    ),
    var(--cb-bg, #1e1b17);
  background:
    linear-gradient(135deg,
      var(--cb-ov1, rgba(255,255,255,.08)) 0%,
      transparent 38%,
      transparent 62%,
      var(--cb-ov2, rgba(0,0,0,.18)) 100%
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0px, transparent 2px,
      rgba(0,0,0,.012) 2px, rgba(0,0,0,.012) 3px
    ),
    var(--cb-bg, #1e1b17);
  border-left: 30px solid var(--cb-spine, #120f0c);
  /* profondeur reliure — zone sombre au bord gauche */
  -webkit-box-shadow: inset 12px 0 24px rgba(0,0,0,.35), inset -1px 0 3px rgba(0,0,0,.1);
  box-shadow: inset 12px 0 24px rgba(0,0,0,.35), inset -1px 0 3px rgba(0,0,0,.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 22px 24px 30px 20px;
  box-sizing: border-box;
  overflow: hidden;
}

/* cadre intérieur doré — relief élégant */
body[data-page="catalogue"] .cat-book-face::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid var(--cb-frame, rgba(255,255,255,.07));
  /* coins arrondis très subtils pour casser le côté trop net */
  pointer-events: none;
  z-index: 2;
}

/* gloss — reflet lumineux en arc dans le haut */
body[data-page="catalogue"] .cat-book-face::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 48%;
  background:
    -webkit-linear-gradient(top,
      var(--cb-ov1, rgba(255,255,255,.08)) 0%,
      rgba(255,255,255,.02) 50%,
      transparent 100%
    );
  background:
    linear-gradient(to bottom,
      var(--cb-ov1, rgba(255,255,255,.08)) 0%,
      rgba(255,255,255,.02) 50%,
      transparent 100%
    );
  pointer-events: none;
  z-index: 1;
}

body[data-page="catalogue"] .cat-book-num {
  position: absolute;
  top: 24px; right: 22px;
  font-family: "Times New Roman", Times, serif;
  font-size: 10px; letter-spacing: .38em;
  color: var(--cb-accent, #c8a040); opacity: .55;
  z-index: 3;
}
body[data-page="catalogue"] .cat-book-title {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(40px, 3.4vw, 52px);
  font-weight: 400; color: var(--cb-text, #f0ebe0); line-height: 1.18;
  margin-bottom: 18px;
  position: relative; z-index: 3;
  letter-spacing: .02em;
}
body[data-page="catalogue"] .cat-book-rule {
  width: 34px; height: 1px;
  background: var(--cb-accent, #c8a040); opacity: .4;
  margin-bottom: 13px;
  position: relative; z-index: 3;
}
body[data-page="catalogue"] .cat-book-brand {
  position: absolute;
  top: 22px; left: 20px;
  font-family: "Times New Roman", Times, serif;
  font-size: 12px; letter-spacing: .54em; text-transform: uppercase;
  color: var(--cb-text, #f0ebe0); opacity: .6;
  z-index: 3;
}
body[data-page="catalogue"] .cat-book-sub {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--cb-sub, rgba(240,235,224,.32));
  position: relative; z-index: 3;
}
body[data-page="catalogue"] .cat-book-hint {
  font-size: 7.5px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(250,248,245,.2);
  opacity: 0;
  -webkit-transition: opacity .3s, color .3s;
  transition: opacity .3s, color .3s;
}
body[data-page="catalogue"] .cat-book:hover .cat-book-hint {
  opacity: 1; color: rgba(250,248,245,.46);
}

/* ── LECTEUR (livre ouvert) ── */
body[data-page="catalogue"] .cat-reader {
  position: absolute; inset: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: var(--ars-header-height, 90px) 20px 20px;
  box-sizing: border-box;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity .4s cubic-bezier(.22,1,.36,1);
  transition: opacity .4s cubic-bezier(.22,1,.36,1);
}
body[data-page="catalogue"] .cat-reader.cat-visible {
  opacity: 1;
  pointer-events: auto;
}
body[data-page="catalogue"] .cat-spread-wrap {
  position: relative;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-transition: opacity .4s cubic-bezier(.22,1,.36,1), -webkit-transform .4s cubic-bezier(.22,1,.36,1);
  transition: opacity .4s cubic-bezier(.22,1,.36,1), transform .4s cubic-bezier(.22,1,.36,1);
}
body[data-page="catalogue"] .cat-reader:not(.cat-visible) .cat-spread-wrap {
  opacity: 0;
  -webkit-transform: scale(0.88) translateY(14px);
          transform: scale(0.88) translateY(14px);
}

body[data-page="catalogue"] .cat-book-covers {
  position: absolute;
  top: -6px; left: -24px; right: -24px; bottom: -6px;
  z-index: 0;
  border-radius: 4px 10px 10px 4px;
  background-color: var(--cat-shell-bg, #888);
  background-image: -webkit-linear-gradient(315deg,
    var(--cat-shell-ov1, rgba(255,255,255,.12)) 0%,
    transparent 45%,
    var(--cat-shell-ov2, rgba(0,0,0,.22)) 100%);
  background-image: linear-gradient(135deg,
    var(--cat-shell-ov1, rgba(255,255,255,.12)) 0%,
    transparent 45%,
    var(--cat-shell-ov2, rgba(0,0,0,.22)) 100%);
  -webkit-box-shadow: -6px 10px 42px rgba(0,0,0,.5), 0 3px 14px rgba(0,0,0,.32);
          box-shadow: -6px 10px 42px rgba(0,0,0,.5), 0 3px 14px rgba(0,0,0,.32);
  pointer-events: none;
}

body[data-page="catalogue"] .cat-reader-top {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

body[data-page="catalogue"] .cat-back-btn {
  position: absolute;
  left: 28px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(11,13,16,.07);
  border: 1px solid rgba(11,13,16,.16);
  cursor: pointer;
  font-size: 18px; line-height: 1;
  color: rgba(11,13,16,.55);
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
  pointer-events: auto;
  padding: 0; font-family: inherit;
  -webkit-transition: background .2s, border-color .2s, color .2s;
          transition: background .2s, border-color .2s, color .2s;
}
body[data-page="catalogue"] .cat-back-btn:hover {
  background: rgba(11,13,16,.13);
  border-color: rgba(11,13,16,.28);
  color: rgba(11,13,16,.9);
}

/* double page */
body[data-page="catalogue"] .cat-pages-wrap {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 5px 1fr;
  grid-template-columns: 1fr 5px 1fr;
  width: min(94vw, 1060px);
  height: min(calc(100vh - var(--ars-header-height, 90px) - 62px), 618px);
  -webkit-box-shadow: -10px 12px 48px rgba(0,0,0,.65), 0 6px 24px rgba(0,0,0,.4);
  box-shadow: -10px 12px 48px rgba(0,0,0,.65), 0 6px 24px rgba(0,0,0,.4);
  border-radius: 2px 6px 6px 2px;
  position: relative;
  z-index: 1;
}

body[data-page="catalogue"] .cat-page-left {
  background: #faf8f5;
  border-radius: 2px 0 0 2px;
  padding: 36px 34px 42px;
  box-sizing: border-box;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(11,13,16,.12) transparent;
}
body[data-page="catalogue"] .cat-page-left::-webkit-scrollbar { width: 4px; }
body[data-page="catalogue"] .cat-page-left::-webkit-scrollbar-thumb { background: rgba(11,13,16,.12); border-radius: 2px; }

body[data-page="catalogue"] .cat-page-spine {
  background: -webkit-linear-gradient(left, rgba(0,0,0,.18), rgba(0,0,0,.05), rgba(0,0,0,.14));
  background: linear-gradient(to right, rgba(0,0,0,.18), rgba(0,0,0,.05), rgba(0,0,0,.14));
}

body[data-page="catalogue"] .cat-page-right {
  background: #f6f3ed;
  border-radius: 0 6px 6px 0;
  padding: 36px 34px 42px;
  box-sizing: border-box;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(11,13,16,.12) transparent;
}
body[data-page="catalogue"] .cat-page-right::-webkit-scrollbar { width: 4px; }
body[data-page="catalogue"] .cat-page-right::-webkit-scrollbar-thumb { background: rgba(11,13,16,.12); border-radius: 2px; }

/* fondu du contenu après animation */
body[data-page="catalogue"] .cat-content-fade {
  opacity: 0;
  -webkit-transition: opacity 0.85s ease;
  transition: opacity 0.85s ease;
}

/* ── TYPOGRAPHIE PAGES ── */
body[data-page="catalogue"] .cat-prod-kicker {
  font-size: 7.5px; letter-spacing: .5em; text-transform: uppercase;
  color: rgba(11,13,16,.28); font-weight: 600; margin-bottom: 12px;
}
body[data-page="catalogue"] .cat-prod-h {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400; color: #0b0d10; line-height: 1.18; margin-bottom: 8px;
}
body[data-page="catalogue"] .cat-prod-line {
  font-size: 10.5px; color: rgba(11,13,16,.38); letter-spacing: .04em;
  line-height: 1.6; margin-bottom: 16px;
}
body[data-page="catalogue"] .cat-prod-rule { width: 30px; height: 1px; background: rgba(11,13,16,.15); margin-bottom: 18px; }
body[data-page="catalogue"] .cat-prod-body {
  font-size: 11px; line-height: 1.86; color: rgba(11,13,16,.54); margin-bottom: 20px;
}
body[data-page="catalogue"] .cat-sec-title {
  font-size: 7px; letter-spacing: .44em; text-transform: uppercase;
  color: rgba(11,13,16,.28); font-weight: 700; margin-bottom: 9px;
}
body[data-page="catalogue"] .cat-specs {
  display: -ms-grid; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 18px;
}
body[data-page="catalogue"] .cat-spec { padding: 7px 0; border-bottom: 1px solid rgba(11,13,16,.05); }
body[data-page="catalogue"] .cat-spec:nth-child(odd) { padding-right: 10px; }
body[data-page="catalogue"] .cat-spec-k {
  font-size: 7.5px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(11,13,16,.28); margin-bottom: 2px;
}
body[data-page="catalogue"] .cat-spec-v { font-size: 11px; color: #0b0d10; }
body[data-page="catalogue"] .cat-avt { list-style: none; padding: 0; margin: 0; }
body[data-page="catalogue"] .cat-avt li {
  font-size: 11px; color: rgba(11,13,16,.56);
  padding: 4px 0 4px 13px; position: relative;
  line-height: 1.5; border-bottom: 1px solid rgba(11,13,16,.04);
}
body[data-page="catalogue"] .cat-avt li::before {
  content: '\2014'; position: absolute; left: 0;
  color: rgba(11,13,16,.22); font-family: "Times New Roman", Times, serif;
}

/* ── COULEURS ── */
body[data-page="catalogue"] .cat-colors-h {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(17px, 1.9vw, 23px);
  font-weight: 400; color: #0b0d10; margin-bottom: 4px;
}
body[data-page="catalogue"] .cat-colors-sub {
  font-size: 8.5px; color: rgba(11,13,16,.32); letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 14px;
}
body[data-page="catalogue"] .cat-cg { margin-bottom: 14px; }
body[data-page="catalogue"] .cat-cg-name {
  font-size: 7px; letter-spacing: .46em; text-transform: uppercase;
  color: rgba(11,13,16,.26); font-weight: 700; margin-bottom: 8px;
}
body[data-page="catalogue"] .cat-sws {
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 8px;
}
body[data-page="catalogue"] .cat-sw {
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-orient: vertical; -ms-flex-direction: column; flex-direction: column;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 4px;
}
body[data-page="catalogue"] .cat-sw-d {
  width: 30px; height: 30px; border-radius: 50%;
  -webkit-box-shadow: 0 2px 7px rgba(0,0,0,.16);
  box-shadow: 0 2px 7px rgba(0,0,0,.16);
}
body[data-page="catalogue"] .cat-sw-d.cat-duo {
  background: -webkit-linear-gradient(left, var(--c1,#aaa) 50%, var(--c2,#666) 50%);
  background: linear-gradient(to right, var(--c1,#aaa) 50%, var(--c2,#666) 50%);
}
@supports (background: conic-gradient(red, blue)) {
  body[data-page="catalogue"] .cat-sw-d.cat-duo {
    background: conic-gradient(var(--c1,#aaa) 0deg 180deg, var(--c2,#666) 180deg 360deg);
  }
}
body[data-page="catalogue"] .cat-sw-n {
  font-size: 7.5px; color: rgba(11,13,16,.38);
  text-align: center; max-width: 50px; line-height: 1.3;
}

/* ── ONGLETS (Résine Époxy) ── */
body[data-page="catalogue"] .cat-tabs {
  display: -webkit-box; display: -ms-flexbox; display: flex;
  border-bottom: 1px solid rgba(11,13,16,.1);
  margin-bottom: 18px;
}
body[data-page="catalogue"] .cat-tab-btn {
  font-family: inherit;
  font-size: 7.5px; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(11,13,16,.32);
  background: none; border: none;
  border-bottom: 2px solid transparent;
  padding: 7px 12px; margin-bottom: -1px;
  cursor: pointer;
  -webkit-transition: color .2s, border-color .2s;
  transition: color .2s, border-color .2s;
}
body[data-page="catalogue"] .cat-tab-btn:hover { color: rgba(11,13,16,.58); }
body[data-page="catalogue"] .cat-tab-btn.cat-tab-active {
  color: #0b0d10; border-bottom-color: #0b0d10;
}
body[data-page="catalogue"] .cat-tab-panel { display: none; }
body[data-page="catalogue"] .cat-tab-panel.cat-tab-panel-active { display: block; }

/* ── MOBILE ≤ 700px ── */
@media (max-width: 700px) {
  body[data-page="catalogue"] { overflow: auto !important; }
  body[data-page="catalogue"] .cat-bg { display: none; }

  /* stage : flux normal */
  body[data-page="catalogue"] .cat-stage {
    position: relative;
    min-height: 100vh;
    background: #8a8782;
  }

  /* étagère : flux normal, colonne */
  body[data-page="catalogue"] .cat-shelf {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--ars-header-height, 80px) + 28px) 20px 48px;
    justify-content: flex-start;
    gap: 28px;
    -webkit-transition: none; transition: none;
  }
  body[data-page="catalogue"] .cat-shelf.cat-exit { display: none; }

  body[data-page="catalogue"] .cat-books-row {
    -webkit-box-orient: vertical; -ms-flex-direction: column; flex-direction: column;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    gap: 28px;
  }

  /* livres horizontaux en mobile */
  body[data-page="catalogue"] .cat-book-wrap {
    width: 240px; height: 120px;
    -webkit-transform: perspective(900px) rotateY(-14deg);
    transform: perspective(900px) rotateY(-14deg);
    -webkit-box-shadow: -12px 16px 48px rgba(0,0,0,.75);
    box-shadow: -12px 16px 48px rgba(0,0,0,.75);
  }
  body[data-page="catalogue"] .cat-book:hover .cat-book-wrap {
    -webkit-transform: perspective(900px) rotateY(-20deg) translateY(-8px);
    transform: perspective(900px) rotateY(-20deg) translateY(-8px);
  }
  body[data-page="catalogue"] .cat-book-face {
    -webkit-box-orient: horizontal; -ms-flex-direction: row; flex-direction: row;
    -webkit-box-align: center; -ms-flex-align: center; align-items: center;
    gap: 14px; padding: 0 16px 0 12px;
    border-left-width: 16px;
  }
  body[data-page="catalogue"] .cat-book-title { font-size: 18px; margin-bottom: 0; }
  body[data-page="catalogue"] .cat-book-num   { margin-bottom: 0; }
  body[data-page="catalogue"] .cat-book-rule,
  body[data-page="catalogue"] .cat-book-sub,
  body[data-page="catalogue"] .cat-book-hint  { display: none; }

  /* lecteur : flux normal */
  body[data-page="catalogue"] .cat-reader {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--ars-header-height, 80px) + 12px) 0 40px;
    justify-content: flex-start;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: none;
    -webkit-transition: none; transition: none;
  }
  body[data-page="catalogue"] .cat-reader.cat-visible { display: -webkit-box; display: -ms-flexbox; display: flex; }

  body[data-page="catalogue"] .cat-reader-top { position: absolute; inset: 0; }
  body[data-page="catalogue"] .cat-back-btn { left: 14px; width: 38px; height: 38px; font-size: 16px; }

  /* pages empilées */
  body[data-page="catalogue"] .cat-spread-wrap { width: 100%; -webkit-transition: none; transition: none; -webkit-transform: none; transform: none; opacity: 1; }
  body[data-page="catalogue"] .cat-book-covers { display: none; }
  body[data-page="catalogue"] .cat-pages-wrap {
    -ms-grid-columns: 1fr; grid-template-columns: 1fr;
    width: 100%; height: auto;
    -webkit-box-shadow: none; box-shadow: none;
    border-radius: 0;
  }
  body[data-page="catalogue"] .cat-page-spine { display: none; }
  body[data-page="catalogue"] .cat-page-left,
  body[data-page="catalogue"] .cat-page-right {
    border-radius: 0; padding: 26px 18px 32px; overflow: visible;
  }
  body[data-page="catalogue"] .cat-page-right { border-top: 1px solid rgba(11,13,16,.07); }

  body[data-page="catalogue"] .ars-header { background: rgba(28,26,24,.98) !important; }
  body[data-page="catalogue"] .ars-logo { color: #faf8f5 !important; }
  body[data-page="catalogue"] .ars-burger-lines span { background: #faf8f5 !important; }
}


