/* ------------------------------
   CINÉMA PALACE — ABONNEMENTS
   Palette et paramètres principaux
--------------------------------- */
:root {
  --yellow: #fff21a;
  --yellow-light: #fff86b;
  --black: #050505;
  --white: #fffef1;
  --font-display: "Barlow Condensed", Impact, sans-serif;
  --font-logo: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
}

a {
  color: inherit;
}

.poster-page {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 5vw, 70px) clamp(22px, 7vw, 110px) 36px;
  background:
    linear-gradient(142deg, transparent 0 17%, rgba(255,255,255,.22) 17.1% 17.5%, transparent 17.6%),
    linear-gradient(28deg, transparent 0 40%, rgba(255,255,255,.18) 40.1% 40.6%, transparent 40.7%),
    var(--yellow);
}

.poster-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(155deg, transparent 0 28%, rgba(255,255,255,.18) 28% 42%, transparent 42%),
    linear-gradient(18deg, transparent 0 53%, rgba(0,0,0,.035) 53% 68%, transparent 68%);
  pointer-events: none;
}

.poster-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background: linear-gradient(115deg, rgba(255,255,255,.16), transparent 40%, rgba(255,255,255,.10));
  pointer-events: none;
}

/* Geometric polygons */
.polygon {
  position: absolute;
  z-index: -2;
  pointer-events: none;
  opacity: .55;
}

.polygon-a {
  top: 9%;
  left: -8%;
  width: 48%;
  height: 30%;
  background: #ffe900;
  clip-path: polygon(0 0, 100% 0, 65% 100%, 0 72%);
}

.polygon-b {
  top: 27%;
  right: -5%;
  width: 60%;
  height: 28%;
  background: #fff86a;
  clip-path: polygon(10% 0, 100% 15%, 75% 100%, 0 58%);
}

.polygon-c {
  bottom: 15%;
  left: 0;
  width: 65%;
  height: 30%;
  background: #ffe600;
  clip-path: polygon(0 20%, 70% 0, 100% 100%, 12% 80%);
}

.polygon-d {
  bottom: -5%;
  right: 0;
  width: 50%;
  height: 28%;
  background: #fff9a1;
  clip-path: polygon(30% 0, 100% 20%, 100% 100%, 0 65%);
}

/* Oversized decorative lettering */
.graphic {
  position: absolute;
  z-index: -1;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: .75;
  color: var(--black);
  pointer-events: none;
  user-select: none;
}

.graphic-top {
  top: -0.24em;
  right: 12%;
  font-size: clamp(240px, 38vw, 600px);
  transform: rotate(16deg);
  opacity: .98;
}

.graphic-right {
  top: 26%;
  right: -0.13em;
  font-size: clamp(280px, 44vw, 720px);
  transform: rotate(-12deg);
  opacity: .97;
}

.graphic-bottom {
  bottom: -0.35em;
  left: -0.2em;
  font-size: clamp(240px, 37vw, 620px);
  transform: rotate(-12deg);
  opacity: .98;
}

.graphic-side {
  bottom: 13%;
  right: 4%;
  font-size: clamp(180px, 26vw, 460px);
  transform: rotate(42deg);
  opacity: .98;
}

.masthead,
.intro,
.offers,
.more-info,
.footer {
  position: relative;
  z-index: 1;
}

