/* =========================================================================
   Nataniel GZAIEL — Pages intérieures, direction « affiche / zine »
   À propos, Services, Contact, collections, pages légales.
   Se charge après site.css. Le portfolio ajoute portfolio.css.
========================================================================= */

main {
  min-height: calc(100svh - 110px);
}

/* =========================================================================
   En-tête de page : un titre d'affiche, ajusté en largeur par site.js
========================================================================= */

.page-head {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(116px, 15svh, 164px) var(--gutter) clamp(40px, 6vw, 80px);
}

.page-title {
  display: flow-root;
  width: min(100%, 860px);
  margin-bottom: clamp(22px, 3vw, 36px);
}

.page-title .fit {
  display: block;
  width: max-content;
  white-space: nowrap;
  animation: line-in 0.9s var(--ease) 0.4s backwards;
}

/* La grande ligne : sa taille ici est un plafond, site.js la réduit si elle déborde. */
.page-title .lead {
  font-variation-settings: "wdth" 50;
  font-size: clamp(4.2rem, 21vw, min(15rem, 33svh));
  line-height: 0.86;
}

.page-title .thin {
  font-weight: 300;
  font-variation-settings: "wdth" 150;
  font-size: clamp(1.7rem, 8.4vw, 5.6rem);
  line-height: 1.1;
}

.page-title .mid {
  font-weight: 700;
  font-variation-settings: "wdth" 112;
  font-size: clamp(1.1rem, 5vw, 3.4rem);
  line-height: 1.2;
}

.page-title .fit + .fit {
  animation-delay: 0.5s;
}

/* Une ligne légère sous la grande : l'accent d'une capitale ne doit pas la toucher. */
.page-title .lead + :is(.thin, .mid) {
  margin-top: 0.34em;
}

.page-title .tint {
  color: var(--accent);
}

.page-lead {
  max-width: 50ch;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
}

.page-head > p + p,
.head-copy > p + p {
  margin-top: 14px;
}

.head-copy .btn {
  margin-top: 30px;
}

/* Titre de bloc à l'intérieur d'une page */
.block-title {
  max-width: 14em;
  margin-bottom: clamp(28px, 4vw, 52px);
  font-size: clamp(2.6rem, 7.4vw, 6.4rem);
  line-height: 0.88;
  font-variation-settings: "wdth" 50;
}

.band {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 104px) var(--gutter);
}

/* =========================================================================
   Tirage : une photo inclinée, son numéro derrière le coin
========================================================================= */

.print {
  position: relative;
  width: min(100%, 390px);
  justify-self: center;
  rotate: -2.5deg;
  box-shadow: 0 34px 60px -28px rgba(0, 0, 0, 0.9);
}

.print img {
  width: 100%;
}

/* Anneau de texte autour d'une photo (même geste que sur l'accueil) */
.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 156%;
  translate: -50% -50%;
  rotate: calc(var(--turn, 0) * 1deg);
  overflow: visible;
  pointer-events: none;
}

.ring text {
  font-family: var(--font-serif);
  font-size: 31px;
  fill: var(--accent);
  transform-origin: 300px 300px;
  animation: spin 70s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Le cartel : une note discrète posée sous une photo ou à côté d'un titre */
.cartel {
  width: fit-content;
  max-width: 36ch;
  padding: 14px 18px;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.45;
  /* Un voile à peine plus clair que le fond et un filet de couleur : le texte se lit,
     la case ne saute plus aux yeux (le papier blanc ressortait trop). */
  color: var(--paper);
  background: rgba(242, 239, 232, 0.06);
  border-left: 2px solid var(--accent);
  rotate: -1.2deg;
}

/* =========================================================================
   À propos
========================================================================= */

/* Les blocs se suivent de près : le texte ne flotte pas dans le noir. */
.about .band {
  padding-block: clamp(36px, 4.6vw, 68px);
}

.about .band h2 {
  margin-bottom: clamp(18px, 2.4vw, 30px);
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  color: var(--accent);
}

.about .band :is(p, dd):not(.pull, .cartel) {
  font-size: clamp(17px, 1.25vw, 19px);
}

.about-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.head-copy {
  position: relative;
  z-index: 2;
}

/* La phrase qui me présente, en serif : c'est ma voix */
.about-lead {
  max-width: 36ch;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.85vw, 1.65rem);
  line-height: 1.4;
}

/* Le récit des débuts : deux colonnes courtes, comme dans un magazine */
/* Même taille que les autres paragraphes de la page : deux tailles de texte courant
   donnaient l'impression de deux polices. */
.about-story p {
  font-size: clamp(17px, 1.25vw, 19px);
}

.about-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 34ch));
  gap: 14px clamp(24px, 3vw, 44px);
  margin-top: clamp(22px, 2.4vw, 30px);
}

.portrait {
  position: relative;
  width: min(100%, 360px);
  justify-self: center;
}

.booth {
  position: relative;
  z-index: 1;
}

/* Tirage de photomaton : marge de papier autour de la photo */
.portrait .shot {
  display: block;
  position: relative;
  padding: 7.5% 7.5% 8.5%;
  background: #f0f1ec;
  rotate: 3deg;
  box-shadow: 0 34px 60px -28px rgba(0, 0, 0, 0.9);
  transition: rotate 0.4s var(--ease);
}

