/* Jean-Claude IA, landing one page.
   Valeurs reprises de pencil/jeanclaudeia.pen (maquette 1440 px). */

:root {
  --navy: #16303a;
  --navy-deep: #0f2128;
  --navy-soft: #2a4a56;
  --cyan: #4b7ac0;
  --cyan-dark: #365f9e;
  --carton: #e2a03a;
  --postit: #fbd94a;
  --postit-orange: #f7b24a;
  /* Fond sombre a halo : haut de page, carte avant-premiere, partenaires, page avant-premiere. */
  --bg-navy-halo:
    radial-gradient(circle 500px at 240px 300px, rgb(121 155 165 / 0.4), rgb(121 155 165 / 0)),
    var(--navy);
  --postit-pink: #f6a3b8;
  /* #799ba5 dans la maquette : 2,98:1 sous le blanc, sous le seuil de 3:1 (RGAA 3.2). */
  --paper: #7799a3;
  --paper-dark: #6a8c96;
  --ink: #161617;
  --ink-muted: #4f6670;
  --on-dark: #ffffff;
  --on-dark-muted: #b4c7ce;
  --line: #c9dae0;
  --accent: #799ba5;
  --accent-dark: #4e6f7a;
  --accent-light: #c5d8de;
  --on-accent-muted: #142c34;
  --field: #f4f8fb;
  --credits: #8089b8;
  /* Teintes ajoutees pour l'accessibilite (contrastes RGAA 3.2 et 3.3). */
  --placeholder: #5e6e7b;
  --field-border: #778e97;
  --carton-text: #b7791f;
  --on-paper-dark: #0b181d;

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --gutter: clamp(16px, 5.6vw, 80px);
  --section-y: clamp(64px, 7.8vw, 112px);
  --nav-h: 80px;

  /* "Jean-Claude IA" mesure 8,08 em en Sora 800 et tient sur une ligne : la taille suit
     la largeur de sa colonne, avec 3 % de marge pour le crenage. */
  --fs-hero: clamp(56px, 10.7vw - 68px, 85px);
  --fs-h2: clamp(32px, 3.4vw, 48px);
  --fs-h2-sm: clamp(28px, 2.5vw, 36px);
  --fs-h3: clamp(24px, 2.1vw, 30px);

  --shadow-postit: 0 8px 16px rgb(0 0 0 / 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
blockquote,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--navy-deep);
  outline-offset: 0;
  box-shadow: 0 0 0 6px #fff;
}

/* Lien d'evitement (RGAA 12.7) */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 6px;
  background: #fff;
  color: var(--navy-deep);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

main:focus {
  outline: none;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Icônes (sprite Lucide) */
.i {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Images en attente : fond de repli tant que le fichier manque */
.media {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgb(255 255 255 / 0.08) 0 12px, transparent 12px 24px),
    var(--paper-dark);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media.is-contain {
  background: none;
}

.media.is-contain img {
  object-fit: contain;
}

.media img.is-missing {
  display: none;
}

.media:has(img.is-missing)::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 8px;
  color: rgb(255 255 255 / 0.85);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.media.is-contain:has(img.is-missing) {
  background: rgb(22 48 58 / 0.12);
}

.media.is-contain:has(img.is-missing)::after {
  color: var(--ink-muted);
}

/* Surtitre avec barre */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentColor;
  flex: none;
}

.eyebrow.is-wide {
  letter-spacing: 2px;
}

.eyebrow.on-paper {
  color: var(--navy-deep);
}

.eyebrow.on-dark {
  color: var(--accent-light);
}

.eyebrow.on-dark::before {
  background: var(--accent);
}

.title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: var(--on-dark);
}

/* Titres sur fond --paper : fonces, le blanc y manque de contraste. */
.spectacle .title,
.business .title {
  color: var(--navy-deep);
}

.title.is-sm {
  font-size: var(--fs-h2-sm);
  line-height: 1.15;
  color: var(--navy);
}

.title.is-md {
  font-size: var(--fs-h2);
}

/* Textes courants justifies (avec cesure). Titres, surtitres, etiquettes, boutons,
   post-its et hero restent alignes a gauche ; les notes du formulaire restent centrees. */
