/* ═══════════════════════════════════════════════════
   REGARDS CROISÉS — Les Érudits
   Charte graphique officielle — palette & typo 2026
═══════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg:            #27104f;
  --bg-2:          #1e0c3c;
  --bg-3:          #351568;
  --surface:       #321165;
  --border:        rgba(210, 210, 254, 0.1);
  --border-md:     rgba(210, 210, 254, 0.22);
  --text:          #dcdfff;
  --text-dim:      #d2d2fe;
  --text-muted:    #a99ade;
  --primary:       #582fa0;
  --primary-dark:  #3d1e77;
  --primary-light: #d2d2fe;
  --primary-pale:  #dcdfff;
  --accent:        #ff2d1f;
  /* Typographies officielles */
  --font-display: 'Helvetica 95 Black', 'Arial Black', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-title:   'Helvetica Neue', Helvetica, Arial, sans-serif; /* Helvetica Medium weight 500 */
  --font-body:    'Acumin Variable Concept', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:      cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h:        72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(39,16,79,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.site-nav__inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.site-nav__logo img {
  height: 36px;
  width: auto;
}
.site-nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav__link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.25s;
  position: relative;
  padding-bottom: 2px;
}
.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--primary-light);
  transition: width 0.3s var(--ease);
}
.site-nav__link:hover,
.site-nav__link.active { color: #fff; }
.site-nav__link:hover::after,
.site-nav__link.active::after { width: 100%; }

.site-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.site-nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(39,16,79,0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }
.nav-overlay__close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 1.4rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-overlay__close:hover { color: #fff; }
.nav-overlay > nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.nav-overlay__link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 2.8rem);
  font-style: normal;
  font-weight: 900;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-overlay__link:hover { color: #fff; }

/* ═══════════════════════════════════════════════════
   BOUTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer;
}
.btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn--outline {
  background: transparent;
  border-color: rgba(210,210,254,0.45);
  color: var(--text-dim);
}
.btn--outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn--light {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn--light:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════
   PAGE D'ACCUEIL — ÉCRAN IMMERSIF
═══════════════════════════════════════════════════ */
.home-hero {
  min-height: 100svh;
  background: transparent;
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Fond dynamique au hover — péchés capitaux ── */
.sin-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--bg); /* violet par défaut */
  pointer-events: none;
}
.sin-bg.active {
  background: #000; /* bascule instantanément — plus de violet visible pendant le fade-in */
}
.sin-bg__image {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.sin-bg__image.visible { opacity: 1; }
.sin-bg__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity 0.9s ease;
}
.sin-bg__overlay.visible { opacity: 1; }

/* Nav transparente sur fond sombre */
.site-nav:not(.scrolled) {
  background: rgba(39,16,79,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.08);
}
.site-nav:not(.scrolled) .site-nav__link { color: rgba(210,210,254,0.8); }
.site-nav:not(.scrolled) .site-nav__link:hover,
.site-nav:not(.scrolled) .site-nav__link.active { color: #fff; }
.site-nav:not(.scrolled) .site-nav__link::after { background: #fff; }
.site-nav:not(.scrolled) .site-nav__toggle span { background: #fff; }

/* Identité — logo + titre + groupe */
.home-identity {
  position: relative;
  z-index: 3; /* au-dessus du gradient ::after */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: calc(var(--nav-h) + 56px) 40px 0;
  text-align: center;
}
.home-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 45px);
  font-style: normal;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 18px;
}
.home-sub {
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 1.5vw, 0.85rem);
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: rgba(210,210,254,0.72);
}

/* ── Roue immersive — exactement la moitié visible ── */
.wheel-immersive {
  position: absolute;
  bottom: 0;
  left: 50%;
  /* translateY(50%) : le centre de la roue est exactement sur le bord bas du viewport */
  transform: translateX(-50%) translateY(50%);
  z-index: 1;
  pointer-events: none;
}


/* SVG roue — gigantesque, tourne via JS */
.sins-wheel {
  width: min(130vw, 1100px);
  height: min(130vw, 1100px);
  display: block;
  pointer-events: all;
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.sins-wheel:active { cursor: grabbing; }

/* ── Segments SVG — hover radial ── */
.wheel-seg {
  cursor: pointer;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.3s ease;
}
.wheel-seg:hover {
  /* --dx et --dy sont définis par JS : cosinus/sinus de l'angle du segment */
  transform: translate(calc(var(--dx) * 10px), calc(var(--dy) * 10px));
  filter: brightness(1.28) drop-shadow(0 0 22px rgba(255,255,255,0.32));
}
.wheel-seg:focus-visible {
  outline: 3px solid rgba(255,255,255,0.65);
  outline-offset: 2px;
}

/* Textes dans les segments */
.wheel-seg-label {
  pointer-events: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  fill: #fff;
  text-anchor: middle;
  dominant-baseline: middle;
  paint-order: stroke fill;
  stroke: rgba(0,0,0,0.55);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.wheel-seg-num {
  pointer-events: none;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 9px;
  fill: rgba(255,255,255,0.45);
  text-anchor: middle;
  dominant-baseline: middle;
  letter-spacing: 0.15em;
}

/* ── Hint ── */
.wheel-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(210,210,254,0.55);
  display: flex;
  align-items: center;
  gap: 14px;
}
.wheel-hint::before, .wheel-hint::after {
  content: '';
  width: 24px;
  height: 1px;
  background: rgba(210,210,254,0.3);
}

/* ═══════════════════════════════════════════════════
   GALERIE — HERO
═══════════════════════════════════════════════════ */
.gallery-hero {
  min-height: 48svh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 56px) 80px 72px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.gallery-hero__bg-text {
  position: absolute;
  right: -10px; bottom: -30px;
  font-family: var(--font-display);
  font-size: clamp(7rem, 17vw, 17rem);
  font-style: italic;
  color: var(--bg-2);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.gallery-hero__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.gallery-hero__label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.gallery-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 45px);
  font-style: normal;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 20px;
}
.gallery-hero__desc {
  font-family: var(--font-body);
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ── Nav secondaire ── */
.gallery-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: rgba(39,16,79,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 80px;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-nav::-webkit-scrollbar { display: none; }
.gallery-nav__list { display: flex; min-width: max-content; }
.gallery-nav__link {
  display: block;
  padding: 18px 22px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.gallery-nav__link:hover { color: var(--text); }
.gallery-nav__link.active {
  color: var(--text);
  border-bottom-color: var(--primary-light);
}

/* ═══════════════════════════════════════════════════
   GALERIE — BLOCS IMMERSIFS
═══════════════════════════════════════════════════ */
.gallery-block {
  display: grid;
  min-height: 88vh;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-h) + 56px);
  overflow: hidden;
}
.gallery-block--left  { grid-template-columns: 50fr 50fr; }
.gallery-block--right { grid-template-columns: 50fr 50fr; }
.gallery-block:nth-child(odd)  { background: var(--surface); }
.gallery-block:nth-child(even) { background: var(--bg); }

/* Image */
.gallery-block__image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  min-height: 60vh;
}
.gallery-block--left  .gallery-block__image-wrap { order: 1; }
.gallery-block--right .gallery-block__image-wrap { order: 2; }
.gallery-block__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.9s var(--ease);
}
.gallery-block.active .gallery-block__image-wrap img { transform: scale(1.03); }