.portrait .shot:hover {
  rotate: 1deg;
}

.portrait img {
  width: 100%;
}

/* Le portrait s'ouvre dans la visionneuse */
.portrait .shot-zoom {
  display: block;
  cursor: zoom-in;
}

/* Le photomaton : un flash, le tirage sort de la fente par à-coups,
   puis l'image se révèle sur le papier et le numéro sort de derrière le coin. */
@media (prefers-reduced-motion: no-preference) {
  .portrait::before,
  .portrait::after {
    content: "";
    position: absolute;
    pointer-events: none;
    opacity: 0;
  }

  /* Le flash */
  .portrait::before {
    inset: -18%;
    z-index: 3;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 72%);
    animation: booth-flash 0.4s 0.45s ease-out backwards;
  }

  /* La fente */
  .portrait::after {
    top: -5px;
    left: -6%;
    right: -6%;
    z-index: 2;
    height: 10px;
    border-radius: 5px;
    background: #000;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(239, 236, 228, 0.22);
    animation: booth-slot 1.5s 0.55s ease backwards;
  }

  /* Rien ne dépasse au-dessus de la fente tant que le tirage sort. */
  .booth {
    animation: booth-clip 0.95s 0.7s linear backwards;
  }

  .portrait .shot {
    animation: booth-eject 1.2s 0.7s backwards;
  }

  .portrait .shot img {
    animation: booth-develop 1.3s 1s ease-out backwards;
  }

  .portrait .shot.taped::before {
    animation: booth-tape 0.3s 1.85s var(--ease) backwards;
  }
}

@keyframes booth-flash {
  0% {
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes booth-slot {
  0% {
    opacity: 0;
  }
  10%,
  78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes booth-clip {
  from,
  to {
    clip-path: inset(0 -25% -45% -25%);
  }
}

@keyframes booth-eject {
  0% {
    translate: 0 -104%;
    rotate: 0deg;
    animation-timing-function: cubic-bezier(0.3, 0, 0.3, 1);
  }
  24%,
  34% {
    translate: 0 -64%;
    rotate: 0deg;
    animation-timing-function: cubic-bezier(0.3, 0, 0.3, 1);
  }
  56%,
  64% {
    translate: 0 -24%;
    rotate: 0deg;
    animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1);
  }
  79% {
    translate: 0 0;
    rotate: 0deg;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }
  100% {
    translate: 0 0;
    rotate: 3deg;
  }
}

@keyframes booth-develop {
  0% {
    opacity: 0;
    filter: brightness(1.7) contrast(0.45) saturate(0) blur(3px);
  }
  45% {
    opacity: 0.85;
    filter: brightness(1.3) contrast(0.7) saturate(0.35) blur(0.6px);
  }
  100% {
    opacity: 1;
    filter: none;
  }
}

@keyframes booth-tape {
  from {
    opacity: 0;
    translate: -0.3em 0.4em;
  }
}

/* Approche, vision, parcours : le titre et le texte d'un côté, une photo de l'autre.
   Dans la page, le titre vient avant la photo : sur téléphone, ils se suivent dans cet ordre. */
.approach,
.vision,
.career {
  display: grid;
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 6vw, 96px);
}

.approach,
.career {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "proof title" "proof body";
}

.vision {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "title proof" "body proof";
}

:is(.approach, .vision, .career) > h2 {
  grid-area: title;
}

/* Une photo qui montre ce que dit le texte, avec son cartel.
   Elle reste à l'écran pendant qu'on lit la colonne d'à côté. */
.proof {
  grid-area: proof;
  position: sticky;
  top: 40px;
  align-self: start;
  justify-self: center;
  width: min(100%, 470px);
}

.proof .print {
  display: block;
  width: 100%;
  cursor: zoom-in;
  transition: rotate 0.4s var(--ease);
}

.proof .print:hover,
.proof .print:focus-visible {
  rotate: 0deg;
}

/* Le cartel est posé sous la photo, jamais dessus. */
.proof .cartel {
  position: relative;
  z-index: 7;
  margin: 30px -14px 0 auto;
  rotate: 1.4deg;
}

.proof-flip .print {
  rotate: 2.5deg;
}

.proof-flip .cartel {
  margin: 30px auto 0 -14px;
  rotate: -1.4deg;
}

/* Avant / après (site.js) : la photo brute recouvre l'image finale, puis un trait
   de couleur la balaie en biais. N'existe que si le fichier brut est en ligne. */
@property --wipe {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}

.proof.has-raw .print {
  --wipe: 0%;
  --edge: calc(var(--wipe) * 1.36 - 3%);
  transition: rotate 0.4s var(--ease), --wipe 1.2s cubic-bezier(0.65, 0, 0.2, 1);
}

.proof.is-raw .print {
  --wipe: 100%;
}

.proof.no-wipe .print {
  transition: none;
}

.raw-layer,
.raw-edge {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.raw-layer {
  clip-path: polygon(0 0, var(--edge) 0, calc(var(--edge) - 30%) 100%, 0 100%);
}

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

.raw-edge {
  background: var(--accent);
  clip-path: polygon(var(--edge) 0, calc(var(--edge) + 5px) 0, calc(var(--edge) - 30% + 5px) 100%, calc(var(--edge) - 30%) 100%);
}

/* Ce qu'on regarde, et le bouton qui passe de l'un à l'autre */
.raw-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 85;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.raw-switch button {
  padding: 9px 14px;
  font: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--on-accent, var(--ink));
  background: var(--accent);
  border: 0;
  cursor: pointer;
  rotate: -1.5deg;
  transition: rotate 0.3s var(--ease), scale 0.15s var(--ease), background-color 0.3s var(--ease);
}

.raw-switch button:hover {
  rotate: 1.5deg;
  background: var(--paper);
}

.raw-switch button:active {
  scale: 0.97;
}

.raw-state {
  color: var(--accent);
}

.proof.has-raw .cartel {
  margin-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .proof.has-raw .print {
    transition: none;
  }
}

/* Approche : quatre temps, le mot à gauche et l'explication à droite */
.stages {
  grid-area: body;
  list-style: none;
}

.stages li {
  display: grid;
  grid-template-columns: minmax(0, 10.5rem) minmax(0, 1fr);
  align-items: baseline;
  gap: 6px clamp(18px, 2.4vw, 36px);
  padding: clamp(16px, 1.8vw, 24px) 0;
  border-top: 1px solid var(--line);
}

.stages li:last-child {
  border-bottom: 1px solid var(--line);
}

.stages h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-variation-settings: "wdth" 70;
  line-height: 1;
  color: var(--accent);
}

