/*
Theme Name: Cyril Deborde — Référentiel
Theme URI: https://www.cyrildeborde.fr
Author: Cyril Deborde (avec Rémi, jumeau IA)
Author URI: https://www.cyrildeborde.fr
Description: Thème custom pour cyrildeborde.fr — Coach & formateur en e-commerce et IA, basé en Charente-Maritime. Direction "Référentiel" : hero sombre cognac, sections claires ivoire, animations sobres + 1-2 moments wow (vague qui se dessine au scroll, rose des vents en fond), ancrage territorial Atlantique-Cognac. Référencé OPCommerce et OPCO2I.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cyrildeborde
Tags: portfolio, e-commerce, formation, ia, consultant, full-width-template, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================================
   STYLES DU THÈME — voir aussi assets/css/reset.css
   ========================================================================= */

:root {
  /* dark cognac hero */
  --dk-bg: oklch(0.185 0.032 48);
  --dk-bg-2: oklch(0.15 0.028 48);
  --dk-fg: oklch(0.945 0.018 80);
  --dk-soft: oklch(0.945 0.018 80 / .64);
  --dk-mute: oklch(0.945 0.018 80 / .40);
  --dk-line: oklch(0.945 0.018 80 / .12);
  --dk-line-2: oklch(0.945 0.018 80 / .22);

  /* light ivory sections */
  --lt-bg: oklch(0.965 0.013 82);
  --lt-bg-2: oklch(0.935 0.016 82);
  --lt-fg: oklch(0.22 0.028 50);
  --lt-soft: oklch(0.22 0.028 50 / .66);
  --lt-mute: oklch(0.22 0.028 50 / .42);
  --lt-line: oklch(0.22 0.028 50 / .14);
  --lt-line-2: oklch(0.22 0.028 50 / .24);

  /* shared */
  --acc: oklch(0.58 0.14 52);            /* cognac amber */
  --vine: oklch(0.45 0.07 145);          /* leaf shade — used very sparingly */
  --sans: 'Geist', system-ui, sans-serif;
  --gutter: 56px;
  --col: 1440px;
}