/* Panneau de description — masqué par défaut */
.gallery-block__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  pointer-events: none;
}
.gallery-block--left  .gallery-block__content {
  order: 2;
  opacity: 0;
  transform: translateX(36px);
}
.gallery-block--right .gallery-block__content {
  order: 1;
  opacity: 0;
  transform: translateX(-36px);
}

/* État actif — description déployée */
.gallery-block.active .gallery-block__content {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

/* En-tête du panneau */
.gallery-block__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.gallery-block__number {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.gallery-block__sin-name {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 3px 10px;
  border: 1px solid var(--border-md);
  background: var(--primary-pale);
}
.gallery-block__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 40px);
  font-style: normal;
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 20px;
}
.gallery-block__divider {
  width: 36px;
  height: 2px;
  margin-bottom: 24px;
  opacity: 0.75;
}
.gallery-block__desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 380px;
}
.gallery-block__btn { align-self: flex-start; }

/* ═══════════════════════════════════════════════════
   CONCEPT — HERO
═══════════════════════════════════════════════════ */
.concept-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.concept-hero__image {
  position: relative;
  overflow: hidden;
}
.concept-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.concept-hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, var(--bg));
}
.concept-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 72px 72px 56px;
  gap: 20px;
  background: var(--bg);
}
.concept-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
  margin-bottom: 16px;
}
.concept-hero__back:hover { color: var(--text); }
.concept-hero__back .arrow { transition: transform 0.3s; }
.concept-hero__back:hover .arrow { transform: translateX(-4px); }
.concept-hero__number {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.concept-hero__sin {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sin-color, var(--primary));
  margin-top: -12px;
}
.concept-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 45px);
  font-style: normal;
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
}
.concept-hero__portfolio-title {
  font-family: var(--font-title);
  font-size: clamp(1rem, 2vw, 40px);
  font-style: normal;
  font-weight: 500;
  color: var(--text-dim);
  line-height: 1.3;
  margin-top: -8px;
}
.concept-hero__desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 25px);
  font-style: normal;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 380px;
}