.stages p {
  max-width: 52ch;
}

/* Vision : une phrase à retenir, puis le détail */
.vision-copy {
  grid-area: body;
}

.pull {
  max-width: 19ch;
  margin-bottom: clamp(20px, 2.6vw, 34px);
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.3vw, 3rem);
  line-height: 1.12;
  text-wrap: balance;
}

.vision-copy p:not(.pull) {
  max-width: 54ch;
}

.vision-copy p:not(.pull) + p {
  margin-top: 1em;
}

/* Dreamin : les trois images de la série, côte à côte */
.dreamin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px clamp(24px, 5vw, 80px);
  margin-bottom: clamp(30px, 3.8vw, 52px);
}

.about .dreamin-head h2 {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 9vw, 8.4rem);
  line-height: 0.84;
}

.dreamin-head p {
  max-width: 44ch;
  font-size: clamp(17px, 1.35vw, 20px);
}

.triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 3.4vw, 56px);
  max-width: 1120px;
  margin: 0 auto;
  list-style: none;
}

.triptych .print {
  display: block;
  width: 100%;
  cursor: zoom-in;
  transition: rotate 0.4s var(--ease);
}

.triptych li:nth-child(2) {
  margin-top: clamp(0px, 4vw, 56px);
}

.triptych li:nth-child(2) .print {
  rotate: 1.5deg;
}

.triptych li:nth-child(3) .print {
  rotate: 3deg;
}

.triptych .print:hover,
.triptych .print:focus-visible {
  rotate: 0deg;
}

/* Parcours : l'année en grand, le fait à côté */
.career .print {
  grid-area: proof;
  align-self: center;
  width: min(100%, 400px);
}

.career-copy {
  grid-area: body;
}

.dates > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 4px clamp(18px, 2.6vw, 40px);
  padding: clamp(16px, 1.8vw, 24px) 0;
  border-top: 1px solid var(--line);
}

.dates dt {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: "wdth" 50;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.86;
  font-variant-numeric: lining-nums;
  color: var(--accent);
}

.dates dd,
.career-copy > p {
  max-width: 48ch;
}

.career-copy > p {
  padding: clamp(16px, 1.8vw, 24px) 0;
  border-top: 1px solid var(--line);
}

.career-copy .arrow-link {
  margin-top: 4px;
}

/* =========================================================================
   Dernier bloc : l'appel au devis
========================================================================= */

.closing {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 120px) var(--gutter) clamp(64px, 9vw, 128px);
}

.closing h2 {
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 11vw, 10.5rem);
  line-height: 0.84;
  font-variation-settings: "wdth" 50;
}

.closing p {
  max-width: 44ch;
  margin-bottom: 30px;
  font-size: clamp(17px, 1.35vw, 20px);
}

/* =========================================================================
   Services
========================================================================= */

.tarifs {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.tarif {
  display: grid;
  grid-template-columns: minmax(0, 3.3fr) minmax(0, 5.2fr) minmax(0, 3.2fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 72px);
  padding: clamp(44px, 6vw, 88px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 16px;
}

.tarif .print {
  width: min(100%, 300px);
}

.tarif:nth-child(even) .print {
  rotate: 2.5deg;
}

.tarif:nth-child(even) .tag {
  left: auto;
  right: -22px;
  rotate: 6deg;
}

.tarif-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 6.2vw, 6rem);
  color: var(--accent);
}

.tarif-copy > p {
  max-width: 44ch;
  margin-bottom: 22px;
  font-size: clamp(17px, 1.35vw, 20px);
}

.includes {
  list-style: none;
  max-width: 46ch;
}

.includes li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-top: 1px dashed color-mix(in srgb, var(--paper) 30%, transparent);
}

/* Coche tracée à la main, de la couleur de l'offre */
.includes li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 2px;
  width: 17px;
  height: 13px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 13' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 7.2 6 11.4 15.5 1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 13' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 7.2 6 11.4 15.5 1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Le prix, comme une étiquette collée sur une pochette */
