/* Librairie Jeunesse d'Afrique — design system */
:root {
  --blue-950: #061229;
  --blue-900: #0b1f4a;
  --blue-800: #102a5c;
  --blue-700: #153a7a;
  --blue-600: #1e4d9e;
  --blue-500: #2a62c4;
  --sky-400: #38bdf8;
  --sky-300: #7dd3fc;
  --sky-200: #bae6fd;
  --sky-100: #e0f2fe;
  --yellow-400: #facc15;
  --yellow-300: #fde047;
  --white: #f8fafc;
  --gray-500: #64748b;
  --gray-600: #475569;
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 24px 80px rgba(6, 18, 41, 0.12);
  --shadow-card: 0 16px 48px rgba(11, 31, 74, 0.15);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--blue-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--blue-700);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--yellow-400);
  color: var(--blue-950);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 250, 252, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 31, 74, 0.06);
  transition: box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 40px rgba(6, 18, 41, 0.08);
  background: rgba(248, 250, 252, 0.92);
}

.site-header__inner {
  height: 100%;
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand__logo {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(11, 31, 74, 0.12);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.brand__tag {
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 500;
}

@media (max-width: 520px) {
  .brand__tag {
    display: none;
  }
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--blue-800);
  padding: 0.35rem 0;
  border-radius: 6px;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--blue-600);
}

.site-nav__cta {
  background: linear-gradient(135deg, var(--yellow-400), var(--yellow-300));
  color: var(--blue-950) !important;
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.35);
}

.site-nav__cta:hover {
  filter: brightness(1.03);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  border-radius: var(--radius-sm);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
  position: absolute;
  left: 11px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

.nav-toggle__bar {
  top: 21px;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  left: 0;
}

.nav-toggle__bar::before {
  top: -7px;
}

.nav-toggle__bar::after {
  top: 7px;
}

.site-header.is-open .nav-toggle__bar {
  background: transparent;
}

.site-header.is-open .nav-toggle__bar::before {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bar::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(11, 31, 74, 0.08);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), opacity 0.3s;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0;
  }

  .site-nav__cta {
    text-align: center;
    margin-top: 0.5rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100vh, 900px);
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 120% 80% at 70% -10%,
      var(--sky-200) 0%,
      transparent 55%
    ),
    linear-gradient(165deg, var(--sky-100) 0%, var(--white) 45%, var(--white) 100%);
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 31, 74, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 74, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 20%, transparent 75%);
  z-index: 0;
}

/* Illustrations flottantes — hero */
.hero__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.hero__float {
  position: absolute;
  opacity: 0.92;
  filter: drop-shadow(8px 12px 24px rgba(11, 31, 74, 0.12));
  animation: hero-float 7s var(--ease-out) infinite;
}

.hero__float--1 {
  width: min(100px, 18vw);
  height: auto;
  top: 14%;
  left: 4%;
  rotate: -8deg;
  animation-delay: 0s;
}

.hero__float--2 {
  width: min(88px, 16vw);
  height: auto;
  bottom: 18%;
  left: 8%;
  rotate: 6deg;
  animation-delay: -1.5s;
}

.hero__float--3 {
  width: min(80px, 14vw);
  height: auto;
  top: 22%;
  right: 6%;
  rotate: 12deg;
  animation-delay: -3s;
}

.hero__float--4 {
  width: min(96px, 17vw);
  height: auto;
  bottom: 12%;
  right: 4%;
  rotate: -5deg;
  animation-delay: -4.5s;
}

@media (max-width: 960px) {
  .hero__float--1 {
    top: 8%;
    left: 2%;
    width: min(72px, 16vw);
  }

  .hero__float--2 {
    bottom: 42%;
    left: 2%;
    width: min(64px, 14vw);
  }

  .hero__float--3 {
    top: 10%;
    right: 2%;
    width: min(60px, 13vw);
  }

  .hero__float--4 {
    bottom: 38%;
    right: 2%;
    width: min(68px, 15vw);
  }
}