.masthead {
  display: flex;
  justify-content: center;
  margin: 0 auto clamp(52px, 8vw, 120px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  min-width: min(620px, 75vw);
  text-align: center;
}

.brand-name {
  font-family: var(--font-logo);
  font-size: clamp(36px, 6.4vw, 76px);
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-rule {
  width: 100%;
  height: 1px;
  background: var(--black);
  margin: 12px 0 6px;
}

.brand-town {
  font-family: var(--font-logo);
  font-size: clamp(23px, 3.5vw, 40px);
  letter-spacing: .18em;
  font-weight: 600;
  text-transform: uppercase;
}

.intro {
  max-width: 950px;
  margin: 0 auto clamp(40px, 7vw, 85px);
}

.eyebrow {
  font-size: clamp(16px, 2vw, 23px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .13em;
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(50px, 10vw, 150px);
  line-height: 0.92; /*.84;*/
  text-transform: uppercase;
  letter-spacing: -.035em;
  margin: 0;
  font-weight: 900;
}

h1 span {
  display: inline-block;
  -webkit-text-stroke: 1.5px var(--black);
  color: transparent;
}

.intro-copy {
  margin: 22px 0 0;
  font-size: clamp(19px, 2.8vw, 31px);
  font-weight: 600;
  text-transform: uppercase;
}

/* Offers */
.offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(55px, 8vw, 105px);
  max-width: 1120px;
  margin: 0 auto;
}

.offer {
  border-top: 2px solid var(--black);
  padding-top: 18px;
  position: relative;
}

.offer-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.offer-number {
  font-weight: 800;
  font-size: 20px;
}

.offer-tag {
  font-size: clamp(14px, 1.7vw, 21px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.offer h2 {
  font-size: clamp(42px, 8vw, 105px);
  line-height: .84;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0;
  font-weight: 900;
}

.offer h2 em {
  font-style: italic;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 6px 0 0;
  line-height: .8;
}

.currency {
  font-size: clamp(35px, 6vw, 80px);
  font-weight: 800;
  margin-right: .12em;
}

.amount {
  font-size: clamp(110px, 23vw, 300px);
  font-weight: 900;
  /*letter-spacing: -.055em;*/
  line-height: .8;
}

.dash {
  font-size: clamp(50px, 10vw, 120px);
  font-weight: 900;
  margin-left: .08em;
}

.offer-note {
  max-width: 1000px;
  font-size: clamp(15px, 2vw, 23px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 15px 0 0;
}

.offer-details {
  max-width: 720px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  margin: 20px 0 24px;
}

.offer-details p {
  margin: 0;
}

.buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 17px 24px;
  background: var(--black);
  color: var(--yellow);
  border: 2px solid var(--black);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  transition: background-color .2s, color .2s, transform .2s;
}

.buy-button:hover,
.buy-button:focus-visible {
  background: var(--white);
  color: var(--black);
  transform: translateY(-3px);
}

.buy-button:focus-visible,
.text-link:focus-visible {
  outline: 3px dashed var(--black);
  outline-offset: 5px;
}

/* Information block */
.more-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  max-width: 900px;
  margin: clamp(65px, 10vw, 130px) auto 0;
  border-top: 2px solid var(--black);
  padding-top: 24px;
}

.info-mark {
  /*border: 3px solid var(--black);*/
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
}

.more-info h2 {
  text-transform: uppercase;
  font-size: clamp(25px, 4vw, 45px);
  line-height: 1;
  margin: 0 0 10px;
}

.more-info p {
  max-width: 650px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 12px;
}

.text-link {
  display: inline-block;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  text-underline-offset: 4px;
}

.footer {
  margin-top: clamp(70px, 10vw, 130px);
  border-top: 2px solid var(--black);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 28px;
  text-transform: uppercase;
}

.footer-brand {
  font-family: var(--font-logo);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .06em;
}

.footer-brand span {
  display: block;
  text-align: center;
  font-size: 18px;
  letter-spacing: .14em;
}

.footer p {
  margin: 0;
  font-weight: 700;
}

.footer-small {
  font-size: 13px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .buy-button {
    transition: none;
  }
}

/* Tablet and mobile */
@media (max-width: 700px) {
  .poster-page {
    padding: 26px 20px 28px;
  }

  .masthead {
    margin-bottom: 55px;
  }

  .brand {
    min-width: 0;
    width: 100%;
  }

  .brand-name {
    letter-spacing: .1em;
  }

  .intro {
    margin-bottom: 55px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 100px);
  }

  .offers {
    gap: 58px;
  }

  .offer h2 {
    font-size: clamp(43px, 12vw, 78px);
  }

  .amount {
    font-size: clamp(120px, 32vw, 220px);
  }

  .currency {
    font-size: clamp(34px, 9vw, 62px);
  }

  .dash {
    font-size: clamp(50px, 13vw, 90px);
  }

  .offer-details {
    font-size: 16px;
  }

  .buy-button {
    width: 100%;
  }

  .more-info {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .info-mark {
    width: 42px;
    height: 42px;
    font-size: 32px;
  }

  .footer {
    display: block;
  }

  .footer > * {
    margin-bottom: 12px !important;
  }

  .graphic-top {
    right: -18%;
    font-size: 65vw;
  }

  .graphic-right {
    top: 30%;
    right: -35%;
    font-size: 85vw;
  }

  .graphic-bottom {
    left: -30%;
    font-size: 75vw;
  }

  .graphic-side {
    right: -12%;
    font-size: 52vw;
  }
}

@media (max-width: 390px) {
  .poster-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .offer-heading {
    gap: 8px;
  }

  .offer-tag {
    font-size: 14px;
  }

  .offer-note {
    font-size: 14px;
  }
}