.price {
  justify-self: end;
  text-align: right;
}

.price-now {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: "wdth" 50;
  font-size: clamp(4.6rem, 9.4vw, 9rem);
  line-height: 0.8;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

.price-launch {
  display: inline-block;
  margin-top: 18px;
  padding: 9px 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 85;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-variant-numeric: lining-nums;
  color: var(--on-accent, var(--ink));
  background: var(--accent);
  rotate: -4deg;
}

/* Tarif de lancement : le prix normal est barré d'un trait de couleur et rapetisse,
   le tarif de lancement prend sa place en grand (site.js lance l'animation quand le
   prix arrive à l'écran). Sans script, on voit directement l'état final. */
.price-deal {
  --side: right;
}

.price-old {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: "wdth" 50;
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  line-height: 0.8;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
  color: var(--muted);
}

.price-old s {
  position: relative;
  display: inline-block;
  text-decoration: none;
  transform-origin: var(--side) top;
  transition: scale 0.6s var(--ease) 0.75s, translate 0.6s var(--ease) 0.75s, color 0.4s ease 0.75s;
}

/* Le trait qui barre le prix normal */
.price-old s::after {
  content: "";
  position: absolute;
  top: 44%;
  left: -7%;
  right: -7%;
  height: 0.1em;
  background: var(--accent);
  rotate: -8deg;
  transform-origin: left center;
  transition: scale 0.45s cubic-bezier(0.65, 0, 0.2, 1) 0.2s;
}

.price-deal .price-now {
  transform-origin: var(--side) bottom;
  transition: scale 0.65s cubic-bezier(0.2, 1.5, 0.4, 1) 0.8s, opacity 0.25s ease 0.8s;
}

.price-deal .price-launch {
  transition: opacity 0.4s ease 1.2s, translate 0.5s var(--ease) 1.2s;
}

/* Avant l'arrivée à l'écran : le prix normal en grand, pas encore barré */
.price-deal.is-waiting :is(s, s::after, .price-now, .price-launch) {
  transition: none;
}

.price-deal.is-waiting .price-old s {
  scale: 2.65;
  translate: 0 0.42em;
  color: var(--paper);
}

.price-deal.is-waiting .price-old s::after {
  scale: 0 1;
  transition: none;
}

.price-deal.is-waiting .price-now {
  scale: 0.3;
  opacity: 0;
}

.price-deal.is-waiting .price-launch {
  opacity: 0;
  translate: 0 10px;
}

/* « À partir de » : une ligne discrète au-dessus du prix */
.price-from {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 85;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Seconde version d'une offre (Lookbook univers) sous le prix principal */
.price-alt {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

.price-alt strong {
  font-weight: 700;
  color: var(--paper);
}

/* Ce qui fait varier le prix final, au-dessus des conditions */
.factors {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.factors h3 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.factors ol {
  margin-top: 14px;
  padding-left: 1.4em;
  list-style: decimal;
}

.factors li {
  padding-left: 0.3em;
  margin-top: 8px;
}

.price-launch--none {
  color: var(--paper);
  background: none;
  border: 2px solid color-mix(in srgb, var(--paper) 45%, transparent);
  rotate: 3deg;
}

.tarifs-note {
  padding: clamp(8px, 2vw, 24px) var(--gutter) clamp(56px, 8vw, 112px);
}

/* Déroulé : quatre étapes numérotées, l'ordre compte */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li:nth-child(even) {
  margin-top: clamp(0px, 4vw, 56px);
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: "wdth" 50;
  font-size: clamp(5rem, 9vw, 8.4rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}

.steps h3 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-variation-settings: "wdth" 70;
  line-height: 1;
}

.steps p {
  max-width: 34ch;
}

/* Conditions : le mot à gauche, la règle à droite */
.terms > div {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: baseline;
  gap: 8px clamp(24px, 4vw, 64px);
  padding: clamp(20px, 2.6vw, 32px) 0;
  border-top: 1px solid var(--line);
}

.terms > div:last-child {
  border-bottom: 1px solid var(--line);
}

.terms dt {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: "wdth" 50;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--accent);
}

.terms dd {
  max-width: 54ch;
  font-size: clamp(17px, 1.35vw, 20px);
}

/* Questions fréquentes */
.faq {
  max-width: 900px;
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 80;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.15;
  text-align: left;
  color: var(--paper);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.accordion-header:hover {
  color: var(--accent);
}

.accordion-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--on-accent, var(--ink));
  background: var(--accent);
  rotate: 3deg;
  transition: rotate 0.45s var(--ease);
}

.accordion-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.accordion-item.active .accordion-icon {
  rotate: 48deg;
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.5s var(--ease), visibility 0s 0.5s;
}

.accordion-item.active .accordion-content {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.5s var(--ease), visibility 0s;
}

.accordion-content > div {
  min-height: 0;
  overflow: hidden;
}

.accordion-content p {
  max-width: 62ch;
  padding-bottom: 24px;
}

/* Avis : trois notes sombres en pointillé, un peu de travers, comme la note sur
   le décor. Elles prennent peu de place : le texte entier, en petit, et le prénom
   qui mène au compte Instagram de la personne. */
.avis-strip {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(40px, 5vw, 72px);
}

.avis-strip h2 {
  margin-bottom: 20px;
  font-size: 14px;
  font-variation-settings: "wdth" 85;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--accent);
}

.avis-strip ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2.4vw, 32px);
  list-style: none;
}