@media (max-width: 520px) {
  .hero__decor {
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__float {
    animation: none;
  }
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Bandeau pictos sous le hero */
.hero__strip {
  position: relative;
  z-index: 1;
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
}

.illustration-strip {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), var(--sky-100));
  border: 1px solid rgba(11, 31, 74, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(11, 31, 74, 0.07);
}

.illustration-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.illustration-strip__img {
  width: 72px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(11, 31, 74, 0.1));
}

.illustration-strip__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-800);
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .illustration-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 960px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }
}

.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin: 0 0 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  padding-bottom: 0.06em;
  color: var(--blue-950);
  font-optical-sizing: auto;
}

.hero__title-accent {
  background: linear-gradient(120deg, var(--blue-700), var(--sky-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* évite la coupe des descendantes avec le dégradé */
  padding-bottom: 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--gray-600);
  font-size: 1.125rem;
  line-height: 1.75;
}

@media (max-width: 960px) {
  .hero__lead {
    margin-inline: auto;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, filter 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--yellow-400), var(--yellow-300));
  color: var(--blue-950);
  box-shadow: 0 8px 32px rgba(250, 204, 21, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--blue-800);
  border: 1px solid rgba(11, 31, 74, 0.12);
  box-shadow: 0 4px 20px rgba(11, 31, 74, 0.06);
}

.btn--ghost:hover {
  background: #fff;
  transform: translateY(-2px);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__card {
  position: relative;
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(145deg, #fff, var(--sky-100));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
  max-width: 340px;
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--yellow-400), var(--sky-400), var(--blue-600));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.65;
}

.hero__logo {
  margin: 0 auto;
  width: min(280px, 70vw);
  height: auto;
  filter: drop-shadow(12px 16px 24px rgba(11, 31, 74, 0.15));
}

.hero__card-caption {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.5;
}

.hero__scroll {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--blue-600), transparent);
  opacity: 0.4;
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section--muted {
  background: linear-gradient(180deg, var(--white) 0%, var(--sky-100) 100%);
}

.section--dark {
  background: linear-gradient(160deg, var(--blue-950) 0%, var(--blue-800) 48%, var(--blue-700) 100%);
  color: var(--sky-100);
}

.section--dark a {
  color: var(--sky-300);
}

.section--catalogue {
  background: var(--white);
  border-top: 1px solid rgba(11, 31, 74, 0.06);
}

.section__header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin: 0 0 0.75rem;
}

.section__eyebrow--on-dark {
  color: var(--yellow-400);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0 0 1rem;
  padding-bottom: 0.04em;
  color: var(--blue-950);
  font-optical-sizing: auto;
}

.section__title--on-dark {
  color: #fff;
}

.section__lead {
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--gray-600);
  margin: 0 0 1rem;
}

.section__subtitle {
  margin: 0;
  color: var(--gray-600);
  font-size: 1.0625rem;
  line-height: 1.72;
}

.section--dark .section__lead,
.section--dark .section__subtitle {
  color: rgba(224, 242, 254, 0.88);
}

.split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.split--with-visual {
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) minmax(220px, 300px);
  gap: 2rem 2rem;
  align-items: center;
}

.split__visual {
  position: relative;
}

@media (max-width: 1024px) {
  .split--with-visual {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "visual visual"
      "text stats";
  }

  .split--with-visual .split__visual {
    grid-area: visual;
    justify-self: center;
    max-width: 320px;
  }

  .split--with-visual .split__text {
    grid-area: text;
    min-width: 0;
  }

  .split--with-visual .stat-list {
    grid-area: stats;
  }
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--with-visual {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .split--with-visual .split__visual,
  .split--with-visual .split__text,
  .split--with-visual .stat-list {
    grid-area: auto;
  }
}

/* Collage illustrations — à propos */
.illustration-cluster {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  margin-inline: auto;
}

.illustration-cluster__img {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(10px 14px 28px rgba(11, 31, 74, 0.12));
}

.illustration-cluster__img--a {
  width: 48%;
  top: 0;
  left: 0;
  z-index: 2;
  rotate: -6deg;
}

.illustration-cluster__img--b {
  width: 46%;
  top: 4%;
  right: 0;
  z-index: 1;
  rotate: 8deg;
}

.illustration-cluster__img--c {
  width: 44%;
  bottom: 8%;
  left: 8%;
  z-index: 3;
  rotate: 4deg;
}

.illustration-cluster__img--d {
  width: 40%;
  bottom: 0;
  right: 12%;
  z-index: 2;
  rotate: -10deg;
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-list__item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(11, 31, 74, 0.08);
  box-shadow: 0 8px 32px rgba(11, 31, 74, 0.06);
}

.stat-list__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--blue-600);
  margin-bottom: 0.35rem;
}