.affiche-head p:not(.eyebrow),
.date-card-note,
.head-aside p,
.goals li,
.format-desc,
.audience p,
.pitch-body p,
.pitch-quote,
.note-text p,
.lead-muted,
.producer-text p:not(.producer-label):not(.producer-name),
.partner blockquote p,
.member-bio,
.footer-brand p:not(.brand),
.premiere-intro,
.form-lead,
.jc-bubble span {
  text-align: justify;
  /* La cesure evite les grands blancs entre les mots dans les colonnes etroites. */
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn .i {
  color: var(--cyan);
  transition: transform 0.15s ease;
}

.btn:hover .i {
  transform: translateX(3px);
}

.btn-dark {
  background: var(--navy-deep);
  color: var(--on-dark);
  padding: 14px 20px;
  font-size: 15px;
}

.btn-dark:hover {
  background: var(--navy);
}

/* Bleu du "IA" de la marque. Texte blanc 14 px dessus : 4,34:1, un cran sous les 4,5:1 du RGAA 3.2. */
.btn-blue {
  background: var(--cyan);
  color: var(--on-dark);
  padding: 14px 20px;
  font-size: 15px;
}

.btn-blue:hover {
  background: var(--cyan-dark);
}

/* La fleche est en --cyan par defaut : invisible sur ce fond. */
.btn-blue .i {
  color: var(--on-dark);
}

.btn-orange {
  background: var(--postit-orange);
  color: var(--ink);
  padding: 14px 20px;
  font-size: 15px;
}

.btn-orange:hover {
  background: var(--carton);
}

.btn-orange .i {
  color: var(--ink);
}

.btn-lg {
  padding: 18px 28px;
  font-size: 17px;
  font-weight: 700;
}

.btn-lg .i {
  width: 20px;
  height: 20px;
}

.btn-outline {
  border-color: rgb(255 255 255 / 0.2);
}

.btn-ghost {
  background: rgb(15 33 40 / 0.35);
  border-color: rgb(255 255 255 / 0.45);
  color: var(--on-dark);
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 500;
}

.btn-ghost:hover {
  background: rgb(15 33 40 / 0.55);
}

/* Post-it */
.postit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px;
  background: var(--postit);
  box-shadow: var(--shadow-postit);
  color: var(--ink);
  font-family: var(--font-hand);
  font-weight: 700;
  line-height: 1;
}

.postit.is-orange {
  background: var(--postit-orange);
}

.postit.is-pink {
  background: var(--postit-pink);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-deep);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-h);
  padding-block: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: var(--on-dark);
}

.brand-logo {
  width: 57px;
  height: 40px;
}

/* Logo Replik Client : lien vers replikclient.fr, distinct du lien d'accueil. */
.brand-logo-link {
  display: flex;
  flex: none;
}

.brand-sep {
  width: 1px;
  height: 28px;
  background: rgb(255 255 255 / 0.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a:not(.btn) {
  color: var(--on-dark-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-menu a:not(.btn):hover {
  color: var(--on-dark);
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-menu .btn {
  padding: 12px 20px;
  font-size: 14px;
  white-space: nowrap;
  border-color: rgb(255 255 255 / 0.25);
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 6px;
  background: none;
  color: var(--on-dark);
  cursor: pointer;
}

.nav-toggle .i {
  width: 22px;
  height: 22px;
}

.nav-toggle .i-close {
  display: none;
}

.nav.is-open .nav-toggle .i-open {
  display: none;
}

.nav.is-open .nav-toggle .i-close {
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-navy-halo);
  color: var(--on-dark);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  min-height: 860px;
  padding-block: 72px;
}

.hero-text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

/* Mention de production, collee a l'annonce de l'avant-premiere. */
.hero-presents {
  margin-bottom: -12px;
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.25;
}

.date-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.date-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  flex: none;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1;
}

.hero-title > span {
  display: block;
}

.hero-title .sub {
  margin-top: 0.4em;
  color: var(--on-dark-muted);
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.2;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.95vw, 28px);
  font-weight: 300;
  line-height: 1.3;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* Meme liseret que les boutons du menu. */
.hero-ctas .btn {
  border-color: rgb(255 255 255 / 0.25);
}

.hero-note {
  color: #fff;
  font-size: 14px;
}

/* Composition absolue de la maquette (520 x 716). L'affiche est au format A2
   portrait, et non plus carree comme dans la maquette : post-its descendus pour ne
   pas masquer le sous-titre ni le bloc de location. */
.hero-visual {
  position: relative;
  flex: none;
  width: 520px;
  height: 716px;
}

.hero-visual .affiche {
  position: absolute;
  left: 20px;
  top: 33px;
  width: 460px;
  aspect-ratio: 420 / 594;
  border-radius: 8px;
  transform: rotate(-3deg);
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.4);
}

.sticky-hero {
  position: absolute;
  left: 464px;
  top: 440px;
  width: 170px;
  height: 150px;
  padding: 18px;
  gap: 4px;
  font-size: 34px;
  line-height: 0.95;
  transform: rotate(6deg);
  box-shadow: 0 8px 16px rgb(0 0 0 / 0.27);
}

.sticky-sens {
  position: absolute;
  left: 446px;
  top: 190px;
  width: 110px;
  height: 100px;
  padding: 12px;
  align-items: center;
  font-size: 32px;
  transform: rotate(-8deg);
  box-shadow: 0 8px 16px rgb(0 0 0 / 0.27);
}

/* ---------- À l'affiche ---------- */
.affiche-section {
  background: #fff;
}

.affiche-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  padding-block: 72px;
}

.affiche-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.affiche-head p,
.lead-muted {
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.5;
}

.date-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.date-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--on-dark);
}