.avis {
  padding: 20px 22px 18px;
  background: var(--ink-raised);
  border: 2px dashed color-mix(in srgb, var(--paper) 40%, transparent);
  rotate: -1deg;
  transition: rotate 0.4s var(--ease);
}

.avis-strip li:nth-child(2) .avis {
  margin-top: 12px;
  rotate: 0.9deg;
}

.avis-strip li:nth-child(3) .avis {
  rotate: -0.5deg;
}

.avis-strip li:nth-child(n) .avis:hover {
  rotate: 0deg;
}

.avis blockquote p {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
}

.avis figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 85;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.avis figcaption a {
  font-size: 16px;
  color: var(--accent);
  text-decoration: underline wavy 2px;
  text-underline-offset: 5px;
}

.avis figcaption a:hover {
  color: var(--paper);
}

.avis figcaption span {
  color: var(--muted);
}

/* Tarif de lancement en bandeau (page Services) : le texte d'un côté, les places
   et le bouton de l'autre. */
.launch--slim .launch-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px clamp(28px, 5vw, 72px);
  padding: clamp(24px, 3vw, 38px) clamp(22px, 3.6vw, 48px);
  rotate: -0.6deg;
}

.launch--slim .launch-sheet h2 {
  max-width: none;
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 0.92;
}

.launch--slim .launch-body {
  display: block;
  max-width: 62ch;
  margin-bottom: 0;
  font-size: clamp(16px, 1.2vw, 18px);
}

