/* LF2P Prod — site monopage, direction artistique inspirée de blancdunil.com */

:root {
  --noir: #000;
  --or: #c7ad7f;
  --or-fonce: #a98f5f;
  --bleu: #2d1b84; /* bleu du logo LF2P */
  --bleu-vif: #5b4bff;
  --ardoise: #3c4547;
  --gris: #959596;
  --blanc: #fff;
  --blanc-casse: #f8f7fb;
  --entete: 80px;
  --titre: "Montserrat", "Avenir Next", Avenir, sans-serif;
  --texte: "Archivo Narrow", "Arial Narrow", Arial, sans-serif;
  --elan: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: var(--entete);
  background: var(--blanc);
  color: var(--ardoise);
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--bleu); }

p { margin: 0 0 1em; }

section[id], div[id] { scroll-margin-top: var(--entete); }

/* les blocs qui arrivent par le côté ne doivent pas élargir la page */
main { overflow-x: clip; }

/* ---------- En-tête ---------- */

.entete {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--entete);
  background: var(--noir);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 50;
}

.entete .logo img { height: 62px; width: auto; transition: transform 0.4s var(--elan); }

.entete .logo:hover img { transform: scale(1.06) rotate(-2deg); }

.entete nav { display: flex; gap: 26px; }

.entete nav a {
  position: relative;
  color: var(--or);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 6px 0;
  transition: color 0.25s;
}

.entete nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--elan);
}

.entete nav a:hover,
.entete nav a.actif { color: var(--blanc); }

.entete nav a:hover::after,
.entete nav a.actif::after { transform: scaleX(1); }

.progression {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--bleu-vif), var(--or));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.burger {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: var(--or);
  transition: transform 0.3s, opacity 0.3s;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Diaporama d'ouverture ---------- */

.hero {
  position: relative;
  height: calc(100vh - var(--entete));
  min-height: 480px;
  overflow: hidden;
  background: var(--noir);
}

.diapo {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.diapo.active { opacity: 1; animation: travelling 8s ease-out forwards; }

@keyframes travelling {
  from { transform: scale(1.14); }
  to { transform: scale(1); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.cartels {
  position: absolute;
  z-index: 2;
  top: 34px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 92%;
}

.titre-hero { margin: 0; font: inherit; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

.cartel-noir,
.cartel-or { animation: cartel 0.9s var(--elan) both; }

.cartel-or { animation-delay: 0.25s; }

/* Résilience Prod devient LF2P Prod : les deux logos, en grand, sur les photos d'accueil */
.annonce-marques {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 58%;
  translate: -50% -50%;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 30px 54px 24px;
  background: rgba(0, 0, 0, 0.84);
  border-top: 3px solid var(--or);
  text-align: center;
  animation: annonce 1s var(--elan) 0.7s both;
}

.annonce-marques .logos { display: flex; align-items: center; justify-content: center; gap: 34px; }

.annonce-marques img { height: clamp(64px, 10vw, 128px); width: auto; }

.fleche-or { position: relative; flex: none; width: 64px; height: 2px; background: var(--or); }

.fleche-or::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -7px;
  border-top: 2px solid var(--or);
  border-right: 2px solid var(--or);
  transform: rotate(45deg);
}

.annonce-marques p {
  margin: 18px 0 0;
  color: var(--or);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(14px, 1.6vw, 19px);
}

.annonce-marques strong { color: var(--blanc); font-weight: 400; }

@keyframes annonce {
  from { opacity: 0; scale: 0.92; }
  to { opacity: 1; scale: 1; }
}

@keyframes cartel {
  from { transform: translateX(-105%); }
  to { transform: none; }
}

.cartel-noir {
  margin: 0;
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(26px, 4.6vw, 46px);
  line-height: 1.15;
  text-transform: uppercase;
  padding: 6px 16px 6px 44px;
}

.cartel-or {
  margin: 0;
  background: var(--or);
  color: var(--blanc);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.3;
  padding: 11px 40px 11px 44px;
}

.hero-points {
  position: absolute;
  z-index: 2;
  left: 44px;
  bottom: 34px;
  display: flex;
  gap: 10px;
}

.hero-points button {
  width: 46px;
  height: 22px;
  padding: 10px 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.hero-points button::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--blanc) 50%, rgba(255, 255, 255, 0.35) 50%) 100% 0 / 200% 100%;
}

.hero-points button.active::before { animation: jauge 6s linear forwards; }

@keyframes jauge { to { background-position: 0 0; } }

.descendre {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  width: 38px;
  height: 38px;
  margin-left: -19px;
  border-radius: 50%;
  background: var(--or);
  animation: rebond 2.2s ease-in-out infinite;
  transition: background 0.25s;
}

.descendre:hover { background: var(--bleu); }

.descendre::after,
.chevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -7px 0 0 -5px;
  border-right: 2px solid var(--blanc);
  border-bottom: 2px solid var(--blanc);
  transform: rotate(45deg);
}

@keyframes rebond {
  0%, 100% { transform: none; }
  50% { transform: translateY(9px); }
}

/* ---------- Sections ---------- */

.section { padding: 90px 24px; }

.section.casse { background: var(--blanc-casse); }

.contenu { max-width: 980px; margin: 0 auto; }

.contenu.large { max-width: 1180px; }

.centre { text-align: center; }

.surtitre {
  margin: 0 0 12px;
  color: var(--or-fonce);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
}

.surtitre b {
  font-weight: 400;
  color: var(--bleu-vif);
  font-variant-numeric: tabular-nums;
}

.surtitre b::after { content: " /"; color: var(--or); }

.titre {
  margin: 0;
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(23px, 3.1vw, 34px);
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--bleu);
}

