:root {
  color-scheme: light;
  --switcher-bg: rgba(15, 17, 15, 0.9);
  --switcher-text: #f8f6f0;
  --switcher-accent: #d8ff67;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 11px 15px;
  background: #fff;
  color: #111;
  font: 700 13px/1 system-ui, sans-serif;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:where(a, button):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.site-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.site-menu-toggle span,
.site-menu-toggle span::before,
.site-menu-toggle span::after {
  display: block;
  width: 23px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-menu-toggle span { position: relative; }
.site-menu-toggle span::before { position: absolute; top: -7px; }
.site-menu-toggle span::after { position: absolute; top: 7px; }
.site-menu-toggle[aria-expanded="true"] span { background: transparent; }
.site-menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.site-menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.demo-switcher {
  position: fixed;
  z-index: 900;
  right: 50%;
  bottom: 18px;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 3px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: var(--switcher-bg);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  color: var(--switcher-text);
  font: 700 11px/1 system-ui, sans-serif;
  letter-spacing: .02em;
  transform: translateX(50%);
  backdrop-filter: blur(18px);
}

.demo-switcher a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
}

.demo-switcher__home { width: 38px; padding: 0 !important; }
.demo-switcher__home svg { width: 16px; }
.demo-switcher a:hover { background: rgba(255,255,255,.1); }
.demo-switcher a[aria-current="page"] { background: var(--switcher-accent); color: #111; }
.demo-switcher__cta {
  gap: 18px;
  margin-left: 3px;
  background: #fff;
  color: #111;
  text-transform: uppercase;
}
.demo-switcher__cta:hover { background: var(--switcher-accent) !important; }

.customer-edit-control {
  position: fixed;
  z-index: 950;
  right: 22px;
  bottom: 94px;
  display: grid;
  gap: 3px;
  min-width: 196px;
  padding: 13px 16px 14px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 17px;
  background: rgba(21,22,47,.94);
  color: #fff;
  box-shadow: 0 19px 42px -19px rgba(18,19,50,.72);
  /* Inter etait nommee ici et n'etait chargee nulle part : ni @font-face,
     ni lien Google. Le navigateur retombait en silence sur Segoe UI.
     On ecrit donc ce qui s'affiche vraiment. (15/08/2026) */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  backdrop-filter: blur(14px);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.customer-edit-control:hover { transform: translateY(-3px); background: #5c5ceb; box-shadow: 0 25px 48px -19px rgba(61,57,181,.74); }
.customer-edit-control:focus-visible { outline: 3px solid #d9ff6e; outline-offset: 3px; }
.customer-edit-control span { color: #d9ff6e; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.customer-edit-control strong { display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 14px; letter-spacing: -.01em; }
.customer-edit-control b { color: #d9ff6e; font-size: 18px; line-height: 1; }

/* Les clients retrouvent réellement leur direction typographique hors de l’éditeur. */
.customer-site { --customer-display: Georgia, "Times New Roman", serif; --customer-body: "Segoe UI", Arial, sans-serif; }
.customer-site.customer-type-editorial { --customer-display: Georgia, "Times New Roman", serif; --customer-body: "Segoe UI", Arial, sans-serif; }
.customer-site.customer-type-signature { --customer-display: "Palatino Linotype", "Book Antiqua", Palatino, serif; --customer-body: Georgia, "Times New Roman", serif; }
.customer-site.customer-type-modern { --customer-display: "Arial Black", "Segoe UI", Arial, sans-serif; --customer-body: "Segoe UI", Arial, sans-serif; }
.customer-site.customer-type-studio { --customer-display: "Trebuchet MS", "Segoe UI", Arial, sans-serif; --customer-body: "Trebuchet MS", "Segoe UI", Arial, sans-serif; }
.customer-site.customer-type-graphic { --customer-display: Bahnschrift, "Aptos Display", "Segoe UI", sans-serif; --customer-body: Aptos, "Segoe UI", Arial, sans-serif; }
.customer-site.customer-type-classic { --customer-display: "Times New Roman", Times, serif; --customer-body: Arial, "Segoe UI", sans-serif; }
.customer-site[class*="customer-type-"] :is(body, p, span, small, a, button, input, textarea, select, li, dd, dt, figcaption) { font-family: var(--customer-body) !important; }
.customer-site[class*="customer-type-"] :is(h1, h2, h3, h4, h5, h6, .wordmark, .wordmark *, .hero-title, .hero-title *, .site-logo, .site-logo *) { font-family: var(--customer-display) !important; }
.customer-site.customer-type-graphic :is(h1, h2, h3, h4, h5, h6, .wordmark strong, .site-logo) { font-weight: 700 !important; letter-spacing: -.055em !important; text-transform: none !important; }
.customer-site.customer-type-graphic .hero h1 { max-width: 10ch; font-size: clamp(54px, 8vw, 112px) !important; line-height: .9 !important; }
.customer-site.customer-type-graphic .hero h1 em { font-family: var(--customer-display) !important; font-style: normal !important; font-weight: 500 !important; }

.scroll-progress {
  position: fixed;
  z-index: 950;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  pointer-events: none;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms cubic-bezier(.2,.7,.2,1), transform 720ms cubic-bezier(.2,.7,.2,1);
}

.has-js [data-reveal="left"],
.has-js [data-reveal="right"] { transform: translateY(28px); }
.has-js [data-reveal].is-visible { opacity: 1; transform: none; }

.demo-note {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .site-menu-toggle { display: inline-flex; }
  .demo-switcher { bottom: 10px; }
  .demo-switcher a { padding-inline: 11px; }
  .demo-switcher__cta { display: none !important; }
  .customer-edit-control { right: 14px; bottom: 82px; min-width: 182px; padding: 12px 14px; }
}

@media (max-width: 480px) {
  .demo-switcher { width: calc(100% - 20px); justify-content: space-between; }
  .demo-switcher__link { font-size: 0; }
  .demo-switcher__link::after { font-size: 11px; content: attr(data-short); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .has-js [data-reveal] { opacity: 1; transform: none; }
}