.launch--slim .launch-side {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.launch--slim .launch-count {
  gap: 10px 14px;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.launch--slim .tickets {
  gap: 5px;
}

.launch--slim .tickets i {
  width: 18px;
  height: 28px;
}

/* =========================================================================
   Contact : le formulaire est un coupon à découper
========================================================================= */

.contact-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: clamp(64px, 9vw, 128px);
}

.direct {
  margin-top: clamp(28px, 4vw, 44px);
  list-style: none;
}

.direct li {
  display: grid;
  grid-template-columns: 7.2em minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.direct li:last-child {
  border-bottom: 1px solid var(--line);
}

.direct span {
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 85;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.direct a {
  justify-self: start;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 80;
  font-size: clamp(1.1rem, 1.9vw, 1.5rem);
  font-variant-numeric: lining-nums;
  overflow-wrap: anywhere;
  color: var(--accent);
  text-decoration: underline wavy 2px;
  text-underline-offset: 6px;
  transition: color 0.25s var(--ease);
}

.direct a:hover {
  color: var(--paper);
}

.direct-note {
  margin-top: 16px;
  color: var(--muted);
}

.coupon {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: clamp(0px, 3vw, 40px);
  padding: clamp(26px, 3.4vw, 42px);
  background: var(--ink-raised);
  border: 2px solid transparent;
  rotate: 0.8deg;
}

/* Le pointillé du coupon, dessiné pour que l'appareil photo puisse le « manger » */
.coupon-track {
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  overflow: visible;
  pointer-events: none;
}

.coupon-dashes {
  fill: none;
  stroke: color-mix(in srgb, var(--paper) 55%, transparent);
  stroke-width: 2;
  stroke-dasharray: 9 7;
}

/* Le morceau de pointillé avalé, juste derrière l'appareil (masque) */
.coupon-bite {
  visibility: hidden;
  stroke-dasharray: 9 91;
}

/* L'appareil photo sur le pointillé. Avec le script, il fait le tour du formulaire,
   poursuivi par un Pac-Man qui mange les tirets : le Pac-Man, c'est « Vous »,
   l'appareil, c'est « Mes photos ». Tout ce décor est muet pour les lecteurs d'écran. */
@property --mouth {
  syntax: "<angle>";
  inherits: false;
  initial-value: 36deg;
}

.coupon {
  /* Le Pac-Man suit l'appareil à cette distance (part du tour) */
  --chase: 0.1;
}

.coupon-cam {
  position: absolute;
  top: -19px;
  left: 30px;
  z-index: 1;
  width: 58px;
  height: 38px;
  padding: 1px 7px;
  color: var(--accent);
  background: var(--ink);
}

.coupon-cam svg {
  display: block;
  width: 44px;
  height: 36px;
  fill: var(--ink);
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hors animation, le Pac-Man et les étiquettes n'existent pas : ils ne doivent jamais
   prendre de place dans le formulaire. */
.coupon:not(.is-live) :is(.coupon-pac, .coupon-tag) {
  display: none;
}

.coupon.is-live :is(.coupon-cam, .coupon-pac, .coupon-tag) {
  position: absolute;
  top: -2px;
  left: -2px;
  z-index: 1;
  offset-rotate: 0deg;
  offset-anchor: center;
  pointer-events: none;
  animation: coupon-lap var(--lap, 26s) linear infinite;
}

.coupon.is-live .coupon-cam {
  background: none;
}

/* L'appareil tremble */
.coupon.is-live .coupon-cam svg {
  animation: coupon-panic 0.16s steps(2, jump-none) infinite alternate;
}

/* Les gouttes de sueur : elles partent du boîtier dans toutes les directions */
.coupon-sweat {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 11px;
  margin: -5px 0 0 -3px;
  background: #bfeaff;
  border-radius: 50% 50% 50% 50% / 68% 68% 32% 32%;
  opacity: 0;
  rotate: var(--a);
  animation: coupon-sweat 0.95s ease-out infinite;
  animation-delay: var(--d);
}

/* Le Pac-Man : il regarde où il va, et sa bouche s'ouvre et se ferme */
.coupon.is-live .coupon-pac {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: conic-gradient(from calc(90deg + var(--mouth)), #e9f23c 0 calc(360deg - 2 * var(--mouth)), transparent 0);
  offset-rotate: auto;
  animation: coupon-lap var(--lap, 26s) linear infinite, coupon-mouth 0.3s ease-in-out infinite alternate;
  animation-delay: calc(var(--lap, 26s) * (var(--chase) - 1)), 0s;
}

/* Les deux étiquettes, toujours droites, au-dessus de celui qu'elles désignent :
   le même geste que les étiquettes du site (capitales étroites sur un aplat de couleur). */
.coupon-tag {
  --tag: var(--accent);
  display: grid;
  justify-items: center;
  gap: 3px;
  offset-anchor: 50% calc(100% + 24px);
  white-space: nowrap;
  color: var(--tag);
}

.coupon.is-live .coupon-tag {
  offset-anchor: 50% calc(100% + 24px);
}

.coupon-tag b,
.coupon-aside {
  padding: 5px 9px 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 85;
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink);
}

.coupon-tag b {
  background: var(--tag);
  rotate: -4deg;
}

.coupon-tag.is-pac {
  --tag: #e9f23c;
}

.coupon-tag.is-pac b {
  rotate: 3deg;
}

/* L'étiquette du Pac-Man a le même retard que lui */
.coupon.is-live .coupon-tag.is-pac {
  animation-delay: calc(var(--lap, 26s) * (var(--chase) - 1));
}

/* Sur les côtés du formulaire, site.js écarte l'étiquette vers l'extérieur et
   penche sa flèche : elle ne passe pas sur les champs. */
.coupon-tag svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 50% 0;
}

/* « Vous allez les adorer » : une bulle de papier qui surgit au-dessus de
   « Mes photos », reste quelques secondes, puis se replie. */
.coupon-aside {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  translate: -50% 0;
  background: var(--paper);
  rotate: 2.5deg;
  transform-origin: 50% 130%;
  scale: 0;
  animation: coupon-aside 12s infinite;
  /* Le cycle commence en cours de route : la bulle surgit dès la deuxième seconde */
  animation-delay: -5.5s;
}

/* La pointe de la bulle */
.coupon-aside::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  width: 12px;
  height: 7px;
  translate: -50% 0;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 40% 100%);
}

@keyframes coupon-aside {
  0%,
  56% {
    scale: 0;
    rotate: -8deg;
    animation-timing-function: cubic-bezier(0.2, 1.6, 0.4, 1);
  }
  61%,
  90% {
    scale: 1;
    rotate: 2.5deg;
    animation-timing-function: cubic-bezier(0.6, 0, 0.9, 0.3);
  }
  94%,
  100% {
    scale: 0;
    rotate: 8deg;
  }
}

/* Les tirets avalés : juste derrière le Pac-Man */
.coupon.is-live .coupon-bite {
  visibility: visible;
  animation: coupon-bite var(--lap, 26s) linear infinite;
  animation-delay: calc(var(--lap, 26s) * (var(--chase) - 1));
}

@keyframes coupon-lap {
  from {
    offset-distance: 0%;
  }
  to {
    offset-distance: 100%;
  }
}

/* Le morceau avalé couvre les 9 % de tour juste derrière le Pac-Man. */
@keyframes coupon-bite {
  from {
    stroke-dashoffset: 9;
  }
  to {
    stroke-dashoffset: -91;
  }
}

@keyframes coupon-mouth {
  from {
    --mouth: 40deg;
  }
  to {
    --mouth: 4deg;
  }
}

@keyframes coupon-panic {
  from {
    rotate: -5deg;
  }
  to {
    rotate: 5deg;
  }
}

@keyframes coupon-sweat {
  0% {
    opacity: 0;
    transform: translateY(-16px) scale(0.6);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-40px) scale(1);
  }
}

.coupon label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 85;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.coupon input,
.coupon select,
.coupon textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid color-mix(in srgb, var(--paper) 34%, transparent);
  border-radius: 0;
  caret-color: var(--accent);
  transition: border-color 0.25s var(--ease);
}

.coupon select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none' stroke='%23efece4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.5 8 8l6.5-6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px 10px;
  cursor: pointer;
}

.coupon select option {
  color: var(--paper);
  background: var(--ink);
}

.coupon textarea {
  min-height: 150px;
  resize: vertical;
}

.coupon ::placeholder {
  color: var(--muted);
  opacity: 1;
}

.coupon :is(input, select, textarea):hover {
  border-color: color-mix(in srgb, var(--paper) 60%, transparent);
}

.coupon :is(input, select, textarea):focus-visible {
  outline-offset: 2px;
  border-color: var(--accent);
}