.sous-titre {
  margin: 34px 0 12px;
  font-family: var(--titre);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--bleu);
}

.chevron {
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  margin: 18px auto 40px;
  border-radius: 50%;
  background: var(--or);
}

.chevron::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 190px;
  height: 1px;
  margin-left: -95px;
  background: linear-gradient(90deg, transparent, var(--bleu) 30%, transparent 30%, transparent 70%, var(--bleu) 70%, transparent);
  transform: scaleX(0);
  transition: transform 1s var(--elan) 0.3s;
}

.vu .chevron::before,
html:not(.js) .chevron::before { transform: none; }

.or { color: var(--or-fonce); }

.accroche { font-size: 20px; color: var(--or-fonce); }

.logo-page { width: 190px; margin: 0 auto 26px; }

.bouton {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  padding: 11px 30px;
  background: var(--or);
  color: var(--blanc);
  border: 0;
  font-family: var(--texte);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
}

.bouton::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bleu);
  transform: translateX(-101%);
  transition: transform 0.45s var(--elan);
}

.bouton:hover::before,
.bouton:focus-visible::before { transform: none; }

/* ---------- Mises en page ---------- */

.deux {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.deux.haut { align-items: start; }

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

.scinde {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.scinde .texte { padding: 80px 8%; align-self: center; }

.scinde .image { position: relative; overflow: hidden; min-height: 320px; }

.scinde .image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--elan);
}

.scinde:hover .image img { transform: scale(1.06); }

.liste-coches { list-style: none; margin: 0 0 1.2em; padding: 0; }

.liste-coches li { padding-left: 28px; position: relative; }

.liste-coches li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--or);
}

.liste-points { margin: 0 0 1.2em; padding-left: 20px; }

.liste-points li::marker { color: var(--or); }

/* ---------- L'équipe : deux cartes ; un clic ouvre la fiche complète dans une fenêtre ---------- */

.equipe { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }

.ouvrir-membre {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  padding: 34px 24px 28px;
  background: var(--blanc-casse);
  border: 0;
  border-top: 3px solid var(--or);
  font: inherit;
  color: inherit;
  text-align: center;
  cursor: pointer;
  transition: transform 0.4s var(--elan), box-shadow 0.4s, border-color 0.3s;
}

.ouvrir-membre:hover,
.ouvrir-membre:focus-visible { transform: translateY(-8px); box-shadow: 0 18px 44px rgba(45, 27, 132, 0.18); border-top-color: var(--bleu); outline: 0; }

.rond { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 5px solid var(--blanc); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); transition: transform 0.5s var(--elan); }

.ouvrir-membre:hover .rond { transform: scale(1.06); }

.ouvrir-membre .nom,
.fenetre-membre .nom {
  margin: 20px 0 6px;
  font-family: var(--titre);
  font-weight: 300;
  font-size: 23px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--bleu);
}

.ouvrir-membre .role { color: var(--or-fonce); text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; line-height: 1.5; min-height: 3em; }

.ouvrir-membre .voir {
  position: relative;
  margin-top: 16px;
  padding: 9px 22px;
  background: var(--or);
  color: var(--blanc);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  transition: background 0.3s;
}

.ouvrir-membre:hover .voir { background: var(--bleu); }

