/* stileex.pictures : design system « studio de cinéma »
   Base sombre encre, papier en contrepoint, un rouge signal.
   Display Marcellus (écho du wordmark), texte Manrope. */

:root {
  --encre: #0d0b09;
  --nuit: #16130f;
  --panneau: #1d1914;
  --os: #f2ecdf;
  --creme: #f6f1e6;
  --gris: #a89c8c;
  --ligne: rgba(242, 236, 223, 0.14);
  --rouge: #e03e2d;
  --rouge-fonce: #b52f22;
  --bleu-nuit: #10151f;
  --nr-rouge: #d92b21;
  --nr-vert: #3e8e27;
  --display: "Marcellus", "Times New Roman", serif;
  --texte: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --cadre-max: 76rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--texte);
  background: var(--encre);
  color: var(--os);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain pellicule, très léger */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E");
}

::selection { background: var(--rouge); color: #fff; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; border-radius: 2px; }

.cadre { max-width: var(--cadre-max); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saut { position: absolute; left: -999px; top: 0; z-index: 300; background: var(--rouge); color: #fff; padding: 0.6rem 1rem; }
.saut:focus { left: 0; }

h1, h2, h3, .chiffre { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: 0.01em; }

.kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gris);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.kicker::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rouge);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .kicker::before { animation: none; } }

/* ---------- Perforations de pellicule ---------- */
.perfo {
  height: 14px;
  background-image: repeating-linear-gradient(90deg,
    var(--ligne) 0 16px, transparent 16px 34px);
  border-block: 1px solid var(--ligne);
  opacity: 0.75;
}

/* ---------- En-tête ---------- */
.entete {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
/* Le flou vit sur un pseudo-element : un backdrop-filter posé sur .entete
   ferait de l'en-tête le containing block des descendants fixed, et le menu
   mobile plein écran se calerait sur ses 72 px au lieu du viewport. */
.entete::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(13, 11, 9, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.entete.scrolle { border-bottom-color: var(--ligne); }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.marque-lien { display: inline-flex; align-items: center; }
.marque-lien img { height: 24px; width: auto; }

.menu { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.menu ul { display: flex; list-style: none; gap: clamp(0.9rem, 2vw, 1.7rem); }
.menu a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--os);
  opacity: 0.82;
  transition: opacity 0.2s;
  position: relative;
  padding-block: 0.4rem;
}
.menu a:hover { opacity: 1; }
.menu a[aria-current="page"] { opacity: 1; }
.menu a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--rouge);
}
/* Le sprite de drapeaux ne sert que de reserve de <symbol> : il ne se voit pas. */
.drapeaux-source { position: absolute; width: 0; height: 0; overflow: hidden; }
.drapeau {
  width: 22px;
  height: 14px;
  border-radius: 2px;
  flex: none;
  box-shadow: 0 0 0 1px rgba(242, 236, 223, 0.28);
}

