/* ===== Site perso · DA "clair produit" =====
   Inspiration : homepage Cycle (fond blanc, halos cyan/bleu très dilués, Inter,
   titres presque noirs et serrés, accent bleu franc, cartes à filet fin). Zéro build.

   RÈGLES DU DESIGN SYSTEM (posées le 30/09/2026) — toute nouvelle valeur doit venir d'ici :
   · Espacements : --s1…--s9 = 4, 8, 12, 16, 24, 32, 48, 64, 96 px. Aucune marge ni aucun rembourrage hors échelle.
   · Texte : --t-xs 12 (tags, méta en capitales) · --t-sm 14 (UI, nav, labels) · --t-md 15 (texte de carte)
             · --t-lg 17 (texte courant long) · --t-xl 20 (chapô, titre de carte) · --t-2xl 24 (intertitre de récit).
     Titres : --t-hero (nom), --t-h1 (titre de page), --t-h2 (titre de section).
   · Arrondis : --r-md 12 (boutons, champs) · --r-lg 16 (cartes) · --r-xl 20 (panneau de chat) · --r-pill (pastilles).
   · Grille : largeur --wrap, gouttière --gutter, écart entre cartes --gap (24). Proportions : 5/7 titre + texte, 8/4 récit + fiche.
   · Sections : --section-y entre sections (96 desktop, 64 mobile). Un en-tête de section (label + titre) est suivi du contenu à --s7.
   · Cartes : rembourrage --s6 partout (--s5 pour les cartes compactes : précédent/suivant).
   · Exception assumée : l'intérieur du chat garde ses réglages validés à l'œil (tailles, animations). */

:root {
  --bg: #ffffff;
  --fg: #16171d;
  --muted-fg: #5b5f6b;
  --soft: #f8f6fd;
  --border: #e6e9f0;
  --accent: #2b44e7;                    /* bleu Cycle */
  --accent-soft: rgb(43 68 231 / .08);
  --cyan: #b6efff;
  --sky: #bcd8ff;
  --lilac: #dccfff;
  --peach: #ffd9c4;
  --pink: #ffd3e8;

  /* Espacements */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  /* Texte */
  --t-xs: 12px; --t-sm: 14px; --t-md: 15px; --t-lg: 17px; --t-xl: 20px; --t-2xl: 24px;
  --t-h2: clamp(2rem, 4.4vw, 3.2rem); --t-h1: clamp(2.4rem, 5vw, 3.6rem); --t-hero: clamp(3rem, 8vw, 5.4rem);
  /* Arrondis */
  --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-pill: 999px;
  --radius: var(--r-lg);
  /* Grille */
  --gutter: 24px; --gap: 24px; --section-y: var(--s9); --nav-h: 68px;
  --shadow: 0 1px 2px rgb(22 23 29 / .04), 0 8px 24px -12px rgb(22 23 29 / .10);
  --shadow-float: 0 2px 6px rgb(22 23 29 / .05), 0 18px 40px -16px rgb(43 68 231 / .22);
  --font: 'Inter', system-ui, sans-serif;
  --wrap: 72rem;
}
@media (max-width: 760px) { :root { --section-y: var(--s8); --gutter: 20px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
section { position: relative; padding: var(--section-y) 0; overflow: hidden; scroll-margin-top: var(--nav-h); }
section > .wrap { z-index: 1; }

/* ===== Halos ===== */
.haze { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(60px); z-index: 0; }
.haze.d1 { animation: drift-1 20s ease-in-out infinite; }
.haze.d2 { animation: drift-2 24s ease-in-out infinite; }
@keyframes drift-1 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(6%,4%,0) scale(1.06); } }
@keyframes drift-2 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-6%,-5%,0) scale(1.05); } }

/* ===== Typo ===== */
.label { display: inline-block; font-size: var(--t-sm); font-weight: 600; color: var(--accent); }
.h2 { font-size: var(--t-h2); margin-top: var(--s3); }
.h2 .soft { color: var(--muted-fg); }
.lead { font-size: var(--t-xl); line-height: 1.5; color: var(--muted-fg); max-width: 40rem; margin: var(--s4) 0 0; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; gap: var(--s2); height: 48px; padding: 0 var(--s5);
  border-radius: var(--r-md); font-weight: 600; font-size: var(--t-md); text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--fg); color: #fff; box-shadow: 0 8px 20px -10px rgb(22 23 29 / .5); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--border); background: #fff; color: var(--fg); }
.btn-outline:hover { background: var(--soft); }
.btn-sm { height: 40px; padding: 0 var(--s4); font-size: var(--t-sm); }


/* ===== Nav : marque à gauche, liens en capsule au centre, CTA à droite ===== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.nav.scrolled { background: rgb(255 255 255 / .8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--border); }
.nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--nav-h); }
.brand { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; text-decoration: none; justify-self: start; }
.nav-links { display: flex; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; display: block; padding: var(--s2) var(--s3); font-size: var(--t-sm); font-weight: 500; color: var(--muted-fg); text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s ease; }
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--fg); }
.nav-links a::after { display: none; }   /* pas de barre sous le lien actif (Antho, 01/10) */
.nav-right { justify-self: end; display: flex; align-items: center; gap: var(--s2); }
.burger { display: none; width: 40px; height: 40px; border-radius: var(--r-md); border: 1px solid var(--border); background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--fg); transition: transform .25s ease, top .25s ease; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.nav.open .burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav.open .burger span:nth-child(2) { top: 19px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav .wrap { grid-template-columns: 1fr auto; }
  .burger { display: block; }
  .nav-links { position: absolute; top: var(--nav-h); left: var(--s4); right: var(--s4); flex-direction: column; gap: var(--s1); padding: var(--s2); border-radius: var(--r-lg); background: rgb(255 255 255 / .97); border: 1px solid var(--border); box-shadow: var(--shadow-float);
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: var(--s3) var(--s4); border-radius: var(--r-md); font-size: 16px; }
  .nav-links a::after { display: none; }
  .nav-links a.active { background: var(--soft); }
}
@media (max-width: 420px) { .nav-right .btn-sm span { display: none; } .nav-right .btn-sm { padding: 0 var(--s3); } }

/* ===== Hero ===== */
/* Pleine hauteur d'écran au chargement, avec un plancher pour les petits écrans ; le contenu est centré verticalement */
.hero { min-height: max(680px, 100vh); min-height: max(680px, 100svh); display: flex; flex-direction: column; justify-content: center; padding: var(--s9) 0 var(--s7); text-align: center; }
.hero > .wrap { width: 100%; }
.pill-eyebrow { display: inline-block; font-size: var(--t-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: var(--t-hero); margin: var(--s5) 0 0; letter-spacing: -0.045em; }
.tagline { margin: var(--s4) auto 0; max-width: 46rem; font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.tagline em { font-style: normal; color: var(--accent); white-space: nowrap; }   /* l'expression en couleur ne se coupe jamais */
.hero .sub { margin: var(--s3) auto 0; max-width: 36rem; color: var(--muted-fg); }
/* Les deux boutons s'écartent l'un de l'autre et du chat quand l'écran a de la place */
.hero .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s3) clamp(var(--s3), 3vw, var(--s7)); margin-top: clamp(var(--s6), 6vh, var(--s8)); }