.fenetre-membre {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  padding: 40px 44px 30px;
  border: 0;
  border-top: 4px solid var(--or);
  background: var(--blanc);
  color: var(--ardoise);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.fenetre-membre[open] { animation: fenetre 0.45s var(--elan); }

.fenetre-membre::backdrop { background: rgba(5, 3, 15, 0.82); }

@keyframes fenetre {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
}

.fenetre-membre header { display: flex; align-items: center; gap: 26px; margin-bottom: 24px; }

.fenetre-membre .rond { width: 120px; height: 120px; flex: none; }

.fenetre-membre .nom { margin-top: 0; font-size: 28px; }

.fenetre-membre .surtitre { margin: 0 0 14px; font-size: 13px; }

.fenetre-membre .fermer {
  position: absolute;
  top: 8px;
  right: 14px;
  background: none;
  border: 0;
  color: var(--or-fonce);
  font: 300 38px/1 var(--titre);
  cursor: pointer;
  transition: color 0.25s, transform 0.3s var(--elan);
}

.fenetre-membre .fermer:hover { color: var(--bleu); transform: rotate(90deg); }

.atouts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }

.atouts li {
  border: 1px solid #cfc9ea;
  color: var(--bleu);
  padding: 1px 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.texte-membre p:last-child { margin-bottom: 0; }

/* ---------- Photos : tirages, zoom au survol, inclinaison 3D ---------- */

.tirage {
  margin: 0;
  background: var(--blanc);
  padding: 9px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(var(--penche, 0deg));
  transition: transform 0.35s var(--elan), box-shadow 0.35s;
}

.tirage:hover {
  --penche: 0deg;
  box-shadow: 0 18px 44px rgba(45, 27, 132, 0.32);
}

/* Le film : tirage grand format, sans inclinaison pour garder les commandes utilisables */
.tirage.film video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #05030f; }

.penche-g { --penche: -2.2deg; }

.penche-d { --penche: 1.8deg; }

.tirage figcaption {
  padding-top: 8px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
}

.zoom { position: relative; overflow: hidden; height: 100%; }

.zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--elan);
}

.zoom::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 27, 132, 0.6), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.zoom:hover img,
a:hover .zoom img,
.tirage:hover .zoom img { transform: scale(1.09); }

.zoom:hover::after,
a:hover .zoom::after,
.tirage:hover .zoom::after { opacity: 1; }

.collage {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 60px;
}

/* ---------- Carrousels à faire défiler ---------- */

.defile { position: relative; }

.piste {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 24px;
  scrollbar-width: none;
  padding: 14px 24px 34px;
  cursor: grab;
}

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

.piste.glisse { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }

.piste.glisse * { pointer-events: none; }

.piste > * { flex: 0 0 auto; scroll-snap-align: start; }

.fleche {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  margin-top: -34px;
  border: 0;
  border-radius: 50%;
  background: var(--noir);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s var(--elan), opacity 0.25s;
}

.fleche:hover { background: var(--bleu); transform: scale(1.1); }

.fleche[disabled] { opacity: 0; pointer-events: none; }

.fleche::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  margin: -5px 0 0 -3px;
  border-left: 2px solid var(--or);
  border-bottom: 2px solid var(--or);
  transform: rotate(45deg);
}

.fleche.prec { left: 18px; }

.fleche.suiv { right: 18px; }

.fleche.suiv::after { margin-left: -7px; transform: rotate(-135deg); }

.vignette {
  position: relative;
  height: 400px;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ardoise);
  overflow: hidden;
  cursor: zoom-in;
}

.vignette img {
  height: 100%;
  width: auto;
  max-width: none;
  transition: transform 0.9s var(--elan), filter 0.5s;
}

.vignette::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(45, 27, 132, 0.75), transparent 55%);
  opacity: 0;
  transition: opacity 0.45s;
}

.vignette::after {
  content: "+";
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--blanc);
  border-radius: 50%;
  color: var(--blanc);
  font: 300 24px/36px var(--titre);
  text-align: center;
  opacity: 0;
  transform: translateY(14px) rotate(-90deg);
  transition: opacity 0.4s, transform 0.5s var(--elan);
}

.vignette:hover img { transform: scale(1.08); }

.vignette:hover::before { opacity: 1; }

.vignette:hover::after { opacity: 1; transform: none; }

.vignette span {
  position: absolute;
  z-index: 2;
  left: 68px;
  bottom: 22px;
  color: var(--blanc);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s 0.05s, transform 0.5s var(--elan) 0.05s;
}

