/* Through My Lens — mentions légales / RGPD. Same design language as contact:
   black grunge backdrop, Bebas slabs, hard offset shadows; the legal text
   itself sits on tilted white "paper sheets" in typewriter type. */

@font-face {
  font-family: "Bebas Neue";
  src: url("../assets/fonts/BebasNeue.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #c10000;
  --bebas: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --type: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }

html { background: #050505; }

body {
  margin: 0;
  color: #fff;
  background: #050505;
  font-family: var(--bebas);
  overflow-x: hidden;
}

/* ---- Fixed grunge backdrop, same recipe as the gallery ---- */

.fixed-art {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #050505;
}

.fixed-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/landingpage/remplissage/FullRedGrunge.png") center/cover;
  opacity: 0.13;
}

.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fill-whitegrudge { opacity: 0.45; }
.fill-whitepoints { opacity: 0.8; }
.fill-redgrudge   { opacity: 0.9; }

.red-shard { position: absolute; background: var(--red); opacity: 0.8; transform: rotate(-24deg); }
.shard-one { width: 600px; height: 115px; right: -260px; bottom: 40px; }
.shard-two { width: 430px; height: 70px;  right: -210px; top: 200px; }

/* ---- Page ---- */

.legal-page {
  position: relative;
  z-index: 4;
  max-width: 1100px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 28px 30px;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-mask { width: clamp(100px, 10vw, 160px); transform: rotate(-4deg); }
.home-mask img { display: block; width: 100%; filter: drop-shadow(3px 4px 0 rgba(0, 0, 0, 0.6)); }

/* Punk paper-cut GALLERY button (inline SVG in legal.html) */
.gallery-link {
  width: clamp(200px, 20vw, 320px);
  transform: rotate(1.5deg);
}
.gallery-link svg { display: block; width: 100%; height: auto; overflow: visible; }
.gallery-link:focus { outline: none; }

.legal-title {
  position: relative;
  align-self: flex-start;
  margin: clamp(26px, 6vh, 64px) 0 0;
  font-size: clamp(46px, 7.5vw, 110px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 16px 34px 8px;
  transform: rotate(-2deg);
  clip-path: polygon(1.2% 5%, 99% 0, 100% 93%, 0 100%);
  box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.6);
}

.legal-title::after { /* grunge wear, same as the contact title */
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/gallerypage/filling/remplissageGRUDGEwhite.png") center/160% auto;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.pitch {
  align-self: flex-start;
  margin: 22px 0 0 10px;
  font-size: clamp(18px, 1.8vw, 28px);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #050505;
  background: #fff;
  padding: 8px 18px 6px;
  transform: rotate(-1deg);
  clip-path: polygon(1.5% 7%, 98% 0, 100% 88%, 0 100%);
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.55);
}

/* ---- Paper sheets ---- */

.sheets {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 4vh, 44px);
  margin: clamp(36px, 7vh, 80px) 0 0;
  width: min(860px, 100%);
}

.sheet {
  position: relative;
  background: #fff;
  color: #0a0a0a;
  padding: 26px 34px 22px;
  box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.6);
}

/* alternating tilt + ragged paper-cut edges */
.sheet:nth-child(odd)  { transform: rotate(-0.7deg); clip-path: polygon(0.6% 2.5%, 99.4% 0, 100% 97%, 0 100%); }
.sheet:nth-child(even) { transform: rotate(0.6deg);  clip-path: polygon(0 0, 99.4% 2%, 100% 100%, 0.5% 97.5%); }

.sheet::after { /* distressed print texture */
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/gallerypage/filling/remplissageGRUDGEwhite.png") center/140% auto;
  opacity: 0.18;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.sheet h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
  display: inline-block;
  background: #0a0a0a;
  color: #fff;
  padding: 8px 16px 4px;
  transform: rotate(-0.8deg);
  clip-path: polygon(1.5% 8%, 99% 0, 100% 90%, 0 100%);
}

.sheet p {
  margin: 0 0 14px;
  font-family: var(--type);
  font-size: clamp(13px, 1.25vw, 15.5px);
  line-height: 1.6;
}
.sheet p:last-child { margin-bottom: 0; }

.sheet a {
  color: #0a0a0a;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ---- Footer ---- */

footer {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.barcode { width: clamp(130px, 13vw, 200px); transform: rotate(-3deg); }
.framelife { width: clamp(110px, 11vw, 170px); transform: rotate(-4deg); filter: drop-shadow(4px 5px 0 rgba(0, 0, 0, 0.6)); }

@media (max-width: 700px) {
  .gallery-link { width: 160px; }
  .sheet { padding: 20px 20px 16px; }
}
