/* =====================================================================
   NINA AZOULAI — « Bonne copine »
   Palette tirée de l'affiche officielle :
     rose fond   #E8B4CB   (dégradé #CA89A4 → #E6B6CB sur l'affiche)
     magenta     #E917AF   (script « Bonne copine »)
     post-it     #FCE257
     gris sweat  #C4BEC8
     noir / blanc
   Typo : Poppins (titres, proche du lettrage de l'affiche)
          Open Sans (texte, comme paulmirabel.com)
          Caveat (script « Bonne copine »)
   ===================================================================== */

:root {
  --pink: #E8B4CB;
  --pink-deep: #CA89A4;
  --pink-light: #F4D3E1;
  --magenta: #E917AF;
  --yellow: #FCE257;
  --grey: #C4BEC8;
  --black: #111111;
  --white: #FFFFFF;

  --font-title: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Caveat", "Brush Script MT", cursive;

  --container: 1100px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--black);
  background: var(--pink);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- bouton (pilule noire, comme paulmirabel.com) ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; letter-spacing: .02em;
  background: var(--black); color: var(--white);
  border-radius: 60px; text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { background: var(--magenta); color: var(--white); transform: translateY(-2px); }
.button--xl { padding: 18px 44px; font-size: 20px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter);
  background: transparent;
  margin-bottom: calc(-1 * var(--header-h));
}
.burger { width: 40px; height: 40px; display: flex; flex-direction: column; justify-content: center; gap: 6px; justify-self: start; }
.burger span { display: block; width: 26px; height: 3px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .2s; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.burger[aria-expanded="true"] span { background: var(--black); filter: none; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.header__brand { font-family: var(--font-title); font-weight: 700; font-size: 18px; color: var(--white); text-decoration: none; letter-spacing: .01em; text-shadow: 0 1px 3px rgba(0,0,0,.25); opacity: 0; transition: opacity .3s; }
.header.is-scrolled { background: var(--pink); }
.header.is-scrolled .header__brand { opacity: 1; text-shadow: none; color: var(--black); }
.header.is-scrolled .burger span { background: var(--black); filter: none; }
.header__ticket { justify-self: end; width: 40px; height: 40px; display: grid; place-items: center; color: var(--white); filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.header__ticket svg { width: 26px; height: 26px; }
.header.is-scrolled .header__ticket { color: var(--black); filter: none; }

/* ---------- menu latéral ---------- */
.menu {
  position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(360px, 88vw);
  background: var(--white); padding: 96px 40px 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(-100%); transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.menu:not([hidden]) { display: flex; }
.menu.is-open { transform: none; }
.menu a { font-family: var(--font-title); font-weight: 700; font-size: 30px; text-decoration: none; padding: 8px 0; transition: color .2s; }
.menu a:hover { color: var(--magenta); }
.menu__socials { display: flex; gap: 14px; margin-top: auto; }
.menu__socials a { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; }
.menu__socials svg { width: 24px; height: 24px; }
.menu__backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .3s; }
.menu__backdrop.is-open { opacity: 1; }
.menu__backdrop:not([hidden]) { display: block; }
body.menu-open { overflow: hidden; }
body.menu-open .header { z-index: 70; }
body.menu-open .burger span { background: var(--black); filter: none; }

/* ---------- affiche ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden;
  padding: 0 0 110px;
}
.hero__blur {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, #E7A9BE 0%, #DF95AB 55%, #D18BA6 100%);
}
.hero__blur::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(205,198,210,.35) 100%); }
.hero__poster {
  position: relative; z-index: 1;
  width: auto; max-width: 100%;
  height: calc(100svh - 110px); max-height: 1100px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.hero__btn { position: absolute; z-index: 2; left: 50%; bottom: 34px; transform: translateX(-50%); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.hero__btn:hover { transform: translateX(-50%) translateY(-2px); }

/* ---------- pitch ---------- */
.pitch { background: var(--pink-light); padding: 80px 0 90px; text-align: center; scroll-margin-top: var(--header-h); }
.pitch__inner { max-width: 720px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pitch__subtitle { font-family: var(--font-title); font-weight: 700; font-size: clamp(22px, 3vw, 28px); text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; color: var(--black); }
.pitch__title { font-family: var(--font-script); font-weight: 700; font-size: clamp(54px, 8vw, 84px); color: var(--magenta); line-height: 1; margin-top: -10px; transform: rotate(-3deg); }
.pitch__lead { font-family: var(--font-title); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.3; text-wrap: balance; margin-top: 6px; }
.pitch p { line-height: 1.7; }
.pitch__punch { font-family: var(--font-script); font-weight: 700; font-size: clamp(30px, 4vw, 40px); color: var(--magenta); line-height: 1; }
.pitch__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: 14px 0 10px; }
.pitch__meta li { display: flex; flex-direction: column; font-size: 14px; color: #555; }
.pitch__meta b { font-family: var(--font-title); font-weight: 800; font-size: 20px; color: var(--black); line-height: 1.2; }

/* ---------- billetterie ---------- */
.calendar { background: var(--pink); padding: 40px 0 90px; text-align: center; scroll-margin-top: var(--header-h); }
.calendar__subtitle { font-family: var(--font-title); font-weight: 700; font-size: clamp(28px, 4vw, 35px); color: var(--white); text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.calendar__title { font-family: var(--font-script); font-weight: 700; font-size: clamp(54px, 8vw, 84px); color: var(--magenta); line-height: 1; margin-top: 2px; transform: rotate(-3deg); display: inline-block; }
.calendar__filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 34px 0 26px; }
.filter { padding: 9px 18px; border-radius: 60px; font-weight: 600; font-size: 15px; background: rgba(255,255,255,.45); color: var(--black); transition: background .2s, color .2s; }
.filter:hover { background: rgba(255,255,255,.75); }
.filter.is-active { background: var(--black); color: var(--white); }

.dates { display: grid; gap: 10px; text-align: left; }
.date {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 8px 24px; align-items: center;
  background: var(--white); border-radius: 14px; padding: 16px 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.date:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.date__when { font-family: var(--font-title); font-weight: 700; font-size: 17px; text-transform: uppercase; line-height: 1.2; }
.date__when small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 14px; text-transform: none; color: #666; }
.date__city { font-family: var(--font-title); font-weight: 800; font-size: clamp(20px, 2.4vw, 26px); text-transform: uppercase; line-height: 1.1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.date__badge { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 60px; background: var(--yellow); color: var(--black); }
.date__venue { font-size: 15px; color: #444; margin-top: 2px; }
.date__actions { display: flex; align-items: center; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
.date__alt { font-size: 13px; color: #555; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.date__alt:hover { color: var(--magenta); }
.date .button { padding: 11px 22px; font-size: 14px; text-transform: uppercase; }
.date--soldout .button { background: var(--grey); color: var(--black); pointer-events: none; }
.dates__empty { background: rgba(255,255,255,.5); padding: 30px; border-radius: 14px; }

/* ---------- bandeau défilant ---------- */
.scrolling { display: block; background: var(--pink-light); overflow: hidden; padding: 34px 0; text-decoration: none; }
.scrolling__track { display: flex; gap: 70px; width: max-content; font-family: var(--font-title); font-weight: 800; font-size: clamp(34px, 5vw, 52px); text-transform: uppercase; letter-spacing: .01em; line-height: 1; white-space: nowrap; animation: marquee 28s linear infinite; }
.scrolling:hover .scrolling__track { animation-play-state: paused; }
.scrolling span:nth-child(even) { color: var(--magenta); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- instagram ---------- */
.insta { background: var(--pink-light); padding: 0 0 40px; }
.insta__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding-inline: 4px; }
.insta__item { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--pink); display: block; }
.insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.insta__item:hover img { transform: scale(1.06); }
.insta__item.is-empty { display: grid; place-items: center; text-decoration: none; }
.insta__item.is-empty span { font-family: var(--font-script); font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); color: var(--magenta); transform: rotate(-6deg); }
.insta__item::after { content: ""; position: absolute; inset: 0; background: rgba(233,23,175,0); transition: background .3s; }
.insta__item:hover::after { background: rgba(233,23,175,.18); }

/* ---------- footer ---------- */
.footer { background: var(--pink-light); padding: 40px 0 40px; scroll-margin-top: var(--header-h); }
.footer__heading { font-family: var(--font-body); font-weight: 800; font-size: clamp(22px, 3vw, 28px); margin-bottom: 20px; }
.newsletter { max-width: 760px; }
.newsletter__field { display: flex; align-items: center; background: var(--white); border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 6px 8px 6px 20px; }
.newsletter__field input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 18px; color: var(--black); outline: none; padding: 10px 0; }
.newsletter__field input::placeholder { color: #666; }
.newsletter__field button { width: 34px; height: 34px; border-radius: 50%; background: #f1f1f1; display: grid; place-items: center; transition: background .2s, color .2s; }
.newsletter__field button:hover { background: var(--black); color: var(--white); }
.newsletter__field button svg { width: 16px; height: 16px; }
.newsletter__msg { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--magenta); min-height: 1.4em; }

.footer__cols { display: grid; grid-template-columns: 1fr; gap: 30px 40px; margin-top: 44px; }
.footer__col h3 { font-family: var(--font-body); font-weight: 800; font-size: 22px; margin-bottom: 14px; }
.footer__col p { font-size: 18px; line-height: 1.5; color: #333; }
.footer__col a { text-decoration: none; }
.footer__col a:hover { color: var(--magenta); text-decoration: underline; }
.footer__col .todo { color: #7a7a7a; font-style: italic; }

.footer__socials { display: flex; gap: 22px; margin-top: 44px; }
.footer__socials a { color: var(--black); transition: color .2s; display: grid; place-items: center; }
.footer__socials a:hover { color: var(--magenta); }
.footer__socials svg { width: 30px; height: 30px; }
.footer__copy { margin-top: 40px; font-size: 16px; color: #333; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .hero { padding-bottom: 96px; }
  .hero__poster { height: auto; width: 100%; max-height: none; box-shadow: none; }
  .hero__blur { display: none; }
  .hero { background: var(--pink); }
  .hero__btn { bottom: 24px; }
  .date { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .date__actions { justify-content: flex-start; margin-top: 6px; }
  .date__when { font-size: 15px; }
  .scrolling { padding: 24px 0; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