.vignette:hover span { opacity: 1; transform: none; }

/* Fiches matériel */

.fiche {
  width: 270px;
  text-align: center;
  text-decoration: none;
  color: var(--ardoise);
}

.fiche .tirage { aspect-ratio: 1; margin-bottom: 18px; }

.fiche .zoom img { object-fit: contain; }

.fiche .zoom::after { display: none; }

.fiche h3,
.carte h3 {
  margin: 0;
  font-family: var(--titre);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  text-transform: uppercase;
  transition: color 0.25s;
}

.fiche:hover h3,
.carte a:hover h3 { color: var(--bleu); }

/* Cartes */

.carte { text-align: center; }

.carte .tirage { aspect-ratio: 4 / 3; margin-bottom: 20px; }

.carte h3 { font-size: 18px; }

.carte a { text-decoration: none; color: inherit; display: block; }

/* ---------- Bandeaux ---------- */

.citation {
  position: relative;
  padding: 120px 24px;
  background: var(--ardoise) center / cover no-repeat fixed;
  color: var(--blanc);
  text-align: center;
  overflow: hidden;
}

.citation::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.citation > * { position: relative; }

.citation .guillemet {
  position: absolute;
  font-family: Georgia, serif;
  font-size: 150px;
  line-height: 1;
  color: var(--or);
}

.citation .guillemet.ouvre { top: 14px; left: 4%; }

.citation .guillemet.ferme { bottom: -50px; right: 4%; }

.citation p {
  max-width: 820px;
  margin: 0 auto 8px;
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.5;
}

.citation .surtitre { color: var(--or); font-family: var(--texte); font-size: 16px; }

/* Chiffres sous les projecteurs */

.scene {
  position: relative;
  overflow: hidden;
  padding: 96px 24px;
  background:
    linear-gradient(rgba(91, 75, 255, 0.09) 1px, transparent 1px) 0 0 / 100% 46px,
    linear-gradient(90deg, rgba(91, 75, 255, 0.09) 1px, transparent 1px) 0 0 / 46px 100%,
    #05030f;
  color: var(--blanc);
  text-align: center;
}

.faisceau {
  position: absolute;
  top: -12%;
  left: var(--x);
  width: 30%;
  height: 135%;
  margin-left: -15%;
  background: linear-gradient(var(--teinte), transparent 78%);
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0;
  mix-blend-mode: screen;
  filter: blur(6px);
  animation: balayage var(--duree) ease-in-out infinite alternate;
}

@keyframes balayage {
  from { transform: rotate(var(--de)); }
  to { transform: rotate(var(--a)); }
}

.scene .trois { position: relative; }

.scene strong {
  display: block;
  font-family: var(--titre);
  font-weight: 300;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.scene span { text-transform: uppercase; letter-spacing: 0.1em; font-size: 15px; color: var(--or); }

/* Bandeau Akria : l'outil utilisé en production, sur fond de scène */

.bande-akria {
  position: relative;
  padding: 90px 24px;
  background:
    radial-gradient(ellipse 55% 70% at 22% 50%, rgba(255, 107, 0, 0.13), transparent 70%),
    linear-gradient(rgba(91, 75, 255, 0.09) 1px, transparent 1px) 0 0 / 100% 46px,
    linear-gradient(90deg, rgba(91, 75, 255, 0.09) 1px, transparent 1px) 0 0 / 46px 100%,
    #05030f;
  color: rgba(255, 255, 255, 0.9);
}

.bande-akria .contenu { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: center; }

.logo-akria { display: block; padding: 0 20px; transition: transform 0.5s var(--elan), filter 0.5s; }

.logo-akria:hover { transform: scale(1.05); filter: drop-shadow(0 0 26px rgba(255, 107, 0, 0.45)); }

.logo-akria img { width: 100%; max-width: 380px; margin: 0 auto; }

.bande-akria .titre { color: var(--blanc); margin-bottom: 22px; }

.bande-akria .surtitre { color: var(--or); }

.bande-akria .or { color: var(--or); }

.trio { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 26px 0 16px; padding: 0; }

.trio li { border-top: 2px solid #ff6b00; padding-top: 14px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.78); }

.trio strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--titre);
  font-weight: 400;
  font-size: 17px;
  text-transform: uppercase;
  color: var(--blanc);
}

/* Ruban de partenaires */