.stat-list__label {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--gray-600);
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .bento {
    grid-template-columns: 1fr;
  }
}

.bento__card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(11, 31, 74, 0.07);
  box-shadow: 0 12px 40px rgba(11, 31, 74, 0.06);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.bento__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.bento__card--wide {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .bento__card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .bento__card--wide {
    grid-column: span 1;
  }
}

.bento__card--accent {
  background: linear-gradient(145deg, var(--blue-800), var(--blue-700));
  color: var(--sky-100);
  border-color: transparent;
}

.bento__card--accent .bento__title {
  color: #fff;
}

.bento__card--accent .bento__text {
  color: rgba(224, 242, 254, 0.9);
}

.bento__illu-wrap {
  margin-bottom: 0.75rem;
}

.bento__illu-wrap--on-dark .bento__illu {
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25)) brightness(1.08);
}

.bento__illu {
  width: 80px;
  height: auto;
  object-fit: contain;
  display: block;
}

.bento__illu--sm {
  width: 64px;
}

.bento__illu-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 560px) {
  .bento__illu-row {
    justify-content: center;
  }
}

.bento__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: var(--blue-950);
}

.bento__text {
  margin: 0;
  font-size: 0.975rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* Pro section */
.pro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .pro {
    grid-template-columns: 1fr;
  }
}

.pro__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(224, 242, 254, 0.92);
  margin: 0 0 1.75rem;
}

.pro__lead strong {
  color: #fff;
}

.pro__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pro__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.pro__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.875rem;
  color: var(--yellow-400);
  line-height: 1.2;
}

.pro__item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  margin: 0 0 0.35rem;
  color: #fff;
}

.pro__item-text {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(224, 242, 254, 0.82);
  line-height: 1.62;
}