/* Selecteur de langue : <details> pour qu'il s'ouvre meme sans JS. */
.lang { position: relative; }
.lang > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--os);
  border: 1px solid var(--ligne);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary:hover { border-color: var(--rouge); color: #fff; }
.lang[open] > summary { border-color: var(--rouge); background: rgba(242, 236, 223, 0.06); }
.lang .chevron {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.lang[open] .chevron { transform: rotate(180deg); }

.lang .lang-liste {
  display: block;
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: 12rem;
  list-style: none;
  padding: 0.35rem;
  margin: 0;
  border: 1px solid var(--ligne);
  border-radius: 14px;
  background: #14110e;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  z-index: 130;
}
.lang .lang-liste a {
  display: flex;
  font-family: var(--texte);
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--os);
  opacity: 0.85;
}
.lang .lang-liste a:hover { background: rgba(242, 236, 223, 0.08); opacity: 1; }
.lang .lang-liste a[aria-current="true"] { opacity: 1; }
.lang .lang-liste a[aria-current="true"]::after {
  content: "\2713";
  margin-left: auto;
  color: var(--rouge);
  font-weight: 800;
}
@media (prefers-reduced-motion: reduce) { .lang .chevron { transition: none; } }

.menu-bascule { display: none; }
.menu-bouton { display: none; }

@media (max-width: 860px) {
  .menu-bouton {
    display: grid;
    gap: 5px;
    padding: 0.6rem 0.2rem;
    cursor: pointer;
    z-index: 120;
  }
  .menu-bouton span { width: 26px; height: 2px; background: var(--os); transition: transform 0.25s, opacity 0.25s; }
  .menu {
    position: fixed;
    inset: 0;
    background: var(--encre);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-102%);
    transition: transform 0.35s ease, visibility 0s linear 0.35s;
    z-index: 110;
    overflow: auto;
    visibility: hidden;
  }
  .menu-bascule:checked ~ .menu { visibility: visible; transition: transform 0.35s ease, visibility 0s; }
  .menu ul { flex-direction: column; text-align: center; gap: 1.4rem; }
  .menu a { font-family: var(--display); font-size: 1.7rem; font-weight: 400; }
  .lang { display: flex; flex-direction: column; align-items: center; }
  .lang .lang-liste { position: static; min-width: 13rem; margin-top: 0.7rem; }
  .lang .lang-liste a { font-family: var(--texte); font-size: 1.05rem; font-weight: 600; }
  .menu-bascule:checked ~ .menu { transform: translateY(0); }
  .menu-bascule:checked ~ .menu-bouton span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-bascule:checked ~ .menu-bouton span:nth-child(2) { opacity: 0; }
  .menu-bascule:checked ~ .menu-bouton span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: var(--rouge);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
}
.bouton:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(224, 62, 45, 0.35); background: var(--rouge-fonce); }
.bouton.creux { background: transparent; border: 1px solid var(--ligne); color: var(--os); }
.bouton.creux:hover { border-color: var(--os); box-shadow: none; background: rgba(242, 236, 223, 0.06); }
.bouton.grand { font-size: 1.1rem; padding: 1.15rem 2.1rem; }

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  text-decoration: none;
  color: var(--os);
  border-bottom: 1px solid var(--ligne);
  padding-bottom: 0.15em;
  transition: border-color 0.2s, gap 0.2s;
}
.lien-fleche:hover { border-color: var(--rouge); gap: 0.8em; }
.lien-fleche::after { content: "\2192"; color: var(--rouge); }

/* ---------- Héros ---------- */
.heros {
  position: relative;
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: clamp(3rem, 7vh, 5rem);
  overflow: hidden;
}
.heros::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(224, 62, 45, 0.14), transparent 62%);
  pointer-events: none;
}
.heros-grille {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.heros h1 {
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  margin: 1.1rem 0 1.4rem;
}
.heros-texte { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--gris); max-width: 34em; }
.heros-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.bande-hero { position: relative; display: flex; gap: 1.2rem; justify-content: center; }
.bande-hero .cadre-film:nth-child(1) { transform: rotate(-3deg) translateY(14px); }
.bande-hero .cadre-film:nth-child(2) { transform: rotate(2.5deg) translateY(-10px); }
@media (prefers-reduced-motion: no-preference) {
  .bande-hero .cadre-film { animation: flotte 9s ease-in-out infinite alternate; }
  .bande-hero .cadre-film:nth-child(2) { animation-delay: -4.5s; }
  @keyframes flotte {
    from { translate: 0 -6px; }
    to { translate: 0 8px; }
  }
}
@media (max-width: 860px) {
  .heros-grille { grid-template-columns: 1fr; }
  .bande-hero { margin-top: 1rem; }
  .bande-hero .cadre-film { max-width: 40vw; }
}

/* ---------- Cadre pellicule ---------- */
.cadre-film {
  background: #070604;
  border: 1px solid var(--ligne);
  border-radius: 12px;
  padding: 10px 20px;
  position: relative;
  width: min(250px, 100%);
  flex-shrink: 0;
}
.cadre-film::before, .cadre-film::after {
  content: "";
  position: absolute;
  top: 12px; bottom: 12px;
  width: 7px;
  background-image: repeating-linear-gradient(0deg, var(--ligne) 0 9px, transparent 9px 22px);
  border-radius: 3px;
}
.cadre-film::before { left: 6px; }
.cadre-film::after { right: 6px; }
.cadre-film img { border-radius: 6px; width: 100%; }
.cadre-film figcaption {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris);
  padding: 0.55rem 0.1rem 0.3rem;
  display: flex;
  justify-content: space-between;
}