.coupon :is(input, select, textarea):user-invalid {
  border-color: var(--error);
}

/* Champ piège anti-spam : invisible pour les humains */
.coupon .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.coupon .btn {
  justify-self: start;
  margin-top: 4px;
}

.form-status {
  min-height: 1.55em;
  font-weight: 500;
}

.form-status.ok {
  color: var(--accent);
}

.form-status.error {
  color: var(--error);
}

/* =========================================================================
   Collections : des séries de tirages, chacune avec sa couleur
========================================================================= */

.collection-head {
  padding-bottom: clamp(36px, 5vw, 64px);
}

.gallery {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.serie {
  padding-bottom: clamp(56px, 8vw, 120px);
  scroll-margin-top: 16px;
}

.serie-title {
  margin-bottom: clamp(20px, 3vw, 32px);
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  font-variation-settings: "wdth" 55;
  color: var(--accent);
}

/* Mosaïque en colonnes : chaque photo garde son format */
.serie-grid {
  column-count: 3;
  column-gap: clamp(12px, 1.6vw, 22px);
}

/* Rangées posées par site.js : chaque rangée remplit la largeur, sans case vide */
.serie-grid.is-laid {
  display: grid;
  gap: clamp(12px, 1.6vw, 22px);
  column-count: auto;
}

.serie-row {
  display: flex;
  gap: clamp(12px, 1.6vw, 22px);
}

.serie-grid.is-laid .shot {
  flex: var(--a) 1 0;
  min-width: 0;
  margin-bottom: 0;
  aspect-ratio: var(--a);
}

.serie-grid.is-laid .shot img {
  height: 100%;
  object-fit: cover;
}

.serie-grid .shot {
  position: relative;
  display: block;
  margin-bottom: clamp(12px, 1.6vw, 22px);
  break-inside: avoid;
  cursor: zoom-in;
  transition: rotate 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.serie-grid .shot img {
  width: 100%;
  background: var(--ink-raised);
}

.serie-grid .shot:hover,
.serie-grid .shot:focus-visible {
  z-index: 2;
  rotate: -1.2deg;
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.95), 0 0 0 3px var(--accent);
}

.serie-grid .shot:nth-child(even):hover,
.serie-grid .shot:nth-child(even):focus-visible {
  rotate: 1.2deg;
}

.serie-grid .shot:focus-visible {
  outline: none;
}

/* =========================================================================
   Visionneuse (créée par site.js)
========================================================================= */

.viewer {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: grid;
  place-items: center;
  padding: 72px clamp(12px, 7vw, 104px);
  background: color-mix(in srgb, var(--ink) 96%, transparent);
}

.viewer[hidden] {
  display: none;
}

.viewer-img {
  max-width: 100%;
  max-height: calc(100dvh - 144px);
  object-fit: contain;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95);
}

.viewer-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--on-accent, var(--ink));
  background: var(--accent);
  border: 0;
  cursor: pointer;
  transition: rotate 0.25s var(--ease), scale 0.15s var(--ease);
}

.viewer-btn[hidden] {
  display: none;
}

.viewer-btn:active {
  scale: 0.94;
}

.viewer-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.viewer-close {
  top: 14px;
  right: 14px;
  background: var(--paper);
  rotate: 3deg;
}

.viewer-close:hover {
  rotate: -3deg;
}

.viewer-prev {
  top: 50%;
  left: 14px;
  translate: 0 -50%;
  rotate: -3deg;
}

.viewer-prev:hover {
  rotate: 3deg;
}

.viewer-next {
  top: 50%;
  right: 14px;
  translate: 0 -50%;
  rotate: 3deg;
}

.viewer-next:hover {
  rotate: -3deg;
}

.viewer-count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  translate: -50% 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "wdth" 85;
  font-size: 14px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums lining-nums;
}

html.viewer-open {
  overflow: hidden;
}

/* =========================================================================
   Pages légales : du texte à lire, sans décor
========================================================================= */

.legal {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(116px, 15svh, 164px) var(--gutter) clamp(56px, 8vw, 112px);
}

.legal h1 {
  max-width: 11em;
  margin-bottom: clamp(28px, 4vw, 48px);
  font-size: clamp(2.8rem, 8.4vw, 6.8rem);
  line-height: 0.88;
  font-variation-settings: "wdth" 50;
  animation: line-in 0.9s var(--ease) 0.4s backwards;
}

.legal h2 {
  margin: 40px 0 12px;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-variation-settings: "wdth" 70;
  line-height: 1;
  color: var(--accent);
}

.legal p {
  max-width: 68ch;
  margin-bottom: 14px;
}

