/* ==========================================================================
   VUCHE Labs · Refonte v2 « Orchestre » — pages secondaires
   Même langage visuel que la landing (mockup Open Design « vuchelabs HERO ») :
   canvas oklch sombre bleuté, accent cyan, violet en signal, micro-labels mono
   espacés, titres massifs en capitales, capsule de navigation translucide.
   Zéro téléchargement de police : stack système + mono système.
   ========================================================================== */

:root {
  --bg: oklch(10% 0.035 270);
  --surface: oklch(16% 0.025 265 / 0.72);
  --surface-solid: oklch(16% 0.025 265);
  --fg: oklch(98% 0.008 250);
  --muted: oklch(74% 0.018 260);
  --muted-2: oklch(62% 0.02 260);
  --border: oklch(68% 0.035 260 / 0.34);
  --border-strong: oklch(68% 0.035 260 / 0.55);
  --accent: oklch(83% 0.18 190);
  --accent-bright: #67e8f9;
  --secondary: oklch(70% 0.2 300);
  --success: oklch(78% 0.16 175);
  --danger: #ffb4ab;
  --font-display: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background: var(--bg);
}

body {
  font: 400 16px/1.6 var(--font-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(58, 238, 221, 0.28);
  color: var(--fg);
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 24px, 1160px);
  }
}

/* --------------------------------------------------------------------------
   En-tête — capsule translucide, même langage que la topbar du mockup.
   Sticky (pas fixed) : les pages de contenu restent lisibles sous la capsule.
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin-top: 16px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-name {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.logo-name em {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.2em;
  color: #67e8f9;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.8);
}

.menu {
  display: none;
  border: 0;
  background: transparent;
  color: var(--fg);
  font-size: 22px;
  line-height: 1;
  padding: 6px 10px;
}

/* --------------------------------------------------------------------------
   Contenu éditorial
   -------------------------------------------------------------------------- */
.container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 5rem;
}

.container.wide {
  max-width: 62rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 2rem;
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font: 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs [aria-current] {
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid color-mix(in oklab, var(--accent), transparent 35%);
  border-radius: 999px;
  color: var(--accent);
  font: 10px/1 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.kicker {
  color: var(--secondary);
  font: 11px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--fg);
}

h1 {
  margin: 15px auto 12px;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 em,
h1 span {
  color: var(--accent);
  font-style: normal;
}

h2 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
  text-transform: uppercase;
}

h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.lead {
  max-width: 42rem;
  margin: 1.25rem 0 2rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

p {
  margin-bottom: 1rem;
  color: var(--muted);
  text-wrap: pretty;
}

strong {
  color: var(--fg);
  font-weight: 700;
}

ul {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
  list-style: none;
}

ul li {
  position: relative;
  margin-bottom: 0.65rem;
  color: var(--muted);
}

ul li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.62em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.5);
}

blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1.25rem;
  margin: 1.75rem 0;
  color: var(--muted-2);
  font-style: italic;
  font-size: 0.9375rem;
}

.highlight {
  background: rgba(34, 211, 238, 0.07);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.highlight p {
  color: var(--fg);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Profil (page À propos)
   -------------------------------------------------------------------------- */
.profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  margin: 1.75rem 0 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
}

.profile img {
  width: 200px;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.18);
}

.profile-body h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  text-transform: none;
}

.profile-role {
  margin: 0 0 1rem;
  color: var(--accent);
  font: 11px/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .profile {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Composants
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}

.card h3 {
  margin-top: 0;
}

.box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}

.box h3 {
  margin-top: 0;
}

.box p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--accent);
  margin: 1rem 0 0.25rem;
}

.price-note {
  font-size: 0.875rem;
  color: var(--muted-2);
}

.range {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted-2);
  margin-left: 0.4rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 1.5px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #8b5cf6, #9333ea);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(58, 238, 221, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 26px;
  border-radius: 999px;
  background: #060810;
  color: #fff;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(58, 238, 221, 0.3);
}

.cta svg {
  width: 16px;
  height: 16px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.price-card {
  background: rgba(34, 211, 238, 0.07);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
}

.price-card .val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
}

.price-card .lbl {
  font-size: 0.8125rem;
  color: var(--muted-2);
  margin-top: 0.25rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

th,
td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  color: var(--muted-2);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

td {
  color: var(--muted);
}

td:first-child {
  color: var(--fg);
  font-weight: 600;
  min-width: 150px;
}

td a {
  color: var(--accent);
}

td a:hover {
  color: var(--accent-bright);
}

.winner {
  color: var(--accent);
  font-weight: 700;
}

.disclaimer {
  font-size: 0.8125rem;
  color: var(--muted-2);
  font-style: italic;
  margin-top: 0.5rem;
}

/* --- Formulaires --- */
.field-label {
  display: block;
  margin-bottom: 0.4rem;
  font: 11px/1.2 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 12px 13px;
  color: var(--fg);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input::placeholder {
  color: var(--muted-2);
}

.input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(58, 238, 221, 0.12);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.25rem 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.consent input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.form-note {
  font-size: 0.875rem;
  color: var(--muted-2);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

/* --- Blog --- */
.article-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.article-card:hover {
  border-color: rgba(34, 211, 238, 0.45);
  transform: translateY(-2px);
}

.article-card .date {
  font: 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.6rem;
}

.article-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.article-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 0;
}

.article-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  background: rgba(34, 211, 238, 0.08);
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 0.2rem 0.7rem;
  border-radius: 9999px;
  margin-top: 0.75rem;
  font-weight: 600;
}

.post-date {
  font: 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 1.25rem 0 0.25rem;
}

/* --- Voir aussi & retour --- */
.see-also {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.see-also h3 {
  font: 11px/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1rem;
}

.see-also-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.see-also-grid a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.see-also-grid a:hover {
  border-color: rgba(34, 211, 238, 0.45);
  transform: translateY(-2px);
}

.see-also-grid strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.see-also-grid span {
  font-size: 0.8125rem;
  color: var(--muted-2);
}

.back {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted-2);
}

.back a {
  color: var(--accent);
}

.back a:hover {
  color: var(--accent-bright);
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(4, 7, 18, 0.82);
  padding: 3rem 0 2.5rem;
  margin-top: 2rem;
}

.foot-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 760px) {
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.foot-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fg);
}

.foot-brand em {
  color: var(--accent);
  font-style: normal;
}

.foot-desc {
  font-size: 0.875rem;
  color: var(--muted-2);
  margin-top: 0.75rem;
  max-width: 20rem;
}

.foot-col-title {
  font: 11px/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.75rem;
}

.foot-links {
  list-style: none;
  padding: 0;
}

.foot-links li {
  margin-bottom: 0.5rem;
}

.foot-links li::before {
  display: none;
}

.foot-links a {
  color: var(--muted-2);
  font-size: 0.875rem;
}

.foot-links a:hover {
  color: var(--accent);
}

.foot-legal {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--muted-2);
}

.foot-legal a {
  color: var(--muted-2);
}

.foot-legal a:hover {
  color: var(--accent);
}

.foot-copy {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   Menu mobile
   -------------------------------------------------------------------------- */
@media (max-width: 920px) {
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(10, 13, 27, 0.96);
    backdrop-filter: blur(18px);
  }

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

  .site-nav a {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .menu {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   Réduction de mouvement
   -------------------------------------------------------------------------- */
@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;
  }
}