/* ==========================================================================
   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: 24px;
  z-index: 50;
  width: min(1440px, calc(100% - 48px));
  margin: 24px auto 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  margin: 0;
  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;
  color: var(--fg);
}

.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(10px, 1.5vw, 22px);
  overflow-x: auto;
  scrollbar-width: none;
}

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

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

.site-nav a:hover,
.site-nav a:focus-visible {
  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: 25px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   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 h2 + p,
.terrains-copy {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  white-space: pre-line;
}

.card h3 {
  margin-top: 0;
}

.project-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border: 0;
  border-radius: 12px;
}

.shot {
  margin: 0 0 1.25rem;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: oklch(12% 0.02 265);
}

.project-card .stack {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font: 11px/1 var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0.5rem 0 1rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font: 10px/1.4 var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
}

.status-badge.is-live {
  color: var(--accent-bright);
  border-color: rgba(103, 232, 249, 0.4);
  background: rgba(103, 232, 249, 0.08);
}

.status-badge.is-demo {
  color: var(--secondary);
  border-color: rgba(168, 132, 255, 0.4);
  background: rgba(168, 132, 255, 0.08);
}

.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;
  /* Audit 2026-09-02 : le dégradé indigo-violet était le tell « IA » (gate 14 tastemaker).
     Retiré au profit d'une bordure accent unie sur fond sombre, comme sur la landing. */
  background: rgba(6, 8, 16, 0.55);
  border: 1px solid var(--accent);
  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;
}

/* --- Audit 2026-09-02 : pages secondaires.
   Pill « Contactez nous » dans la capsule (action au 1er écran, même pattern
   que la topbar de la landing), cibles tactiles ≥44 px, bouton d'envoi du
   formulaire aligné sur le gabarit des .cta, table des prix scrollable. --- */
.site-header .cta {
  margin-top: 0;
  padding: 11px 20px;
  border: 1px solid var(--accent);
  background: rgba(8, 12, 24, 0.35);
  color: var(--fg);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(58, 238, 221, 0.18);
}

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

/* Bouton d'envoi (contact) : sans span interne, il mesurait 22 px (audit) et
   posait son texte blanc sur le dégradé. On le traite en pastille sombre. */
button.cta {
  padding: 13px 26px;
  background: #060810;
}

button.cta:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

#contact-form {
  scroll-margin-top: 96px;
}

/* Table des tarifs : scroll horizontal borné au lieu du débordement de page
   (audit : 104 px de débordement X à 390 px, seul du site). */
.table-scroll {
  margin: 1.5rem 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-radius: 12px;
}

.table-scroll table {
  margin: 0;
  min-width: 560px;
}

/* --- Capsule mobile : mêmes règles que la topbar de la landing (≤800 px).
   Pill compact, menu déroulant sous la capsule, ☰ 44×44. --- */
@media (max-width: 800px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    margin: 12px auto 0;
  }

  .header-inner {
    gap: 14px;
  }

  .site-header .cta {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .menu {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
  }
}

@media (max-width: 360px) {
  .site-header .cta {
    display: none;
  }
}

.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 — identique à celui de la landing : deux lignes mono,
   pas de bande ni de bordure, conteneur aligné sur le .shell (1320 px).
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 28px 0 34px;
  color: rgba(255, 255, 255, 0.55);
  font: 11px/1.5 var(--font-mono);
  letter-spacing: 0.03em;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal a {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: 11px/1.5 var(--font-mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--accent);
}

@media (max-width: 800px) {
  .site-footer .wrap {
    width: min(100% - 32px, 1320px);
  }

  .footer-inner {
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   Menu mobile — déroulant aligné sur celui de la landing (≤800 px)
   -------------------------------------------------------------------------- */
@media (max-width: 800px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    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: 14px 8px;
    line-height: 1.6;
  }
}

/* --------------------------------------------------------------------------
   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;
  }
}