.legal a:not(.btn) {
  color: var(--accent);
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.legal code {
  padding: 1px 6px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.88em;
  background: var(--ink-raised);
  border: 1px solid var(--line);
}

.legal .btn {
  margin-top: 10px;
}

/* =========================================================================
   Écrans étroits
========================================================================= */

@media (max-width: 1000px) {
  .tarif {
    grid-template-columns: minmax(0, 3fr) minmax(0, 5fr);
  }

  .price {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .price-deal {
    --side: left;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps li:nth-child(even) {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .about-head,
  .contact-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-head {
    gap: 88px;
  }

  .portrait {
    width: min(64vw, 300px);
    margin-bottom: 40px;
  }

  /* Une colonne : le titre, la photo, puis le texte */
  .approach,
  .vision,
  .career {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "proof" "body";
    grid-template-rows: none;
  }

  .proof {
    position: static;
    justify-self: start;
    width: min(88%, 420px);
    margin: 14px 0 34px 8px;
  }

  .career .print {
    justify-self: start;
    width: min(82%, 380px);
    margin: 14px 0 30px 8px;
  }

  /* Les trois images de Dreamin se feuillettent du doigt */
  .triptych {
    display: flex;
    gap: 18px;
    max-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding: 22px var(--gutter) 44px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .triptych::-webkit-scrollbar {
    display: none;
  }

  .triptych li {
    flex: none;
    width: min(68vw, 340px);
    scroll-snap-align: start;
  }

  .triptych li:nth-child(2) {
    margin-top: 0;
  }

  /* Les avis se feuillettent du doigt */
  .avis-strip ul {
    display: flex;
    gap: 14px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 22px var(--gutter) 30px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .avis-strip ul::-webkit-scrollbar {
    display: none;
  }

  .avis-strip li {
    flex: none;
    width: min(78vw, 340px);
    scroll-snap-align: center;
  }

  .avis-strip li:nth-child(2) .avis {
    margin-top: 0;
  }

  .avis-strip {
    padding-bottom: 20px;
  }

  .launch--slim .launch-sheet {
    grid-template-columns: minmax(0, 1fr);
  }

  .coupon {
    rotate: none;
  }

  .serie-grid {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .tarif {
    grid-template-columns: minmax(0, 1fr);
  }

  .tarif .print {
    width: min(74%, 300px);
    justify-self: start;
    margin-left: 14px;
  }

  .price {
    grid-column: auto;
  }

  .terms > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-story,
  .stages li {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .direct li {
    grid-template-columns: minmax(0, 1fr);
  }

  .viewer {
    padding: 76px 10px 84px;
  }

  .viewer-img {
    max-height: calc(100dvh - 160px);
  }

  .viewer-prev,
  .viewer-next {
    top: auto;
    bottom: 12px;
    translate: none;
  }

  .viewer-count {
    bottom: 28px;
  }
}

/* =========================================================================
   Réactions au survol des éléments fixes
   Rien ici n'est cliquable : le curseur ne change pas, aucune couleur de bouton.
   Les choses réagissent comme du papier ou de l'encre : un titre se penche, une
   étiquette frétille, un numéro sort de derrière sa photo. Seulement à la souris,
   et seulement si le visiteur n'a pas demandé moins de mouvement.
========================================================================= */

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* Les titres en couleur des sections se vident : il ne reste que leur contour */
  .about .band h2,
  .tarif-copy h2,
  .serie-title {
    -webkit-text-stroke: 2px transparent;
    transition: color 0.4s var(--ease), -webkit-text-stroke-color 0.4s var(--ease);
  }

  .about .band h2:hover,
  .tarif-copy h2:hover,
  .serie-title:hover {
    color: transparent;
    -webkit-text-stroke-color: var(--accent);
  }

  /* Une photo fixe (pas un lien) se remet droite */
  figure.print {
    transition: rotate 0.4s var(--ease);
  }

  .tarifs .tarif figure.print:hover,
  .career figure.print:hover {
    rotate: 0deg;
  }

  /* Les papiers posés de travers se redressent et se soulèvent à peine */
  .cartel {
    transition: rotate 0.4s var(--ease), translate 0.4s var(--ease);
  }

  .cartel:hover {
    rotate: 0deg;
    translate: 0 -3px;
  }

  /* Listes à filets (approche, conditions, parcours) : le filet prend la couleur,
     le mot avance d'un cran */
  .stages li,
  .terms > div,
  .dates > div {
    transition: border-color 0.4s var(--ease);
  }

  .stages h3,
  .terms dt,
  .dates dt {
    transition: translate 0.4s var(--ease);
  }

  .stages li:hover,
  .terms > div:hover,
  .dates > div:hover {
    border-top-color: var(--accent);
  }

  .stages li:hover h3,
  .terms > div:hover dt,
  .dates > div:hover dt {
    translate: 10px 0;
  }

  /* Les grands chiffres des étapes s'inversent : l'intérieur prend la couleur,
     le contour passe au noir du fond, pour que le chiffre reste bien dessiné */
  .steps li::before {
    transition: color 0.4s var(--ease), -webkit-text-stroke-color 0.4s var(--ease), translate 0.4s var(--ease);
  }

  .steps li:hover::before {
    color: var(--accent);
    /* Contour sombre et plus épais : il mord sur la couleur et rouvre les creux du chiffre */
    -webkit-text-stroke: 4px var(--ink);
    translate: 0 -6px;
  }

  /* Ce que comprend une offre : la coche grossit */
  .includes li::before {
    transition: scale 0.3s var(--ease), rotate 0.3s var(--ease);
  }

  .includes li:hover::before {
    scale: 1.35;
    rotate: -10deg;
  }

  /* L'anneau de texte autour du portrait s'écarte */
  .ring {
    transition: scale 0.8s var(--ease);
  }

  .portrait:hover .ring {
    scale: 1.06;
  }
}