/* ═══════════════════════════════════════════════════
   CONCEPT — SECTIONS
═══════════════════════════════════════════════════ */
.concept-section {
  padding: 96px 80px;
  background: var(--surface);
}
.concept-section + .concept-section { padding-top: 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 36px;
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 64px;
  height: 1px;
  background: var(--primary-light);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 40px);
  font-style: normal;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 40px;
}

/* Moodboard — plus petit */
.concept-moodboard__image {
  max-width: 700px;
  margin: 0 auto;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(61,30,119,0.08);
}
.concept-moodboard__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Before / After */
.concept-process {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 80px;
}
.concept-process__inner { max-width: 1200px; margin: 0 auto; }
.concept-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.concept-half {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.concept-half__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.concept-half__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-2);
  border-radius: 2px;
}
.concept-half__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.concept-half__image:hover img { transform: scale(1.04); }

/* Intention */
.concept-intention {
  padding: 96px 80px;
  background: var(--primary);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: start;
}
.concept-intention .section-label {
  color: var(--primary-light);
  writing-mode: vertical-lr;
  rotate: 180deg;
  align-self: center;
  gap: 12px;
}
.concept-intention .section-label::after {
  background: var(--primary-light);
  opacity: 0.4;
}
.concept-intention__text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 25px);
  line-height: 1.65;
  color: #fff;
  font-style: normal;
}
.concept-intention__sub {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--primary-light);
  line-height: 1.8;
  margin-top: 28px;
  opacity: 0.85;
}

/* Navigation entre concepts */
.concept-nav {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  background: var(--surface);
}
.concept-nav__link {
  padding: 40px 72px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.25s;
}
.concept-nav__link:hover { background: var(--bg); }
.concept-nav__link--prev { border-right: 1px solid var(--border); }
.concept-nav__link--next {
  text-align: right;
  border-left: 1px solid var(--border);
}
.concept-nav__direction {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.concept-nav__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 900;
  color: var(--text);
}
.concept-nav__center {
  display: flex;
  align-items: center;
  padding: 40px;
}
.concept-nav__center a {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
  white-space: nowrap;
}
.concept-nav__center a:hover { color: var(--text); }