/* Catalogue — recherche articles */
.catalogue-search {
  background: linear-gradient(135deg, var(--sky-100), #fff);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid rgba(11, 31, 74, 0.08);
  box-shadow: 0 20px 60px rgba(11, 31, 74, 0.08);
}

.catalogue-search__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.catalogue-search__input {
  flex: 1 1 240px;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid rgba(11, 31, 74, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-900);
}

.catalogue-search__input::placeholder {
  color: var(--gray-500);
}

.catalogue-search__input:focus {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

.catalogue-search__btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.catalogue-search__hint {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.catalogue-search__status:not([hidden]) {
  margin-bottom: 1rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(30, 77, 158, 0.08);
  color: var(--blue-800);
  font-size: 0.9375rem;
}

.catalogue-results {
  margin-top: 0.5rem;
}

.catalogue-results[hidden] {
  display: none !important;
}

.catalogue-results__meta {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin: 0 0 1rem;
}

.catalogue-results__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.catalogue-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1.25rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(11, 31, 74, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(11, 31, 74, 0.05);
  transition: box-shadow 0.25s var(--ease-out), border-color 0.25s;
}

.catalogue-card:hover {
  border-color: rgba(30, 77, 158, 0.15);
  box-shadow: 0 8px 28px rgba(11, 31, 74, 0.09);
}

.catalogue-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
  margin: 0 0 0.35rem;
  color: var(--blue-950);
}

.catalogue-card__author {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.catalogue-card__rayon {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.catalogue-card__meta {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.catalogue-card__aside {
  text-align: right;
  min-width: 7rem;
}

.catalogue-card__price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--blue-800);
  margin: 0 0 0.35rem;
}

.catalogue-card__stock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.catalogue-card__stock--ok {
  background: rgba(34, 197, 94, 0.15);
  color: #166534;
}

.catalogue-card__stock--no {
  background: rgba(100, 116, 139, 0.15);
  color: var(--gray-600);
}

@media (max-width: 560px) {
  .catalogue-card {
    grid-template-columns: 1fr;
  }

  .catalogue-card__aside {
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    justify-content: space-between;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-address {
  font-style: normal;
  margin-top: 1.5rem;
  line-height: 1.7;
}

.contact-address a {
  text-decoration: none;
  font-weight: 500;
}

.contact-address a:hover {
  text-decoration: underline;
}

.contact-card {
  background: linear-gradient(160deg, var(--blue-900), var(--blue-800));
  color: var(--sky-100);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.contact-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 1.25rem;
  color: #fff;
}

.hours {
  margin: 0;
}

.hours__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9375rem;
}

.hours__row:last-child {
  border-bottom: none;
}

.hours dt {
  font-weight: 600;
  color: var(--sky-200);
}

.hours dd {
  margin: 0;
  text-align: right;
  color: rgba(224, 242, 254, 0.92);
}

.contact-card__footnote {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: rgba(224, 242, 254, 0.65);
}

/* Rayons (données BD — bandeaux animés) */
.section-rayons {
  position: relative;
  padding: clamp(3.5rem, 8vw, 5.25rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
  background: linear-gradient(165deg, var(--blue-950) 0%, #0c1f45 38%, var(--blue-800) 100%);
  color: var(--sky-100);
}

.section-rayons__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 15% 25%, rgba(56, 189, 248, 0.18), transparent 52%),
    radial-gradient(ellipse 70% 50% at 85% 75%, rgba(250, 204, 21, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(30, 77, 158, 0.35), transparent 55%);
}

.section-rayons__header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-rayons__eyebrow {
  color: var(--yellow-400);
}

.section-rayons__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.18;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  background: linear-gradient(105deg, #fff 0%, var(--sky-200) 55%, var(--sky-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-rayons__lead {
  max-width: 38rem;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(224, 242, 254, 0.88);
}

.section-rayons__marquees {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.section-rayons__row {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.section-rayons__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding-block: 0.2rem;
  will-change: transform;
  animation: rayons-scroll 52s linear infinite;
}

.section-rayons__track--reverse {
  animation-name: rayons-scroll-rev;
  animation-duration: 58s;
}

@keyframes rayons-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes rayons-scroll-rev {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.section-rayons__marquees:hover .section-rayons__track {
  animation-play-state: paused;
}

.section-rayons__pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(250, 204, 21, 0.42);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: #fff;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s,
    box-shadow 0.35s;
}

.section-rayons__marquees .section-rayons__pill:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(250, 204, 21, 0.75);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(250, 204, 21, 0.2);
}

.section-rayons__pill--alt {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.section-rayons__marquees .section-rayons__pill--alt:hover {
  border-color: rgba(125, 211, 252, 0.75);
}

.section-rayons__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow-400);
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.85);
  flex-shrink: 0;
}

.section-rayons__dot--alt {
  background: var(--sky-400);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.75);
}

.section-rayons__static {
  display: none;
  position: relative;
  z-index: 1;
  padding: 0 1rem 1.5rem;
}

.section-rayons__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 960px;
}

.section-rayons__grid .section-rayons__pill {
  white-space: normal;
  text-align: left;
  max-width: 22rem;
}

@media (prefers-reduced-motion: reduce) {
  .section-rayons__sr-list {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    clip-path: none;
    border: 0;
    display: none;
  }

  .section-rayons__marquees {
    display: none;
  }

  .section-rayons__static {
    display: block;
  }

  .section-rayons__track {
    animation: none;
  }
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(11, 31, 74, 0.08);
  background: var(--blue-950);
  color: var(--sky-200);
}

.site-footer a {
  color: var(--sky-300);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
}

.site-footer__brand img {
  border-radius: 10px;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(224, 242, 254, 0.65);
}

.site-footer__top {
  font-size: 0.875rem;
  font-weight: 600;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