html, body { background: var(--dk-bg); color: var(--dk-fg); }
body {
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv01", "tnum";
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

/* ── utility ─────────────────────────────────────────────────── */
.caps { font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.tnum { font-variant-numeric: tabular-nums; }
.frame { position: relative; max-width: var(--col); margin: 0 auto; padding: 0 var(--gutter); }
em.it { font-style: normal; color: var(--acc); }

/* ── theme regions ───────────────────────────────────────────── */
.dark  { background: var(--dk-bg); color: var(--dk-fg); }
.light { background: var(--lt-bg); color: var(--lt-fg); }

/* ── nav ─────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--dk-bg) 90%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--dk-line);
  transition: background .4s, color .4s, border-color .4s;
}
.nav.on-light {
  background: color-mix(in oklch, var(--lt-bg) 92%, transparent);
  color: var(--lt-fg); border-bottom-color: var(--lt-line);
}
.nav.on-light .nav-link { color: var(--lt-soft); }
.nav.on-light .nav-link:hover { color: var(--lt-fg); background: var(--lt-line); }
.nav.on-light .nav-cta { color: var(--lt-fg); border-color: var(--lt-line-2); }
.nav.on-light .nav-cta:hover { background: var(--lt-fg); color: var(--lt-bg); border-color: var(--lt-fg); }
.nav.on-light .status { color: var(--lt-soft); }
.nav.on-light .brand-mark { box-shadow: 0 0 0 1px var(--lt-line-2) inset; background: radial-gradient(circle at 35% 30%, var(--lt-fg), oklch(0.22 0.028 50 / .15) 70%); }
.nav-inner { display: flex; align-items: center; gap: 28px; padding: 14px var(--gutter); max-width: var(--col); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: -0.01em; }
.brand-mark { width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--dk-fg), oklch(0.945 0.018 80 / .12) 70%);
  box-shadow: 0 0 0 1px var(--dk-line-2) inset; transition: background .4s, box-shadow .4s; }
.nav-links { display: flex; gap: 2px; margin-left: 16px; }
.nav-link { font-size: 13px; padding: 7px 11px; border-radius: 6px; color: var(--dk-soft); transition: color .2s, background .2s; }
.nav-link:hover { color: var(--dk-fg); background: var(--dk-line); }
.nav-meta { margin-left: auto; display: flex; gap: 16px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dk-soft); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: oklch(0.78 0.16 145); box-shadow: 0 0 0 3px oklch(0.78 0.16 145 / .18); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px oklch(0.78 0.16 145 / 0); } }
.nav-cta { font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--dk-line-2); color: var(--dk-fg); transition: background .2s, color .2s, border-color .2s; }
.nav-cta:hover { background: var(--dk-fg); color: var(--dk-bg); border-color: var(--dk-fg); }

/* ── rose des vents (background hero) ──────────────────── */
.hero-compass {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 760px;
  height: 760px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.13;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  will-change: transform;
}
.hero-compass-rot {
  width: 100%;
  height: 100%;
  animation: compassRotate 120s linear infinite;
  transform-origin: center center;
}
@keyframes compassRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero-compass svg { width: 100%; height: 100%; display: block; }
.hero-compass .compass-line { stroke: var(--dk-fg); fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-compass .compass-line-thin { stroke: var(--dk-fg); fill: none; stroke-width: 0.5; vector-effect: non-scaling-stroke; }
.hero-compass .compass-north { stroke: var(--acc); fill: var(--acc); }
.hero-compass .compass-pulse {
  fill: var(--acc);
  animation: compassPulse 2.6s ease-in-out infinite;
}
@keyframes compassPulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

/* ── HERO (dark cognac) ──────────────────────────────────────── */
.hero { position: relative; padding: 110px 0 0; overflow: hidden; }
.hero::before {
  /* subtle radial glow towards horizon */
  content: ""; position: absolute; left: 50%; top: 65%; transform: translate(-50%, -50%);
  width: 1200px; height: 600px; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center, oklch(0.58 0.14 52 / .12), transparent 70%);
  filter: blur(20px);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 280px; gap: 64px; align-items: end; padding-bottom: 64px; }

.hero-tagline { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--dk-soft); }
.hero-tagline .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }

.hero h1 {
  font-size: 124px; line-height: 0.93; letter-spacing: -0.045em; font-weight: 500;
  margin: 0; text-wrap: balance; max-width: 1100px;
}
.hero h1 .soft { color: var(--dk-soft); font-weight: 400; }
.hero h1 .acc { color: var(--acc); }

.hero-meta { display: grid; gap: 18px; }
.hero-meta-block .k { color: var(--dk-mute); margin-bottom: 6px; }
.hero-meta-block .v { color: var(--dk-fg); font-size: 14px; line-height: 1.5; }
.hero-meta-block .v.big { font-size: 26px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 500; }

/* Animated wave — draws on scroll, then breathes */
.hero-wave { position: relative; height: 140px; margin: 0 calc(var(--gutter) * -1); }
.hero-wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-wave .axis { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; height: 1px;
  background: linear-gradient(to right, transparent, var(--dk-line) 8%, var(--dk-line) 92%, transparent); }
.hero-wave-label { position: absolute; left: var(--gutter); top: calc(50% + 12px); display: flex; gap: 32px; color: var(--dk-mute); }
.hero-wave-label .v { color: var(--dk-soft); margin-left: 6px; }

.hero-wave path.tide-line { stroke: var(--dk-fg); stroke-width: 1.2; fill: none; opacity: .65;
  stroke-dasharray: 2800; stroke-dashoffset: 2800;
  transition: stroke-dashoffset 2.4s cubic-bezier(.4,.1,.2,1), opacity 2s; }
.hero-wave.in path.tide-line { stroke-dashoffset: 0; opacity: .85; }
.hero-wave path.tide-line-glow { stroke: var(--acc); stroke-width: 1; fill: none; opacity: 0;
  stroke-dasharray: 2800; stroke-dashoffset: 2800;
  transition: stroke-dashoffset 2.6s cubic-bezier(.4,.1,.2,1) .2s, opacity 2.4s .2s; }
