/* La Malinery — site vitrine. Mêmes couleurs que l'application. */
:root {
  --bg: #0a0a0c;
  --bg-2: #101116;
  --card: #161922;
  --card-2: #1f242d;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f6;
  --muted: #9ca3af;
  --magenta: #d946ef;
  --red: #ef4444;
  --cyan: #22d3ee;
  --lime: #a3e635;
  --amber: #fbbf24;
  --grad: linear-gradient(135deg, var(--magenta), var(--red));
  --grad-logo: linear-gradient(90deg, #22d3ee, #a3e635 35%, #d946ef 65%, #ef4444);
  --radius: 22px;
  --display: "Unbounded", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 6.4vw, 5.2rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.accent { color: var(--magenta); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 14px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d1d5db; max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.center { text-align: center; margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--magenta); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 40px -10px rgba(217, 70, 239, 0.7); }
.btn--primary:hover { box-shadow: 0 14px 50px -8px rgba(217, 70, 239, 0.9); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.2); color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { border-color: var(--magenta); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* En-tête */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, .header.is-open { background: rgba(10, 10, 12, 0.86); backdrop-filter: blur(14px); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 1.1rem; letter-spacing: 0.02em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 18px rgba(124, 58, 237, 0.35); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: #d1d5db; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: #fff; background: rgba(217, 70, 239, 0.16); }
.nav .btn { margin-left: 10px; padding: 10px 20px; color: #fff; }
.burger { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform 0.3s, opacity 0.3s; }
.header.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(10, 10, 12, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    z-index: -1;
  }
  .header.is-open .nav { transform: none; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 80px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 12, 0.92) 0%, rgba(10, 10, 12, 0.7) 45%, rgba(10, 10, 12, 0.15) 100%), linear-gradient(180deg, transparent 55%, var(--bg) 100%); }
.hero h1 { max-width: 13ch; }
.hero .lead { margin-bottom: 30px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

.page-hero { padding: 170px 0 70px; position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 520px;
  z-index: -1;
  background: radial-gradient(50% 60% at 30% 40%, rgba(217, 70, 239, 0.28), transparent 70%), radial-gradient(40% 50% at 80% 30%, rgba(239, 68, 68, 0.18), transparent 70%);
}
.page-hero h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); max-width: 18ch; }

/* Barres du logo animées */
.bars { display: inline-flex; align-items: center; gap: 5px; height: 34px; }
.bars i { width: 5px; border-radius: 4px; background: var(--grad-logo); background-size: 800% 100%; animation: eq 1.1s ease-in-out infinite; }
.bars i:nth-child(1) { height: 30%; background-position: 0 0; animation-delay: -0.2s; }
.bars i:nth-child(2) { height: 55%; background-position: 16% 0; animation-delay: -0.5s; }
.bars i:nth-child(3) { height: 80%; background-position: 33% 0; animation-delay: -0.1s; }
.bars i:nth-child(4) { height: 100%; background-position: 50% 0; animation-delay: -0.7s; }
.bars i:nth-child(5) { height: 80%; background-position: 66% 0; animation-delay: -0.3s; }
.bars i:nth-child(6) { height: 55%; background-position: 83% 0; animation-delay: -0.6s; }
.bars i:nth-child(7) { height: 30%; background-position: 100% 0; animation-delay: -0.4s; }
@keyframes eq { 50% { transform: scaleY(0.45); } }

/* Grilles & cartes */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  position: relative;
  background: linear-gradient(180deg, var(--card), #12141b);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.3s, border-color 0.3s;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(217, 70, 239, 0.4); }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(217, 70, 239, 0.14); color: var(--magenta); margin-bottom: 20px; }
.card__icon svg { width: 26px; height: 26px; }
.card--link { text-decoration: none; display: flex; flex-direction: column; }
.card--link .more { margin-top: auto; padding-top: 18px; font-weight: 700; color: var(--magenta); }
.card .num { font-family: var(--display); font-size: 0.9rem; font-weight: 900; color: var(--magenta); display: block; margin-bottom: 12px; }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(163, 230, 53, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3e635' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Bloc split (texte + visuel) */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* Téléphones & laptop */
.phones { position: relative; display: flex; justify-content: center; align-items: center; gap: 18px; perspective: 1400px; min-height: 520px; }
.phone {
  width: min(250px, 42vw);
  aspect-ratio: 390 / 844;
  border-radius: 38px;
  padding: 9px;
  background: linear-gradient(145deg, #2a2f3a, #0d0f14);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 60px -10px rgba(217, 70, 239, 0.35);
  flex: none;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; }
.phone--tilt-l { transform: rotateY(18deg) rotateZ(-2deg) translateY(30px); }
.phone--tilt-r { transform: rotateY(-18deg) rotateZ(2deg) translateY(30px); }
.phones .phone + .phone { margin-left: -60px; }
.phones .phone:nth-child(2) { z-index: 2; }
@media (max-width: 560px) { .phones { min-height: 0; } .phones .phone + .phone { margin-left: -90px; } .phone { width: 46vw; } }
.laptop { position: relative; perspective: 1600px; }
.laptop__screen {
  border-radius: 16px 16px 4px 4px;
  padding: 10px;
  background: linear-gradient(180deg, #2a2f3a, #14161c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 90px -30px rgba(0, 0, 0, 0.9), 0 0 80px -20px rgba(217, 70, 239, 0.35);
  transform: rotateX(6deg);
  transform-origin: bottom;
}
.laptop__screen img { border-radius: 8px; width: 100%; }
.laptop__base { height: 16px; margin: 0 -5%; border-radius: 0 0 18px 18px; background: linear-gradient(180deg, #3a3f4a, #16181e); }

/* Bandeau défilant */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #0d0e12; padding: 20px 0; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.7rem); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; color: var(--magenta); font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.stat { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.stat strong { display: block; font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: 0.95rem; }

/* Fondatrices */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.person { display: flex; gap: 18px; align-items: center; }
.avatar { flex: none; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 1.8rem; color: #fff; background: var(--grad); }
.avatar--alt { background: linear-gradient(135deg, var(--cyan), var(--magenta)); }

/* Événements (chargés depuis l'app) */
.events { display: grid; gap: 18px; }
.event {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(217, 70, 239, 0.08), transparent 60%), var(--card);
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s;
}
.event:hover { border-color: rgba(217, 70, 239, 0.5); transform: translateX(4px); }
.event__date { text-align: center; padding: 12px 6px; border-radius: 16px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); }
.event__date b { display: block; font-family: var(--display); font-size: 2rem; line-height: 1; }
.event__date small { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: var(--magenta); font-size: 0.72rem; }
.event h3 { margin-bottom: 4px; }
.event__meta { color: var(--muted); font-size: 0.93rem; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.event__price { font-family: var(--display); font-weight: 800; white-space: nowrap; }
.event__price small { display: block; font-family: var(--sans); font-weight: 600; color: var(--magenta); font-size: 0.8rem; text-align: right; }
.event--skeleton { height: 118px; background: linear-gradient(90deg, var(--card) 25%, var(--card-2) 50%, var(--card) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 640px) {
  .event { grid-template-columns: 70px 1fr; gap: 16px; }
  .event__price { grid-column: 2; }
  .event__price small { text-align: left; }
  .event__date b { font-size: 1.6rem; }
}

/* Étapes */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { counter-increment: step; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step::before { content: "0" counter(step); font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1; display: block; margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Offres */
.offer { display: flex; flex-direction: column; }
.offer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.offer__price { font-family: var(--display); font-weight: 900; font-size: 1.9rem; line-height: 1; white-space: nowrap; text-align: right; }
.offer__price small { display: block; font-family: var(--sans); font-size: 0.78rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.offer__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.tag { font-size: 0.8rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.offer .btn { margin-top: auto; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 0 24px; transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(217, 70, 239, 0.4); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--magenta); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #d1d5db; padding-bottom: 20px; margin: 0; }

/* Vidéo */
.video-frame { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 100px -30px rgba(217, 70, 239, 0.45); background: #000; }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; }

/* Appel à l'action */
.cta {
  position: relative;
  border-radius: 32px;
  padding: clamp(40px, 7vw, 80px);
  overflow: hidden;
  background: radial-gradient(70% 120% at 0% 0%, rgba(217, 70, 239, 0.45), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(239, 68, 68, 0.35), transparent 60%), var(--card);
  border: 1px solid rgba(217, 70, 239, 0.3);
}
.cta h2 { max-width: 20ch; }

/* Formulaire */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #0e1015;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(217, 70, 239, 0.18); }
.hp { position: absolute; left: -5000px; }
.form-status { padding: 14px 18px; border-radius: 14px; font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: rgba(163, 230, 53, 0.12); border: 1px solid rgba(163, 230, 53, 0.4); color: #d9f99d; }
.form-status.is-error { display: block; background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.4); color: #fecaca; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .card__icon { margin: 0; width: 44px; height: 44px; border-radius: 13px; flex: none; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 70px 0 34px; background: #08080a; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); font-weight: 800; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: #d1d5db; }
.footer a:hover { color: var(--magenta); }
.footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.88rem; }

/* Textes longs (mentions légales) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose p, .prose li { color: #d1d5db; }
.todo { background: rgba(251, 191, 36, 0.14); color: #fde68a; padding: 1px 6px; border-radius: 6px; font-weight: 600; }

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Logo d'accueil : à droite sur grand écran, en filigrane derrière le texte sur mobile */
.hero__logo { position: absolute; z-index: -1; top: 50%; right: max(4vw, calc((100vw - 1200px) / 2)); width: min(40vw, 540px); aspect-ratio: 1; transform: translateY(-46%); }
.hero__logo::before { content: ""; position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, 0.45), rgba(217, 70, 239, 0.18) 45%, transparent 70%); filter: blur(30px); animation: glow 6s ease-in-out infinite; }
.hero__logo img { position: relative; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 30px 90px rgba(30, 20, 110, 0.6); animation: float 8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes glow { 50% { opacity: 0.6; transform: scale(0.94); } }
@media (min-width: 961px) {
  .hero::before { background: linear-gradient(180deg, transparent 60%, var(--bg) 100%); }
  .hero { align-items: center; }
  .hero h1 { font-size: clamp(2.6rem, 4.4vw, 4.4rem); max-width: 11ch; }
  .hero .lead { max-width: 46ch; }
}
@media (max-width: 960px) {
  .hero__logo { top: 96px; right: -18vw; width: 88vw; transform: none; opacity: 0.32; }
}

/* Bouton « Espace équipe » (accès au back-office de l'app) */
.btn--sm svg { width: 16px; height: 16px; }
.nav .btn--sm { padding: 9px 16px; font-size: 0.9rem; }
.brand, .nav a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1240px) {
  .nav .btn--sm { padding: 9px 12px; }
  .nav .btn--sm .btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Bouton « Une idée ? » (prévisualisation uniquement) : onglet discret collé au bord droit */
.fb { position: fixed; right: 0; top: 58%; z-index: 80; font-family: var(--sans); }
.fb__tab { display: flex; align-items: center; gap: 8px; padding: 10px 8px 10px 10px; border: 1px solid rgba(217, 70, 239, 0.35); border-right: 0; border-radius: 12px 0 0 12px; background: rgba(18, 20, 25, 0.82); backdrop-filter: blur(10px); color: var(--muted); cursor: pointer; opacity: 0.75; transition: opacity 0.2s, padding 0.2s; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.fb__tab svg { width: 18px; height: 18px; color: var(--magenta); }
.fb__tab span { display: none; font-size: 0.8rem; font-weight: 700; color: var(--text); }
.fb__tab:hover, .fb__tab:focus-visible { opacity: 1; padding-right: 12px; }
.fb__tab:hover span, .fb__tab:focus-visible span { display: inline; }
.fb__panel { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: min(22rem, calc(100vw - 24px)); display: grid; gap: 10px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #121419; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.fb__panel[hidden], .fb__tab[hidden] { display: none; }
.fb__head { display: flex; justify-content: space-between; gap: 12px; }
.fb__head strong { display: block; font-family: var(--display); font-size: 0.9rem; }
.fb__head small { display: block; color: var(--muted); font-size: 0.75rem; margin-top: 2px; }
.fb__close { background: none; border: 0; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.fb__kinds { display: flex; gap: 6px; }
.fb__kinds button { flex: 1; padding: 7px 4px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 0.75rem; font-weight: 700; cursor: pointer; }
.fb__kinds button[aria-pressed="true"] { border-color: rgba(217, 70, 239, 0.6); background: rgba(217, 70, 239, 0.15); color: var(--text); }
.fb__name, .fb__msg { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text); padding: 10px 12px; font: inherit; font-size: 0.9rem; }
.fb__msg { min-height: 110px; resize: vertical; }
.fb__name:focus, .fb__msg:focus { outline: none; border-color: var(--magenta); }
.fb__hint { margin: 0; font-size: 0.72rem; color: var(--muted); }
.fb__status { margin: 0; font-size: 0.8rem; color: var(--magenta); min-height: 1em; }
.fb__status:empty { display: none; }
.fb__actions { display: flex; justify-content: flex-end; gap: 8px; }
.fb__cancel { background: none; border: 0; color: var(--muted); font-weight: 600; cursor: pointer; }
.fb__send { padding: 9px 18px; font-size: 0.85rem; }
@media print { .fb { display: none; } }

/* Comparaison des prix avec le marché (page Accompagnement) */
.compare { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.compare::before { content: ""; position: absolute; inset: -40% -40% auto auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 70, 239, 0.18), transparent 70%); pointer-events: none; }
.compare__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.compare h3 { margin-bottom: 4px; }
.compare__what { font-size: 0.88rem; margin: 0; }
.compare__pct { flex-shrink: 0; display: grid; justify-items: center; padding: 8px 12px; border-radius: 14px; background: var(--grad); color: #fff; font-size: 0.68rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.04em; box-shadow: 0 10px 30px -8px rgba(217, 70, 239, 0.7); }
.compare__pct b { font-family: var(--display); font-size: 1.15rem; letter-spacing: 0; text-transform: none; }
.compare__price { margin: 22px 0 18px; font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: 1; }
.compare__price small { display: block; margin-top: 8px; font-family: var(--sans); font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.compare__price small sup { font-size: 0.65em; }
.compare__bars { display: grid; gap: 14px; padding: 16px; border-radius: 14px; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); }
.compare__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; font-size: 0.82rem; }
.compare__row > span:first-child { font-weight: 700; }
.compare__row b { font-family: var(--display); font-size: 0.9rem; }
.compare__row--market > span:first-child, .compare__row--market b { color: var(--muted); font-weight: 600; }
.compare__track { grid-column: 1 / -1; position: relative; display: block; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.compare__bar { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 999px; background: var(--grad); box-shadow: 0 0 16px rgba(217, 70, 239, 0.55); }
.compare__range { position: absolute; inset: 0 0 0 var(--from); border-radius: 999px; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0 6px, rgba(255, 255, 255, 0.12) 6px 12px); }
.compare__save { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin: 18px 0 12px; padding: 8px 14px; border-radius: 999px; background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.35); color: #86efac; font-size: 0.88rem; font-weight: 600; }
.compare__save svg { width: 16px; height: 16px; }
.compare__save b { color: #dcfce7; }
.compare__note { font-size: 0.85rem; margin: 0; }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 28px; }
.perk { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.perk svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--magenta); }
.perk b { display: block; font-size: 0.95rem; }
.perk span { display: block; font-size: 0.82rem; color: var(--muted); }
.footnote { margin: 22px 0 0; font-size: 0.78rem; color: var(--muted); max-width: 900px; }

/* Bandeau prix (accueil) */
.pricebar { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding: 26px 30px; border-radius: var(--radius); border: 1px solid rgba(217, 70, 239, 0.3); background: linear-gradient(120deg, rgba(217, 70, 239, 0.1), rgba(239, 68, 68, 0.06)); }
.pricebar__big { font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.1; }
.pricebar__big small { display: block; font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-top: 6px; }
.pricebar__points { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 0.92rem; flex: 1; }
.pricebar__points span::before { content: "✓ "; color: var(--magenta); font-weight: 700; }
.pricebar .btn { margin-left: auto; }
@media (max-width: 700px) { .pricebar .btn { margin-left: 0; } }

/* Réseau (aperçu de l'annuaire), paliers tarifaires, formules, devis */
.network { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.member { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); text-decoration: none; color: var(--text); transition: border-color 0.2s, transform 0.2s; }
.member:hover { border-color: rgba(217, 70, 239, 0.45); transform: translateY(-2px); }
.member__avatar { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; overflow: hidden; background: var(--grad); font-family: var(--display); font-weight: 900; color: #fff; }
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member__body { display: grid; gap: 3px; min-width: 0; }
.member__body b { font-family: var(--display); font-size: 0.98rem; }
.member__body small { color: var(--muted); font-size: 0.82rem; }
.member__tags { color: var(--magenta); font-size: 0.78rem; font-weight: 600; }
.member__badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(245, 158, 11, 0.15); color: #fbbf24; font-family: var(--sans); font-size: 0.68rem; vertical-align: middle; }
.tier-list { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.tier-list li { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tier-list li:last-child { border-bottom: 0; }
.tier-list b { font-family: var(--display); }
.tier-list span { color: var(--muted); text-align: right; }
.offer__price small { display: block; }
.offer--featured { border-color: rgba(217, 70, 239, 0.55); box-shadow: 0 20px 60px -20px rgba(217, 70, 239, 0.5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.join h2 { margin: 6px 0 4px; font-size: 1.6rem; }
.quote { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 6px; margin: 0; display: grid; gap: 12px; }
.quote[hidden] { display: none; }
.quote legend { padding: 0 6px; font-weight: 700; font-size: 0.85rem; color: var(--magenta); }

/* ─── Mise à jour de novembre 2026 : nouveaux blocs du document « Contenu_Site_MALINERY » ─── */

/* Sous-titre d'une carte de l'accueil */
.card__sub { margin: 0 0 10px; font-weight: 700; color: var(--text); }

/* Bandeau sur fond coloré (« Tu es créatif ? », bas de la page Artistes) */
.cta--band { background: var(--grad); border-color: transparent; }
.cta--band .lead { color: rgba(255, 255, 255, 0.92); }
.btn--light { background: #fff; color: #0a0a0c; }
.btn--light:hover { box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.6); }

/* Photos */
.photo { margin: 0; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: 0 40px 100px -40px rgba(217, 70, 239, 0.5); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 4 / 5; max-width: 460px; justify-self: center; width: 100%; }
/* Petites vignettes : images en basse définition, jamais agrandies */
.thumbs { display: flex; gap: 12px; margin-top: 28px; }
.thumbs img { width: 120px; height: 170px; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }

/* Fiches de la page Artistes */
.artists { display: grid; gap: 28px; }
.artist { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(22px, 4vw, 44px); align-items: start; }
.artist__media { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--card-2); }
.artist__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.artist__blank { width: 100%; height: 100%; display: grid; place-items: center; background: var(--grad); font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 7vw, 4.5rem); color: #fff; }
.artist__body h2 { margin: 0 0 6px; }
.artist__meta { margin: 0 0 18px; font-weight: 700; color: var(--magenta); }
.artist__body p { color: #d1d5db; }
.artist__tags { color: var(--muted) !important; font-weight: 600; }
.artist__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.artist__gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
@media (max-width: 760px) {
  .artist { grid-template-columns: 1fr; }
  .artist__media { max-width: 420px; }
}

/* Tarifs */
.offer__flag { margin: 0 0 10px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; color: var(--magenta); }
.offer__alt { margin: 0 0 14px; font-size: 0.9rem; }
.offer--featured { border-color: rgba(217, 70, 239, 0.55); box-shadow: 0 30px 80px -40px rgba(217, 70, 239, 0.7); }
/* Avantage annoncé, pas encore disponible dans l'application */
.soon { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(251, 191, 36, 0.14); color: #fde68a; font-size: 0.72rem; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.faq--wide { max-width: none; }
.table-scroll { overflow-x: auto; padding-bottom: 20px; }
.price-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.92rem; }
.price-table th, .price-table td { padding: 12px 10px; border-top: 1px solid var(--line); text-align: center; vertical-align: top; }
.price-table thead th { border-top: 0; font-family: var(--display); font-size: 0.82rem; }
.price-table tbody th { text-align: left; font-weight: 600; width: 34%; }
.price-table td { color: #d1d5db; }
/* Prestations à la carte : nom et description à gauche, tarif à droite */
.menu { list-style: none; margin: 14px 0 0; padding: 0; display: grid; }
.menu li { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.menu li:first-child { border-top: 0; }
.menu b { display: block; }
.menu span { display: block; margin-top: 3px; color: var(--muted); font-size: 0.88rem; }
.menu em { flex: none; max-width: 46%; text-align: right; font-style: normal; font-weight: 700; color: var(--text); }
.footer__bottom a { color: var(--muted); text-decoration: none; }
.footer__bottom a:hover { color: var(--text); }
/* Carte d'abonnement : le prix sous le nom (quatre cartes côte à côte, peu de largeur) */
.offer__head--stack { flex-direction: column; gap: 10px; }
.offer__head--stack .offer__price { text-align: left; display: flex; align-items: baseline; gap: 8px; }
.offer__head--stack .offer__price small { margin: 0; }
.summary__more { font-weight: 500; font-size: 0.9rem; }
/* Tableaux de comparaison : sur téléphone, le tableau défile dans son cadre sans élargir la page */
.faq--wide { grid-template-columns: minmax(0, 1fr); }
.faq--wide details { min-width: 0; }

/* Blog : articles lus dans l'application */
.articles { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 900px) { .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.article { border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 22px; padding: 26px; background: rgba(255, 255, 255, 0.02); min-width: 0; }
.article h3 { margin: 6px 0 10px; }
.article__rubrique { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--magenta); margin: 0; }
.article summary { cursor: pointer; font-weight: 600; color: var(--magenta); margin-top: 6px; }
.article__corps { margin-top: 16px; }
.article__corps h4 { margin: 22px 0 8px; font-size: 1.05rem; }
.article__corps p, .article__corps li { color: rgba(255, 255, 255, 0.72); line-height: 1.65; }
.article__corps ul { padding-left: 20px; margin: 0 0 14px; }
.article__corps li { margin-bottom: 6px; }
a.card--lien { display: block; color: inherit; text-decoration: none; cursor: pointer; }
#articles-filtre { margin-top: 18px; }

/* Bandeau affiché pendant l'aperçu d'un brouillon (lien ouvert depuis le back-office) */
.apercu-bandeau { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 200; max-width: calc(100vw - 32px); padding: 10px 18px; border-radius: 999px; background: #fbbf24; color: #1c1917; font-size: 0.9rem; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); text-align: center; }