/* ---------- Ruban défilant ---------- */
.defile {
  border-block: 1px solid var(--ligne);
  overflow: hidden;
  padding-block: 1rem;
  background: var(--nuit);
}
.defile-piste {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: defile 28s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .defile-piste { animation: none; } }
.defile-piste span {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.defile-piste span::after { content: "\2726"; color: var(--rouge); font-size: 0.8em; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section-tete { max-width: 46em; margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.section-tete h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: 0.9rem 0 1rem; }
.section-tete p { color: var(--gris); font-size: 1.1rem; }

.peau-papier { background: var(--creme); color: var(--encre); }
.peau-papier .kicker, .peau-papier .section-tete p { color: #6d6152; }
.peau-papier .lien-fleche { color: var(--encre); border-bottom-color: rgba(13, 11, 9, 0.3); }
.peau-papier ::selection { background: var(--encre); color: var(--creme); }

/* ---------- Cartes univers ---------- */
.univers-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 860px) { .univers-grille { grid-template-columns: 1fr; } }
.carte-univers {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  text-decoration: none;
  border: 1px solid var(--ligne);
  isolation: isolate;
}
.carte-univers .fond {
  position: absolute;
  inset: 0;
  z-index: -2;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}
.carte-univers:hover .fond { transform: scale(1.045); }
.carte-univers::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 11, 9, 0.1) 30%, rgba(13, 11, 9, 0.92) 82%);
}
.carte-univers .tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(13, 11, 9, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
}
.carte-univers h3 { font-size: clamp(2.1rem, 4vw, 3rem); color: #fff; margin-bottom: 0.7rem; }
.carte-univers p { color: rgba(255, 255, 255, 0.85); max-width: 30em; margin-bottom: 1.1rem; }
.carte-univers .lien-fleche { color: #fff; }

.carte-univers.nr { background: var(--creme); border-top: 6px solid var(--nr-vert); }
.carte-univers.nr::after { background: linear-gradient(180deg, rgba(246, 241, 230, 0) 40%, rgba(246, 241, 230, 0.6) 100%); }
.carte-univers.nr .fond {
  object-fit: contain;
  padding: clamp(2rem, 6vw, 4rem) clamp(2rem, 6vw, 4rem) 40%;
}
.carte-univers.nr .tag { color: var(--encre); background: rgba(246, 241, 230, 0.7); border-color: rgba(13, 11, 9, 0.25); }
.carte-univers.nr h3 { color: var(--encre); }
.carte-univers.nr p { color: #4d4437; }
.carte-univers.nr .lien-fleche { color: var(--encre); }

/* ---------- Reel horizontal ---------- */
.reel {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0.4rem 0.2rem 1.2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--rouge) transparent;
}
.reel .cadre-film { scroll-snap-align: start; width: min(62vw, 236px); }
.reel::-webkit-scrollbar { height: 6px; }
.reel::-webkit-scrollbar-thumb { background: var(--rouge); border-radius: 3px; }
.reel::-webkit-scrollbar-track { background: rgba(242, 236, 223, 0.08); }

/* ---------- Bande de stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-block: 1px solid var(--ligne);
  padding-block: clamp(1.8rem, 4vw, 3rem);
}
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats .chiffre { font-size: clamp(2.4rem, 5.5vw, 4rem); color: #fff; }
.stats .chiffre sup { font-size: 0.45em; color: var(--rouge); }
.stats .legende { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gris); margin-top: 0.4rem; }
.stats-note { font-size: 0.85rem; color: var(--gris); margin-top: 1rem; }

/* ---------- Offres / services ---------- */
.offres { display: grid; gap: 1.2rem; }
.offre {
  display: grid;
  grid-template-columns: 5rem 1fr 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(13, 11, 9, 0.18);
  padding-block: clamp(1.6rem, 3.5vw, 2.4rem);
}
.peau-sombre .offre { border-top-color: var(--ligne); }
@media (max-width: 860px) { .offre { grid-template-columns: 1fr; gap: 0.8rem; } }
.offre .num { font-family: var(--mono); font-size: 1rem; color: var(--rouge); letter-spacing: 0.1em; padding-top: 0.5rem; }
.offre h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.7rem; }
.offre p { color: #5c5244; max-width: 30em; }
.peau-sombre .offre p { color: var(--gris); }
.offre ul { list-style: none; align-self: center; }
.offre li {
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(13, 11, 9, 0.18);
  font-weight: 600;
  font-size: 0.98rem;
}
.peau-sombre .offre li { border-bottom-color: var(--ligne); }
.offre li::before { content: "+"; color: var(--rouge); margin-right: 0.6em; font-weight: 800; }

/* ---------- Processus ---------- */
.processus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: etape; }
@media (max-width: 860px) { .processus { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .processus { grid-template-columns: 1fr; } }
.etape {
  border: 1px solid var(--ligne);
  border-radius: 14px;
  padding: 1.4rem 1.3rem;
  background: rgba(242, 236, 223, 0.03);
}
.etape::before {
  counter-increment: etape;
  content: "0" counter(etape);
  font-family: var(--mono);
  color: var(--rouge);
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}
.etape h3 { font-size: 1.35rem; margin: 0.5rem 0 0.4rem; }
.etape p { color: var(--gris); font-size: 0.96rem; }

/* ---------- Pipeline (studio) ---------- */
.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}
.pipeline li {
  list-style: none;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ligne);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.pipeline li::before { content: attr(data-num); color: var(--rouge); }
.pipeline li:not(:last-child)::after { content: "\2192"; color: var(--gris); margin-left: 0.2rem; }

/* ---------- Équipe ---------- */
.equipe { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.1rem; }
.membre {
  border: 1px solid var(--ligne);
  border-radius: 14px;
  padding: 1.6rem 1.2rem 1.4rem;
  text-align: center;
  background: rgba(242, 236, 223, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.membre:hover { transform: translateY(-4px); border-color: rgba(224, 62, 45, 0.5); }
.membre .mono-lettre {
  width: 64px; height: 64px;
  margin: 0 auto 0.9rem;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.7rem;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--rouge), var(--rouge-fonce));
}
.membre h3 { font-size: 1.25rem; }
.membre p { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gris); margin-top: 0.35rem; }