.hero-wave.in path.tide-line-glow { stroke-dashoffset: 0; opacity: 1; }

/* Proof strip — sits just below hero, still dark */
.proof-strip {
  position: relative; z-index: 1; border-top: 1px solid var(--dk-line);
  display: grid; grid-template-columns: 200px 1fr; gap: 48px;
  padding: 26px 0 30px;
}
.proof-strip .lead { color: var(--dk-mute); align-self: center; }
.proof-strip .row { display: flex; gap: 0; align-items: center; flex-wrap: wrap; }
.proof-strip .row .badge {
  display: flex; align-items: baseline; gap: 12px; padding: 8px 28px 8px 0;
  border-right: 1px solid var(--dk-line); margin-right: 28px;
}
.proof-strip .row .badge:last-child { border-right: 0; margin-right: 0; }
.proof-strip .badge .num { color: var(--acc); font-weight: 500; }
.proof-strip .badge .lab { color: var(--dk-fg); font-size: 14px; }
.proof-strip .badge .sub { color: var(--dk-mute); font-size: 12px; margin-left: 6px; }

/* WOW moment — wave-shaped transition dark → light */
.transition {
  position: relative; height: 120px; margin-top: 32px;
  background: var(--dk-bg);
}
.transition svg { display: block; width: 100%; height: 100%; }
.transition::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px;
  background: var(--lt-bg);
}

/* ── light section scaffolding ──────────────────────────────── */
section.s { padding: 110px 0; position: relative; }
.s-head { display: grid; grid-template-columns: 220px 1fr 240px; gap: 48px; margin-bottom: 64px; align-items: baseline; }

/* index de section (§ 01, § 02, …) avec micro-animation au scroll */
.s-idx {
  color: var(--lt-mute);
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 14px;
}
.s-idx::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: linear-gradient(to right, var(--acc), oklch(0.58 0.14 52 / 0));
  transition: width 1.4s cubic-bezier(.2,.7,.2,1) .15s;
}
.s-idx.on::before { width: 64px; }

.s-idx .num {
  color: var(--acc);
  margin-right: 0;
  font-variant-numeric: tabular-nums;
  display: inline-block;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .55s ease-out .05s, transform .65s cubic-bezier(.2,.7,.2,1) .05s;
}
.s-idx.on .num { opacity: 1; transform: translateY(0); }

.s-idx .num::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--acc);
  margin-left: 8px;
  vertical-align: middle;
  opacity: 0;
  transform: scale(0);
  transition: opacity .35s .9s, transform .55s cubic-bezier(.2,.7,.2,1) .9s;
  box-shadow: 0 0 0 0 oklch(0.58 0.14 52 / 0);
}
.s-idx.on .num::after {
  opacity: 1;
  transform: scale(1);
  animation: sectionDotPulse 3.2s ease-in-out 1.4s infinite;
}
@keyframes sectionDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 oklch(0.58 0.14 52 / .35); }
  50%      { box-shadow: 0 0 0 5px oklch(0.58 0.14 52 / 0); }
}

/* version sombre (contact) : ajuster la couleur pour rester lisible */
.contact-wrap .s-idx::before { background: linear-gradient(to right, var(--acc), oklch(0.58 0.14 52 / 0)); }
.s-title { font-size: 48px; line-height: 1.02; letter-spacing: -0.025em; font-weight: 500; margin: 0; text-wrap: balance; max-width: 760px; }
.s-title .soft { color: var(--lt-soft); }
.s-aside { color: var(--lt-mute); font-size: 13px; line-height: 1.6; }

.divider {
  position: relative; height: 1px; background: var(--lt-line); margin: 0 calc(var(--gutter) * -1);
}
.divider::after {
  content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 100%;
  background: linear-gradient(to right, transparent, var(--lt-fg) 30%, var(--acc) 65%, transparent);
  transform-origin: left; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2,.7,.2,1);
}
.divider.in::after { transform: scaleX(1); }