/* Avant-premiere : meme fond sombre que le haut de page. */
.date-card.is-dark {
  background: var(--bg-navy-halo);
}

.date-card-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.date-card-date {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.95vw, 28px);
  font-weight: 800;
  line-height: 1.2;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date-card-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}

.date-card-note {
  font-size: 15px;
  line-height: 1.5;
}

.date-card-note a,
.form-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Le spectacle ---------- */
.spectacle {
  background: var(--paper);
}

.spectacle-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-block: var(--section-y);
}

.pitch {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pitch-body {
  display: flex;
  flex-direction: column;
  gap: 1.65em;
  color: var(--navy-deep);
  font-size: 17px;
  line-height: 1.65;
}

.pitch-quote {
  color: var(--on-accent-muted);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fact-value {
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
}

.fact-label {
  color: var(--on-accent-muted);
  font-size: 14px;
}

/* Tableau de post-its (composition absolue 560 x 560) */
.board {
  position: relative;
  flex: none;
  width: 560px;
  height: 560px;
}

.board-paper {
  position: absolute;
  left: 20px;
  top: 0;
  width: 520px;
  height: 560px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 20px 40px rgb(26 26 51 / 0.07);
}

.board-title {
  position: absolute;
  left: 60px;
  top: 40px;
  right: 60px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--on-accent-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.board .postit {
  position: absolute;
  width: 200px;
}

.board .p1 {
  left: 50px;
  top: 100px;
  height: 170px;
  font-size: 28px;
  transform: rotate(-4deg);
}

.board .p2 {
  left: 290px;
  top: 90px;
  height: 150px;
  font-size: 30px;
  transform: rotate(3deg);
}

.board .p3 {
  left: 70px;
  top: 300px;
  width: 210px;
  height: 170px;
  font-size: 26px;
  transform: rotate(2deg);
}

.board .p4 {
  left: 300px;
  top: 280px;
  height: 180px;
  font-size: 30px;
  transform: rotate(-5deg);
}

.board-tape {
  position: absolute;
  left: 250px;
  top: -8px;
  width: 80px;
  height: 22px;
  border: 1px solid rgb(0 0 0 / 0.06);
  background: rgb(255 255 255 / 0.6);
  transform: rotate(-2deg);
}

.board-foot {
  position: absolute;
  left: 60px;
  top: 508px;
  color: var(--on-accent-muted);
  font-family: var(--font-hand);
  font-size: 22px;
  line-height: 1.2;
}

/* ---------- Note d'intention ---------- */
.note {
  background: #fff;
}

.note-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  padding-block: var(--section-y);
}

.note-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.note-postit {
  width: 210px;
  height: 150px;
  margin: 24px 0 0 20px;
  padding: 18px;
  font-size: 26px;
  line-height: 1.1;
  transform: rotate(-5deg);
  box-shadow: 0 8px 18px rgb(0 0 0 / 0.2);
}

.note-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 17px;
  line-height: 1.6;
}

.note-text .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.note-quote {
  padding: 6px 0 6px 22px;
  border-left: 4px solid var(--cyan);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.3;
}

/* ---------- Les personnages ---------- */
.characters {
  background: var(--navy-deep);
}

.characters-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-block: var(--section-y);
}

.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
}

.split-head > .head-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.characters .head-main {
  flex: 0 1 720px;
}

.characters .head-aside {
  flex: 0 0 420px;
  color: var(--on-dark-muted);
  font-size: 16px;
  line-height: 1.6;
}

