:root {
  --orange: #ff6a00;
  --black: #080808;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 800;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
  background: #eee;
}
.container {
  width: calc(100% - 48px);
  max-width: 1400px;
  margin-inline: auto;
}
.header {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.2%;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1.4px;
  white-space: nowrap;
}
.logo i {
  width: 21px;
  height: 21px;
  background: var(--orange);
}
nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-size: 15px;
}
nav > a:hover,
.breadcrumbs a:hover {
  color: var(--orange);
}
.univers-menu {
  position: relative;
}
summary {
  list-style: none;
  display: flex;
  gap: 12px;
}
summary::-webkit-details-marker {
  display: none;
}
.univers-menu > div {
  position: absolute;
  z-index: 20;
  right: 0;
  top: 30px;
  width: 250px;
  padding: 12px;
  background: white;
  box-shadow: 0 8px 30px #0002;
}
.univers-menu a {
  display: block;
  padding: 9px;
}
.univers-menu a:hover {
  background: #f4f4f4;
}
.hero {
  height: clamp(225px, 23vw, 350px);
  position: relative;
  overflow: hidden;
  background: #171717;
}
.composition {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.composition[hidden] {
  display: none;
}
.composition.active {
  opacity: 1;
  z-index: 1;
}
.panel {
  position: relative;
  height: 100%;
  flex: 1;
  margin-left: -2%;
  clip-path: polygon(17% 0, 100% 0, 83% 100%, 0 100%);
  background: white;
  padding: 0 4px;
}
.panel:first-child {
  margin-left: 0;
  clip-path: polygon(0 0, 100% 0, 83% 100%, 0 100%);
  flex: 1.03;
}
.panel:last-child {
  margin-right: -5.5%;
  clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%);
  flex: 1.15;
}
.panel img {
  width: 100%;
  height: 100%;
}
.hero-controls {
  position: absolute;
  z-index: 3;
  bottom: 10px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0007;
  padding: 3px 8px;
  color: white;
  opacity: 0.45;
  transition: opacity 0.2s;
}
.hero:hover .hero-controls,
.hero:focus-within .hero-controls {
  opacity: 1;
}
.hero-controls[hidden] {
  display: none;
}
.hero-controls button {
  border: 0;
  color: inherit;
  background: none;
  min-width: 30px;
  min-height: 30px;
}
.hero-controls [data-pause] {
  font-size: 12px;
}
.dots {
  display: flex;
}
.dots button {
  position: relative;
  width: 25px;
  min-width: 25px;
}
.dots button:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid white;
  left: 9px;
  top: 12px;
  border-radius: 50%;
}
.dots button[aria-current="true"]:after {
  background: var(--orange);
  border-color: var(--orange);
}
.intro {
  text-align: center;
  padding: 18px 16px 17px;
}
.intro h1 {
  font-weight: 950;
  font-size: clamp(40px, 7.7vw, 111px);
  line-height: 1.06;
  letter-spacing: -0.065em;
}
.intro h1 span {
  color: var(--orange);
}
.intro p {
  font-size: clamp(16px, 2vw, 26px);
  font-style: italic;
  margin-top: 3px;
  letter-spacing: -0.02em;
}
.orange-rule {
  width: 64px;
  height: 3px;
  background: var(--orange);
  margin-bottom: 13px;
}
.intro .orange-rule {
  margin: 30px auto 0;
}
.universes {
  width: calc(100% - 20px);
}
.universes h2 {
  margin: 0 20px 19px;
}
.universe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.universe-card {
  position: relative;
  aspect-ratio: 1.53;
  overflow: hidden;
}
.universe-card > img {
  width: 100%;
  height: 100%;
  transition: transform 0.4s;
}
.universe-card:hover > img {
  transform: scale(1.035);
}
.card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 14px 8px 24px;
  background: linear-gradient(
    90deg,
    #fffffff5 0%,
    #fffffff0 56%,
    #ffffff05 100%
  );
  min-height: 42px;
}
.card-caption:before,
.series-card h3:before {
  content: "";
  position: absolute;
  left: 9px;
  top: 10px;
  bottom: 9px;
  width: 5px;
  background: var(--orange);
}
.card-caption h3 {
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.1;
  font-weight: 800;
}
.card-caption p {
  font-size: 14px;
  margin-top: 3px;
}
.series {
  margin-top: 30px;
}
.series h2 {
  margin-bottom: 10px;
}
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.series-card > img {
  width: 100%;
  aspect-ratio: 2.2;
  height: auto;
}
.series-card h3 {
  position: relative;
  padding: 6px 0 6px 17px;
  font-size: 18px;
  letter-spacing: -0.04em;
}
.series-card h3:before {
  left: 2px;
  top: 8px;
  bottom: 7px;
  width: 4px;
}
.bottom {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  margin-top: 22px;
  margin-bottom: 15px;
}
.about {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 18px;
}
.about > img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: 240px;
}
.about > div {
  padding-top: 14px;
}
.about h2 {
  font-size: 27px;
  margin-bottom: 15px;
}
.about p {
  font-size: 18px;
  font-style: italic;
  line-height: 1.4;
}
.about .orange-rule,
.contact .orange-rule {
  width: 50px;
  margin-bottom: 10px;
}
.contact {
  border-left: 1px solid #aaa;
  padding-left: 40px;
}
.contact h2 {
  font-size: 25px;
  margin-bottom: 12px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: block;
}
input,
textarea {
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 2px;
  padding: 7px 10px;
  background: #fff;
  min-width: 0;
  font-size: 14px;
}
textarea {
  margin-top: 8px;
  resize: vertical;
  min-height: 53px;
}
.privacy-note,
.config-note {
  font-size: 12px;
  line-height: 1.4;
  margin: 6px 0;
  color: #555;
}
.privacy-note a {
  text-decoration: underline;
}
.button {
  display: inline-block;
  background: var(--orange);
  border: 0;
  border-radius: 3px;
  padding: 7px 36px;
  color: white;
  font-weight: 700;
  font-size: 14px;
}
.button:hover {
  background: #db5900;
}
.honeypot {
  position: absolute;
  left: -10000px;
}
.form-status {
  padding: 10px;
  font-size: 14px;
  line-height: 1.4;
  border-left: 3px solid var(--orange);
  background: #f4f4f4;
  margin-bottom: 12px;
}
footer {
  border-top: 1px solid #888;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5px;
  gap: 20px;
}
footer .logo {
  font-size: 23px;
  gap: 8px;
}
footer .logo i {
  width: 16px;
  height: 16px;
}
footer > div {
  display: flex;
  gap: 26px;
  font-size: 13px;
}
footer a:not(.logo) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-notice {
  font-size: 12px;
  color: #666;
  text-align: center;
  padding: 12px 20px;
  background: #f6f6f6;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  z-index: 100;
  background: white;
  padding: 12px;
}
.page {
  padding-block: 50px;
  min-height: 65vh;
}
.page h1 {
  font-size: clamp(36px, 6vw, 70px);
  margin-bottom: 18px;
}
.page > .orange-rule {
  margin-top: 25px;
}
.page > p {
  margin-bottom: 28px;
  line-height: 1.7;
}
.back,
.breadcrumbs {
  font-size: 14px;
}
.breadcrumbs {
  display: flex;
  gap: 20px;
}
.gallery-intro {
  max-width: 800px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.5;
  height: auto;
}
.gallery-grid a {
  display: block;
  cursor: zoom-in;
}
.gallery-grid figcaption {
  font-size: 14px;
  margin-top: 8px;
  color: #555;
}
.prose {
  max-width: 850px;
}
.prose h2 {
  font-size: 26px;
  margin: 28px 0 12px;
}
.prose p {
  line-height: 1.7;
}
.lightbox {
  border: 0;
  background: #090909;
  color: white;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 55px 65px 25px;
}
.lightbox[open] {
  display: grid;
  grid-template-columns: 45px 1fr 45px;
  align-items: center;
  gap: 15px;
}
.lightbox::backdrop {
  background: #000e;
}
.lightbox figure {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.lightbox img {
  max-height: calc(100dvh - 130px);
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}
.lightbox button {
  border: 0;
  background: transparent;
  color: white;
  font-size: 38px;
  min-height: 44px;
  min-width: 44px;
}
.lightbox [data-close] {
  position: absolute;
  right: 25px;
  top: 10px;
  font-size: 16px;
}
.lightbox figcaption {
  font-size: 14px;
}
.lightbox-open {
  overflow: hidden;
}
@media (min-width: 1500px) {
  .hero {
    height: 350px;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 20px;
  }
  .header {
    padding: 0 20px;
  }
  .logo {
    font-size: 26px;
  }
  .bottom {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid #bbb;
  }
  .about > img {
    max-height: 220px;
  }
  .card-caption {
    padding-left: 20px;
  }
  .card-caption p {
    font-size: 12px;
  }
  .series-grid {
    gap: 12px;
  }
  .series-card h3 {
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  .header {
    height: auto;
    min-height: 90px;
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 12px;
  }
  .logo {
    font-size: 25px;
  }
  .logo i {
    width: 18px;
    height: 18px;
  }
  nav {
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    font-size: 13px;
  }
  .univers-menu > div {
    left: 0;
    right: auto;
  }
  .hero {
    height: 240px;
  }
  .panel {
    margin-left: -4%;
  }
  .panel:first-child {
    flex: 1;
  }
  .panel:last-child {
    flex: 1.1;
    margin-right: -8%;
  }
  .hero-controls {
    right: 8px;
    bottom: 8px;
    opacity: 0.8;
  }
  .intro {
    padding: 22px 12px;
  }
  .intro h1 {
    font-size: clamp(32px, 7.6vw, 46px);
    letter-spacing: -0.065em;
    white-space: nowrap;
  }
  .intro p {
    font-size: 15px;
    line-height: 1.4;
    margin-top: 9px;
  }
  .intro .orange-rule {
    margin-top: 22px;
    width: 45px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .universes {
    width: calc(100% - 16px);
  }
  .universes h2 {
    font-size: 25px;
    margin: 0 8px 16px;
  }
  .universe-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .universe-card {
    aspect-ratio: 0.94;
  }
  .universe-card:last-child {
    grid-column: 1/-1;
    aspect-ratio: 1.9;
  }
  .card-caption {
    padding: 8px 8px 8px 16px;
    background: #ffffffe8;
    min-height: 48px;
  }
  .card-caption:before {
    left: 6px;
    width: 3px;
    top: 8px;
    bottom: 8px;
  }
  .card-caption h3 {
    font-size: 17px;
    letter-spacing: -0.04em;
  }
  .card-caption p {
    font-size: 11px;
    line-height: 1.3;
  }
  .series {
    margin-top: 27px;
  }
  .series-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .series-card h3 {
    font-size: 18px;
  }
  .series-card > img {
    aspect-ratio: 2;
  }
  .bottom {
    margin-top: 30px;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .about > img {
    height: 200px;
    max-height: none;
  }
  .about > div {
    padding: 0;
  }
  .about h2 {
    margin-bottom: 10px;
  }
  .about p {
    font-size: 17px;
  }
  .contact h2 {
    font-size: 24px;
  }
  .form-row {
    gap: 10px;
  }
  .contact input,
  .contact textarea {
    font-size: 16px;
  }
  .privacy-note,
  .config-note {
    font-size: 13px;
  }
  .button {
    font-size: 16px;
    padding: 10px 30px;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 16px;
  }
  footer > div {
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
  }
  .page {
    padding-block: 30px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .lightbox {
    padding: 55px 5px 20px;
  }
  .lightbox[open] {
    grid-template-columns: 32px 1fr 32px;
    gap: 0;
  }
  .lightbox button {
    min-width: 32px;
  }
  .lightbox img {
    max-height: 75dvh;
  }
  .demo-notice {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
/* Les panneaux partagent exactement les mêmes diagonales, sans intervalle sombre. */
.panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 29%;
  width: 40%;
  margin: 0;
  padding: 0 3px;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}
.panel:first-child {
  left: 0;
  width: 35%;
  margin: 0;
  clip-path: polygon(0 0, 100% 0, 82.857% 100%, 0 100%);
}
.panel:last-child {
  left: 63%;
  width: 37%;
  margin: 0;
  clip-path: polygon(16.216% 0, 100% 0, 100% 100%, 0 100%);
}
.header {
  height: 44px;
}
@media (max-width: 600px) {
  .header {
    height: auto;
  }
}
.composition:before,
.composition:after {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  pointer-events: none;
  z-index: 3;
}
.composition:before {
  clip-path: polygon(
    calc(35% - 2px) 0,
    calc(35% + 2px) 0,
    calc(29% + 2px) 100%,
    calc(29% - 2px) 100%
  );
}
.composition:after {
  clip-path: polygon(
    calc(69% - 2px) 0,
    calc(69% + 2px) 0,
    calc(63% + 2px) 100%,
    calc(63% - 2px) 100%
  );
}
picture {
  display: block;
}
.panel picture,
.panel picture img {
  width: 100%;
  height: 100%;
}
.universe-card > picture {
  width: 100%;
  height: 100%;
}
.universe-card > picture img {
  width: 100%;
  height: 100%;
}
.series-card > picture img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.2;
}
.public-links {
  display: flex;
  gap: 20px;
  padding-bottom: 14px;
  font-size: 14px;
}
.public-links a {
  text-decoration: underline;
}
.subcategory-links,
.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}
.subcategory-links a,
.gallery-tags a,
.gallery-tags span {
  border: 1px solid #ddd;
  padding: 7px 12px;
  font-size: 14px;
}
.subcategory-links a[aria-current="page"] {
  border-color: #ff6a00;
  background: #fff4eb;
}
.subcategory-links a:hover,
.gallery-tags a:hover {
  border-color: #ff6a00;
}
.gallery-metadata {
  margin-bottom: 28px;
}
.gallery-metadata p {
  font-size: 14px;
  margin: 8px 0;
}
.gallery-metadata a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.access-form {
  max-width: 440px;
  margin: 25px 0;
}
.access-form label {
  display: block;
  margin: 16px 0;
  font-size: 16px;
}
.access-form input[type="password"] {
  font-size: 16px;
  padding: 12px;
  margin-top: 8px;
}
.access-form .adult-confirm {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}
.adult-confirm input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  accent-color: #ff6a00;
}
.access-note {
  font-size: 13px;
  color: #555;
}
.access-form .button {
  padding: 12px 24px;
  font-size: 16px;
}