/* ---------- Valeurs ---------- */
.valeurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 860px) { .valeurs { grid-template-columns: 1fr; } }
.valeur { border-top: 2px solid var(--rouge); padding-top: 1.1rem; }
.valeur h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.valeur p { color: var(--gris); font-size: 0.98rem; }

/* ---------- Pages univers ---------- */
.fiche-heros { padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.fiche-heros h1 { font-size: clamp(3rem, 8vw, 6.2rem); margin: 1rem 0 0.6rem; }
.fiche-heros .sous-titre { font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--gris); max-width: 36em; }
.fiche-heros.jb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60vw 40vh at 80% 0%, rgba(58, 110, 205, 0.2), transparent 70%);
  pointer-events: none;
}
.fiche-heros.nr-teinte::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60vw 40vh at 80% 0%, rgba(62, 142, 39, 0.16), transparent 70%);
  pointer-events: none;
}
.fiche-intro { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--os); max-width: 42em; margin-top: 1.6rem; }
.fil { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); }
.fil ol { list-style: none; display: flex; gap: 0.6em; flex-wrap: wrap; }
.fil a { color: inherit; text-decoration: none; }
.fil a:hover { color: var(--os); }
.fil li + li::before { content: "/"; margin-right: 0.6em; opacity: 0.5; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.duo h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 1rem; }
.duo p { color: var(--gris); }
.duo .visuel { display: flex; justify-content: center; gap: 1.2rem; }

.mur { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 1020px) { .mur { grid-template-columns: repeat(2, 1fr); } }
.mur .cadre-film { width: auto; }