.ruban {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ruban-piste {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: ruban 38s linear infinite;
}

.ruban:hover .ruban-piste { animation-play-state: paused; }

@keyframes ruban { to { transform: translateX(calc(-50% - 11px)); } }

.ruban-piste div {
  width: 200px;
  height: 130px;
  background: var(--blanc);
  border: 1px solid #e6e3ef;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: transform 0.35s var(--elan), border-color 0.35s;
}

.ruban-piste div:hover { transform: translateY(-6px); border-color: var(--bleu); }

.ruban-piste div.sombre { background: var(--noir); border-color: var(--noir); }

.ruban-piste img { width: auto; max-height: 100%; object-fit: contain; }

/* ---------- Onglets, tarifs, dépliants ---------- */

.onglets-titres {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 34px 0 30px;
}

.onglets-titres button {
  padding: 10px 22px;
  background: var(--noir);
  color: var(--or);
  border: 0;
  font-family: var(--texte);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.onglets-titres button:hover,
.onglets-titres button[aria-selected="true"] { background: var(--bleu); color: var(--blanc); }

.onglet[hidden] { display: none; }

.onglet { animation: fondu 0.6s var(--elan); }

@keyframes fondu {
  from { opacity: 0; transform: translateY(16px); }
}

.tarifs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.tarif {
  position: relative;
  background: var(--noir);
  color: var(--blanc);
  text-align: center;
  padding: 40px 20px;
  overflow: hidden;
  transition: transform 0.4s var(--elan);
}

.tarif::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bleu-vif), var(--or));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--elan);
}

.tarif:hover { transform: translateY(-6px); }

.tarif:hover::before { transform: none; }

.tarif .surtitre { color: var(--or); }

.tarif strong {
  display: block;
  font-family: var(--titre);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.3;
}

.plus { border-top: 1px solid #dcd8ea; }

.plus:last-of-type { border-bottom: 1px solid #dcd8ea; }

.plus summary {
  position: relative;
  padding: 18px 44px 18px 0;
  font-family: var(--titre);
  font-size: 16px;
  text-transform: uppercase;
  color: var(--bleu);
  cursor: pointer;
  list-style: none;
}

.plus summary::-webkit-details-marker { display: none; }

.plus summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  margin-top: -16px;
  font: 300 28px/32px var(--titre);
  color: var(--or-fonce);
  transition: transform 0.4s var(--elan);
}

.plus[open] summary::after { transform: rotate(45deg); }

.plus[open] > :not(summary) { animation: fondu 0.5s var(--elan); }

/* ---------- Contact ---------- */

.coordonnees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }

.coordonnees a { color: var(--ardoise); text-decoration: none; font-size: 19px; transition: color 0.25s; }

.coordonnees a:hover { color: var(--bleu); }

.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.formulaire label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.formulaire .plein { grid-column: 1 / -1; }