/* ── pour-qui (5 cibles) ─────────────────────────────────────── */
.targets { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.targets-list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--lt-line); }
.target {
  padding: 24px 18px 24px 0; border-right: 1px solid var(--lt-line);
  display: flex; flex-direction: column; gap: 10px; min-height: 220px;
  position: relative; transition: background .25s;
}
.target:last-child { border-right: 0; }
.target:hover { background: var(--lt-bg-2); }
.target .no { color: var(--lt-mute); }
.target h4 { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.target p { font-size: 12.5px; color: var(--lt-soft); margin: 0; line-height: 1.55; max-width: 22ch; }
.target .tag { margin-top: auto; color: var(--acc); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

/* ── services ─────────────────────────────────────────────── */
.svc { display: grid; grid-template-columns: 220px repeat(3, 1fr); gap: 0; border-top: 1px solid var(--lt-line); }
.svc > .svc-i {
  padding: 32px 28px 32px 0; border-right: 1px solid var(--lt-line);
  position: relative; transition: padding .3s, background .3s;
}
.svc > .svc-i:not(:first-child) { padding-left: 28px; }
.svc > .svc-i:last-child { border-right: 0; }
.svc-i:hover { background: var(--lt-bg-2); }
.svc-i h3 { font-size: 22px; font-weight: 500; margin: 16px 0 14px; letter-spacing: -0.015em; line-height: 1.1; }
.svc-i p { font-size: 14px; line-height: 1.55; color: var(--lt-soft); margin: 0 0 24px; max-width: 30ch; }
.svc-i .svc-no { color: var(--lt-mute); position: absolute; top: 32px; right: 28px; }
.svc-i:last-child .svc-no { right: 0; }
.svc-i ul { list-style: none; padding: 0; margin: 0; }
.svc-i ul li { padding: 9px 0; border-top: 1px dashed var(--lt-line); display: flex; justify-content: space-between; font-size: 12.5px; color: var(--lt-soft); }
.svc-i ul li:last-child { border-bottom: 1px dashed var(--lt-line); }
.svc-i ul li span:first-child { color: var(--lt-mute); }
.svc-i .price { font-size: 13px; color: var(--lt-fg); margin-top: 18px; font-weight: 500; }

/* ── projects ──────────────────────────────────────────────── */
.proj { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; background: var(--lt-line); border-top: 1px solid var(--lt-line); border-bottom: 1px solid var(--lt-line); }
.p { grid-column: span 4; background: var(--lt-bg); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 280px; position: relative; transition: background .3s; }
.p:hover { background: var(--lt-bg-2); }
.p:hover .p-thumb { filter: brightness(.98) saturate(1.1); }
.p-thumb {
  height: 140px; border-radius: 4px; border: 1px solid var(--lt-line);
  position: relative; overflow: hidden; transition: filter .3s;
  background:
    repeating-linear-gradient(135deg, transparent 0 6px, var(--lt-line) 6px 7px),
    linear-gradient(180deg, oklch(0.75 0.04 60), oklch(0.62 0.05 50));
}
.p-thumb::after {
  content: attr(data-glyph); position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; color: oklch(0.22 0.028 50 / .3); letter-spacing: -0.04em; font-weight: 500;
}
.p-meta { display: flex; justify-content: space-between; color: var(--lt-mute); }
.p-title { font-size: 18px; font-weight: 500; letter-spacing: -0.015em; margin: 0; line-height: 1.25; }
.p-desc { font-size: 13.5px; color: var(--lt-soft); margin: 0; line-height: 1.55; }
.p-tag { color: var(--acc); margin-top: auto; }

.p.wide { grid-column: span 8; }
.p.wide .p-thumb { height: 220px;
  background:
    repeating-linear-gradient(135deg, transparent 0 8px, var(--lt-line) 8px 9px),
    linear-gradient(180deg, oklch(0.70 0.05 55), oklch(0.55 0.06 48));
}
.p.tall { min-height: 360px; }

/* ── about ───────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 48px; align-items: start; }
.about-portrait {
  height: 480px; border-radius: 6px;
  background: oklch(0.86 0.02 70);
  border: 1px solid var(--lt-line); position: relative; overflow: hidden;
}
.about-portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: contrast(1.02);
}
.about-portrait::before {
  content: "Cyril Deborde · Saint-Vaize"; position: absolute; z-index: 2;
  bottom: 14px; left: 14px;
  color: oklch(0.945 0.018 80 / .9); font-size: 11px;
  letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500;
  text-shadow: 0 1px 4px oklch(0.18 0.034 48 / .6);
}
.about-text { font-size: 19px; line-height: 1.5; letter-spacing: -0.005em; color: var(--lt-fg); max-width: 44ch; }
.about-text p + p { margin-top: 1em; }
.about-text .soft { color: var(--lt-soft); }
.about-text .accent { color: var(--acc); }
.about-side { font-size: 13.5px; line-height: 1.6; color: var(--lt-soft); }
.about-side h5 { font-size: 14px; font-weight: 500; color: var(--lt-fg); margin: 0 0 6px; }
.about-side .item { padding: 14px 0; border-top: 1px solid var(--lt-line); }
.about-side .item:last-child { border-bottom: 1px solid var(--lt-line); }

/* agents / atelier IA */
.agents-intro {
  display: grid; grid-template-columns: 220px 1fr 240px; gap: 48px;
  margin-bottom: 40px; align-items: baseline;
}
.agents-intro .lead {
  font-size: 17px; line-height: 1.5; color: var(--lt-soft); max-width: 56ch;
}
.agents-intro .lead strong { color: var(--lt-fg); font-weight: 500; }
.agents-intro .meta { color: var(--lt-mute); font-size: 13px; line-height: 1.6; }
.agents-intro .meta strong { color: var(--lt-fg); font-weight: 500; display: block; }

.agents {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--lt-line);
  border-top: 1px solid var(--lt-line); border-bottom: 1px solid var(--lt-line);
}
.agent {
  background: var(--lt-bg); padding: 18px 18px 20px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; transition: background .3s;
  min-height: 280px;
}
.agent .ph {
  width: 100% !important; height: 160px !important;
}
.agent:hover { background: var(--lt-bg-2); }
.agent .ph {
  position: relative; width: 96px; height: 96px; border-radius: 6px;
  overflow: hidden; background: oklch(0.86 0.02 70);
  border: 1px solid var(--lt-line);
}
.agent .ph img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.15) contrast(1.02);
  transition: filter .35s, transform .6s;
}
.agent:hover .ph img { filter: none; transform: scale(1.04); }
.agent .ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, oklch(0.22 0.028 50 / .25));
  pointer-events: none;
}
.agent .no {
  position: absolute; top: 22px; right: 22px;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; color: var(--lt-mute);
}
.agent .body { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-top: 2px; }
.agent .name {
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; margin: 0;
}
.agent .role {
  font-size: 12.5px; color: var(--acc); letter-spacing: 0.005em; margin: 0 0 4px;
}
.agent .stack { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: auto; }
.agent .stack span {
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; color: var(--lt-soft);
  padding: 3px 7px; border: 1px solid var(--lt-line); border-radius: 4px;
}