.actions-univers { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.panneau-nr {
  background: var(--creme);
  color: var(--encre);
  border-radius: 20px;
  border-top: 8px solid var(--nr-vert);
  border-bottom: 8px solid var(--nr-rouge);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 860px) { .panneau-nr { grid-template-columns: 1fr; } }
.panneau-nr h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.9rem; }
.panneau-nr p { color: #4d4437; }

/* ---------- Bande CTA ---------- */
.cta-bande {
  text-align: center;
  padding-block: clamp(4.5rem, 10vw, 8rem);
  position: relative;
  overflow: hidden;
}
.cta-bande::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50vw 30vh at 50% 100%, rgba(224, 62, 45, 0.18), transparent 70%);
  pointer-events: none;
}
.cta-bande h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 18em; margin: 0 auto 2rem; }

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .contact-grille { grid-template-columns: 1fr; } }
.contact-canaux { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.bloc-info { border: 1px solid var(--ligne); border-radius: 16px; padding: 1.6rem; margin-bottom: 1.1rem; background: rgba(242, 236, 223, 0.03); }
.bloc-info h2 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.bloc-info ul { list-style: none; }
.bloc-info li { padding: 0.45rem 0; border-bottom: 1px dashed var(--ligne); }
.bloc-info li:last-child { border-bottom: 0; }
.bloc-info li::before { content: "+"; color: var(--rouge); margin-right: 0.6em; font-weight: 800; }
.bloc-info address { font-style: normal; color: var(--gris); font-size: 1.05rem; line-height: 1.8; }

.bloc-form { margin-top: 2.4rem; }
.bloc-form h2 { font-size: 1.7rem; margin: 0.7rem 0 1.2rem; }
.serenity-form { width: 100%; border: 0; min-height: 560px; display: block; }
.serenity-form-repli { border: 1px solid var(--ligne); border-radius: 16px; padding: 1.6rem; background: rgba(242, 236, 223, 0.03); }
.serenity-form-repli p { color: var(--gris); margin-bottom: 1rem; }
.serenity-form-repli p:last-child { margin-bottom: 0; }
.serenity-form-repli[hidden] { display: none; }

/* ---------- Légal ---------- */
.legal-blocs { max-width: 46em; }
.legal-blocs section { border-top: 1px solid var(--ligne); padding-block: 1.6rem; }
.legal-blocs h2 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.legal-blocs p { color: var(--gris); }
.legal-blocs a { color: var(--os); }

/* ---------- 404 ---------- */
.page-404 { min-height: 78vh; display: grid; place-items: center; text-align: center; padding-top: 6rem; }
.page-404 .gros { font-family: var(--display); font-size: clamp(5rem, 18vw, 12rem); line-height: 1; color: var(--rouge); }
.page-404 p { color: var(--gris); margin: 1rem 0 1.6rem; }
.page-404 .liens { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--ligne); margin-top: clamp(3rem, 7vw, 5rem); }
.pied-wordmark {
  font-family: var(--display);
  font-size: clamp(1.35rem, 6.4vw, 5.4rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding-block: clamp(2.2rem, 5vw, 3.6rem) 0.6rem;
  color: var(--os);
  white-space: nowrap;
}
.pied-tagline { text-align: center; color: var(--gris); font-size: 0.95rem; padding-bottom: 2.2rem; }
.pied-colonnes {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-block: 2.4rem;
  border-top: 1px solid var(--ligne);
}
@media (max-width: 860px) { .pied-colonnes { grid-template-columns: 1fr; } }
.pied-colonnes h2 { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); margin-bottom: 0.9rem; }
.pied-colonnes ul { list-style: none; }
.pied-colonnes li { padding: 0.3rem 0; }
.pied-colonnes a { color: var(--os); text-decoration: none; opacity: 0.85; }
.pied-colonnes a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.pied-colonnes address { font-style: normal; color: var(--gris); line-height: 1.9; }
.pied-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris);
  border-top: 1px solid var(--ligne);
  padding-block: 1.3rem 1.6rem;
}
.pied-bas .rec { color: var(--rouge); }
.pied-markleex { color: inherit; text-decoration: none; border-bottom: 1px solid var(--ligne); padding-bottom: 0.1em; }
.pied-markleex:hover { color: var(--os); border-bottom-color: var(--rouge); }

/* ---------- Révélations au scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .rev { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
  html.js .rev.vu { opacity: 1; transform: none; }
  html.js .rev:nth-child(2) { transition-delay: 0.08s; }
  html.js .rev:nth-child(3) { transition-delay: 0.16s; }
  html.js .rev:nth-child(4) { transition-delay: 0.24s; }
}