/* ═══════════════════════════════════════════════════
   MENTIONS LÉGALES
═══════════════════════════════════════════════════ */
.legal-page {
  padding: calc(var(--nav-h) + 72px) 0 96px;
  background: var(--bg);
  min-height: 100svh;
}
.legal-page__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}
.legal-page__header {
  margin-bottom: 56px;
}
.legal-page__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 45px);
  font-style: normal;
  font-weight: 900;
  color: var(--text);
  margin-top: 24px;
}
.legal-page__body {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 64px;
}
.legal-block {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.legal-block__title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
}
.legal-block p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 8px;
}
.legal-block p strong {
  color: var(--text);
  font-weight: 500;
}
.legal-block__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}
.legal-block__list li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dim);
  padding-left: 16px;
  position: relative;
}
.legal-block__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}
.legal-page__back {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.site-footer__logo img {
  height: 28px;
  width: auto;
}
.site-footer__center {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.site-footer__right {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-align: right;
}
.site-footer__legal {
  color: var(--text-muted);
  transition: color 0.2s;
}
.site-footer__legal:hover { color: var(--primary-light); }

/* ═══════════════════════════════════════════════════
   CONCEPT — AFFICHE FINALE
═══════════════════════════════════════════════════ */
.concept-poster {
  padding: 96px 80px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.concept-poster__inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.concept-poster__frame {
  max-width: 420px;
  width: 100%;
  margin-top: 16px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 20px 64px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.3);
}
.concept-poster__frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.concept-poster__caption {
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

/* ═══════════════════════════════════════════════════
   CONCEPT — SLIDER AFFICHES
═══════════════════════════════════════════════════ */
.concept-slider {
  padding: 96px 80px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.concept-slider__inner {
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.concept-slider__stage {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}
.concept-slider__viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 20px 64px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.3);
}
.concept-slider__list {
  display: flex;
  list-style: none;
  transition: transform 0.45s var(--ease);
}
.concept-slider__slide { min-width: 100%; }
.concept-slider__slide img { width: 100%; height: auto; display: block; }
.concept-slider__arrow {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.concept-slider__arrow:hover { background: rgba(255,255,255,0.18); }
.concept-slider__arrow:disabled { opacity: 0.2; cursor: default; }
.concept-slider__caption {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}
.concept-slider__cta { margin-top: 32px; }

/* ═══════════════════════════════════════════════════
   CONCEPT — EXPAND "EN SAVOIR DAVANTAGE"
═══════════════════════════════════════════════════ */
.concept-expand {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.concept-expand__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 40px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.concept-expand__btn:hover { color: var(--text); }
.concept-expand__chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}
.concept-expand__btn[aria-expanded="true"] .concept-expand__chevron {
  transform: rotate(180deg);
}
.concept-expand__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s var(--ease);
}
.concept-expand__content.open { max-height: 2400px; }
.concept-expand__inner {
  padding: 56px 80px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.concept-expand__visuals {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 1100px;
}
.concept-expand__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 240px;
  max-width: 440px;
}
.concept-expand__visual img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 20px 64px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.3);
}
.concept-expand__visual figcaption {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

/* ═══════════════════════════════════════════════════
   CONCEPT — RÉSEAUX SOCIAUX (Paresse)
═══════════════════════════════════════════════════ */
.concept-social {
  padding: 96px 80px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.concept-social__inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.concept-social__grid {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}
.concept-social__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.concept-social__item img {
  max-height: 420px;
  width: auto;
  max-width: 280px;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  display: block;
}
.concept-social__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════
   À PROPOS
═══════════════════════════════════════════════════ */
.about-hero {
  min-height: 45vh;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 56px) 80px 72px;
}
.about-hero__inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.about-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 100px);
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  margin-top: 24px;
}
.about-text {
  max-width: 680px;
}
.about-text__main {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 24px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 28px;
}
.about-text__sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.85;
}
.about-blockquote {
  margin-top: 32px;
  padding-left: 28px;
  border-left: 2px solid rgba(210,210,254,0.45);
}
.about-blockquote::before {
  content: '\00AB';
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.8;
  color: var(--primary-light);
  margin-bottom: 16px;
}
.about-blockquote p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.85;
}
.about-intention__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 40px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 28px;
}
.about-quote {
  max-width: 760px;
}
.about-quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 22px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 24px;
}
.about-quote__sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.9;
}
/* Équipe — photos membres */
.about-team {
  display: flex;
  gap: 36px;
  margin-top: 56px;
}
.about-team__member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1;
  max-width: 260px;
}
.about-team__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.about-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s var(--ease);
}
.about-team__member:hover .about-team__photo img { transform: scale(1.04); }
.about-team__name {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

/* Annule le grid auto+1fr de .concept-intention sur la page À Propos */
.about-page .concept-intention {
  display: block;
}
.about-page .concept-intention .section-label {
  writing-mode: horizontal-tb;
  rotate: none;
  margin-bottom: 32px;
}
.about-page .about-intention__title {
  margin-top: 0;
}

/* ═══════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.40s; }
.fade-up:nth-child(7) { transition-delay: 0.48s; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .gallery-block__content { padding: 48px 36px; }
  .concept-hero { grid-template-columns: 1fr; }
  .concept-hero__image { height: 52svh; min-height: 340px; }
  .concept-hero__image-overlay { display: none; }
  .concept-hero__content { padding: 56px 40px; }
  .concept-intention { grid-template-columns: 1fr; gap: 40px; }
  .concept-intention .section-label { writing-mode: horizontal-tb; rotate: none; }
  .concept-section { padding: 72px 40px; }
  .concept-process { padding: 72px 40px; }
  .concept-intention { padding: 72px 40px; }
  .gallery-hero { padding: calc(var(--nav-h) + 40px) 40px 56px; }
  .gallery-nav { padding: 0 40px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .site-footer__right { text-align: center; }
  .about-hero { padding: calc(var(--nav-h) + 40px) 40px 56px; }
}

@media (max-width: 768px) {
  .site-nav__links { display: none; }
  .site-nav__toggle { display: flex; }
  .site-nav__inner { padding: 0 20px; }
  /* Homepage mobile */
  .home-identity { padding: calc(var(--nav-h) + 36px) 24px 0; }
  .home-logo { width: 56px; margin-bottom: 20px; }
  .home-title { font-size: clamp(2.6rem, 14vw, 4rem); }
  /* Roue mobile : plus grande % du viewport */
  .sins-wheel { width: min(160vw, 700px); height: min(160vw, 700px); }
  .wheel-immersive { transform: translateX(-50%) translateY(42%); }
  .gallery-block {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }
  .gallery-block__image-wrap {
    min-height: 62vw;
    order: 1 !important;
  }
  /* Mobile : animation verticale (slide-up) au lieu de horizontale */
  .gallery-block__content {
    order: 2 !important;
    padding: 32px 24px;
    opacity: 0;
    transform: translateY(16px) !important;
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease) !important;
    pointer-events: none;
  }
  .gallery-block.active .gallery-block__content {
    opacity: 1;
    transform: translateY(0) !important;
    pointer-events: all;
  }
  .gallery-hero { padding: calc(var(--nav-h) + 24px) 24px 40px; }
  .gallery-nav { padding: 0 16px; }
  .concept-hero__content { padding: 36px 24px; }
  .concept-before-after { grid-template-columns: 1fr; }
  .concept-moodboard__image { max-width: 100%; }
  .concept-nav { grid-template-columns: 1fr 1fr; }
  .concept-nav__center { display: none; }
  .concept-nav__link { padding: 28px 20px; }
  .concept-section { padding: 56px 24px; }
  .concept-process { padding: 56px 24px; }
  .concept-intention { padding: 56px 24px; }
  .concept-poster { padding: 56px 24px; }
  .concept-poster__frame { max-width: 100%; }
  .concept-slider { padding: 56px 24px; }
  .concept-slider__inner { max-width: 100%; }
  .concept-social { padding: 56px 24px; }
  .concept-social__item img { max-height: 300px; max-width: 200px; }
  .site-footer { padding: 36px 24px; }

  /* ── Nouvelles sections responsive mobile ── */
  .gallery-hero__bg-text { font-size: clamp(3.5rem, 18vw, 7rem); bottom: -16px; }
  .gallery-block { min-height: auto; }
  .gallery-block__image-wrap { min-height: 52vw; }
  .gallery-block__desc { max-width: 100%; font-size: 0.85rem; }
  .gallery-block__content { padding: 28px 24px; }
  .concept-expand { border-top: none; }
  .concept-expand__btn { padding: 20px 24px; font-size: 0.7rem; letter-spacing: 0.18em; }
  .concept-expand__inner { padding: 32px 20px 48px; }
  .concept-expand__visuals { flex-direction: column; align-items: center; gap: 32px; }
  .concept-expand__visual { max-width: 100%; width: 100%; min-width: 0; }
  .concept-expand__visual img { max-width: 100%; }
  .about-hero { padding: calc(var(--nav-h) + 24px) 24px 48px; min-height: auto; }
  .about-team { flex-direction: column; align-items: center; gap: 32px; }
  .about-team__member { max-width: 280px; width: 100%; }
}