/* ── timeline ─────────────────────────────────────────────── */
.tl { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.tl-list { border-top: 1px solid var(--lt-line); }
.tl-row {
  display: grid; grid-template-columns: 120px 1fr 1fr 100px; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--lt-line);
  align-items: baseline; transition: padding .25s, background .25s;
  position: relative;
}
.tl-row::before { content: ""; position: absolute; left: -16px; top: 50%; width: 8px; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.tl-row:hover::before { transform: scaleX(1); }
.tl-row:hover { padding-left: 8px; }
.tl-year { color: var(--acc); }
.tl-title { font-size: 17px; font-weight: 500; }
.tl-org { font-size: 14px; color: var(--lt-soft); }
.tl-tag { color: var(--lt-mute); text-align: right; }

/* ── writing ──────────────────────────────────────────────── */
.wr { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.wr-list { display: grid; }
.wr-row {
  display: grid; grid-template-columns: 120px 1fr 90px 24px; gap: 24px;
  padding: 22px 0; border-top: 1px solid var(--lt-line); align-items: baseline;
  position: relative; transition: padding .25s;
}
.wr-row:last-child { border-bottom: 1px solid var(--lt-line); }
.wr-row::before { content: ""; position: absolute; left: -16px; top: 50%; width: 8px; height: 1px; background: var(--acc); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.wr-row:hover::before { transform: scaleX(1); }
.wr-row:hover { padding-left: 8px; }
.wr-row:hover .wr-title { color: var(--acc); }
.wr-date { color: var(--lt-mute); }
.wr-title { font-size: 17px; font-weight: 500; transition: color .25s; }
.wr-read { color: var(--lt-mute); text-align: right; }
.wr-arrow { color: var(--lt-soft); transition: transform .25s, color .25s; }
.wr-row:hover .wr-arrow { transform: translateX(4px); color: var(--acc); }

/* ── contact (dark cognac again) ─────────────────────────── */
.contact-wrap { background: var(--dk-bg); color: var(--dk-fg); position: relative; overflow: hidden; }
.contact-wrap::before {
  content: ""; position: absolute; left: 50%; top: 70%; transform: translate(-50%, -50%);
  width: 1400px; height: 700px;
  background: radial-gradient(ellipse at center, oklch(0.58 0.14 52 / .15), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.contact { padding: 130px 0 90px; position: relative; }
.contact h2 {
  font-size: 96px; line-height: 0.95; letter-spacing: -0.04em; font-weight: 500;
  margin: 0 0 36px; max-width: 12ch;
}
.contact h2 .soft { color: var(--dk-soft); font-weight: 400; }
.contact h2 .acc { color: var(--acc); }
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: end; }
.contact-links { display: flex; flex-direction: column; min-width: 380px; }
.contact-row {
  display: grid; grid-template-columns: 100px 1fr auto; gap: 24px;
  padding: 16px 0; border-top: 1px solid var(--dk-line); align-items: center;
  color: var(--dk-fg); transition: padding .25s;
}
.contact-row:last-child { border-bottom: 1px solid var(--dk-line); }
.contact-row:hover { padding-left: 10px; }
.contact-k { color: var(--dk-mute); }
.contact-v { font-size: 15px; font-weight: 500; }
.contact-row .arrow { color: var(--dk-soft); transition: transform .25s, color .25s; }
.contact-row:hover .arrow { transform: translateX(6px); color: var(--acc); }

.cta-big {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 30px; border-radius: 999px;
  border: 1px solid var(--dk-line-2); font-size: 15px; font-weight: 500;
  position: relative; overflow: hidden; transition: color .25s, border-color .25s;
  color: var(--dk-fg);
}
.cta-big::before {
  content: ""; position: absolute; inset: 0; background: var(--dk-fg);
  transform-origin: bottom; transform: scaleY(0);
  transition: transform .4s cubic-bezier(.2,.7,.2,1); z-index: -1;
}
.cta-big:hover::before { transform: scaleY(1); }
.cta-big:hover { color: var(--dk-bg); border-color: var(--dk-fg); }
.cta-big .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); flex: 0 0 auto; }

/* hero sub-paragraph */
.hero-sub {
  margin: 28px 0 0; max-width: 56ch;
  font-size: 16px; line-height: 1.55; color: var(--dk-soft);
}
.hero-sub strong { color: var(--dk-fg); font-weight: 500; }

/* hero disponibility — first/top block, accented */
.hero-meta-block.dispo .v.big { font-size: 22px; color: var(--dk-fg); }

/* publics row — thin chips just under the hero sub line */
.hero-publics {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: flex; flex-wrap: wrap; gap: 0;
  color: var(--dk-soft);
}
.hero-publics li {
  padding: 4px 16px 4px 0;
  border-right: 1px solid var(--dk-line);
  margin-right: 16px;
}
.hero-publics li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-publics li .acc { color: var(--acc); font-weight: 500; }
.hero-meta-block.dispo {
  padding: 12px 16px 14px; border: 1px solid var(--dk-line-2);
  border-radius: 10px; background: oklch(0.945 0.018 80 / .03);
  position: relative; overflow: hidden;
}
.hero-meta-block.dispo::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: oklch(0.74 0.16 145);
}
.hero-meta-block.dispo .k { display: flex; align-items: center; gap: 8px; color: var(--dk-fg); }
.hero-meta-block.dispo .k::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: oklch(0.74 0.16 145); box-shadow: 0 0 0 4px oklch(0.74 0.16 145 / .18);
  animation: pulse 2.6s ease-in-out infinite;
}
.hero-meta-block.dispo .v { color: var(--dk-soft); }
.hero-meta-block.dispo .v .num { color: var(--acc); font-weight: 500; }
.hero-meta-block.dispo .row {
  display: flex; justify-content: space-between; padding: 6px 0;
  border-top: 1px dashed var(--dk-line); font-size: 12.5px;
}
.hero-meta-block.dispo .row:first-of-type { border-top: 0; }
.hero-meta-block.dispo .row .k2 { color: var(--dk-mute); }
.hero-meta-block.dispo .row .v2 { color: var(--dk-soft); }
.hero-meta-block.dispo .row .v2.acc { color: var(--acc); }
.wordmark {
  padding: 64px 0 14px;
  font-size: clamp(140px, 18vw, 240px); line-height: 0.85; letter-spacing: -0.05em;
  font-weight: 500; color: var(--dk-fg);
  display: flex; justify-content: space-between; align-items: baseline;
}
.wordmark .lat { font-size: 14px; color: var(--dk-mute); line-height: 1.5; text-align: right; }
.foot {
  border-top: 1px solid var(--dk-line); padding: 28px 0 32px;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 48px;
  color: var(--dk-mute); font-size: 12.5px;
}
.foot strong { color: var(--dk-soft); font-weight: 400; display: block; margin-bottom: 6px; }