/* Bouton principal centré, annoté à la main : note manuscrite + flèche dessinée qui pointe vers lui */
.cta-zone { position: relative; }
/* La flèche part de sous le texte (vers son milieu), plonge en courbe et finit à l'horizontale contre le bouton */
.hand-note { position: absolute; left: calc(50% + 113px); top: -22px; width: 300px; height: 80px; pointer-events: none; }
.hand-arrow { position: absolute; left: 0; top: 22px; width: 110px; height: 44px; overflow: visible; }
.hand-arrow path { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hand-text { position: absolute; left: 62px; top: 0; font-family: 'Caveat', cursive; font-size: 21px; font-weight: 600; line-height: 1; color: var(--accent); white-space: nowrap; transform: rotate(-5deg); transform-origin: left center; }
@media (max-width: 760px) {
  .hand-note { position: static; display: flex; justify-content: center; width: 100%; height: auto; margin-top: var(--s2); }
  .hand-text { position: static; }
  .hand-arrow { display: none; }
  .hand-text { font-size: 22px; transform: rotate(-3deg); }
}

/* Écrans bas (portables 13", fenêtres réduites) : on compacte pour garder les boutons au-dessus de la ligne de flottaison */
@media (max-height: 820px) and (min-width: 761px) {
  .hero { padding: calc(var(--nav-h) + var(--s4)) 0 var(--s6); }
  .hero h1 { font-size: clamp(2.8rem, 6.4vw, 4.4rem); margin-top: var(--s4); }
  .tagline { margin-top: var(--s3); font-size: clamp(1.05rem, 1.9vw, 1.3rem); }
  .hero .sub { margin-top: var(--s2); font-size: var(--t-md); }
  .stage { margin-top: var(--s5); }
  .stage-inner { height: 250px; }
  .stage .avatar { width: 100px; height: 100px; }
  .hero .actions { margin-top: clamp(var(--s5), 3vh, var(--s6)); }
}

/* Scène du chatbot (prototype d'interface) */
.stage { max-width: 60rem; margin: var(--s6) auto 0; transition: height .42s cubic-bezier(.2, .7, .2, 1); }
.stage-inner { position: relative; height: 300px; }
.stage.resizing { overflow: hidden; }
.stage .avatar-wrap { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); }
.stage .avatar-wrap::before { content: ""; position: absolute; inset: -26px; border-radius: 50%; background: radial-gradient(circle, rgb(43 68 231 / .16), transparent 70%); }
.stage .avatar { position: relative; width: 124px; height: 124px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-float); }