/* ═══════════════════════════════════════════════════
   GALLERY-NAV — scroll tactile fluide sur mobile/tablette
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .gallery-nav {
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }
  .gallery-nav::-webkit-scrollbar { display: none; }
  .gallery-nav__list { flex-wrap: nowrap; min-width: max-content; }
  .gallery-nav__link { white-space: nowrap; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLETTE UNIQUEMENT (769px – 1024px)
═══════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {
  .site-nav__inner { padding: 0 32px; }

  /* Home */
  .home-identity { padding: calc(var(--nav-h) + 48px) 32px 0; }
  .sins-wheel { width: min(115vw, 880px); height: min(115vw, 880px); }

  /* Galerie */
  .gallery-block { min-height: 70vh; }
  .gallery-block__image-wrap { min-height: 45vh; }
  .gallery-block__content { padding: 48px 36px; }
  .gallery-hero { padding: calc(var(--nav-h) + 40px) 40px 56px; }

  /* Concept expand */
  .concept-expand__inner { padding: 40px 48px 56px; }
  .concept-expand__visuals { gap: 28px; }
  .concept-expand__visual { max-width: 480px; }

  /* Sections concept */
  .concept-slider { padding: 72px 48px; }
  .concept-social { padding: 72px 48px; }

  /* Footer */
  .site-footer { padding: 40px 48px; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — PETITS TÉLÉPHONES (< 480px)
═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --nav-h: 60px; }

  .site-nav__inner { padding: 0 16px; }
  .site-nav__logo img { height: 28px; }

  /* Home */
  .home-identity { padding: calc(var(--nav-h) + 24px) 16px 0; }
  .home-title { font-size: clamp(1.9rem, 11vw, 2.8rem); }
  .sins-wheel { width: min(175vw, 520px); height: min(175vw, 520px); }
  .wheel-immersive { transform: translateX(-50%) translateY(40%); }
  .wheel-hint { font-size: 0.7rem; }

  /* Galerie hero */
  .gallery-hero { padding: calc(var(--nav-h) + 20px) 16px 32px; }
  .gallery-hero__bg-text { font-size: clamp(3rem, 16vw, 5.5rem); }
  .gallery-hero__title { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .gallery-hero__desc { font-size: 0.82rem; }
  .gallery-nav { padding: 0 8px; }
  .gallery-nav__link { padding: 14px 12px; font-size: 0.62rem; letter-spacing: 0.06em; }

  /* Galerie blocs */
  .gallery-block__image-wrap { min-height: 58vw; }
  .gallery-block__content { padding: 24px 16px; }
  .gallery-block__title { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .gallery-block__desc { font-size: 0.82rem; line-height: 1.7; }

  /* Concept hero */
  .concept-hero__content { padding: 28px 16px; }
  .concept-hero__title { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  /* Concept sections */
  .concept-section { padding: 40px 16px; }
  .concept-process { padding: 40px 16px; }
  .concept-intention { padding: 40px 16px; }
  .concept-expand__btn { padding: 18px 16px; font-size: 0.68rem; }
  .concept-expand__inner { padding: 24px 16px 40px; }
  .concept-slider { padding: 40px 16px; }
  .concept-social { padding: 40px 16px; }
  .concept-social__item img { max-height: 240px; max-width: 160px; }

  /* Concept nav */
  .concept-nav__link { padding: 20px 14px; }
  .concept-nav__name { font-size: 1.1rem; }

  /* Footer */
  .site-footer { padding: 28px 16px; }
  .site-footer__center { font-size: 0.65rem; }
  .about-hero { padding: calc(var(--nav-h) + 20px) 16px 40px; }
}