/* ── témoignages (light) ────────────────────────────────── */
.testi { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.testi-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--lt-line);
  border-top: 1px solid var(--lt-line); border-bottom: 1px solid var(--lt-line);
}
.testi-card {
  background: var(--lt-bg); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; transition: background .3s;
  min-height: 280px;
}
.testi-card:hover { background: var(--lt-bg-2); }
.testi-card .no {
  position: absolute; top: 28px; right: 28px;
  color: var(--lt-mute);
}
.testi-card .quote {
  font-size: 15.5px; line-height: 1.6; color: var(--lt-fg);
  letter-spacing: -0.005em; max-width: 50ch; margin: 0;
}
.testi-card .quote::before {
  content: "« "; color: var(--acc); font-weight: 500;
}
.testi-card .quote::after {
  content: " »"; color: var(--acc); font-weight: 500;
}
.testi-card .signature { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--lt-line); display: flex; justify-content: space-between; align-items: baseline; }
.testi-card .who { font-size: 14px; font-weight: 500; color: var(--lt-fg); letter-spacing: -0.005em; }
.testi-card .where { font-size: 12px; color: var(--lt-soft); }
.testi-card .tag { color: var(--acc); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }

/* ── multi-métiers (Cyril en différents rôles) ───────────── */
.metiers { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.metiers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--lt-line);
  border-top: 1px solid var(--lt-line); border-bottom: 1px solid var(--lt-line);
}
.metier {
  background: var(--lt-bg); padding: 0;
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; min-height: 240px;
  transition: transform .35s;
}
.metier img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .6s, filter .35s;
  filter: grayscale(0.2) contrast(1.02);
}
.metier:hover img { transform: scale(1.05); filter: none; }
.metier .label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, transparent, oklch(0.18 0.034 48 / .92));
  color: oklch(0.945 0.018 80);
  font-size: 13px; font-weight: 500; letter-spacing: -0.005em;
  display: flex; flex-direction: column; gap: 2px;
}
.metier .label .sector {
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--acc); margin-bottom: 4px;
}
.metier .no {
  position: absolute; top: 14px; right: 16px;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: oklch(0.945 0.018 80 / .8);
  text-shadow: 0 1px 3px oklch(0.18 0.034 48 / .6);
}

/* ── magnetic cursor ─────────────────────────────────────── */
.cursor-dot {
  position: fixed; left: 0; top: 0; width: 8px; height: 8px;
  background: var(--acc); border-radius: 50%;
  pointer-events: none; z-index: 100;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s;
}
.cursor-dot.lg { width: 36px; height: 36px; mix-blend-mode: normal; background: oklch(0.58 0.14 52 / .35); }