.formulaire input,
.formulaire textarea {
  width: 100%;
  margin-top: 4px;
  padding: 11px 12px;
  border: 1px solid #d5d1e3;
  background: var(--blanc);
  color: var(--ardoise);
  font-family: var(--texte);
  font-size: 17px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.formulaire input:focus,
.formulaire textarea:focus {
  outline: 0;
  border-color: var(--bleu);
  box-shadow: 0 0 0 3px rgba(91, 75, 255, 0.18);
}

/* champ-piège anti-robots, invisible pour les visiteurs */
.formulaire .piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formulaire-etat { margin: 14px 0 0; min-height: 1.75em; color: var(--bleu); }

.formulaire-etat.erreur { color: #a3261d; }

.formulaire-note { margin: 4px 0 0; font-size: 14px; color: var(--gris); }

.carte-lieu { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(0.6); }

/* ---------- Visionneuse ---------- */

.visionneuse {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 3, 15, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.visionneuse.ouverte { opacity: 1; pointer-events: auto; }

.visionneuse img {
  max-width: 88vw;
  max-height: 86vh;
  border: 9px solid var(--blanc);
  transform: scale(0.94);
  transition: transform 0.45s var(--elan);
}

.visionneuse.ouverte img { transform: none; }

.visionneuse .fleche { margin-top: -24px; background: var(--bleu); }

.visionneuse .fermer {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: 0;
  color: var(--or);
  font: 300 40px/1 var(--titre);
  cursor: pointer;
}

/* ---------- Pied de page ---------- */

.pied {
  background: var(--noir);
  color: var(--gris);
  font-family: var(--titre);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.9;
  padding: 46px 28px 26px;
}

.pied-colonnes {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 34px;
  align-items: center;
}

.pied-colonnes > div { border-left: 2px dotted #555; padding-left: 20px; }

.pied-colonnes > div.pied-logo { border: 0; padding: 0; }

.pied .pied-titre {
  margin: 0 0 4px;
  color: var(--blanc);
  font-weight: 400;
  font-size: 15px;
  text-transform: uppercase;
}

.pied address { font-style: normal; }

.pied a { color: var(--gris); text-decoration: none; display: block; transition: color 0.25s, transform 0.25s; }

.pied a:hover { color: var(--or); transform: translateX(4px); }

.pied-logo img { height: 110px; width: auto; }

.pied-bas {
  max-width: 1180px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid #222;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 12px;
}

.pied-bas a { display: inline; }

/* ---------- Apparition au défilement ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--elan) var(--d, 0s), transform 0.9s var(--elan) var(--d, 0s);
}

.js .reveal.gauche { transform: translateX(-46px); }

.js .reveal.droite { transform: translateX(46px); }

.js .reveal.vu { opacity: 1; transform: none; }

.js .liste-coches li {
  opacity: 0;
  transform: translateX(22px);
  transition: opacity 0.6s var(--elan), transform 0.6s var(--elan);
  transition-delay: calc(var(--i, 0) * 80ms + 200ms);
}

.js .vu .liste-coches li,
.js .liste-coches.vu li { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */

@media (max-width: 1180px) {
  .burger { display: block; }

  .entete nav {
    position: fixed;
    top: var(--entete);
    left: 0;
    right: 0;
    background: var(--noir);
    flex-direction: column;
    gap: 0;
    padding: 6px 28px 22px;
    display: none;
  }

  .entete nav.ouvert { display: flex; animation: fondu 0.35s var(--elan); }

  .entete nav a { padding: 12px 0; border-top: 1px solid #222; font-size: 17px; }

  .entete nav a::after { display: none; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }

  .section { padding: 64px 16px; }

  .entete { padding: 0 16px; }

  .cartel-noir { padding-left: 16px; }

  .annonce-marques { top: 62%; padding: 22px 20px 18px; }

  .annonce-marques .logos { gap: 16px; }

  .fleche-or { width: 34px; }

  .cartel-or { padding-left: 16px; padding-right: 20px; }

  .hero-points { left: 16px; }

  .deux, .trois, .scinde, .collage, .tarifs, .coordonnees, .formulaire { grid-template-columns: 1fr; }

  .equipe { gap: 20px; }

  .ouvrir-membre { width: 100%; max-width: 340px; }

  .fenetre-membre { padding: 34px 20px 22px; }

  .fenetre-membre header { flex-direction: column; align-items: flex-start; gap: 16px; }

  .fenetre-membre .rond { width: 96px; height: 96px; }

  .deux { gap: 34px; }

  .scinde .texte { padding: 60px 16px; }

  .scinde .image { order: -1; }

  .bande-akria { padding: 64px 16px; }

  .bande-akria .contenu { grid-template-columns: 1fr; gap: 36px; }

  .logo-akria img { max-width: 240px; margin: 0; }

  .logo-akria { padding: 0; }

  .trio { grid-template-columns: 1fr; gap: 16px; }

  .citation { background-attachment: scroll; }

  .citation .guillemet { font-size: 90px; }

  .penche-g, .penche-d { --penche: 0deg; }

  .vignette { height: 280px; }

  .fiche { width: 220px; }

  .piste { padding-left: 16px; padding-right: 16px; scroll-padding: 0 16px; }

  .fleche { display: none; }

  .visionneuse .fleche { display: block; }

  .scene .trois { gap: 44px; }

  .pied-colonnes { grid-template-columns: 1fr; gap: 22px; }

  .pied-colonnes > div.pied-logo { order: -1; }
}

/* Page des mentions légales : deux liens toujours visibles, sans menu déroulant */
.entete nav.nav-simple { position: static; display: flex; flex-direction: row; gap: 22px; padding: 0; background: none; }

.entete nav.nav-simple a { padding: 6px 0; border: 0; font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .ruban { overflow-x: auto; }

  .faisceau { animation: none; }
}

/* Un tirage révélé retrouve son inclinaison (et une transition courte pour suivre la souris) */
.js .tirage.reveal.vu {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(var(--penche, 0deg));
  transition: transform 0.35s var(--elan), box-shadow 0.35s, opacity 0.9s var(--elan);
}