.bubble {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-float); font-size: 14px; font-weight: 500; white-space: nowrap;
  cursor: pointer; font-family: inherit; color: var(--fg); transition: transform .25s ease, opacity .3s ease, scale .3s ease;
  animation: float 7s ease-in-out infinite;
}
.bubble i { display: none; }
.bubble.b1, .bubble.b3 { border-bottom-right-radius: 4px; }   /* coin pointé vers la photo */
.bubble.b2, .bubble.b4 { border-bottom-left-radius: 4px; }
.bubble:hover { transform: rotate(0deg) scale(1.04) !important; }
.bubble.b1 { left: 4%;  top: 8%;  transform: rotate(-4deg); animation-delay: 0s; }
.bubble.b2 { right: 3%; top: 4%;  transform: rotate(3deg);  animation-delay: -2s; }
.bubble.b3 { left: 9%;  top: 58%; transform: rotate(3deg);  animation-delay: -4s; }
.bubble.b4 { right: 7%; top: 54%; transform: rotate(-3deg); animation-delay: -1s; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.ask {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; width: min(30rem, 100%);
  padding: 8px 8px 8px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-float);
}
.ask input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--fg); }
.ask input::placeholder { color: #9aa0ad; }
.ask .soon { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; }

@media (max-width: 760px) {
  .stage { margin-top: var(--s6); }
  .stage-inner { height: auto; display: flex; flex-direction: column; align-items: center; gap: var(--s3); padding-bottom: var(--s6); }
  /* Photo en tête, puis les questions empilées proprement */
  .float-layer { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
  .stage .avatar-wrap { position: relative; left: auto; top: auto; transform: none; width: fit-content; order: -1; margin-bottom: 8px; }
  .bubble { position: static; transform: none !important; animation: none; white-space: normal; max-width: 100%; text-align: left; }
  .ask { position: static; transform: none; margin-top: 8px; }
  .hero .actions { margin-top: var(--s3); }
}


/* Transition vers le chat */
.stage.leaving .bubble { opacity: 0; scale: .85; pointer-events: none; }
.stage.leaving .avatar-wrap { opacity: 0; transition: opacity .25s ease .25s; }
.stage.chatting .stage-inner { height: auto; min-height: 300px; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 8px 0 32px; }
.stage.chatting .float-layer { display: none; }
.stage.chatting .ask { position: relative; left: auto; bottom: auto; transform: none; }
.chat { width: min(40rem, 100%); text-align: left; background: rgb(255 255 255 / .85); backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-float); padding: 18px 20px 20px; }
.stage.chatting .chat { animation: chat-in .55s cubic-bezier(.2, .7, .2, 1) backwards; }
.stage:not(.chatting):not(.leaving) .float-layer { animation: fade-in .45s ease backwards; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.chat[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.chat-title { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted-fg); }
.chat-title i { width: 7px; height: 7px; border-radius: 50%; background: #2fbf8a; box-shadow: 0 0 0 3px rgb(47 191 138 / .18); }
.reset { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--accent); cursor: pointer; }
.msgs { display: flex; flex-direction: column; gap: 14px; max-height: 370px; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; }
.msg { animation: msg-in .3s ease backwards; }
/* Fondu + léger zoom : ne déborde jamais du cadre (un translateY faisait apparaître la barre de défilement de .msgs) */
@keyframes msg-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.msg.user { transform-origin: right bottom; align-self: flex-end; max-width: 80%; padding: 10px 16px; border-radius: 16px 16px 4px 16px; background: var(--fg); color: #fff; font-size: 15px; font-weight: 500; }
.msg.bot { transform-origin: left top; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.msg.bot .pic { animation: pic-in .4s cubic-bezier(.2, .7, .2, 1) backwards; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 8px -2px rgb(43 68 231 / .35); }
.msg.bot .txt { padding: 10px 16px; border-radius: 4px 16px 16px 16px; background: #fff; border: 1px solid var(--border); font-size: 15px; line-height: 1.55; color: var(--fg); }
.msg.bot .txt a { color: var(--accent); text-decoration: none; }
.msg.bot .txt .w { opacity: 0; transition: opacity .28s ease; }
.msg.bot .txt .w.on { opacity: 1; }
.msg.bot .txt a:hover { text-decoration: underline; }
.thinking { display: inline-flex; align-items: center; gap: 10px; color: var(--muted-fg); font-size: 14px; }
.thinking .dots3 { display: inline-flex; gap: 4px; }
.thinking .dots3 span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .3; animation: blink 1.2s infinite; }
.thinking .dots3 span:nth-child(2) { animation-delay: .2s; }
.thinking .dots3 span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-left: 46px; }
.chips:empty { display: none; }
.chip { border: 1px solid #e4defd; background: #f5f2ff; color: #3d3a66; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; animation: msg-in .3s ease backwards; transition: background-color .2s; }
.chip:hover { background: #ebe5ff; }
.ask .send { flex: none; border: 0; cursor: pointer; padding: 8px 16px; border-radius: 999px; background: var(--fg); color: #fff; font: inherit; font-size: 13px; font-weight: 600; }
@keyframes pic-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* ===================== MODE IA : la cassure graphique ===================== */
:root { --mono: 'JetBrains Mono', ui-monospace, monospace; --neon1: #4f6bff; --neon2: #8b5cf6; --neon3: #22d3ee; }
.ai-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: #07080d;
  clip-path: circle(0px at var(--ax, 50%) var(--ay, 50%)); transition: clip-path .8s cubic-bezier(.55, 0, .25, 1); }
.hero.ai .ai-layer { clip-path: circle(var(--ar, 150vmax) at var(--ax, 50%) var(--ay, 50%)); transition: clip-path 1.25s cubic-bezier(.65, 0, .3, 1); }
.ai-grid { position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .055) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .055) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 50% 42%, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 42%, #000 25%, transparent 72%); }
.ai-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.ai-glow.g1 { width: 44rem; height: 32rem; top: -14rem; left: -12rem; background: var(--neon1); animation: drift-1 18s ease-in-out infinite; }
.ai-glow.g2 { width: 40rem; height: 32rem; bottom: -16rem; right: -12rem; background: var(--neon2); animation: drift-2 22s ease-in-out infinite; }
.ai-scan { position: absolute; left: 0; right: 0; top: -160px; height: 160px; background: linear-gradient(to bottom, transparent, rgb(120 150 255 / .16) 70%, rgb(160 190 255 / .45) 98%, transparent); opacity: 0; }
.hero.ai .ai-scan { animation: scan 1.5s .25s cubic-bezier(.4, 0, .2, 1) 1 both; }
@keyframes scan { 0% { opacity: 1; transform: translateY(0); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(calc(100vh + 320px)); } }

/* Sortie du mode IA : écran cathodique qu'on éteint (le fond se tasse en ligne, s'illumine, se réduit en point) */
.hero.ai-off .ai-layer { animation: crt-off .8s cubic-bezier(.6, 0, .4, 1) forwards; }
@keyframes crt-off {
  0%   { clip-path: inset(0 0 0 0); background-color: #07080d; opacity: 1; }
  45%  { clip-path: inset(calc(50% - 2px) 0 calc(50% - 2px) 0); background-color: #10142a; }
  60%  { clip-path: inset(calc(50% - 1px) 0 calc(50% - 1px) 0); background-color: #c9d5ff; }
  85%  { clip-path: inset(calc(50% - 1px) calc(50% - 2px) calc(50% - 1px) calc(50% - 2px)); background-color: #fff; opacity: 1; }
  100% { clip-path: inset(50% 50% 50% 50%); background-color: #fff; opacity: 0; }
}
/* Pendant l'extinction, seul le nom reste : textes, champ et boutons attendent la fin de l'écran cathodique */
.hero.ai-off .ai-hide { opacity: 0; transform: translateY(-10px); pointer-events: none; transition: none; }
.hero.closing .ask, .hero.closing .chat { opacity: 0; pointer-events: none; transition: opacity .3s ease; }   /* chat et champ s'estompent ensemble */
.hero.ai-off .ask { opacity: 0; pointer-events: none; transition: none; }   /* opacité seule : le champ est centré par un transform */
.hero.ai-off .ai-layer > * { opacity: 0; transition: opacity .25s ease; }   /* grille et lueurs s'éteignent d'abord */
.hero.ai-off h1 .name { animation: glitch-out .5s steps(1) 1; }
@keyframes glitch-out {
  0%   { text-shadow: none; transform: none; clip-path: none; }
  15%  { text-shadow: -4px 0 #ff2e88, 4px 0 var(--neon3); transform: translate(-3px, 1px); clip-path: inset(55% 0 10% 0); }
  35%  { text-shadow: 3px 0 #ff2e88, -3px 0 var(--neon3); transform: translate(2px, -1px); clip-path: inset(5% 0 60% 0); }
  55%  { text-shadow: -2px 0 var(--neon3); transform: none; clip-path: none; }
  100% { text-shadow: none; transform: none; clip-path: none; }
}

/* Textes du hero : ce qui disparaît en mode IA */
.hero h1, .hero .wrap { transition: color .6s ease; }
.ai-hide { transition: opacity .45s ease .15s, transform .45s ease .15s; }
.hero.ai .ai-hide { opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.hero.ai-compact .ai-hide { display: none; }

/* L'étiquette reste en mode IA (le titre garde sa position) et passe en cyan sur fond sombre */
.pill-eyebrow { transition: color .6s ease; }
.hero.ai .pill-eyebrow { color: #8fdcff; }

/* Le nom : glitch RVB puis pastille IA */
.hero h1 .name { position: relative; display: inline-block; }
.hero.ai h1 { color: #f4f6ff; }
.hero.ai h1 .name { animation: glitch .6s steps(1) .15s 1; }
@keyframes glitch {
  0%   { text-shadow: none; transform: none; clip-path: none; }
  12%  { text-shadow: 4px 0 #ff2e88, -4px 0 var(--neon3); transform: translate(3px, -1px); }
  24%  { text-shadow: -5px 0 #ff2e88, 5px 0 var(--neon3); transform: translate(-4px, 2px); clip-path: inset(8% 0 58% 0); }
  36%  { text-shadow: 3px 0 #ff2e88, -3px 0 var(--neon3); transform: translate(2px, 0); clip-path: inset(62% 0 4% 0); }
  48%  { text-shadow: -2px 0 var(--neon3); transform: translate(-1px, -1px); clip-path: inset(30% 0 30% 0); }
  60%  { text-shadow: 2px 0 #ff2e88; transform: none; clip-path: none; }
  100% { text-shadow: none; transform: none; clip-path: none; }
}
/* « IAnthony » : un I apparaît devant le prénom, le I et le A passent en dégradé néon */
.hero h1 .ai-i, .hero h1 .ai-a { background: linear-gradient(135deg, var(--neon3), var(--neon1) 55%, var(--neon2)); -webkit-background-clip: text; background-clip: text; }
.hero h1 .ai-a { color: inherit; transition: color .5s ease, text-shadow .5s ease, filter .5s ease; }
.hero h1 .ai-i { display: inline-block; color: transparent; max-width: 0; opacity: 0; overflow: hidden; vertical-align: bottom;
  transform: translateY(-.35em); transition: max-width .45s cubic-bezier(.2, .7, .2, 1), opacity .2s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.hero.ai h1 .ai-i { max-width: .42em; opacity: 1; transform: none; animation: power-on .6s steps(1) .75s both;
  transition: max-width .5s cubic-bezier(.2, .7, .2, 1) .7s, opacity .1s ease .7s, transform .5s cubic-bezier(.2, .7, .2, 1) .7s; }
.hero.ai h1 .ai-a { color: transparent; filter: drop-shadow(0 0 18px rgb(99 102 241 / .55)); transition: color .4s ease .2s, filter .5s ease .6s; }  /* bascule pendant le glitch : pas de A sombre sur fond noir */
/* Clignotement d'allumage du I, façon écran qui démarre */
@keyframes power-on { 0% { opacity: 0; } 15% { opacity: 1; } 30% { opacity: .2; } 45% { opacity: 1; } 60% { opacity: .5; } 75%, 100% { opacity: 1; } }

/* Le chat en version sombre */
.hero.ai .chat { background: rgb(14 16 26 / .72); border-color: rgb(255 255 255 / .09); box-shadow: 0 0 0 1px rgb(79 107 255 / .12), 0 24px 60px -20px rgb(79 107 255 / .45); }
.hero.ai .chat-head { border-bottom-color: rgb(255 255 255 / .08); }
.hero.ai .chat-title { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: #9aa6c7; }
.hero.ai .reset { font-family: var(--mono); font-size: 12px; color: #9fb0ff; }
.hero.ai .msg.user { background: linear-gradient(135deg, var(--neon1), var(--neon2)); box-shadow: 0 8px 24px -10px rgb(99 102 241 / .7); }
.hero.ai .msg.bot .txt { background: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .09); color: #e7e9f3; }
.hero.ai .msg.bot .txt a { color: #9fb0ff; }
.hero.ai .msg.bot .pic { border-color: #1b1e2c; box-shadow: 0 0 0 1px rgb(79 107 255 / .5), 0 0 16px rgb(79 107 255 / .5); }
.hero.ai .thinking { font-family: var(--mono); font-size: 13px; color: #9aa6c7; }
.hero.ai .thinking .dots3 span { background: var(--neon3); }
.hero.ai .chip { background: rgb(79 107 255 / .1); border-color: rgb(120 140 255 / .32); color: #c9d2ff; }
.hero.ai .chip:hover { background: rgb(79 107 255 / .2); }
.hero .ask { transition: background-color .6s ease, border-color .6s ease, box-shadow .6s ease, opacity .45s ease .2s; }
.hero .ask input, .hero .ask .send { transition: background-color .6s ease, border-color .6s ease, color .6s ease, box-shadow .6s ease; }
.hero.ai .ask { background: rgb(255 255 255 / .05); border-color: rgb(255 255 255 / .12); box-shadow: 0 0 0 1px rgb(79 107 255 / .15), 0 12px 32px -14px rgb(79 107 255 / .5); }
.hero.ai .ask input { color: #eef0f8; }
.hero.ai .ask input::placeholder { color: #6f7896; }
.hero.ai .ask .send { background: #fff; color: #0b0c12; }

/* Chat en casque VR : autocollant détouré (bord blanc) en bas à droite, visible en mode IA */
.ai-cat { position: fixed; right: var(--s6); bottom: var(--s5); z-index: 60; border: 0; padding: 0; background: none; cursor: pointer; font: inherit;
  display: flex; flex-direction: column; align-items: flex-end; opacity: 0; transform: translateY(40px) rotate(8deg) scale(.8); pointer-events: none;
  transition: opacity .3s ease, transform .4s ease; }
body.ai-on .ai-cat { opacity: 1; transform: none; pointer-events: auto; transition: opacity .4s ease 1.4s, transform .6s cubic-bezier(.3, 1.6, .5, 1) 1.4s; }
.ai-cat .cat { width: 116px; height: 116px; overflow: visible; transform: rotate(-6deg);
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 12px 18px rgb(0 0 0 / .5));
  animation: cat-bob 3.2s ease-in-out infinite; transition: transform .25s ease; }
.ai-cat:hover .cat { transform: rotate(4deg) scale(1.06); }
.ai-cat .visor { animation: visor 2.4s ease-in-out infinite; }
.ai-cat .tail { transform-origin: 122px 146px; animation: tail 2.6s ease-in-out infinite; }
@keyframes cat-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes visor { 0%, 100% { opacity: 1; } 50% { opacity: .7; } }
@keyframes tail { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-10deg); } }
/* Bulle de pensée façon BD, reliée à la tête par deux petits ronds */
.thought { position: relative; margin: 0 var(--s7) var(--s4) 0; padding: var(--s3) var(--s4); border-radius: 22px; background: #fff; color: #0b0c12;
  font-size: var(--t-sm); font-weight: 600; white-space: nowrap; box-shadow: 0 10px 24px -10px rgb(0 0 0 / .55); pointer-events: none;
  opacity: 0; transform: translateY(8px) scale(.92); transform-origin: right bottom; transition: opacity .2s ease, transform .25s cubic-bezier(.3, 1.5, .5, 1); }
/* La bulle n'apparaît qu'au survol (ou au focus clavier) */
.ai-cat:hover .thought, .ai-cat:focus-visible .thought { opacity: 1; transform: none; }
.thought i { position: absolute; border-radius: 50%; background: #fff; }
.thought .t1 { width: 14px; height: 14px; right: 18px; bottom: -12px; }
.thought .t2 { width: 8px; height: 8px; right: 8px; bottom: -24px; }
.ai-cat:hover .thought { background: #eef1ff; } .ai-cat:hover .thought i { background: #eef1ff; }
.ai-cat:focus-visible { outline: 2px solid var(--neon3); outline-offset: 6px; border-radius: var(--r-lg); }
/* Le chat « mouline » pendant que le bot réfléchit : scan de visière, oreilles qui bougent (la bulle ne change pas) */
.ai-cat .scan { opacity: 0; }
.ai-cat.busy .scan { opacity: .75; animation: visor-scan 1s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes visor-scan { from { transform: translateX(0); } to { transform: translateX(100px); } }
.ai-cat.busy .visor { animation: visor 0.6s ease-in-out infinite; }
.ai-cat.busy .cat { animation: cat-bob 1.1s ease-in-out infinite; }
.ai-cat .ear { transform-box: fill-box; }
.ai-cat .ear-l { transform-origin: 80% 100%; } .ai-cat .ear-r { transform-origin: 20% 100%; }
.ai-cat.busy .ear-l { animation: ear-l .5s ease-in-out infinite alternate; }
.ai-cat.busy .ear-r { animation: ear-r .5s ease-in-out .25s infinite alternate; }
@keyframes ear-l { to { transform: rotate(-12deg); } }
@keyframes ear-r { to { transform: rotate(12deg); } }

/* Comportements du chat : se gratter la tête, toquer à l'écran (référence au trombone de Word) */
.ai-cat .paw-scratch, .ai-cat .paw-knock, .ai-cat .mouth-puzzled, .ai-cat .qmark { opacity: 0; }
.ai-cat .qmark { font: 800 30px var(--font); fill: #8fdcff; transform-box: fill-box; transform-origin: center bottom; }
.ai-cat .head { transform-box: view-box; transform-origin: 85px 124px; transition: transform .35s ease; }
.ai-cat .paw-scratch { transform-box: view-box; transform-origin: 112px 128px; }
.ai-cat .paw-knock { transform-box: fill-box; transform-origin: center; }
/* Se gratter la tête : tête penchée, patte qui frotte l'oreille, bouche ondulée, « ? » */
.ai-cat.scratch .head { transform: rotate(-8deg); }
.ai-cat.scratch .mouth { opacity: 0; }
.ai-cat.scratch .mouth-puzzled { opacity: 1; }
.ai-cat.scratch .paw-scratch { opacity: 1; animation: scratch .32s ease-in-out infinite alternate; }
.ai-cat.scratch .qmark { animation: qmark 2.6s ease both; }
@keyframes scratch { from { transform: rotate(-6deg); } to { transform: rotate(7deg); } }
@keyframes qmark { 0% { opacity: 0; transform: translateY(6px) scale(.6); } 15%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
/* Toquer à l'écran : la patte se plaque contre la vitre et tape trois fois */
.ai-cat.knock .paw-knock { animation: knock 1.5s ease both; }
@keyframes knock {
  0% { opacity: 0; transform: scale(.4) translateY(20px); }
  14% { opacity: 1; transform: scale(1); }
  20% { transform: scale(1.22); } 26% { transform: scale(1); }
  40% { transform: scale(1.22); } 46% { transform: scale(1); }
  60% { transform: scale(1.22); } 66% { transform: scale(1); }
  88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.5) translateY(20px); }
}
.ai-cat .toc { position: absolute; z-index: 2; font: 700 13px var(--mono); color: #fff; text-shadow: 0 0 10px rgb(143 220 255 / .9); opacity: 0; pointer-events: none; }
.ai-cat .tc1 { right: 98px; bottom: 70px; } .ai-cat .tc2 { right: 74px; bottom: 104px; } .ai-cat .tc3 { right: 106px; bottom: 100px; }
.ai-cat.knock .tc1 { animation: toc .45s ease-out .28s both; }
.ai-cat.knock .tc2 { animation: toc .45s ease-out .58s both; }
.ai-cat.knock .tc3 { animation: toc .45s ease-out .88s both; }
@keyframes toc { 0% { opacity: 0; transform: scale(.6); } 30% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: translateY(-14px) scale(1); } }

/* Au revoir : le chat fait coucou, puis s'efface en fondu avant l'extinction de l'écran */
.ai-cat .paw-wave { opacity: 0; transform-box: view-box; transform-origin: 58px 128px; }
.ai-cat.wave .paw-wave { opacity: 1; animation: wave .26s ease-in-out infinite alternate; }
.ai-cat.wave .head { transform: rotate(7deg); }
@keyframes wave { from { transform: rotate(-14deg); } to { transform: rotate(12deg); } }
body.ai-on .ai-cat.bye { opacity: 0; transform: none; transition: opacity .45s ease; }   /* simple fondu, le chat reste en place */
body.ai-on .ai-cat.bye .thought { opacity: 0; }

/* Mobile : le chat recouvrirait le champ et les suggestions, on le retire (choix d'Antho) */
@media (max-width: 760px) { .ai-cat { display: none; } }

/* Panneau d'explication technique */
.how-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: var(--s5); background: rgb(4 5 10 / .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; text-align: left; }
.how-backdrop[hidden] { display: none; }
.how-backdrop.open { opacity: 1; }
.how-card { position: relative; width: min(46rem, 100%); max-height: calc(100svh - 2 * var(--s5)); overflow-y: auto; padding: var(--s7); border-radius: var(--r-xl);
  background: #0b0d16; border: 1px solid rgb(255 255 255 / .09); color: #e7e9f3; box-shadow: 0 0 0 1px rgb(79 107 255 / .15), 0 40px 90px -30px rgb(79 107 255 / .55);
  transform: translateY(12px) scale(.98); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.how-backdrop.open .how-card { transform: none; }
.how-close { position: absolute; top: var(--s4); right: var(--s4); width: 36px; height: 36px; border-radius: var(--r-md); border: 1px solid rgb(255 255 255 / .12); background: rgb(255 255 255 / .04); color: #cfd6ee; font-size: 22px; line-height: 1; cursor: pointer; }
.how-close:hover { background: rgb(255 255 255 / .1); }
.how-kicker { font-family: var(--mono); font-size: var(--t-xs); color: #8fdcff; }
.how-card h2 { font-size: var(--t-2xl); color: #fff; margin-top: var(--s2); }
.how-card h3 { font-size: var(--t-sm); font-family: var(--mono); font-weight: 600; letter-spacing: .02em; color: #9aa6c7; margin: var(--s6) 0 var(--s4); }
.how-lead { margin: var(--s3) 0 0; font-size: var(--t-lg); line-height: 1.6; color: #b9c1da; max-width: 40rem; }

/* La boucle, en anneau : 4 étapes autour d'un cercle animé */
.ring { position: relative; width: min(100%, 560px); aspect-ratio: 1.35; margin: var(--s6) auto 0; }
.ring-svg { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); overflow: visible; }
.ring-svg circle { fill: none; stroke: var(--neon2); stroke-width: 2; stroke-dasharray: 7 7; opacity: .8; animation: dash 1.4s linear infinite; }
.ring-tip { fill: none; stroke: var(--neon3); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes dash { to { stroke-dashoffset: -14; } }
.ring-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; font-family: var(--mono); font-size: var(--t-xs); line-height: 1.5; color: #b69cff; }
.ring-node { position: absolute; width: 190px; display: flex; flex-direction: column; gap: var(--s1); padding: var(--s3) var(--s4); border-radius: var(--r-md); background: #11142200; background: #111422; border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 10px 30px -12px rgb(0 0 0 / .6); }
.ring-node span { font-family: var(--mono); font-size: var(--t-xs); color: #8fdcff; }
.ring-node b { font-size: var(--t-md); color: #fff; }
.ring-node small { font-size: 13px; line-height: 1.45; color: #9aa6c7; }
.ring-node.n1 { left: 50%; top: 0; transform: translate(-50%, -20%); }
.ring-node.n2 { right: 0; top: 50%; transform: translate(0, -50%); }
.ring-node.n3 { left: 50%; bottom: 0; transform: translate(-50%, 20%); }
.ring-node.n4 { left: 0; top: 50%; transform: translate(0, -50%); }
.how-foot { margin: var(--s7) 0 0; padding-top: var(--s4); border-top: 1px solid rgb(255 255 255 / .08); font-family: var(--mono); font-size: var(--t-xs); line-height: 1.6; color: #9aa6c7; text-align: center; }
@media (max-width: 760px) {
  .how-card { padding: var(--s6) var(--s5); }
  .ring { aspect-ratio: auto; width: 100%; display: flex; flex-direction: column; gap: var(--s4); margin-top: var(--s5); }
  .ring-svg, .ring-center { display: none; }
  .ring .ring-node { position: relative; width: 100%; left: auto; right: auto; top: auto; bottom: auto; transform: none; }
  .ring .ring-node:not(.n4)::after { content: "↓"; position: absolute; left: 50%; bottom: calc(-1 * var(--s4) - 2px); transform: translateX(-50%); color: var(--neon3); font-size: 14px; line-height: 1; }
  .ring .ring-node.n4::after { content: "↺ puis retour à 01"; display: block; margin-top: var(--s2); font-family: var(--mono); font-size: var(--t-xs); color: #b69cff; }
}

/* Le menu bascule aussi */
.nav .brand, .nav-links, .nav-links a, .nav .btn-sm, .burger { transition: color .6s ease, background-color .6s ease, border-color .6s ease, box-shadow .6s ease; }
body.ai-on .nav .brand { color: #f4f6ff; }
body.ai-on .nav.scrolled { background: rgb(7 8 13 / .75); box-shadow: 0 1px 0 rgb(255 255 255 / .06); }

body.ai-on .nav-links a { color: #9aa6c7; }
body.ai-on .nav-links a:hover, body.ai-on .nav-links a.active { color: #fff; }
body.ai-on .nav-links a::after { background: var(--neon3); }
body.ai-on .nav .btn-sm { background: #fff; color: #0b0c12; }
body.ai-on .burger { background: rgb(20 22 34 / .8); border-color: rgb(255 255 255 / .12); }
body.ai-on .burger span { background: #fff; }
@media (max-width: 900px) { body.ai-on .nav-links { background: rgb(14 16 26 / .97); border-color: rgb(255 255 255 / .1); } body.ai-on .nav-links a.active { background: rgb(255 255 255 / .06); } }

/* ===== Bandeau employeurs : « J'ai construit du produit chez » + logo qui défile verticalement ===== */
.logos { padding: var(--s7) 0; }
.logos-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s3) var(--s4); margin: 0; }
.logos-lead { font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.01em; color: var(--fg); }
.ticker { display: block; height: 72px; overflow: hidden; }
.ticker-track { list-style: none; margin: 0; padding: 0; animation: ticker-up 20.8s cubic-bezier(.65,0,.35,1) infinite; }
.ticker-track li { height: 72px; display: flex; align-items: center; gap: var(--s3); }
.ticker-track img, .logo-ph { flex: none; width: 48px; height: 48px; border-radius: var(--r-md); object-fit: cover; }
.ticker-track img.wide { width: auto; height: 36px; border-radius: 0; object-fit: contain; }   /* logo-texte : il porte déjà le nom */
.ticker-track img.wide.tall { height: 50px; }   /* Cagnarde : la ligne « STUDIO DE LA CAGNARDE » a besoin de hauteur */
.ticker-track img.wide.box { height: 44px; border-radius: var(--r-md); }   /* fond de couleur intégré (PagesJaunes, Paul & Malo) : on garde le cartouche */
.ticker-track .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.logo-ph { display: grid; place-items: center; background: var(--soft); border: 1px dashed var(--border); font-weight: 700; color: var(--muted-fg); }   /* en attente du logo */
.ticker-track b { font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.01em; color: var(--fg); white-space: nowrap; }
@keyframes ticker-up {
  0.00%, 10.25% { transform: translateY(-0px); }
  12.50%, 22.75% { transform: translateY(-72px); }
  25.00%, 35.25% { transform: translateY(-144px); }
  37.50%, 47.75% { transform: translateY(-216px); }
  50.00%, 60.25% { transform: translateY(-288px); }
  62.50%, 72.75% { transform: translateY(-360px); }
  75.00%, 85.25% { transform: translateY(-432px); }
  87.50%, 97.75% { transform: translateY(-504px); }
  100% { transform: translateY(-576px); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker { height: auto; }
  .ticker-track { animation: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--s5); }
  .ticker-track li[aria-hidden] { display: none; }
}

/* ===== Deux colonnes titre / contenu ===== */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--s6); } }

/* IA appliquée : liste à points façon Cycle */
.dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s5); }
.dots li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s4); align-items: start; }
.dots .d { width: 28px; height: 28px; border-radius: var(--s2); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; place-items: center; }
.dots .d::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); }
.dots h3 { font-size: var(--t-lg); letter-spacing: -0.02em; }
.dots p { margin: var(--s1) 0 0; color: var(--muted-fg); font-size: var(--t-md); }

/* Projets */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--s7); }
.page-body .projects { margin-top: 0; }
@media (max-width: 1000px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .projects { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.project { padding: var(--s6); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.project .kicker { font-size: var(--t-sm); font-weight: 600; color: var(--accent); }
.project h3 { font-size: var(--t-xl); margin: var(--s2) 0 var(--s3); }
.project p { margin: 0 0 var(--s4); font-size: var(--t-md); color: var(--muted-fg); }
.tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: auto; }
.tag { padding: var(--s1) var(--s3); border-radius: var(--r-pill); font-size: var(--t-xs); line-height: 1.4; font-weight: 500; background: #f1efff; border: 1px solid #e4defd; color: #3d3a66; }
.project .links { display: flex; gap: var(--s5); margin-top: var(--s5); }
.link-arrow { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--t-sm); font-weight: 600; color: var(--accent); text-decoration: none; transition: gap .2s; }
.link-arrow:hover { gap: var(--s3); }
.link-arrow svg { width: 14px; height: 14px; }
.project.upcoming { background: transparent; border-style: dashed; box-shadow: none; }
.project.upcoming:hover { transform: none; box-shadow: none; }
.pill-soon { align-self: flex-start; padding: var(--s1) var(--s3); border-radius: var(--r-pill); font-size: var(--t-xs); line-height: 1.4; font-weight: 600; background: var(--accent-soft); color: var(--accent); }

/* À propos */
.about-text p { margin: 0 0 var(--s5); font-size: var(--t-lg); line-height: 1.7; color: var(--muted-fg); }
.about-text strong { color: var(--fg); font-weight: 600; }

/* Fond des sections d'études de cas */
.cases-bg { background: var(--soft); }

/* ===== Parcours ===== */
.timeline { margin-top: var(--s7); }
.xp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); padding: var(--s6) 0; border-top: 1px solid var(--border); }
.xp:first-child { border-top: 0; }
.xp .when { font-size: var(--t-sm); font-weight: 500; color: var(--muted-fg); padding-top: var(--s1); }
.xp h3 { font-size: var(--t-xl); letter-spacing: -0.02em; }
.xp .co { font-weight: 600; color: var(--accent); margin-top: var(--s1); font-size: var(--t-md); }
.xp p { margin: var(--s3) 0 0; font-size: var(--t-md); color: var(--muted-fg); max-width: 60ch; }
@media (max-width: 900px) { .xp { grid-template-columns: 1fr; gap: var(--s2); } }

/* ===== Contact ===== */
.contact .panel { padding: var(--s7); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s7); }
.contact h2 { font-size: var(--t-h1); margin-top: var(--s3); letter-spacing: -0.04em; }
.contact .desc { margin: var(--s5) 0 var(--s6); max-width: 34rem; font-size: var(--t-lg); line-height: 1.7; color: var(--muted-fg); }
.contact .actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.contact h2 { margin-top: 0; }
.contact .desc { margin: var(--s5) 0 var(--s2); color: var(--fg); }
.contact .cta-line { margin: 0 0 var(--s5); font-size: var(--t-md); color: var(--muted-fg); }
.contact-facts { margin: 0; border-left: 1px solid var(--border); padding-left: var(--s6); display: flex; flex-direction: column; justify-content: center; gap: var(--s5); }   /* les faits, à plat */
.contact-facts dt { font-family: 'JetBrains Mono', monospace; font-size: var(--t-xs); color: var(--muted-fg); margin-bottom: 2px; }
.contact-facts dd { margin: 0; font-size: var(--t-md); font-weight: 500; color: var(--fg); }
@media (max-width: 900px) { .contact .panel { grid-template-columns: 1fr; padding: var(--s6) var(--s5); gap: var(--s5); } .contact-facts { border: 0; padding: 0; border-top: 1px solid var(--border); padding-top: var(--s5); } }

footer { border-top: 1px solid var(--border); padding: var(--s6) 0; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); align-items: center; }
footer small { font-size: var(--t-sm); color: var(--muted-fg); }

/* ===================== Pages intérieures ===================== */
.page-head { padding: calc(var(--nav-h) + var(--s8)) 0 var(--s7); position: relative; overflow: visible; }  /* les halos se fondent dans la page au lieu d'être coupés */
.page-head::before { content: ""; position: absolute; top: -20rem; left: -14rem; width: 50rem; height: 40rem; border-radius: 50%; background: radial-gradient(closest-side, var(--sky), transparent); opacity: .7; filter: blur(60px); z-index: 0; }
.page-head::after { content: ""; position: absolute; top: -16rem; right: -18rem; width: 46rem; height: 36rem; border-radius: 50%; background: radial-gradient(closest-side, var(--pink), var(--peach) 55%, transparent); opacity: .5; filter: blur(60px); z-index: 0; }
.page-head .wrap { z-index: 1; }
.page-head h1 { font-size: var(--t-h1); letter-spacing: -0.04em; margin-top: var(--s3); max-width: 22ch; }

.crumb { display: flex; width: fit-content; align-items: center; gap: var(--s2); margin-bottom: var(--s5); font-size: var(--t-sm); font-weight: 500; color: var(--muted-fg); text-decoration: none; transition: color .2s; }
.crumb:hover { color: var(--fg); }
.crumb svg { width: 15px; height: 15px; }
.page-body { padding: 0 0 var(--s8); overflow: visible; }
.page-body > .wrap > .label + .timeline { margin-top: var(--s5); }

/* Article (cas et projets) : récit à gauche, fiche à droite */
.article { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s8); align-items: start; }
.prose { max-width: 42rem; }
.prose h2 { font-size: var(--t-2xl); letter-spacing: -0.02em; margin: var(--s7) 0 var(--s3); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: var(--t-lg); line-height: 1.7; color: var(--muted-fg); }
.prose p { margin: 0 0 var(--s4); }
.prose ul, .prose ol { margin: 0 0 var(--s4); padding-left: var(--s5); }
.prose li { margin-bottom: var(--s2); }
.prose .actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.side { position: sticky; top: calc(var(--nav-h) + var(--s5)); padding: var(--s6); }
.facts { margin: 0; display: flex; flex-direction: column; gap: var(--s4); }
.facts dt { font-size: var(--t-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-fg); }
.facts dd { margin: var(--s1) 0 0; font-size: var(--t-md); color: var(--fg); }
.side .tags { margin-top: var(--s5); }
.result-block { display: flex; align-items: baseline; gap: var(--s5); margin-top: var(--s6); padding: var(--s5) var(--s6); border-radius: var(--radius); background: var(--soft); border: 1px solid var(--border); }
.result-block .big, .case-card .big { flex: none; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(90deg, var(--accent), #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-block p { margin: 0; font-size: var(--t-lg); color: var(--fg); }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; gap: var(--s6); } .side { position: static; } }
@media (max-width: 520px) { .result-block { flex-direction: column; gap: var(--s2); } }

/* Précédent / suivant */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding-bottom: var(--s8); }
.pager a { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.pager a:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.pager small { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--t-sm); font-weight: 600; color: var(--accent); }
.pager small svg { width: 14px; height: 14px; }
.pager span { font-weight: 600; letter-spacing: -0.01em; }
.pager .next { text-align: right; align-items: flex-end; }
@media (max-width: 620px) { .pager { grid-template-columns: 1fr; } }

/* Cartes de cas (liens) */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--s7); }
.page-body .case-grid { margin-top: 0; }
.case-card { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s6); text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.case-card .chapo { margin-bottom: var(--s5); }
.case-card .where { font-size: var(--t-sm); font-weight: 600; color: var(--accent); }
.case-card h3 { font-size: var(--t-xl); }
.case-card .chapo { margin: 0; color: var(--muted-fg); font-size: var(--t-md); }
.case-card-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: var(--s5); border-top: 1px solid var(--border); }
@media (max-width: 760px) { .case-grid { grid-template-columns: 1fr; } }

/* Cartes projet cliquables, liens « tout voir », lien vers le chat depuis le contact */
a.project { text-decoration: none; color: inherit; }
.project .link-arrow { margin-top: var(--s5); }
.more { margin: var(--s6) 0 0; }
.ask-link { display: inline-flex; align-items: center; gap: var(--s2); margin-top: var(--s5); font-size: var(--t-md); font-weight: 600; color: var(--accent); text-decoration: none; }
.ask-link svg { width: 18px; height: 18px; }
.ask-link:hover { text-decoration: underline; }

/* ===== Apparition ===== */
@keyframes slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.slide-up { animation: slide-up .8s ease backwards; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Preuves façon Vercel : titre fort d'un côté, colonne preuve de l'autre, en alternance ===== */
.proofs .wrap { display: flex; flex-direction: column; gap: calc(var(--s9) * 1.5); }
.proof { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); grid-template-areas: "title ." "visual side"; gap: var(--s6) var(--s8); align-items: start; }   /* visuel et colonne partent à la même hauteur */
.proof.flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-areas: ". title" "side visual"; }
.proof-title { grid-area: title; } .proof-visual { grid-area: visual; } .proof-side { grid-area: side; }
.proof-title { margin: 0; font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; color: var(--fg); text-wrap: balance; }   /* 2 lignes max sur desktop */
.proof-side { padding-top: 0; }
.proof-stat { margin: 0 0 var(--s6); font-size: var(--t-xl); line-height: 1.35; letter-spacing: -0.01em; color: var(--muted-fg); }
.proof-stat b { font-weight: 500; color: var(--fg); }
.proof-k { margin: 0 0 var(--s2); font-size: var(--t-sm); color: var(--muted-fg); }
.proof-side ul { list-style: none; margin: 0 0 var(--s5); padding: 0; display: flex; flex-direction: column; gap: var(--s1); font-size: var(--t-md); font-weight: 500; color: var(--fg); }
.proofs .more { margin: 0; }
@media (max-width: 900px) {
  .proof, .proof.flip { grid-template-columns: 1fr; grid-template-areas: "title" "visual" "side"; gap: var(--s5); }
  .proofs .wrap { gap: var(--s9); }
}

/* ===== Le labo : tuiles inégales façon « Recently shipped » de Vercel ===== */
.lab-head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); }   /* titre puis description, alignés à gauche */
.lab-head p { margin: 0; max-width: none; font-size: var(--t-lg); color: var(--muted-fg); }
.lab-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-rows: auto auto; gap: var(--s4); margin-top: var(--s7); }
.lab-grid .project:first-child { grid-row: span 2; justify-content: flex-end; min-height: 420px; }
.lab-grid .project:first-child h3 { font-size: var(--t-2xl); }
.lab-grid .project:first-child .kicker { margin-top: auto; }   /* texte en bas : le haut de la tuile attend un visuel */
.lab .project.card { box-shadow: none; border-radius: var(--r-md); }
.lab .project:hover { transform: none; box-shadow: none; border-color: var(--fg); }
.lab .project .kicker { color: var(--muted-fg); font-weight: 500; }
@media (max-width: 900px) { .lab-grid { grid-template-columns: 1fr; } .lab-grid .project:first-child { grid-row: auto; min-height: 0; } }

/* ===== Maquettes des preuves : interfaces schématiques, aucun chiffre ===== */
.mock { position: relative; border: 1px solid var(--border); border-radius: 12px; background: #fff; padding: var(--s5); font-size: 13px; color: var(--fg); overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); min-height: 300px; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin: calc(var(--s5) * -1) calc(var(--s5) * -1) var(--s5); padding: 10px var(--s5); border-bottom: 1px solid var(--border); font-weight: 500; }
.mock-bar .chips { display: flex; gap: 6px; } .mock-bar em { font-style: normal; font-size: 11px; color: var(--muted-fg); border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px; }
.sk { display: block; height: 7px; border-radius: 4px; background: #ececef; margin: 7px 0; }
.pill { display: inline-block; font-size: 11px; border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px; color: var(--muted-fg); white-space: nowrap; }
.pill.ai { color: var(--fg); background: #f4f4f5; }
.offer-row { display: grid; grid-template-columns: 1fr 24px 1fr; gap: var(--s4); align-items: start; }
.offer-col small { display: block; margin-bottom: var(--s2); color: var(--muted-fg); font-size: 11px; }
.plan { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.plan b { font-weight: 600; font-size: 12px; } .plan.solo { min-height: 150px; } .plan.opt { border-style: dashed; }
.offer-arrow { width: 24px; margin-top: 80px; fill: none; stroke: var(--muted-fg); stroke-width: 1.6; }
.quota { display: grid; grid-template-columns: 1fr 70px; align-items: center; gap: 8px; font-size: 11px; color: var(--muted-fg); margin-top: 8px; }
.meter { display: block; height: 6px; border-radius: 3px; background: #ececef; } .meter i { display: block; height: 100%; border-radius: 3px; background: var(--fg); }
.fb { display: grid; grid-template-columns: 76px 1fr; gap: var(--s3); padding: 10px 0; border-bottom: 1px solid var(--border); }
.fb .src { font-size: 11px; color: var(--muted-fg); padding-top: 2px; } .fb-tags { display: flex; gap: 6px; margin-top: 8px; }
.api { display: grid; grid-template-columns: 36px 1fr 32px 74px; gap: var(--s3); align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); }
.api code { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted-fg); } .api .sk { margin: 0; } .api .ok { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #16a34a; }

/* ===== Le labo : reprise de « Recently shipped » ===== */
.ship { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 310px 310px; gap: var(--s4); margin-top: var(--s7); }
.ship-tile { position: relative; display: flex; border: 1px solid var(--border); border-radius: 10px; background: #fafafa; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s ease; }
.ship-tile:hover { border-color: var(--fg); }
.ship-big { grid-row: span 2; align-items: flex-end; }
.ship-shot { position: absolute; top: var(--s5); left: var(--s5); right: var(--s5); height: calc(100% - 150px); width: calc(100% - 2 * var(--s5)); object-fit: cover; object-position: 58% top; border: 1px solid var(--border); border-radius: 8px; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }   /* capture de StorIA, estompée vers la légende */
.ship-cap { position: relative; padding: var(--s5); align-self: flex-end; }
.ship-tag { display: inline-block; margin-bottom: var(--s2); padding: 2px 10px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: var(--t-xs); font-weight: 500; color: var(--muted-fg); }
.ship-cap h3 { font-size: var(--t-xl); font-weight: 500; letter-spacing: -0.02em; margin: 0 0 4px; }
.ship-cap p { margin: 0; font-size: var(--t-sm); color: var(--muted-fg); max-width: 32ch; }
.ship-split .ship-cap { flex: 1; }
.ship-top { flex-direction: column; justify-content: space-between; }
.ship-top .ship-cap { align-self: stretch; }
.ship-band { display: block; width: calc(100% - 2 * var(--s5)); margin: var(--s5) var(--s5) 0; height: 130px; object-fit: cover; object-position: center; border: 1px solid var(--border); border-radius: 8px; }   /* capture Referandom en bandeau */
.ship-band.fit { object-fit: contain; background: #faf8f7; }   /* Check-in : la roue entière, sur le fond crème de l'app */
.ship-dark { flex: none; width: 46%; margin: var(--s6) var(--s6) 0 0; border-radius: 8px 8px 0 0; background: #141414; color: #e5e5e5; padding: var(--s5); font-family: 'JetBrains Mono', monospace; font-size: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.ship-dark span { color: #8a8a8a; letter-spacing: .08em; } .ship-dark q { quotes: none; font-size: 14px; line-height: 1.5; color: #fff; }
.ship-panel { flex: none; width: 46%; border-left: 1px solid var(--border); background: #fff; display: grid; place-items: center; align-content: center; gap: var(--s3); padding: var(--s5); }
.ship-panel img { width: 100%; max-width: 220px; height: auto; }   /* roue réelle de Check-in */
@media (max-width: 900px) { .ship { grid-template-columns: 1fr; grid-template-rows: none; } .ship-big { grid-row: auto; min-height: 320px; } .ship-tile { min-height: 240px; } }

/* ===== Page Labo : même DA, une touche plus geek (mono, fenêtres, statuts) ===== */
.lab-path { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: var(--t-sm); color: var(--muted-fg); }
.lab-path::before { content: "$ "; color: var(--fg); }
.lab-legend { display: flex; gap: var(--s5); margin: var(--s5) 0 0; }
.lab-status { display: inline-flex; align-items: center; gap: 6px; font-family: 'JetBrains Mono', monospace; font-size: var(--t-xs); color: var(--muted-fg); }
.lab-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgb(22 163 74 / .15); }
.lab-status.wip::before { background: #f59e0b; box-shadow: 0 0 0 3px rgb(245 158 11 / .18); }
.lab-list { display: flex; flex-direction: column; gap: var(--s7); }
.lab-card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); align-items: center; text-decoration: none; color: inherit; }
.lab-card:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.lab-card:nth-child(even) .lab-win { order: 2; }
.lab-win { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fafafa; transition: border-color .2s ease; }
.lab-card:hover .lab-win { border-color: var(--fg); }
.lab-chrome { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--border); background: #fff; }
.lab-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #e4e4e7; }
.lab-chrome span { margin-left: var(--s3); font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted-fg); }
.lab-win img { display: block; width: 100%; height: 280px; object-fit: cover; object-position: center top; }
.lab-win img.fit { object-fit: contain; object-position: center; background: #f8f6f4; }
.lab-meta { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s3); }
.lab-meta .ship-tag { margin: 0; }
.lab-body h3 { font-size: var(--t-2xl); letter-spacing: -0.02em; margin: 0 0 var(--s2); }
.lab-body p { margin: 0 0 var(--s4); color: var(--muted-fg); font-size: var(--t-md); }
.lab-stack { display: block; margin-bottom: var(--s4); font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted-fg); }
.lab-stack b { font-weight: 500; color: var(--fg); }
.lab-sub { display: flex; flex-direction: column; gap: var(--s2); margin: calc(var(--s9) * 1.2) 0 var(--s6); font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; }
.lab-bench { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.lab-card.bench { display: flex; flex-direction: column; gap: 0; align-items: stretch; border: 1px dashed var(--border); border-radius: 10px; overflow: hidden; }
.lab-card.bench .lab-body { padding: var(--s5); }
.lab-code { margin: 0; padding: var(--s5); height: 128px; background: #141414; color: #a1a1aa; font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.7; white-space: pre; overflow: hidden; }
.lab-code b { font-weight: 500; color: #fff; } .lab-code .c { color: #71717a; }
a.lab-card.bench:hover { border-color: var(--fg); border-style: solid; }
@media (max-width: 900px) { .lab-card, .lab-card:nth-child(even) { grid-template-columns: 1fr; gap: var(--s5); } .lab-card:nth-child(even) .lab-win { order: 0; } .lab-bench { grid-template-columns: 1fr; } }

/* ===== Pages détail projet : en-tête + aperçu + fiche technique + sections en 2 colonnes ===== */
.dp-head .lab-meta { margin-top: var(--s4); }
.dp-head h1 { margin-top: var(--s2); }
.dp-head .actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.dp-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s8); align-items: center; }   /* texte à gauche, aperçu à droite */
.dp-win img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: center; }
.dp-win img.fit { object-fit: contain; object-position: center; background: #f8f6f4; }
.dp-preview { padding: 0 0 var(--s7); }
.dp-spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s5); margin: 0; padding: var(--s5) 0 0; border-top: 1px solid var(--border); }
.dp-spec dt { font-family: 'JetBrains Mono', monospace; font-size: var(--t-xs); color: var(--muted-fg); margin-bottom: var(--s1); }
.dp-spec dd { margin: 0; font-size: var(--t-sm); color: var(--fg); }
.dp-body { padding: 0 0 var(--s9); }
.dp-sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s7); padding: var(--s7) 0; border-top: 1px solid var(--border); }
.dp-h { margin: 0; font-size: var(--t-xl); font-weight: 600; letter-spacing: -0.02em; }
.dp-h span { font-family: 'JetBrains Mono', monospace; font-weight: 500; color: var(--muted-fg); margin-right: 4px; }
.dp-sec .prose p:first-child, .dp-sec .prose ol:first-child { margin-top: 0; }
.dp-sec .prose { max-width: 62ch; }
@media (max-width: 900px) { .dp-grid { grid-template-columns: 1fr; gap: var(--s6); } .dp-sec { grid-template-columns: 1fr; gap: var(--s4); } }

/* Pager des pages détail, aligné sur le labo : filet fin, pas d'ombre, libellés mono */
.pager .card { box-shadow: none; border-radius: 10px; transition: border-color .2s ease; }
.pager .card:hover { transform: none; box-shadow: none; border-color: var(--fg); }
.pager small { font-family: 'JetBrains Mono', monospace; font-weight: 500; color: var(--muted-fg); }
.lab-chrome a { margin-left: var(--s3); font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted-fg); text-decoration: none; }
.lab-chrome a:hover { color: var(--fg); text-decoration: underline; }   /* l'URL de la barre ouvre le projet */
.dp-win img.top { object-position: center top; }   /* Check-in : on garde la question en haut */

/* Études de cas : logo rond de l'entreprise à la place de son nom */
.co-tag { display: inline-flex; align-items: center; gap: var(--s2); color: var(--muted-fg); }
.co-logo { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); background: #fff; }

/* ===== Modale de réservation : même structure que « comment ça marche ? », en clair ===== */
.cal-backdrop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--s5); background: rgb(15 16 22 / .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.cal-backdrop[hidden] { display: none; }
.cal-backdrop.open { opacity: 1; }
.cal-card { position: relative; width: min(58rem, 100%); max-height: calc(100svh - 2 * var(--s5)); overflow-y: auto; padding: var(--s7); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--border); box-shadow: 0 30px 80px rgb(15 16 22 / .25); transform: translateY(12px); transition: transform .25s ease; }
.cal-backdrop.open .cal-card { transform: none; }
.cal-close { position: absolute; top: var(--s4); right: var(--s4); width: 36px; height: 36px; border-radius: var(--r-md); border: 1px solid var(--border); background: #fff; color: var(--fg); font-size: 22px; line-height: 1; cursor: pointer; }
.cal-close:hover { background: var(--soft); }
.cal-card h2 { font-size: var(--t-2xl); letter-spacing: -0.02em; margin: 0; }
.cal-lead { margin: var(--s2) 0 var(--s5); font-size: var(--t-md); color: var(--muted-fg); }
.cal-frame { min-height: 480px; }
@media (max-width: 760px) { .cal-card { padding: var(--s6) var(--s4); } }

/* ===== Bloc contact en dark, pour le démarquer du reste de la page ===== */
.contact .panel { background: #0f1014; border-color: #0f1014; box-shadow: none; color: #fff; }
.contact h2 { color: #fff; }
.contact .desc { color: #e4e4e7; }
.contact .cta-line { color: #a1a1aa; }
.contact .btn-primary { background: #fff; color: #0f1014; box-shadow: none; }
.contact .btn-primary:hover { background: #e4e4e7; }
.contact .btn-outline { background: transparent; color: #fff; border-color: rgb(255 255 255 / .2); }
.contact .btn-outline:hover { background: rgb(255 255 255 / .08); }
.contact .ask-link { color: #c7c7d1; }
.contact .ask-link:hover { color: #fff; }
.contact-facts { border-left-color: rgb(255 255 255 / .12); }
.contact-facts dt { color: #8b8b95; }
.contact-facts dd { color: #fff; }
@media (max-width: 900px) { .contact-facts { border-top-color: rgb(255 255 255 / .12); } }

/* Parcours : un seul titre, le texte juste dessous en colonne lisible */
.parcours-intro { max-width: 62ch; margin-top: var(--s6); }