.char-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.char-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  padding: 24px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 12px;
  background: var(--navy);
}

.char-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.char-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-deep);
}

.char-icon .i {
  width: 26px;
  height: 26px;
}

.char-tag {
  padding: 8px 10px;
  background: var(--cyan);
  color: var(--navy-deep);
  font-family: var(--font-hand);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  transform: rotate(4deg);
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.33);
}

.is-accent {
  --tone: var(--accent);
}

.is-postit {
  --tone: var(--postit);
}

.is-pink {
  --tone: var(--postit-pink);
}

.is-carton {
  --tone: var(--carton);
}

.char-card.is-accent .char-tag,
.char-card.is-postit .char-icon,
.char-card.is-postit .char-tag,
.char-card.is-pink .char-icon,
.char-card.is-pink .char-tag,
.char-card.is-carton .char-icon,
.char-card.is-carton .char-tag {
  background: var(--tone);
  color: var(--ink);
}

.char-card.is-accent .char-icon {
  color: var(--ink);
}

.char-name {
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}

.char-desc {
  color: var(--on-dark-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Pour votre entreprise ---------- */
.business {
  /* Colonne de droite commune au texte d'introduction et a l'illustration :
     memes bords gauche et droit. */
  --business-aside: 400px;
  background: var(--paper);
}

/* Rubriques consecutives sur le meme fond depuis que "Pour votre entreprise" suit
   "A l'affiche" : un filet marque la separation. */
.business + .spectacle {
  border-top: 1px solid rgb(255 255 255 / 0.35);
}

.note + .note {
  border-top: 1px solid rgb(15 33 40 / 0.12);
}

.business-inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding-block: var(--section-y);
}

.business .split-head {
  gap: 80px;
}

.business .head-main {
  flex: 1 1 0;
  min-width: 0;
}

.business .head-aside {
  flex: 0 0 var(--business-aside);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  color: var(--on-accent-muted);
  font-size: 16px;
  line-height: 1.6;
}

.goals {
  display: flex;
  align-items: stretch;
  gap: 64px;
}

.goals-list {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

/* Blocs de texte sur fond blanc, comme les cartes de formats : texte d'introduction
   et liste des apports (entreprise), resume de la piece (spectacle). */
.business .head-aside,
.goals-list,
.pitch-body {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.goals-label {
  color: var(--navy-deep);
  font-size: 20px;
  font-weight: 700;
}

.goals-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}

.goals-cols ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.goals-cols li {
  display: flex;
  gap: 12px;
  color: var(--navy-deep);
  font-size: 15px;
  line-height: 1.45;
}

.goals-cols .i {
  width: 20px;
  height: 20px;
}

.sketch {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.sketch .media {
  border: 1px solid var(--line);
  border-radius: 12px;
}

.goals .sketch .media {
  width: var(--business-aside);
  height: var(--business-aside);
}

.formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.format {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 540px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.format .media {
  height: 180px;
  border-radius: 8px;
}

.format-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.format-num {
  color: var(--carton-text);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.25;
}

.format h3 {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.format-desc {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
}

.format-ideal {
  margin-top: auto;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
}

.format.is-dark {
  border-color: var(--navy-deep);
  background: var(--navy);
}

.format.is-dark .format-num,
.format.is-dark .format-ideal {
  color: var(--accent-light);
}

.format.is-dark h3 {
  color: var(--on-dark);
}

.format.is-dark .format-desc {
  color: var(--on-dark-muted);
}

.audiences {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.audiences-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audiences-head h3 {
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1.2;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.audience {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
}

.audience .i {
  width: 26px;
  height: 26px;
  color: var(--accent-dark);
}

.audience h4 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.audience p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- L'équipe ---------- */
.team {
  background: var(--paper-dark);
}

.team-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-block: var(--section-y);
}

.team .split-head {
  justify-content: flex-start;
}

.team .head-main {
  flex: 1 1 0;
  min-width: 0;
}

.team .sketch {
  gap: 10px;
}

.team .sketch .media {
  width: 400px;
  height: 300px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.member {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Portraits livres en 4:5 : le cadre garde ce ratio a toutes les largeurs. */
.member .media {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
}

.member .media img {
  object-position: 50% 25%;
}

.member h3 {
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.member-role {
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* Biographies reprises de replikclient.fr, en plusieurs paragraphes. */
.member-bio {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--on-paper-dark);
  font-size: 14px;
  line-height: 1.55;
}

/* Liens reseaux, alignes en bas de carte d'une colonne a l'autre. */
.member-links {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding: 0;
  list-style: none;
}

.member-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(15 33 40 / 0.35);
  border-radius: 8px;
  color: var(--navy-deep);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.member-links a:hover {
  background: var(--navy-deep);
  color: var(--on-dark);
}

.member-links .i {
  width: 20px;
  height: 20px;
}

/* ---------- Partenaires ---------- */
/* Meme fond que la page avant-premiere : la home se termine sur une section sombre. */
.partners {
  background: var(--bg-navy-halo);
  color: var(--on-dark);
}

.partners .title {
  color: var(--on-dark);
}

.partners .lead-muted {
  color: var(--on-dark-muted);
}

.partners-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-block: clamp(64px, 6.1vw, 88px);
}

.partners .head-main {
  flex: 0 1 640px;
  gap: 16px;
}

.producer {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--navy-deep);
}

.producer .media {
  flex: none;
  width: 200px;
  height: 140px;
}

/* Deux producteurs, logos empiles. Celui d'En scene Marcel est transparent : meme
   fond blanc que celui de Replik Client. */
.producer-logos {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.producer-logos .media + .media {
  height: 96px;
  padding: 14px 28px;
  background: #fff;
}

.producer-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
}

.producer-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.producer-name {
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.producer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

/* Carte entiere cliquable, meme principe que les cartes partenaires : le lien
   replikclient.fr s'etend sur toute la carte par son ::after. */
.producer {
  position: relative;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.producer-text {
  padding-right: 12px;
}

.producer-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.producer-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #fff;
  transition: transform 0.15s ease;
}

.producer:hover {
  box-shadow: 0 12px 28px rgb(15 33 40 / 0.18);
  transform: translateY(-2px);
}

.producer:hover .producer-arrow {
  transform: translate(2px, -2px);
}

.producer:hover .producer-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.producer-link:focus-visible {
  outline: none;
  box-shadow: none;
}

.producer:has(.producer-link:focus-visible) {
  outline: 3px solid var(--navy-deep);
  box-shadow: 0 0 0 6px #fff;
}

@media (prefers-reduced-motion: reduce) {
  .producer,
  .producer-arrow {
    transition: none;
  }

  .producer:hover,
  .producer:hover .producer-arrow {
    transform: none;
  }
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Carte de tete, seule sur sa ligne. */
.partner.is-wide {
  grid-column: 1 / -1;
}

.partner {
  display: flex;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.partner-logo {
  flex: none;
  display: grid;
  place-items: center;
  width: 150px;
  height: 96px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
}

.partner-logo .media {
  width: 100%;
  height: 100%;
}

.partner blockquote {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.partner blockquote p {
  color: var(--ink);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
}

.partner cite {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Carte entiere cliquable : le lien reste sur le nom (intitule court pour les lecteurs
   d'ecran) et son ::after s'etend sur toute la carte. */
.partner {
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.partner cite a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.partner blockquote {
  padding-right: 20px;
}

.partner-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--accent-dark);
  transition: transform 0.15s ease;
}

.partner:hover {
  border-color: var(--accent-dark);
  box-shadow: 0 12px 28px rgb(15 33 40 / 0.12);
  transform: translateY(-2px);
}

.partner:hover .partner-arrow {
  transform: translate(2px, -2px);
}

.partner:hover cite a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Focus clavier : l'anneau entoure la carte, pas seulement le nom. */
.partner cite a:focus-visible {
  outline: none;
  box-shadow: none;
}

.partner:has(cite a:focus-visible) {
  outline: 3px solid var(--navy-deep);
  box-shadow: 0 0 0 6px #fff;
}

@media (prefers-reduced-motion: reduce) {
  .partner,
  .partner-arrow {
    transition: none;
  }

  .partner:hover,
  .partner:hover .partner-arrow {
    transform: none;
  }
}

/* ---------- Avant-première ---------- */
.premiere {
  position: relative;
  overflow: hidden;
  background: var(--bg-navy-halo);
  color: var(--on-dark);
}

.premiere-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  min-height: 960px;
  padding-block: 96px;
}

.premiere-text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.premiere-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 800;
  line-height: 1.08;
}

.premiere-intro {
  color: var(--on-dark-muted);
  font-size: 17px;
  line-height: 1.6;
}

.premiere .info-list {
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
}

.premiere .info-list li {
  gap: 12px;
}

.premiere .info-list .i {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.jc-message {
  display: flex;
  gap: 14px;
  width: min(520px, 100%);
}

.jc-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
}

.jc-avatar .i {
  width: 24px;
  height: 24px;
}

.jc-bubble {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
  border: 1px solid rgb(255 255 255 / 0.13);
  border-radius: 4px 16px 16px 16px;
  background: rgb(255 255 255 / 0.08);
  font-size: 15px;
  line-height: 1.5;
}

.jc-bubble strong {
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
}

/* Carte d'inscription : renvoie vers la billetterie Weezevent */
.form-card {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 600px;
  padding: 36px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.33);
  color: var(--ink);
}

.form-card h2 {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.form-card .btn {
  width: 100%;
}

.form-lead {
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.5;
}

.form-note {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

/* ---------- Pied de page ---------- */
.footer {
  background: var(--navy-deep);
  color: var(--on-dark-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-block: 64px 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
}

.footer-brand {
  flex: 0 1 400px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  line-height: 1.55;
}

.footer-brand .brand {
  font-size: 26px;
}

.footer-credits {
  color: var(--credits);
  font-size: 12px;
}

.footer-cols {
  display: flex;
  gap: 72px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.footer-col h2 {
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-col a:hover {
  color: var(--on-dark);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  color: var(--credits);
  font-size: 12px;
}

.footer-bottom .made-by {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom strong {
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Adaptation (maquette desktop seulement) ---------- */
@media (max-width: 1280px) {
  :root {
    --fs-hero: calc(10.7vw - 59px);
  }

  .hero-visual,
  .board {
    zoom: 0.85;
  }

  .form-card {
    width: 520px;
  }

  .premiere-inner {
    gap: 56px;
  }
}

@media (max-width: 1100px) {
  :root {
    --fs-hero: clamp(32px, 10.7vw, 85px);
  }

  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .hero-visual {
    align-self: center;
    zoom: 0.8;
  }

  .affiche-inner,
  .note-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .spectacle-inner,
  .goals,
  .premiere-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 56px;
  }

  .premiere-inner {
    min-height: 0;
  }

  .board,
  .sketch,
  .form-card {
    align-self: center;
  }

  .form-card {
    width: min(600px, 100%);
  }

  .split-head {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .characters .head-main,
  .characters .head-aside,
  .business .head-aside,
  .partners .head-main {
    flex: none;
  }

  .team .sketch {
    align-self: flex-start;
  }

  .char-grid,
  .audience-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .formats,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .format {
    min-height: 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-brand {
    flex: none;
  }
}

/* Menu replie plus tot qu'a 860 px : avec ses deux boutons, il ne tient plus sur une ligne. */
@media (max-width: 1240px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px var(--gutter) 24px;
    border-top: 1px solid rgb(255 255 255 / 0.1);
    background: var(--navy-deep);
  }

  .nav.is-open .nav-menu {
    display: flex;
  }

  .nav-menu a:not(.btn) {
    padding: 12px 0;
    font-size: 17px;
  }

  .nav-ctas {
    flex-direction: column;
    align-items: stretch;
    margin-top: 12px;
  }

  .nav-menu .btn {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 72px;
  }

  .brand {
    gap: 10px;
    font-size: 20px;
  }

  .hero-inner {
    padding-block: 48px 32px;
  }

  .hero-visual {
    zoom: 0.62;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .affiche-inner {
    padding-block: 64px;
  }

  .date-cards,
  .goals-cols,
  .char-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .board {
    zoom: 0.62;
  }

  .note-postit {
    margin-left: 12px;
  }

  .goals .sketch .media,
  .team .sketch .media {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .goals .sketch .media {
    aspect-ratio: 1;
  }

  .sketch {
    align-self: stretch;
  }

  .format,
  .business .head-aside,
  .goals-list,
  .pitch-body {
    padding: 24px;
  }

  .producer,
  .partner {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-card {
    padding: 24px;
  }

  .footer-cols {
    flex-direction: column;
    gap: 32px;
  }
}

/* Portraits : 2 colonnes tant que possible, une seule sur les petits ecrans. */
@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .nav-inner {
    gap: 12px;
  }

  .brand {
    gap: 8px;
    font-size: 18px;
  }

  .brand-logo {
    width: 43px;
    height: 30px;
  }

  .hero-visual,
  .board {
    zoom: 0.5;
  }
}
