/* @import doit rester tout en haut du fichier, sinon le navigateur l'ignore */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@400;500;700;800&display=swap");

/* Titre principal de page (ex-h2, passé en h1 pour le SEO) */
h1.hero-title { font-size: 1.5em; margin-block: 0.83em; }
.brand .brand-name { font-weight: 700; }

* {
  box-sizing: border-box;
}

:root {
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --bg: linear-gradient(-45deg, #e7ecf7, #edf3ed, #f2ecfa, #f8eef0);
  --text: #1f2937;
  --muted: #5b6472;
  --card: rgba(255, 255, 255, 0.72);
  --card-border: rgba(255, 255, 255, 0.4);
  --header: rgba(255, 255, 255, 0.5);
  --header-border: rgba(15, 23, 42, 0.08);
  --nav: #1f2937;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --button: linear-gradient(135deg, #355c4a, #446e59);
  --button-hover: linear-gradient(135deg, #b7794f, #c98a60);
  --button-shadow: 0 12px 28px rgba(53, 92, 74, 0.22);
  --input-bg: rgba(255, 255, 255, 0.88);
  --line: rgba(15, 23, 42, 0.08);
  --soft-box: rgba(255, 255, 255, 0.36);
  --accent: #355c4a;
  --accent-warm: #b7794f;
}

body.dark {
  --bg: linear-gradient(-45deg, #0f172a, #111827, #1c1b3f, #111827);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --card: rgba(15, 23, 42, 0.7);
  --card-border: rgba(148, 163, 184, 0.2);
  --header: rgba(2, 6, 23, 0.48);
  --header-border: rgba(255, 255, 255, 0.08);
  --nav: #f8fafc;
  --shadow: 0 18px 50px rgba(2, 6, 23, 0.42);
  --button: linear-gradient(135deg, #5c8dff, #8b5cf6);
  --button-hover: linear-gradient(135deg, #7eaaff, #a175fb);
  --button-shadow: 0 12px 28px rgba(92, 141, 255, 0.22);
  --input-bg: rgba(15, 23, 42, 0.8);
  --line: rgba(255, 255, 255, 0.08);
  --soft-box: rgba(255, 255, 255, 0.05);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  background-size: 400% 400%;
  animation: fondAnime 18s ease infinite;
  position: relative;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 20;
  padding: 12px 16px;
  border-radius: 14px;
  color: white;
  background: var(--accent);
  text-decoration: none;
  font-weight: 800;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Formes floues en fond */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
}

body::before {
  background: #8fb8ff;
  top: 40px;
  left: -100px;
  animation: flotte1 13s ease-in-out infinite;
}

body::after {
  background: #e8a6cb;
  right: -100px;
  bottom: 20px;
  animation: flotte2 15s ease-in-out infinite;
}

/* Particules */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255, 220, 100, 0.9), rgba(200, 140, 40, 0.5));
  box-shadow: 0 0 6px rgba(255, 200, 50, 0.6), 0 0 12px rgba(255, 180, 30, 0.3);
  animation: rise linear infinite, scintille ease-in-out infinite;
}

body.dark .particle {
  background: radial-gradient(circle at 40% 35%, rgba(140, 180, 255, 0.55), rgba(80, 120, 220, 0.2));
  box-shadow: 0 0 8px rgba(120, 160, 255, 0.2);
  animation: rise linear infinite !important;
}

@keyframes scintille {
  0%, 100% { opacity: var(--p-opacity, 0.4); transform: scale(1); }
  50% { opacity: calc(var(--p-opacity, 0.4) * 0.4); transform: scale(0.7); }
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 12;
  padding: 22px 20px;
  background: var(--header);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  /* le contenu réel est dans .brand-link, .brand est juste un wrapper */
}

.brand-link {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 22px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.85;
}

.brand-link:focus-visible {
  outline: 2px solid var(--accent, #355c4a);
  outline-offset: 4px;
  border-radius: 8px;
}

.brand-link .logo-3d {
  grid-row: 1 / span 2;
  align-self: center;
}

.brand-link .eyebrow {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.brand h1, .brand .brand-name {
  margin: 0;
  grid-column: 2;
  grid-row: 2;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
  align-self: start;
}

/* Photo de profil dans le header */
.brand-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--accent);
  grid-row: 1 / span 2;
  align-self: center;
  display: block;
}

/* Logo 3D AB — cube CSS pur, animé en continu */
.logo-3d {
  width: 46px;
  height: 46px;
  perspective: 700px;
  flex-shrink: 0;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.logo-3d-cube {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: logoCubeRotate 14s infinite linear;
  transition: animation-duration 0.4s ease;
}

.logo-3d:hover .logo-3d-cube {
  animation-duration: 4s;
}

.logo-3d-face {
  position: absolute;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #355c4a 0%, #4a7d65 60%, #5a9377 100%);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 14px rgba(53, 92, 74, 0.28);
}

.logo-3d-face.front  { transform: translateZ(23px); }
.logo-3d-face.back   { transform: rotateY(180deg) translateZ(23px); }
.logo-3d-face.right  { transform: rotateY(90deg)  translateZ(23px); }
.logo-3d-face.left   { transform: rotateY(-90deg) translateZ(23px); }
.logo-3d-face.top    { transform: rotateX(90deg)  translateZ(23px); }
.logo-3d-face.bottom { transform: rotateX(-90deg) translateZ(23px); }

body.dark .logo-3d-face {
  background: linear-gradient(135deg, #2c4d3e 0%, #4a7d65 60%, #88c9a1 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 4px 14px rgba(0, 0, 0, 0.35);
}

@keyframes logoCubeRotate {
  0%   { transform: rotateY(0deg)   rotateX(12deg); }
  100% { transform: rotateY(360deg) rotateX(12deg); }
}

@media (max-width: 760px) {
  .logo-3d,
  .logo-3d-face {
    width: 38px;
    height: 38px;
  }
  .logo-3d-face {
    font-size: 15px;
    border-radius: 8px;
  }
  .logo-3d-face.front  { transform: translateZ(19px); }
  .logo-3d-face.back   { transform: rotateY(180deg) translateZ(19px); }
  .logo-3d-face.right  { transform: rotateY(90deg)  translateZ(19px); }
  .logo-3d-face.left   { transform: rotateY(-90deg) translateZ(19px); }
  .logo-3d-face.top    { transform: rotateX(90deg)  translateZ(19px); }
  .logo-3d-face.bottom { transform: rotateX(-90deg) translateZ(19px); }
}

.eyebrow {
  margin: 0 0 6px 0;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
  box-shadow: none;
}

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

nav a {
  position: relative;
  text-decoration: none;
  color: var(--nav);
  font-weight: 700;
  transition: opacity 0.25s ease;
}

nav a:hover {
  opacity: 0.9;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.28s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a.is-active {
  color: var(--accent);
}

nav a.is-active::after {
  width: 100%;
}

body.dark nav a.is-active {
  color: #cce7d9;
}

/* Structure générale */
.container {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 24px 100px;
}

.container > * + * {
  margin-top: 64px;
}

.carte {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 42px;
  overflow: hidden;
}

main.carte {
  text-align: center;
}

.hero-card,
.page-hero {
  text-align: center;
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.reveal:not(.float-card) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal:not(.float-card).visible {
  opacity: 1;
  transform: translateY(0);
}

.float-card {
  animation: apparition 0.8s ease, floatCard 7s ease-in-out 1s infinite;
}

/* Typographie */
h2,
h3, h1.hero-title {
  font-family: var(--font-display);
  color: var(--text);
}

/* Esperluette (&) dans les titres — police neutre pour éviter le glyphe décoratif */
.amp {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: inherit;
  font-size: 0.9em;
  letter-spacing: 0;
}

h2, h1.hero-title {
  margin-top: 0;
  margin-bottom: 18px;
  line-height: 1.2;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

h3 {
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.3;
  font-size: 1.25rem;
}

p {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.78;
  font-size: 1.04rem;
}

p:last-child {
  margin-bottom: 0;
}

#message {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
}

.section-label {
  margin-bottom: 10px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
  position: relative;
}

/* Fond animé Vanta du hero (page d'accueil) */
.hero-bg {
  display: block;
  position: absolute;
  inset: -28px;
  border-radius: 32px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%);
  /* Mode clair : dégradé subtil vert-doux */
  background: radial-gradient(ellipse 80% 70% at 30% 45%, rgba(53, 92, 74, 0.09) 0%, transparent 65%),
              radial-gradient(ellipse 50% 50% at 75% 60%, rgba(77, 158, 114, 0.05) 0%, transparent 55%);
  opacity: 1;
}

body.dark .hero-bg {
  background: none;
  opacity: 0.5;
}

.hero-shell > .carte {
  position: relative;
  z-index: 1;
}

.home-studio-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  grid-template-areas:
    "copy visual"
    "proof proof";
  gap: 14px 30px;
  align-items: center;
  min-height: 370px;
  padding: clamp(22px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(237, 241, 235, 0.56)),
    radial-gradient(circle at 12% 16%, rgba(53, 92, 74, 0.13), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(199, 154, 63, 0.16), transparent 28%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

body.dark .home-studio-hero {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(18, 44, 38, 0.56)),
    radial-gradient(circle at 14% 18%, rgba(136, 201, 161, 0.12), transparent 32%),
    radial-gradient(circle at 86% 20%, rgba(199, 154, 63, 0.12), transparent 28%);
}

.home-studio-hero .hero-bg {
  inset: -80px;
  border-radius: 0;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

body.dark .home-studio-hero .hero-bg {
  opacity: 1;
  mix-blend-mode: normal;
}

.studio-copy,
.studio-visual {
  position: relative;
  z-index: 1;
}

.studio-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.16));
  backdrop-filter: blur(2px);
}

body.dark .studio-copy {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0.08));
}

.studio-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.studio-copy h2, .studio-copy h1.hero-title {
  max-width: 920px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.1rem, 3.35vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.studio-subtitle {
  max-width: 760px;
  margin: 18px 0 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.55vw, 1.38rem);
  line-height: 1.25;
  font-weight: 800;
}

.studio-skill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.studio-skill-row span {
  padding: 8px 12px;
  border: 1px solid rgba(53, 92, 74, 0.14);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(53, 92, 74, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
}

.studio-copy #message {
  max-width: 760px;
  margin-top: 0;
  padding-left: 18px;
  border-left: 3px solid rgba(53, 92, 74, 0.28);
  font-size: 1.02rem;
  line-height: 1.65;
}

.studio-copy > p:not(.availability-pill):not(.studio-kicker):not(.studio-subtitle):not(#message) {
  max-width: 700px;
}

.studio-info-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.studio-info-strip span {
  padding: 10px 13px;
  border: 1px solid rgba(53, 92, 74, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.38);
  font-size: 0.9rem;
  font-weight: 800;
}

body.dark .studio-info-strip span {
  background: rgba(255, 255, 255, 0.06);
}

.studio-copy .hero-actions {
  justify-content: flex-start;
  margin-top: 18px;
}

.studio-visual {
  grid-area: visual;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 0;
}

.hero-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--accent);
  box-shadow: 0 20px 50px rgba(33, 49, 47, 0.22);
}

.studio-monogram {
  position: relative;
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  min-height: 0;
  border: 1px solid rgba(53, 92, 74, 0.16);
  border-radius: 30px;
  color: #efe8d4;
  font-family: Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0;
  background:
    linear-gradient(145deg, rgba(26, 54, 45, 0.96), rgba(58, 111, 91, 0.86)),
    radial-gradient(circle at 80% 0%, rgba(199, 154, 63, 0.36), transparent 32%);
  box-shadow: 0 28px 60px rgba(33, 49, 47, 0.24);
  overflow: hidden;
}

.studio-monogram::before,
.studio-monogram::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(239, 232, 212, 0.28);
  border-radius: 999px;
}

.studio-monogram::before {
  width: 78%;
  aspect-ratio: 1;
  transform: rotate(18deg);
}

.studio-monogram::after {
  width: 112%;
  aspect-ratio: 1;
  transform: translate(20%, 18%) rotate(-18deg);
}

.studio-proof-grid {
  grid-area: proof;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.studio-proof-grid article {
  padding: 13px 16px;
  border: 1px solid rgba(53, 92, 74, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 14px 30px rgba(33, 49, 47, 0.08);
}

.studio-location-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background:
    linear-gradient(90deg, rgba(53, 92, 74, 0.12), rgba(255, 255, 255, 0.34)),
    rgba(255, 255, 255, 0.42);
}

.location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--accent);
}

.location-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  display: block;
}

body.dark .studio-proof-grid article {
  background: rgba(255, 255, 255, 0.06);
}

.studio-proof-grid span {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  font-weight: 900;
  line-height: 1;
}

.studio-proof-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 700;
}

.home-recruiter-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 28px;
  align-items: stretch;
  min-height: 610px;
  padding: clamp(30px, 5vw, 66px);
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(241, 246, 242, 0.62)),
    radial-gradient(circle at 8% 16%, rgba(53, 92, 74, 0.12), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(68, 99, 155, 0.12), transparent 28%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

body.dark .home-recruiter-hero {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(24, 44, 52, 0.58)),
    radial-gradient(circle at 10% 16%, rgba(136, 201, 161, 0.12), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(92, 141, 255, 0.12), transparent 28%);
}

.home-recruiter-hero .hero-bg {
  inset: -80px;
  border-radius: 0;
  opacity: 0.45;
}

.recruiter-copy,
.recruiter-panel {
  position: relative;
  z-index: 1;
}

.recruiter-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
}

.recruiter-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.recruiter-copy h2, .recruiter-copy h1.hero-title {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.recruiter-copy #message {
  max-width: 720px;
}

.recruiter-copy > p:not(.availability-pill):not(.recruiter-kicker):not(#message) {
  max-width: 690px;
}

.recruiter-copy .hero-actions {
  justify-content: flex-start;
}

.recruiter-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(53, 92, 74, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.36)),
    rgba(255, 255, 255, 0.26);
  box-shadow: 0 24px 55px rgba(33, 49, 47, 0.14);
  backdrop-filter: blur(16px);
}

body.dark .recruiter-panel {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.34)),
    rgba(255, 255, 255, 0.05);
}

.recruiter-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(53, 92, 74, 0.14);
}

.panel-status {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #2f7f73;
  box-shadow: 0 0 0 8px rgba(47, 127, 115, 0.13);
}

.recruiter-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.recruiter-panel-head strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.1;
}

.recruiter-fields {
  display: grid;
  gap: 12px;
}

.recruiter-fields article {
  padding: 16px;
  border: 1px solid rgba(53, 92, 74, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.34);
}

body.dark .recruiter-fields article {
  background: rgba(255, 255, 255, 0.05);
}

.recruiter-fields span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recruiter-fields p {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.55;
}

.recruiter-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}

.recruiter-proof-row div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(53, 92, 74, 0.1);
}

.recruiter-proof-row strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.recruiter-proof-row span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.home-editorial-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  grid-template-areas:
    "top top"
    "title pitch"
    "proof proof";
  gap: 28px 36px;
  align-items: end;
  min-height: 660px;
  padding: clamp(30px, 5vw, 70px);
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(240, 244, 239, 0.62)),
    radial-gradient(circle at 8% 22%, rgba(53, 92, 74, 0.13), transparent 28%),
    radial-gradient(circle at 88% 24%, rgba(213, 106, 74, 0.12), transparent 30%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

body.dark .home-editorial-hero {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(27, 45, 42, 0.56)),
    radial-gradient(circle at 8% 22%, rgba(136, 201, 161, 0.13), transparent 28%),
    radial-gradient(circle at 88% 24%, rgba(213, 106, 74, 0.12), transparent 30%);
}

.home-editorial-hero .hero-bg {
  inset: -90px;
  border-radius: 0;
  opacity: 0.46;
}

.editorial-topline,
.editorial-title,
.editorial-pitch,
.editorial-tags,
.editorial-proof-bar {
  position: relative;
  z-index: 1;
}

.editorial-topline {
  grid-area: top;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.editorial-title {
  grid-area: title;
  align-self: center;
}

.editorial-title h2, .editorial-title h1.hero-title {
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(5rem, 13vw, 12rem);
  line-height: 0.78;
  letter-spacing: 0;
}

.editorial-subtitle {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
}

.editorial-pitch {
  grid-area: pitch;
  align-self: center;
  padding: 28px;
  border-left: 2px solid rgba(53, 92, 74, 0.24);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.44), transparent);
}

body.dark .editorial-pitch {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent);
}

.editorial-pitch #message {
  margin-bottom: 14px;
}

.editorial-pitch .hero-actions {
  justify-content: flex-start;
}

.editorial-tags {
  position: absolute;
  inset: 100px 44px auto auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 420px;
}

.editorial-tags span {
  padding: 10px 13px;
  border: 1px solid rgba(53, 92, 74, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.42);
  font-size: 0.86rem;
  font-weight: 900;
}

body.dark .editorial-tags span {
  background: rgba(255, 255, 255, 0.06);
}

.editorial-proof-bar {
  grid-area: proof;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.editorial-proof-bar article {
  padding: 18px 20px;
  border: 1px solid rgba(53, 92, 74, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.4);
}

body.dark .editorial-proof-bar article {
  background: rgba(255, 255, 255, 0.06);
}

.editorial-proof-bar strong,
.editorial-proof-bar span {
  display: block;
}

.editorial-proof-bar strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
}

.editorial-proof-bar span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.profile-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  background:
    radial-gradient(circle at top right, rgba(183, 121, 79, 0.18), transparent 36%),
    var(--card);
}

.profile-panel h3 {
  margin-bottom: 6px;
}

.profile-highlights {
  display: grid;
  gap: 12px;
}

.mini-note {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

body.dark .mini-note {
  background: rgba(255, 255, 255, 0.05);
}

.mini-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.contact-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-strip a:hover {
  transform: translateY(-2px);
}

.typing-target {
  min-height: 58px;
  max-width: 820px;
  margin: 0 auto;
}

.typing-target::after {
  content: "|";
  margin-left: 4px;
  animation: blink 0.8s infinite;
}

.typing-target.typing-complete::after {
  display: none;
}

/* Boutons */
button,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  min-height: 48px;
  border: none;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: white;
  background: var(--button);
  box-shadow: var(--button-shadow);
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

button:hover,
.cta-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.04);
  background: var(--button-hover);
}

button:active,
.cta-button:active {
  transform: scale(0.98);
}

#themeToggle {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.16);
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background: rgba(183, 121, 79, 0.1);
  border-color: #b7794f;
  color: #b7794f;
}

body.dark .cta-button.secondary {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
}

body.dark .cta-button.secondary:hover {
  background: rgba(126, 170, 255, 0.1);
  border-color: #7eaaff;
  color: #7eaaff;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.feature-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.feature-link:hover {
  text-decoration: underline;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.metric-card {
  position: relative;
  padding: 22px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  text-align: center;
}

.metric-card::before,
.feature::before,
.project-card::before,
.post-card::before,
.info-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #355c4a, #4d9e72);
}

body.dark .metric-card::before,
body.dark .feature::before,
body.dark .project-card::before,
body.dark .post-card::before,
body.dark .info-card::before {
  background: linear-gradient(90deg, #5c8dff, #8b5cf6);
}

.metric-number {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  font-weight: 800;
  color: var(--text);
}

.metric-label {
  margin: 10px 0 0 0;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Cartes résumé */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.feature {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 42px rgba(15, 23, 42, 0.16);
}

.icon-badge {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 28px;
  background: var(--soft-box);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

body[data-page="apropos"] {
  --about-accent: #2f7f73;
  --about-coral: #d56a4a;
  --about-gold: #c79a3f;
  --about-ink: #21312f;
  --about-soft: rgba(47, 127, 115, 0.1);
}

body[data-page="apropos"] .section-label {
  color: var(--about-accent);
}

body[data-page="apropos"] .page-hero {
  text-align: left;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 34px;
  align-items: center;
  overflow: hidden;
}

.about-hero::before {
  background: linear-gradient(90deg, var(--about-accent), var(--about-coral), var(--about-gold));
}

.about-hero-copy {
  min-width: 0;
}

.about-identity {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(47, 127, 115, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(47, 127, 115, 0.14), rgba(213, 106, 74, 0.09)),
    rgba(255, 255, 255, 0.36);
  box-shadow: 0 18px 40px rgba(33, 49, 47, 0.12);
}

body.dark .about-identity {
  background:
    linear-gradient(135deg, rgba(136, 201, 161, 0.14), rgba(213, 106, 74, 0.1)),
    rgba(15, 23, 42, 0.34);
}

.about-monogram {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  color: #fff8e8;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--about-ink), var(--about-accent));
  box-shadow: 0 18px 34px rgba(33, 49, 47, 0.24);
}

.about-role {
  margin: 22px 0 4px;
  color: var(--about-accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-identity h3 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.about-id-list {
  display: grid;
  gap: 10px;
}

.about-id-list span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  color: var(--muted);
  border-top: 1px solid rgba(47, 127, 115, 0.14);
}

.about-id-list strong {
  color: var(--text);
}

.about-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.about-proof-strip article {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(47, 127, 115, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(47, 127, 115, 0.08));
  box-shadow: 0 12px 30px rgba(33, 49, 47, 0.08);
}

body.dark .about-proof-strip article {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.68), rgba(47, 127, 115, 0.14));
}

.proof-icon,
.method-icon,
.about-icon {
  color: var(--about-accent);
}

.proof-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--about-soft);
  font-size: 1.1rem;
  font-weight: 800;
}

.about-proof-strip strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.about-proof-strip p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.about-method {
  background:
    radial-gradient(circle at 12% 0%, rgba(213, 106, 74, 0.12), transparent 34%),
    radial-gradient(circle at 90% 30%, rgba(47, 127, 115, 0.14), transparent 32%),
    var(--card);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.method-grid article {
  padding: 22px;
  border: 1px solid rgba(47, 127, 115, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.36);
}

body.dark .method-grid article {
  background: rgba(15, 23, 42, 0.28);
}

.method-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 15px;
  background: var(--about-soft);
  font-size: 1.35rem;
  font-weight: 800;
}

.method-grid h3 {
  margin: 0 0 8px;
}

.method-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.icon-badge.about-icon {
  color: var(--about-accent);
  background: linear-gradient(145deg, rgba(47, 127, 115, 0.13), rgba(213, 106, 74, 0.1));
  font-size: 1.45rem;
  font-weight: 800;
}

/* Timeline CV (page À propos) */
.cv-timeline {
  position: relative;
  padding-left: 24px;
  margin-top: 20px;
}

.cv-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
}

.cv-timeline-item {
  position: relative;
  padding: 0 0 28px 20px;
}

body[data-page="apropos"] .cv-timeline-item {
  padding-left: 58px;
}

.cv-timeline-item:last-child {
  padding-bottom: 0;
}

.cv-timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(53, 92, 74, 0.15);
}

body.dark .cv-timeline-item::before {
  background: #88c9a1;
  box-shadow: 0 0 0 3px rgba(136, 201, 161, 0.15);
}

.cv-icon {
  display: none;
}

body[data-page="apropos"] .cv-timeline-item::before {
  left: -6px;
  top: 18px;
  width: 12px;
  height: 12px;
  background: var(--about-accent);
  box-shadow: 0 0 0 5px rgba(47, 127, 115, 0.14);
}

body[data-page="apropos"] .cv-icon {
  position: absolute;
  left: 18px;
  top: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--about-accent);
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(33, 49, 47, 0.16);
}

body[data-page="apropos"] .cv-timeline-item[data-kind="stage"] .cv-icon { background: #2f7f73; }
body[data-page="apropos"] .cv-timeline-item[data-kind="business"] .cv-icon { background: #d56a4a; }
body[data-page="apropos"] .cv-timeline-item[data-kind="social"] .cv-icon { background: #6a76c9; }
body[data-page="apropos"] .cv-timeline-item[data-kind="project"] .cv-icon { background: #c79a3f; }
body[data-page="apropos"] .cv-timeline-item[data-kind="client"] .cv-icon { background: #486b8f; }
body[data-page="apropos"] .cv-timeline-item[data-kind="school"] .cv-icon { background: #315f7b; }

.cv-timeline-date {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 3px;
}

body.dark .cv-timeline-date {
  color: #88c9a1;
}

.cv-timeline-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--text);
}

.cv-timeline-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 6px;
  font-style: italic;
}

.cv-timeline-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 4px;
  line-height: 1.6;
}

.cv-timeline-link {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 2px;
}

.cv-timeline-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .about-hero,
  .about-proof-strip,
  .method-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .about-hero,
  .about-proof-strip,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .about-identity {
    padding: 22px;
  }

  body[data-page="apropos"] .cv-timeline-item {
    padding-left: 48px;
  }

  body[data-page="apropos"] .cv-icon {
    left: 14px;
    width: 32px;
    height: 32px;
    border-radius: 12px;
  }
}

/* Expériences */
.experience-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.experience-item {
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(148, 163, 184, 0.18);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 20px;
}

body.dark .experience-item {
  background: rgba(255, 255, 255, 0.04);
}

.experience-item p {
  margin: 0;
}

/* Logo par expérience */
.exp-logo-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(53, 92, 74, 0.10);
  border: 1px solid rgba(53, 92, 74, 0.15);
  padding: 8px;
}
.exp-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.exp-logo-wrap--meetup {
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #ff3537, #ff8a3c);
}

.exp-logo-wrap--meetup img {
  border-radius: inherit;
}

.exp-logo-wrap--frega,
.exp-logo-wrap--jardin {
  padding: 5px;
}

.exp-logo-wrap--frega img,
.exp-logo-wrap--jardin img {
  transform: scale(1.18);
}

body.dark .exp-logo-wrap {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}
body.dark .exp-logo-wrap--jardin img {
  filter: brightness(0) invert(1);
}

.exp-content {
  flex: 1;
  min-width: 0;
}

/* Métrique mise en avant dans les expériences */
.experience-metric {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin: 4px 0 8px !important;
  opacity: 0.85;
}

body.dark .experience-metric {
  color: #7ec8a0;
}

/* Localisation dans le hero */
.hero-location {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  margin: -8px 0 16px;
  letter-spacing: 0.01em;
}

/* Grille "Ce que j'apporte" — 3 colonnes */
.apport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.apport-item {
  position: relative;
  padding: 24px 20px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apport-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

body.dark .apport-item {
  background: rgba(255, 255, 255, 0.04);
}

body.dark .apport-item:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* Barre accent couleur en haut */
.apport-accent-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
}
.apport-item--contenu .apport-accent-bar { background: linear-gradient(90deg, #355c4a, #4d9e72); }
.apport-item--projets .apport-accent-bar { background: linear-gradient(90deg, #c79a3f, #e8c06a); }
.apport-item--outils  .apport-accent-bar { background: linear-gradient(90deg, #4a6fa5, #6b9fd4); }

/* Icône SVG */
.apport-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 14px;
}
.apport-icon-wrap svg {
  width: 26px;
  height: 26px;
}
.apport-item--contenu .apport-icon-wrap {
  background: rgba(53, 92, 74, 0.12);
  color: #355c4a;
}
.apport-item--projets .apport-icon-wrap {
  background: rgba(199, 154, 63, 0.12);
  color: #a07428;
}
.apport-item--outils .apport-icon-wrap {
  background: rgba(74, 111, 165, 0.12);
  color: #4a6fa5;
}
body.dark .apport-item--contenu .apport-icon-wrap { background: rgba(92, 200, 160, 0.12); color: #7ec8a0; }
body.dark .apport-item--projets .apport-icon-wrap { background: rgba(232, 192, 106, 0.12); color: #e8c06a; }
body.dark .apport-item--outils  .apport-icon-wrap { background: rgba(107, 159, 212, 0.12); color: #6b9fd4; }

.apport-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
}

/* Micro-stat */
.apport-micro-stat {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 14px;
  opacity: 0.5;
}

@media (max-width: 760px) {
  .apport-grid {
    grid-template-columns: 1fr;
  }
}

/* Outils */
.tools-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
}

.tool-item {
  padding: 18px 14px;
  border-radius: 18px;
  text-align: center;
  font-weight: 700;
  background: var(--soft-box);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tool-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Couleurs de marque par outil */
.icon-canva,
.icon-openai {
  background: white !important;
}

.list-grid,
.project-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* Layout magazine blog */
.blog-magazine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.blog-magazine-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Article featured (gauche) */
.post-card--featured {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 340px;
  background: linear-gradient(145deg, rgba(53,92,74,0.06) 0%, rgba(255,255,255,0) 60%);
  border-left: 3px solid var(--accent);
}

body.dark .post-card--featured {
  background: linear-gradient(145deg, rgba(136,201,161,0.08) 0%, rgba(0,0,0,0) 60%);
  border-left-color: #88c9a1;
}

.post-featured-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 12px;
}

.post-featured-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.post-card--featured h3 {
  font-size: 1.45rem;
  line-height: 1.3;
  margin: 0;
}

.post-card--featured p:not(.section-label):not(.post-date) {
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

/* Articles compacts (droite) */
.post-card--compact {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
}

.post-compact-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* L'étiquette et la date sur la même ligne : sans la marge du bas de .section-label */
.post-compact-meta .section-label,
.post-compact-meta .post-date {
  margin: 0;
  line-height: 1.3;
}

.page-hero .post-compact-meta {
  justify-content: center;
}

.post-card--compact h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0;
}

.post-card--compact p:not(.section-label):not(.post-date) {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.content-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.content-list--check {
  list-style: none;
  padding-left: 0;
}

.content-list--check li {
  padding-left: 22px;
  position: relative;
}

.content-list--check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4d9e72;
  font-weight: 700;
  font-size: 0.85em;
}

body.dark .content-list--check li::before {
  color: #7ec8a0;
}

.project-card,
.post-card {
  height: auto;
}

.project-card,
.post-card,
.info-card {
  position: relative;
}

/* Date article blog */
.post-date {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

/* Lien couvrant toute la carte article */
.post-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  border-radius: inherit;
}

.post-card-link:hover h3 {
  color: var(--accent);
}

.post-card--featured:has(.post-card-link):hover,
.post-card--compact:has(.post-card-link):hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Header projet avec badge statut */
.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.project-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.status-encours {
  background: rgba(183, 121, 79, 0.12);
  color: #b7794f;
  border: 1px solid rgba(183, 121, 79, 0.25);
}

.status-realise {
  background: rgba(53, 92, 74, 0.1);
  color: #355c4a;
  border: 1px solid rgba(53, 92, 74, 0.2);
}

body.dark .status-encours {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.2);
}

body.dark .status-realise {
  background: rgba(92, 141, 255, 0.1);
  color: #7ec8a0;
  border-color: rgba(92, 141, 255, 0.2);
}

.status-archive {
  background: rgba(100, 116, 139, 0.10);
  color: #64748b;
  border: 1px solid rgba(100, 116, 139, 0.22);
}

body.dark .status-archive {
  background: rgba(148, 163, 184, 0.08);
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.18);
}

.status-beta {
  background: rgba(224, 120, 50, 0.12);
  color: #c96420;
  border: 1px solid rgba(224, 120, 50, 0.28);
}

body.dark .status-beta {
  background: rgba(224, 120, 50, 0.15);
  color: #f0a060;
  border-color: rgba(224, 120, 50, 0.30);
}

/* Lien évolution Meet'up → Shibui */
.pvc-evolution {
  font-size: 0.80rem;
  color: var(--muted);
  margin: 0;
  padding-top: 2px;
  font-style: italic;
}

.pvc-evolution strong {
  color: #c96420;
  font-style: normal;
}

body.dark .pvc-evolution strong {
  color: #f0a060;
}

.contact-layout {
  align-items: stretch;
}

.form-hint {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: -8px;
  margin-bottom: 4px;
}

.form-error {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c0392b;
  margin-top: 4px;
  margin-bottom: 4px;
  min-height: 1em;
}

body.dark .form-error {
  color: #ff8b8b;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.18);
}

body.dark input[aria-invalid="true"],
body.dark textarea[aria-invalid="true"] {
  border-color: #ff8b8b;
  box-shadow: 0 0 0 3px rgba(255, 139, 139, 0.18);
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.info-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

body.dark .info-card {
  background: rgba(255, 255, 255, 0.04);
}

.info-card h3 {
  margin-bottom: 8px;
}

.contact-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-cta-group a {
  text-decoration: none;
}

/* Globe 3D — page contact */
.globe-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.globe-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.globe-hint {
  font-size: 0.92rem;
  opacity: 0.75;
  font-style: italic;
  margin-top: 4px;
}

.globe-canvas {
  width: 100%;
  height: 380px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(53, 92, 74, 0.08), transparent 70%);
}

body.dark .globe-canvas {
  background: radial-gradient(circle at 50% 50%, rgba(136, 201, 161, 0.12), transparent 70%);
}

.globe-canvas canvas {
  display: block;
}

.globe-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  z-index: 1;
}

.globe-loader p {
  margin: 4px 0 0;
  font-size: 0.88rem;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

.globe-loader-dots {
  display: flex;
  gap: 8px;
}

.globe-loader-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #355c4a;
  display: inline-block;
  animation: globeDot 1.2s infinite ease-in-out;
}

.globe-loader-dot:nth-child(1) { animation-delay: 0s; }
.globe-loader-dot:nth-child(2) { animation-delay: 0.18s; }
.globe-loader-dot:nth-child(3) { animation-delay: 0.36s; }

body.dark .globe-loader-dot {
  background: #88c9a1;
}

@keyframes globeDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1);   opacity: 1; }
}

@media (max-width: 760px) {
  .globe-section {
    grid-template-columns: 1fr;
  }

  .globe-canvas {
    height: 320px;
  }
}

/* Mise en page utile pour les autres pages */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
}

/* Deux cartes côte à côte (à propos) */
.features.two-col {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 760px) {
  .features.two-col {
    grid-template-columns: 1fr;
  }
}

.photo-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 320px;
}

.photo-wrapper img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.photo-wrapper:hover img {
  transform: scale(1.05);
  filter: saturate(1.1);
}

.photo-overlay {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  color: white;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
}

/* Formulaire */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  text-align: left;
}

label {
  font-weight: 700;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 16px;
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  font-family: var(--font-body);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #446e59;
  box-shadow: 0 0 0 4px rgba(68, 110, 89, 0.14);
  transform: scale(1.01);
}

#confirmation {
  margin-top: 18px;
  font-weight: 700;
  color: #15803d;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}
body.dark .footer-cta { color: #7ec8a0; }

.footer-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: footer-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
body.dark .footer-dot { background: #7ec8a0; }

@keyframes footer-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-links a svg { flex-shrink: 0; opacity: 0.7; }

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.36);
  transform: translateY(-2px);
}

body.dark .footer-links a {
  background: rgba(255, 255, 255, 0.06);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #355c4a;
  outline-offset: 4px;
  border-radius: 4px;
}

body.dark a:focus-visible,
body.dark button:focus-visible,
body.dark input:focus-visible,
body.dark textarea:focus-visible {
  outline-color: #88c9a1;
}

/* Animations */
@keyframes fondAnime {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes flotte1 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(70px, 30px);
  }
}

@keyframes flotte2 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-60px, -36px);
  }
}

@keyframes rise {
  from {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  to {
    transform: translateY(-110vh) scale(1.35);
    opacity: 0;
  }
}

@keyframes apparition {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 920px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .home-studio-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "proof";
    min-height: auto;
  }

  .home-recruiter-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-editorial-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "title"
      "pitch"
      "proof";
    min-height: auto;
  }

  .editorial-tags {
    position: static;
    justify-content: flex-start;
    max-width: none;
    grid-area: proof;
    margin-bottom: 90px;
  }

  .studio-monogram {
    width: 150px;
    height: 150px;
  }

  .studio-visual {
    justify-content: flex-start;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .header-inner {
    justify-content: center;
    text-align: center;
  }

  .header-actions {
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
  }

  .header-actions.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 8px 0;
  }

  .main-nav a::after {
    bottom: 2px;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 38px 16px 80px;
  }

  .container > * + * {
    margin-top: 26px;
  }

  .carte,
  .feature {
    padding: 24px;
  }

  .hero-card,
  .page-hero {
    padding: 40px 24px;
  }

  .brand h1, .brand .brand-name {
    font-size: 1.6rem;
  }

  nav {
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-studio-hero {
    padding: 28px;
    border-radius: 26px;
  }

  .home-recruiter-hero {
    padding: 28px;
    border-radius: 26px;
  }

  .home-editorial-hero {
    padding: 28px;
    border-radius: 26px;
  }

  .studio-copy h2, .studio-copy h1.hero-title {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .recruiter-copy h2, .recruiter-copy h1.hero-title {
    font-size: clamp(2.45rem, 12vw, 4.2rem);
  }

  .editorial-title h2, .editorial-title h1.hero-title {
    font-size: clamp(4.2rem, 23vw, 6.8rem);
  }

  .editorial-pitch {
    padding: 0;
    border-left: 0;
    background: transparent;
  }

  .studio-proof-grid {
    grid-template-columns: 1fr;
  }

  .recruiter-proof-row {
    grid-template-columns: 1fr;
  }

  .editorial-proof-bar {
    grid-template-columns: 1fr;
  }

  .studio-info-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-strip,
  .contact-cta-group {
    flex-direction: column;
  }

  .cta-button,
  .nav-toggle,
  #themeToggle,
  button {
    width: 100%;
  }

  .features {
    grid-template-columns: 1fr;
  }
}
/* ===== Page Expériences premium ===== */

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.experience-anchor {
  scroll-margin-top: 120px;
}

.experience-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.experience-side {
  position: relative;
}

.summary-card {
  position: sticky;
  top: 110px;
  padding: 20px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.summary-title {
  margin: 0 0 14px 0;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.summary-link {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.summary-link + .summary-link {
  margin-top: 8px;
}

.summary-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.summary-link.active {
  background: var(--button);
  color: white;
  box-shadow: var(--button-shadow);
}

.experience-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.experience-panel {
  overflow: hidden;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.panel-intro {
  max-width: 780px;
}

.panel-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.experience-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.experience-brand-logo {
  display: flex;
  justify-content: center;
  margin: 10px 0 16px;
}

.experience-brand-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* Logo Jardin du Repos : texte vert foncé → blanc en dark mode */
body.dark .experience-brand-logo img[src*="jardinrepos"] {
  filter: brightness(0) invert(1);
}

.date-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

body.dark .date-pill {
  background: rgba(255, 255, 255, 0.06);
}

.tag-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.tag-list::-webkit-scrollbar { display: none; }

.tag {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

body.dark .tag {
  background: rgba(255, 255, 255, 0.06);
}

.section-accent {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
    var(--card);
}

/* Timeline */
.timeline-list {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(148, 163, 184, 0.3);
}

.timeline-item {
  position: relative;
  padding-left: 52px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-dot {
  position: absolute;
  left: 9px;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--button);
  box-shadow: var(--button-shadow);
}

.timeline-date {
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--muted);
}

.timeline-title {
  margin-bottom: 8px;
}

.timeline-text {
  margin-bottom: 0;
}

/* Stats premium */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.stat-card {
  position: relative;
  padding: 24px;
  border-radius: 22px;
  background: var(--soft-box);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--button);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.1);
}

.stat-number {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 800;
  color: var(--text);
}

.stat-label {
  margin: 12px 0 8px 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.stat-copy {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
}

/* Détails */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.detail-stack {
  display: grid;
  gap: 18px;
}

.detail-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
}

body.dark .detail-card {
  background: rgba(255, 255, 255, 0.04);
}

.detail-card p {
  margin-bottom: 0;
}

.detail-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--button);
  box-shadow: var(--button-shadow);
  font-size: 1.3rem;
  color: white;
}

.detail-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.15;
}

.dual-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.deliverables-grid {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.deliverable-pill {
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

body.dark .deliverable-pill {
  background: rgba(255, 255, 255, 0.06);
}

/* Responsive */
@media (max-width: 1020px) {
  .experience-shell {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: relative;
    top: 0;
  }
}

@media (max-width: 860px) {
  .detail-grid,
  .dual-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .summary-link {
    padding: 11px 12px;
  }

  .panel-header {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    padding-left: 44px;
  }

  .timeline-list::before {
    left: 13px;
  }

  .timeline-dot {
    left: 5px;
  }
}

/* Outils avec logos */
.tool-logo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.tool-logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
}

.tool-logo-item img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  padding: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body.dark .tool-logo-item img,
body.dark .tool-item img {
  background: rgba(255, 255, 255, 0.85);
}

/* ===== Pages détail expériences ===== */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: -20px;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Lien "Voir le détail" dans experiences.html */
.detail-link {
  display: inline-block;
  margin-top: 16px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap 0.2s;
}

.detail-link:hover {
  text-decoration: underline;
}

body.dark .detail-link {
  color: #7ec8a0;
}

/* Section avec image à droite ou gauche */
.detail-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 40px;
}

.detail-section--reverse {
  direction: rtl;
}

.detail-section--reverse > * {
  direction: ltr;
}

.detail-section--full {
  grid-template-columns: 1fr;
}

.detail-section--text-pair {
  align-items: start;
}

.section-title-with-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.inline-section-logo {
  width: clamp(42px, 5vw, 58px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 16px rgba(53, 92, 74, 0.16));
}

.inline-section-logo--word {
  width: clamp(150px, 18vw, 230px);
  transform: translateY(0.06em);
}

.detail-section-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-section-text h3 {
  font-size: 1.2rem;
  margin: 0;
}

/* Image dans une detail-section */
.detail-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  min-width: 0;
}

/* Image réelle dans les sections détail */
.detail-img {
  width: 100%;
  max-width: 480px;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

@media (max-width: 760px) {
  .detail-img {
    max-width: 100%;
    height: 220px;
  }
}

/* Placeholder image */
.image-placeholder {
  background: rgba(53, 92, 74, 0.06);
  border: 2px dashed rgba(53, 92, 74, 0.2);
  border-radius: 16px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
}

body.dark .image-placeholder {
  background: rgba(92, 141, 255, 0.05);
  border-color: rgba(92, 141, 255, 0.15);
}

/* Galerie photos */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.gallery-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.gallery-item figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

.gallery-grid .image-placeholder {
  min-height: 160px;
}

/* ── Plateformes sociales ── */
.frega-platform-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  min-width: 180px;
}

.frega-platform-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px;
  background: var(--soft-box);
  border-radius: 10px;
  border: 1px solid var(--card-border);
}

.frega-platform-icon { font-size: 1.1rem; }

.social-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #3A7D4A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(58,125,74,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.frega-platform-item:hover .social-icon-circle {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(58,125,74,0.28);
}

.social-icon-circle svg {
  width: 20px;
  height: 20px;
  display: block;
}

.frega-platform-badge {
  margin-top: 6px;
  padding: 8px 14px;
  background: rgba(53,92,74,0.1);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  border: 1px solid rgba(53,92,74,0.2);
}

body.dark .frega-platform-badge {
  background: rgba(136,201,161,0.12);
  color: #88c9a1;
  border-color: rgba(136,201,161,0.25);
}

/* ── Naming ── */
.frega-naming-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.frega-naming-list li {
  padding: 14px 18px;
  background: var(--soft-box);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
  font-size: 0.95rem;
}

body.dark .frega-naming-list li {
  border-left-color: #88c9a1;
}

.frega-naming-sub {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 3px;
}

/* ── Scénarios pub ── */
.frega-scenarios {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.frega-scenario {
  flex: 1;
  min-width: 90px;
  padding: 14px;
  background: var(--soft-box);
  border-radius: 10px;
  border: 1px solid var(--card-border);
  text-align: center;
}

.frega-scenario--mid {
  background: rgba(53,92,74,0.08);
  border-color: rgba(53,92,74,0.2);
}

body.dark .frega-scenario--mid {
  background: rgba(136,201,161,0.1);
  border-color: rgba(136,201,161,0.2);
}

.frega-scenario-budget {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0;
}

body.dark .frega-scenario-budget { color: #88c9a1; }

.frega-scenario-result {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 4px 0 2px;
}

.frega-scenario-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

/* ── Charte graphique ── */
.charte-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.charte-block {
  background: var(--soft-box);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 22px;
}

.charte-block-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.charte-colors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.charte-color-item { display: flex; flex-direction: column; gap: 4px; }

.charte-swatch {
  width: 100%;
  height: 44px;
  border-radius: 8px;
}

.charte-color-name {
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0;
}

.charte-color-hex {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--muted);
  margin: 0;
}

.charte-color-role {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.3;
}

.charte-slogan {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  margin: 0 0 16px;
  padding: 8px 14px;
  line-height: 1.5;
}

body.dark .charte-slogan {
  color: #88c9a1;
  border-left-color: #88c9a1;
}

.charte-values {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.charte-values li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
}

.charte-value-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

body.dark .charte-value-dot { background: #88c9a1; }

.charte-typo-display {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text);
}

.charte-typo-body {
  font-size: 1rem;
  margin: 10px 0 4px;
  font-weight: 500;
}

.charte-typo-accent {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 10px 0 4px;
  color: var(--accent);
}

.charte-typo-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 2px;
}

.charte-logo-note {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.charte-logo-note img {
  width: 96px;
  height: auto;
  object-fit: contain;
}

.charte-logo-note p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

.charte-divider {
  height: 1px;
  margin: 18px 0;
  background: linear-gradient(90deg, rgba(13, 98, 112, 0.18), transparent);
}

.charte-supports {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.charte-supports li {
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.charte-supports li:last-child { border-bottom: none; }

/* ── Ce que j'ai appris ── */
.learnings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.learning-item {
  padding: 18px 20px;
  background: var(--soft-box);
  border-radius: 12px;
  border: 1px solid var(--card-border);
}

.learning-title {
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0 0 8px;
  color: var(--text);
}

.learning-item p:not(.learning-title) {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 760px) {
  .charte-grid,
  .learnings-grid {
    grid-template-columns: 1fr;
  }

  .charte-colors {
    grid-template-columns: 1fr 1fr;
  }

  .charte-logo-note {
    grid-template-columns: 1fr;
  }

  .frega-scenarios {
    flex-direction: column;
  }

  .frega-platform-list {
    min-width: unset;
  }
}

/* Carrousel Instagram preview */
.insta-carousel-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 340px;
  flex-shrink: 0;
}

.insta-carousel-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.25s ease;
}

.insta-carousel-preview img:hover {
  transform: scale(1.04);
}

/* Navigation entre expériences */
.experience-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 760px) {
  .detail-section,
  .detail-section--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid--2col {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 180px;
  }

  .experience-nav {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .blog-magazine {
    grid-template-columns: 1fr;
  }

  .post-card--featured {
    min-height: auto;
  }

  .insta-carousel-preview {
    max-width: 100%;
  }
}

/* Bouton retour en haut */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--button);
  color: white;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
  box-shadow: var(--button-shadow);
  pointer-events: none;
}

#backToTop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Glow au survol des cartes */
.carte:hover,
.feature:hover {
  box-shadow: var(--shadow), 0 0 28px rgba(53, 92, 74, 0.18);
}

body.dark .carte:hover,
body.dark .feature:hover {
  box-shadow: var(--shadow), 0 0 28px rgba(92, 141, 255, 0.2);
}

/* Transition glow fluide */
.carte,
.feature,
.metric-card {
  transition: box-shadow 0.3s ease;
}

/* Fondu entre pages */
body {
  opacity: 1;
  transition: opacity 0.3s ease;
}

body:not(.page-loaded) {
  opacity: 0;
}

/* Parallaxe fond */
body::before {
  transform: translateY(var(--parallax-y, 0px));
}

body::after {
  transform: translateY(calc(var(--parallax-y, 0px) * -0.8));
}


/* ===== Améliorations esthétiques ===== */

/* Titres hero en dégradé */
.page-hero h2,
main.carte h2, .page-hero h1.hero-title, main.carte h1.hero-title {
  background: linear-gradient(135deg, #1a4a2e, #2d9e5f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark .page-hero h2,
body.dark main.carte h2, body.dark .page-hero h1.hero-title, body.dark main.carte h1.hero-title {
  background: linear-gradient(135deg, #5c8dff, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Chiffres clés en dégradé */
.metric-number,
.stat-number {
  background: linear-gradient(135deg, #1a4a2e, #2d9e5f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark .metric-number,
body.dark .stat-number {
  background: linear-gradient(135deg, #5c8dff, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section labels en accent */
.section-label {
  color: var(--accent);
}

body.dark .section-label {
  color: #7ec8a0;
}

/* Availability pill avec point pulsant vert */
.availability-pill {
  background: rgba(53, 92, 74, 0.12);
  border-color: rgba(53, 92, 74, 0.3);
  color: var(--accent);
}

.availability-pill::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #355c4a;
  margin-right: 8px;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

body.dark .availability-pill {
  background: rgba(92, 141, 255, 0.12);
  border-color: rgba(92, 141, 255, 0.3);
  color: #7ec8a0;
}

body.dark .availability-pill::before {
  background: #5c8dff;
}

/* ── Objectif actuel — deux colonnes ─────────────────────── */
.objectif-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 32px;
  margin-top: 24px;
  align-items: start;
}

.objectif-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.objectif-divider {
  width: 1px;
  background: var(--line);
  align-self: stretch;
  margin-top: 8px;
}

.objectif-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(53, 92, 74, 0.10);
  border: 1px solid rgba(53, 92, 74, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #355c4a;
}
.objectif-icon-wrap svg {
  width: 22px;
  height: 22px;
}
.objectif-icon-wrap--long {
  background: rgba(199, 154, 63, 0.10);
  border-color: rgba(199, 154, 63, 0.2);
  color: #a07428;
}

body.dark .objectif-icon-wrap {
  background: rgba(92, 200, 160, 0.10);
  border-color: rgba(92, 200, 160, 0.2);
  color: #7ec8a0;
}
body.dark .objectif-icon-wrap--long {
  background: rgba(232, 192, 106, 0.10);
  border-color: rgba(232, 192, 106, 0.2);
  color: #e8c06a;
}

.objectif-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0;
}

.objectif-col h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.objectif-col p:last-child {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 640px) {
  .objectif-grid {
    grid-template-columns: 1fr;
  }
  .objectif-divider {
    width: 100%;
    height: 1px;
    margin: 8px 0;
  }
}

/* Pills hero — alternance + localisation */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.availability-pill--location {
  background: rgba(53, 92, 74, 0.08);
  border-color: rgba(53, 92, 74, 0.22);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
}
.availability-pill--location::before {
  display: none;
}
body.dark .availability-pill--location {
  background: rgba(92, 141, 255, 0.12);
  border-color: rgba(92, 141, 255, 0.3);
  color: #7ec8a0;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
}

/* Tags colorés vert */
.tag {
  background: rgba(53, 92, 74, 0.1);
  border-color: rgba(53, 92, 74, 0.28);
  color: var(--accent);
}

body.dark .tag {
  background: rgba(126, 200, 160, 0.1);
  border-color: rgba(126, 200, 160, 0.25);
  color: #7ec8a0;
}

/* Icon badges en dégradé */
.icon-badge {
  background: linear-gradient(135deg, #355c4a, #4d9e72);
  color: white;
  font-size: 0.88rem;
  font-weight: 800;
  font-family: var(--font-body);
}

body.dark .icon-badge {
  background: linear-gradient(135deg, #5c8dff, #8b5cf6);
}

/* Icônes feature cards */
.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.feature-icon-wrap svg {
  width: 26px;
  height: 26px;
}
.feature--experiences .feature-icon-wrap { background: rgba(53, 92, 74, 0.12); color: #355c4a; }
.feature--competences .feature-icon-wrap { background: rgba(74, 111, 165, 0.12); color: #4a6fa5; }
.feature--projets     .feature-icon-wrap { background: rgba(199, 154, 63, 0.12); color: #a07428; }
.feature--blog        .feature-icon-wrap { background: rgba(180, 80, 120, 0.10); color: #b45080; }

body.dark .feature--experiences .feature-icon-wrap { background: rgba(92, 200, 160, 0.12); color: #7ec8a0; }
body.dark .feature--competences .feature-icon-wrap { background: rgba(107, 159, 212, 0.12); color: #6b9fd4; }
body.dark .feature--projets     .feature-icon-wrap { background: rgba(232, 192, 106, 0.12); color: #e8c06a; }
body.dark .feature--blog        .feature-icon-wrap { background: rgba(220, 120, 170, 0.12); color: #dc78aa; }

/* Feature links en accent avec flèche animée */
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
  padding-top: 16px;
}

body.dark .feature-link {
  color: #a78bfa;
}

.feature-link::after {
  content: "→";
  transition: transform 0.25s ease;
}

.feature-link:hover {
  text-decoration: none;
  opacity: 0.8;
}

.feature-link:hover::after {
  transform: translateX(5px);
}

body.dark .feature-link {
  color: #7ec8a0;
}

/* Experience kicker en accent */
.experience-kicker {
  color: var(--accent);
}

body.dark .experience-kicker {
  color: #7ec8a0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body {
    animation: none;
  }

  body::before,
  body::after,
  #particles {
    display: none;
  }

  .float-card,
  .reveal,
  .scroll-reveal,
  .timeline-item {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .typing-target::after {
    display: none;
  }
}

/* ── Lightbox ─────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: zoom-out;
  padding: 24px;
}
.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}
.lightbox-overlay.is-open img {
  transform: scale(1);
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}
.detail-img,
.slide-img,
.exp-visual img,
.gallery-item img,
.is-zoomable {
  cursor: zoom-in;
}

.is-zoomable:focus-visible {
  outline: 3px solid rgba(53, 92, 74, 0.45);
  outline-offset: 4px;
}

/* ── Thème Airbnb (page expérience) ──────────────────── */
[data-theme="airbnb"] {
  --accent: #7A8FA3;
  --button: linear-gradient(135deg, #7A8FA3, #8fa5ba);
  --button-hover: linear-gradient(135deg, #607a8f, #7a8fa3);
  --button-shadow: 0 12px 28px rgba(122, 143, 163, 0.30);
}
[data-theme="airbnb"] .experience-kicker {
  color: #FF5A5F !important;
}
[data-theme="airbnb"] h2,
[data-theme="airbnb"] main h2,
[data-theme="airbnb"] .carte h2,
[data-theme="airbnb"] main.carte h2, [data-theme="airbnb"] h1.hero-title, [data-theme="airbnb"] main h1.hero-title, [data-theme="airbnb"] .carte h1.hero-title, [data-theme="airbnb"] main.carte h1.hero-title {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #FF5A5F !important;
  color: #FF5A5F !important;
}
[data-theme="airbnb"] .stat-number,
[data-theme="airbnb"] .metric-number {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #FF5A5F !important;
  color: #FF5A5F !important;
}
[data-theme="airbnb"] .tag {
  background: rgba(122, 143, 163, 0.12);
  border-color: rgba(122, 143, 163, 0.30);
  color: #5a7285;
}

/* ── Thème Airbnb — nav active ────────────────────────── */
[data-theme="airbnb"] .main-nav a.active,
[data-theme="airbnb"] .main-nav a[aria-current="page"] {
  color: #FF5A5F !important;
}
[data-theme="airbnb"] .main-nav a.active::after,
[data-theme="airbnb"] .main-nav a[aria-current="page"]::after {
  background: #FF5A5F !important;
}

/* ── Thème Airbnb — survol boutons ───────────────────── */
[data-theme="airbnb"] .cta-button:hover {
  background: linear-gradient(135deg, #FF5A5F, #ff7a6b) !important;
  box-shadow: 0 12px 28px rgba(255, 90, 95, 0.30) !important;
}
[data-theme="airbnb"] .cta-button.secondary:hover {
  background: rgba(255, 90, 95, 0.1) !important;
  border-color: #FF5A5F !important;
  color: #FF5A5F !important;
}

/* ── Thème Airbnb — mode sombre ───────────────────────── */
body.dark[data-theme="airbnb"] .experience-kicker {
  color: #CBD5E1 !important;
}
body.dark[data-theme="airbnb"] .tag {
  background: rgba(203, 213, 225, 0.08) !important;
  border-color: rgba(203, 213, 225, 0.20) !important;
  color: #CBD5E1 !important;
}
body.dark[data-theme="airbnb"] {
  --accent: #CBD5E1;
  --button: linear-gradient(135deg, #7A8FA3, #8fa5ba);
  --button-shadow: 0 12px 28px rgba(203, 213, 225, 0.15);
}

/* ── Thème FregaHouse — bleu canard ───────────────────────────────── */
[data-theme="frega"] {
  --accent: #0d6270;
  --button: linear-gradient(135deg, #0d6270, #1a8595);
  --button-hover: linear-gradient(135deg, #0a5360, #147283);
  --button-shadow: 0 16px 34px rgba(13, 98, 112, 0.22);
}

[data-theme="frega"] .page-hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(26, 133, 149, 0.14), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(13, 98, 112, 0.10), transparent 30%),
    var(--card);
  border-color: rgba(13, 98, 112, 0.16);
}

[data-theme="frega"] .experience-kicker,
[data-theme="frega"] .breadcrumb a,
[data-theme="frega"] .detail-link {
  color: #0d6270;
}

[data-theme="frega"] h2,
[data-theme="frega"] main h2,
[data-theme="frega"] .carte h2,
[data-theme="frega"] main.carte h2,
[data-theme="frega"] .stat-number,
[data-theme="frega"] .metric-number, [data-theme="frega"] h1.hero-title, [data-theme="frega"] main h1.hero-title, [data-theme="frega"] .carte h1.hero-title, [data-theme="frega"] main.carte h1.hero-title {
  background: linear-gradient(135deg, #0b5561, #1a8595) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #0d6270 !important;
}

[data-theme="frega"] .tag,
[data-theme="frega"] .date-pill,
[data-theme="frega"] .frega-platform-badge,
[data-theme="frega"] .frega-scenario--mid {
  background: rgba(13, 98, 112, 0.10);
  border-color: rgba(13, 98, 112, 0.24);
  color: #0d6270;
}

[data-theme="frega"] .detail-icon,
[data-theme="frega"] .detail-icon-svg {
  background: linear-gradient(135deg, #2d8f9f, #6bb8c4);
  color: #fff;
  box-shadow: 0 14px 28px rgba(45, 143, 159, 0.16);
}

[data-theme="frega"] .social-icon-circle {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(13, 98, 112, 0.32);
  box-shadow: 0 8px 18px rgba(13, 98, 112, 0.10);
}

[data-theme="frega"] .frega-platform-item:hover .social-icon-circle {
  background: rgba(232, 247, 250, 0.95);
  border-color: rgba(26, 133, 149, 0.48);
  box-shadow: 0 10px 22px rgba(13, 98, 112, 0.14);
}

[data-theme="frega"] .detail-card,
[data-theme="frega"] .stat-card,
[data-theme="frega"] .learning-item,
[data-theme="frega"] .gallery-item {
  border-color: rgba(13, 98, 112, 0.13);
}

[data-theme="frega"] .detail-card:hover,
[data-theme="frega"] .stat-card:hover {
  border-color: rgba(13, 98, 112, 0.30);
}

[data-theme="frega"] .frega-naming-list li {
  border-left-color: #0d6270;
}

[data-theme="frega"] .cta-button:hover {
  background: linear-gradient(135deg, #1a8595, #5bb9c6) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(13, 98, 112, 0.16) !important;
}

body.dark[data-theme="frega"] {
  --accent: #6bc6d5;
  --button: linear-gradient(135deg, #0d6270, #2aa4b8);
  --button-hover: linear-gradient(135deg, #148396, #39b8cc);
  --button-shadow: 0 16px 34px rgba(107, 198, 213, 0.16);
}

body.dark[data-theme="frega"] .page-hero {
  background:
    radial-gradient(circle at 20% 22%, rgba(107, 198, 213, 0.10), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(42, 164, 184, 0.12), transparent 30%),
    var(--card);
  border-color: rgba(107, 198, 213, 0.16);
}

body.dark[data-theme="frega"] .experience-kicker,
body.dark[data-theme="frega"] .breadcrumb a,
body.dark[data-theme="frega"] .detail-link {
  color: #6bc6d5;
}

body.dark[data-theme="frega"] h2,
body.dark[data-theme="frega"] main h2,
body.dark[data-theme="frega"] .carte h2,
body.dark[data-theme="frega"] main.carte h2,
body.dark[data-theme="frega"] .stat-number,
body.dark[data-theme="frega"] .metric-number, body.dark[data-theme="frega"] h1.hero-title, body.dark[data-theme="frega"] main h1.hero-title, body.dark[data-theme="frega"] .carte h1.hero-title, body.dark[data-theme="frega"] main.carte h1.hero-title {
  background: linear-gradient(135deg, #6bc6d5, #b8edf4) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #6bc6d5 !important;
}

body.dark[data-theme="frega"] .tag,
body.dark[data-theme="frega"] .date-pill,
body.dark[data-theme="frega"] .frega-platform-badge,
body.dark[data-theme="frega"] .frega-scenario--mid {
  background: rgba(107, 198, 213, 0.10);
  border-color: rgba(107, 198, 213, 0.24);
  color: #b8edf4;
}

body.dark[data-theme="frega"] .cta-button:hover {
  background: linear-gradient(135deg, #2aa4b8, #78d6e4) !important;
  color: #061f24 !important;
  box-shadow: 0 12px 24px rgba(107, 198, 213, 0.14) !important;
}

/* ══════════════════════════════════════════════════════════
   COMPÉTENCES — domaines & outils
   ══════════════════════════════════════════════════════════ */

/* Grille 2×2 des domaines */
.skill-domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

@media (max-width: 640px) {
  .skill-domain-grid {
    grid-template-columns: 1fr;
  }
}

/* Card domaine */
.skill-domain-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
}

.skill-domain-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

/* Icône SVG dans un cercle coloré */
.skill-domain-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(53,92,74,0.12), rgba(53,92,74,0.06));
  color: var(--accent);
  flex-shrink: 0;
}

.skill-domain-icon svg {
  width: 22px;
  height: 22px;
}

body.dark .skill-domain-icon {
  background: rgba(255,255,255,0.06);
  color: #a3c4b5;
}

/* Pills de compétences */
.skill-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: rgba(53, 92, 74, 0.10);
  color: #355c4a;
  border: 1px solid rgba(53, 92, 74, 0.18);
  transition: background 0.2s, color 0.2s;
}

body.dark .skill-tag {
  background: rgba(163, 196, 181, 0.10);
  color: #a3c4b5;
  border-color: rgba(163, 196, 181, 0.20);
}

/* ── Grille horizontale des outils ───────────────────────── */
.tools-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  justify-content: center;
}

.tool-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--soft-box);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: default;
  white-space: nowrap;
}

.tool-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

body.dark .tool-chip:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.tool-chip img {
  display: block;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

/* ── Icônes outils — uniformisation (clair + sombre) ──────
 * Approche : pastille blanche unifiée pour TOUS les logos.
 * Plus de filter:invert / mix-blend qui créent des artefacts.
 */
.tool-chip img {
  width: 28px;
  height: 28px;
  padding: 4px;
  background: #ffffff;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.tool-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 4px;
  background: #ffffff;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  color: var(--accent);
  flex-shrink: 0;
}
body.dark .tool-chip-icon {
  background: #f3f5f7;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  color: #355c4a;
}

body.dark .tool-chip img,
body.dark .tool-chip .icon-canva,
body.dark .tool-chip .icon-openai {
  background: #f3f5f7 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

/* Annule les hacks filter/blend qui ne servent plus
   (la pastille claire rend tous les logos lisibles dans les deux modes) */
body.dark .tool-chip .icon-notion,
body.dark .tool-chip .icon-canva,
body.dark .tool-chip .icon-wix,
body.dark .tool-chip .icon-openai,
body.dark .tool-chip .icon-claude,
body.dark .tool-chip .icon-mailchimp,
body.dark .tool-chip .icon-airbnb {
  filter: none;
  mix-blend-mode: normal;
}

/* ══════════════════════════════════════════════════════════
   PROJETS — cartes visuelles Option A
   ══════════════════════════════════════════════════════════ */

.project-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 720px) {
  .project-visual-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Carte */
.project-visual-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.project-visual-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
}

body.dark .project-visual-card:hover {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.40);
}

/* Bande de couleur en haut */
.pvc-banner {
  position: relative;
  height: 110px;
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
  overflow: hidden;
}

/* Numéro de projet en filigrane */
.pvc-number {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.18;
  color: #fff;
  user-select: none;
  pointer-events: none;
}

/* Logo projet dans la bande (version blanche) */
.pvc-logo {
  width: auto;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* Logo Shibui dans la bande — fond blanc rendu transparent + logo blanc */
.pvc-logo-banner {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  display: block;
}

/* Initiale principale */
.pvc-initial {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

/* Couleurs par projet */
.pvc-banner--meetup {
  background: linear-gradient(135deg, #ff3537 0%, #ff8a3c 100%);
}

.pvc-logo-banner--meetup {
  height: 74px;
  filter: none;
  border-radius: 18px;
  box-shadow: 0 16px 28px rgba(118, 34, 18, 0.20);
}

.pvc-banner--shibui {
  background: linear-gradient(135deg, #c96420 0%, #e07832 100%);
}

.pvc-banner--airbnb {
  background: linear-gradient(135deg, #ff5a5f 0%, #e83e44 100%);
}

/* Logo Shibui : un peu plus grand pour mieux remplir la bande */
.pvc-banner--shibui .pvc-logo-banner {
  height: 82px;
}

.pvc-banner--frega {
  background: linear-gradient(135deg, #0d6270 0%, #1a8595 100%);
}

.pvc-banner--jardin {
  background: linear-gradient(135deg, #355c4a 0%, #4e8068 100%);
}

/* Corps de la carte */
.pvc-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
  flex: 1;
}

/* Ligne titre + badge */
.pvc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.pvc-top h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}

/* Pitch court */
.pvc-pitch {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* Tags */
.pvc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.pvc-tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(53, 92, 74, 0.08);
  color: #355c4a;
  border: 1px solid rgba(53, 92, 74, 0.16);
}

body.dark .pvc-tag {
  background: rgba(163, 196, 181, 0.10);
  color: #a3c4b5;
  border-color: rgba(163, 196, 181, 0.20);
}

/* Lien externe */
.pvc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap 0.18s ease, opacity 0.18s ease;
}

.pvc-link:hover {
  gap: 8px;
  opacity: 0.75;
}

.pvc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 4px;
  flex-wrap: wrap;
}

.pvc-actions .pvc-link {
  margin-top: 0;
  padding-top: 0;
}

.pvc-link--alt {
  color: var(--accent-warm, #b7794f);
}
body.dark .pvc-link--alt {
  color: #c89378;
}

/* Image portrait (flyer A5) — affiche le contenu en entier sans crop */
.detail-img--portrait {
  object-fit: contain;
  height: auto;
  max-height: 520px;
  background: var(--soft-box);
  padding: 8px;
}

.detail-img--wide {
  height: auto;
  max-height: none;
  object-fit: contain;
  background: var(--soft-box);
}

/* ── Slide de présentation intégrée ───────────────────── */
.slide-figure {
  position: relative;
  margin: 0;
}

.slide-figure figcaption {
  margin-top: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
}

.slide-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.13);
  margin-top: 24px;
  border: 1px solid var(--card-border);
}

body.dark .slide-img {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

/* ═════════════════════════════════════════════════════════════
   PAGE À PROPOS — REFONTE ÉDITORIALE
   ═════════════════════════════════════════════════════════════ */

.ab-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px 80px;
  position: relative;
  z-index: 1;
}

.ab-section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.ab-eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
body.dark .ab-eyebrow { color: #7ec8a0; }

.ab-eyebrow.ab-center { text-align: center; }

.ab-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.18;
  font-weight: 700;
  margin: 0 0 48px;
  letter-spacing: -0.01em;
}

.ab-italic {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
body.dark .ab-italic { color: #c79a3f; }

/* ── BLOC 1 — HERO MANIFESTE ────────────────────────────────── */
.ab-hero {
  padding: 60px 0 80px;
  position: relative;
  border: none;
}

.ab-hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
  min-height: 70vh;
}

.ab-manifesto {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}

.ab-hero-meta {
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin: 0;
}

.ab-hero-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Flipper — bouton invisible qui contient le 3D */
.ab-portrait-flipper {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  perspective: 1400px;
  width: 300px;
  height: 460px;
  display: block;
}
.ab-portrait-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotate(-1.5deg);
  transition: transform 0.85s cubic-bezier(0.4, 0.0, 0.2, 1);
}
.ab-portrait-flipper.is-flipped .ab-portrait-inner {
  transform: rotate(-1.5deg) rotateY(180deg);
}
.ab-portrait-flipper:hover .ab-portrait-inner {
  transform: rotate(0deg) scale(1.02);
}
.ab-portrait-flipper.is-flipped:hover .ab-portrait-inner {
  transform: rotate(0deg) scale(1.02) rotateY(180deg);
}

.ab-portrait-card {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: linear-gradient(160deg, #355c4a 0%, #1a3a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 32px 64px rgba(15, 23, 42, 0.22), 0 4px 12px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.ab-portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.12), transparent 55%),
    repeating-linear-gradient(45deg, transparent 0px, transparent 3px, rgba(0,0,0,0.04) 3px, rgba(0,0,0,0.04) 4px);
  pointer-events: none;
}
.ab-portrait-card--back {
  transform: rotateY(180deg);
  flex-direction: column;
  justify-content: center;
  padding: 30px 32px 34px;
  align-items: stretch;
  text-align: left;
}

/* Or en dark mode */
body.dark .ab-portrait-card {
  background: linear-gradient(160deg, #c79a3f 0%, #8a6824 100%);
}

.ab-portrait-mono {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 800;
  color: #f4f0e8;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}
body.dark .ab-portrait-mono {
  color: #1a1208;
}

.ab-portrait-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(244, 240, 232, 0.7);
  font-family: var(--font-body);
  z-index: 2;
}
.ab-portrait-card--back .ab-portrait-tag {
  position: relative;
  top: auto;
  right: auto;
  align-self: flex-start;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}
body.dark .ab-portrait-tag {
  color: rgba(26, 18, 8, 0.65);
}

/* Indication "cliquer" */
.ab-portrait-flip-hint {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(244, 240, 232, 0.55);
  text-transform: uppercase;
  z-index: 2;
}
body.dark .ab-portrait-flip-hint {
  color: rgba(26, 18, 8, 0.55);
}
.ab-portrait-card--back .ab-portrait-flip-hint {
  position: absolute;
  bottom: 14px;
  left: 28px;
  right: auto;
}

/* Liste d'infos verso */
.ab-id-list {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ab-id-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(244, 240, 232, 0.12);
}
.ab-id-row:last-child { border-bottom: none; padding-bottom: 0; }
body.dark .ab-id-row {
  border-bottom-color: rgba(26, 18, 8, 0.18);
}
.ab-id-row dt {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.55);
  margin: 0;
}
.ab-id-row dd {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #f4f0e8;
  margin: 0;
  line-height: 1.3;
}
body.dark .ab-id-row dt {
  color: rgba(26, 18, 8, 0.55);
}
body.dark .ab-id-row dd {
  color: #1a1208;
}

.ab-portrait-caption {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  margin: 0;
  letter-spacing: 0.04em;
}

.ab-scroll-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.ab-scroll-hint span {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--muted);
  animation: ab-scroll-line 2s ease-in-out infinite;
}
@keyframes ab-scroll-line {
  0%, 100% { transform: scaleX(1); opacity: 0.6; }
  50% { transform: scaleX(1.4); opacity: 1; }
}

/* ── BLOC 2 — L'ANGLE ───────────────────────────────────────── */
.ab-angle { text-align: center; }
.ab-angle-text {
  max-width: 62ch;
  margin: 0 auto;
}
.ab-lead {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 28px;
  color: var(--text);
}
.ab-angle-text p:not(.ab-lead) {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 20px;
  text-align: left;
}

/* Barre lumineuse décorative */
.ab-angle-divider {
  width: 72px;
  height: 3px;
  margin: 36px 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #355c4a, #88c9a1, transparent);
  box-shadow: 0 0 10px rgba(136, 201, 161, 0.45);
}
body.dark .ab-angle-divider {
  background: linear-gradient(90deg, #4a7c65, #a3c4b5, transparent);
  box-shadow: 0 0 14px rgba(163, 196, 181, 0.35);
}

/* ── BLOC 3 — TROIS CONVICTIONS ─────────────────────────────── */
.ab-conv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid var(--line);
}
.ab-conv {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.ab-conv-num {
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.14;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}
body.dark .ab-conv-num { color: #c79a3f; opacity: 0.18; }
.ab-conv h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 14px;
  color: var(--text);
}
.ab-conv p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

/* ── BLOC 4 — PARCOURS ─────────────────────────────────────── */
.ab-journey-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.ab-journey-list::before {
  content: "";
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.ab-journey-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 32px 0;
  position: relative;
}
.ab-journey-item::before {
  content: "";
  position: absolute;
  left: 76px;
  top: 44px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg, #f4f0e8);
}
body.dark .ab-journey-item::before {
  background: #c79a3f;
}
.ab-journey-year {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  padding-top: 4px;
}
body.dark .ab-journey-year { color: #c79a3f; }
.ab-journey-content h3 {
  font-family: var(--font-display);
  font-size: 1.36rem;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.3;
}
.ab-journey-content p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 12px;
}
.ab-journey-key {
  font-size: 0.88rem !important;
  color: var(--accent) !important;
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin-top: 14px !important;
}
body.dark .ab-journey-key {
  color: #c79a3f !important;
  border-color: #c79a3f;
}
.ab-journey-key em { font-style: italic; }
.ab-journey-item--future {
  background: linear-gradient(90deg, rgba(53, 92, 74, 0.05), transparent);
  border-radius: 12px;
  padding: 32px 16px;
  margin-left: -16px;
}
body.dark .ab-journey-item--future {
  background: linear-gradient(90deg, rgba(199, 154, 63, 0.07), transparent);
}

/* ── BLOC 5 — COULISSES ────────────────────────────────────── */
.ab-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.ab-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(244, 240, 232, 0.4));
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.dark .ab-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}
.ab-card:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}
.ab-card--1 { transform: rotate(-1deg); }
.ab-card--2 { transform: rotate(0.6deg); }
.ab-card--3 { transform: rotate(-0.4deg); }
.ab-card--4 { transform: rotate(0.8deg); }

.ab-card-quote {
  font-family: Georgia, serif;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 18px;
}
.ab-card-tag {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* ── BLOC 6 — CITATIONS ────────────────────────────────────── */
.ab-quote {
  margin: 0 0 60px;
  padding: 0;
  border: none;
  text-align: center;
}
.ab-quote:last-child { margin-bottom: 0; }
.ab-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.4;
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  margin: 0 auto 20px;
  max-width: 800px;
  letter-spacing: -0.005em;
}
.ab-quote footer {
  font-size: 0.86rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-style: normal;
}
.ab-quote--alt p { color: var(--accent); }
body.dark .ab-quote--alt p { color: #c79a3f; }

/* ── BLOC 7 — MÉTHODE DE TRAVAIL ───────────────────────────── */
.ab-method-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 40px;
}
.ab-method-row {
  display: grid;
  grid-template-columns: 180px 1fr 220px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 20px 28px;
}
.ab-method-row:last-child { border-bottom: none; }
.ab-method-header {
  background: rgba(53,92,74,0.06);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
body.dark .ab-method-header { background: rgba(255,255,255,0.04); }
.ab-method-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--heading);
}
.ab-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(53,92,74,0.10);
  color: var(--accent);
  flex-shrink: 0;
}
body.dark .ab-method-icon {
  background: rgba(126,200,160,0.12);
  color: #7ec8a0;
}
.ab-method-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  min-width: 22px;
}
.ab-method-desc {
  font-size: 0.9rem;
  color: var(--text);
  padding: 0 24px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.ab-method-tools {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 24px;
}

/* ── BLOC 7 — OUTILS (legacy) ──────────────────────────────── */
.ab-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--line);
}
.ab-tool-block {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.ab-tool-verb {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  font-style: italic;
  color: var(--accent);
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
body.dark .ab-tool-verb { color: #7ec8a0; }
.ab-tool-list {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── BLOC 8 — CONVERSATION ─────────────────────────────────── */
.ab-conversation {
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(53, 92, 74, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(199, 154, 63, 0.06), transparent 60%);
  border-radius: 24px;
  padding: 100px 32px !important;
  margin-top: 40px;
  border: none;
}
body.dark .ab-conversation {
  background:
    radial-gradient(ellipse at top, rgba(126, 200, 160, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(199, 154, 63, 0.07), transparent 60%);
}
.ab-conv-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
}
.ab-conv-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.ab-conv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 60px;
}
.ab-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  transition: all 0.25s ease;
}
.ab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}
.ab-btn--primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
body.dark .ab-btn--primary {
  background: #7ec8a0;
  color: #0f1620;
  border-color: #7ec8a0;
}
.ab-btn--primary:hover { filter: brightness(1.06); }
.ab-conv-signature {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  opacity: 0.6;
  letter-spacing: 0.06em;
}

.ab-conv-divider {
  width: 72px;
  height: 3px;
  margin: 24px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #355c4a, #88c9a1, transparent);
  box-shadow: 0 0 10px rgba(136, 201, 161, 0.45);
}
body.dark .ab-conv-divider {
  background: linear-gradient(90deg, #4a7c65, #a3c4b5, transparent);
  box-shadow: 0 0 14px rgba(163, 196, 181, 0.35);
}

/* ── Témoignage hero index ───────────────────────────────── */
.home-testimonial {
  margin: 32px auto 24px;
  max-width: 760px;
  padding: 28px 32px;
  border-left: 4px solid var(--accent);
  background: rgba(53, 92, 74, 0.04);
  border-radius: 0 14px 14px 0;
}
body.dark .home-testimonial {
  border-left-color: #88c9a1;
  background: rgba(136, 201, 161, 0.06);
}

.home-testimonial-quote {
  margin: 0;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
}

.home-testimonial-quote p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--text);
  margin: 0 0 10px;
}

.home-testimonial-quote footer {
  font-family: inherit;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ── Bio auteur en bas d'article blog ─────────────────────── */
.author-bio {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  margin: 32px 0 24px;
  border-radius: 16px;
  background: rgba(53, 92, 74, 0.05);
  border: 1px solid rgba(53, 92, 74, 0.12);
}
body.dark .author-bio {
  background: rgba(136, 201, 161, 0.06);
  border-color: rgba(136, 201, 161, 0.15);
}

.author-bio-mono {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
body.dark .author-bio-mono { background: #88c9a1; color: #1a1f1d; }

.author-bio-text { flex: 1; min-width: 0; }

.author-bio-name {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
}

.author-bio-role {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.5;
}

.author-bio-links {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
}

.author-bio-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.author-bio-links a:hover { text-decoration: underline; }
body.dark .author-bio-links a { color: #88c9a1; }
.author-bio-links span { color: var(--muted); opacity: 0.5; }

@media (max-width: 600px) {
  .author-bio { flex-direction: column; text-align: center; }
  .author-bio-links { justify-content: center; }
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 980px) {
  .ab-section { padding: 70px 0; }
  .ab-hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .ab-hero-portrait { order: -1; }
  .ab-portrait-flipper { width: 270px; height: 450px; margin: 0 auto; }
  .ab-portrait-card--back { padding: 26px 26px 30px; }
  .ab-portrait-mono { font-size: 4.6rem; }
  .ab-conv-grid {
    grid-template-columns: 1fr;
    border-left: none;
  }
  .ab-conv {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .ab-conv:last-child { border-bottom: none; }
  .ab-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-method-row { grid-template-columns: 140px 1fr; }
  .ab-method-tools { display: none; }
  .ab-method-header span:last-child { display: none; }
  .ab-cards { grid-template-columns: 1fr; }
  .ab-journey-item {
    grid-template-columns: 60px 1fr;
    gap: 24px;
  }
  .ab-journey-list::before { left: 60px; }
  .ab-journey-item::before { left: 56px; }
  .ab-scroll-hint { display: none; }
}

@media (max-width: 640px) {
  .ab-main { padding: 0 20px 60px; }
  .ab-section { padding: 60px 0; }
  .ab-tools-grid { grid-template-columns: 1fr; }
  .ab-tool-block { border-right: none; border-bottom: 1px solid var(--line); }
  .ab-method-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ab-method-desc {
    border-left: none;
    border-right: none;
    padding: 6px 0;
  }
  .ab-method-tools { padding-left: 0; }
  .ab-method-header { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   WIP OVERLAY — pages en cours de construction
   Activé via body[data-wip="true"], masqué si localStorage wip_admin=on
════════════════════════════════════════════════════════════════ */
.wip-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--bg-solid, #f4f6f2);
  text-align: center;
  padding: 32px;
}
body.dark .wip-overlay {
  background: #111714;
}
.wip-overlay__icon {
  font-size: 2.4rem;
  animation: wip-spin 6s linear infinite;
}
@keyframes wip-spin {
  0%   { transform: rotate(0deg);   }
  100% { transform: rotate(360deg); }
}
.wip-overlay__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--heading);
  margin: 0;
}
.wip-overlay__sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 380px;
  margin: 0;
  line-height: 1.6;
}
.wip-overlay__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.wip-overlay__back:hover { opacity: 0.85; }

/* ═══════════════════════════════════════════════════════════════
   SPOTLIGHT CARD — effet glow qui suit le curseur
   Appliqué sur [data-glow] (compétences)
════════════════════════════════════════════════════════════════ */
[data-glow] {
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-opacity: 0;
  position: relative;
  transition: --glow-opacity 0.3s ease;
}

[data-glow]::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--glow-x) var(--glow-y),
    rgba(53, 92, 74, 0.18) 0%,
    rgba(53, 92, 74, 0.06) 40%,
    transparent 70%
  );
  opacity: var(--glow-opacity);
  transition: opacity 0.25s ease;
  z-index: 0;
}

[data-glow]::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    180px circle at var(--glow-x) var(--glow-y),
    rgba(126, 200, 160, 0.25) 0%,
    transparent 60%
  );
  opacity: var(--glow-opacity);
  transition: opacity 0.25s ease;
  z-index: 0;
  mix-blend-mode: screen;
}

body.dark [data-glow]::before {
  background: radial-gradient(
    280px circle at var(--glow-x) var(--glow-y),
    rgba(126, 200, 160, 0.15) 0%,
    rgba(126, 200, 160, 0.05) 40%,
    transparent 70%
  );
}

body.dark [data-glow]::after {
  background: radial-gradient(
    180px circle at var(--glow-x) var(--glow-y),
    rgba(199, 154, 63, 0.2) 0%,
    transparent 60%
  );
}

[data-glow] > * {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   OPTIMISATIONS MOBILE — désactive les effets coûteux
   Affecte UNIQUEMENT les écrans <= 760px (laisse desktop intact)
════════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {

  /* — Désactive les particules en arrière-plan — */
  #particles {
    display: none !important;
  }

  /* — Fige le gradient animé du body (gardé visuellement) — */
  body {
    animation: none !important;
    background-size: 100% 100% !important;
  }

  /* — Supprime les blobs flottants en arrière-plan — */
  body::before,
  body::after {
    display: none !important;
  }

  /* — Stoppe la rotation du logo cube 3D (visuel conservé) — */
  .logo-3d-cube {
    animation: none !important;
  }

  /* — Stoppe le flottement permanent des cartes — */
  .float-card,
  .floating-card {
    animation: none !important;
  }

  /* — Désactive l'effet spotlight (inutile sans curseur) — */
  [data-glow]::before,
  [data-glow]::after {
    display: none !important;
  }

  /* — Allège les backdrop-filter (très coûteux sur GPU mobile) — */
  .carte,
  .header-inner,
  .skill-domain-card,
  .project-visual-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* — Supprime le flash bleu/gris sur tap (Android/iOS) — */
  a, button, [role="button"], .nav-toggle {
    -webkit-tap-highlight-color: transparent;
  }

  /* — Touch targets : assure 44px minimum sur les liens nav — */
  .main-nav a,
  .footer-nav a,
  .nav-toggle,
  #themeToggle {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* — Désactive l'animation du point pulsant footer — */
  .footer-dot {
    animation: none !important;
  }

  /* — Cache le monogramme AB du hero accueil sur mobile — */
  .studio-monogram {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* PAGE COMPÉTENCES — refonte v2                                */
/* ═══════════════════════════════════════════════════════════ */

/* Helpers */
.skill-page-intro p {
  max-width: 65ch;
}

.muted {
  color: var(--text);
  opacity: 0.72;
  margin-top: 4px;
}

/* ── Radar chart ─────────────────────────────────────────── */

.skill-radar-section {
  text-align: left;
}

.skill-radar-wrapper {
  display: grid;
  grid-template-columns: minmax(260px, 460px) 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 28px;
}

@media (max-width: 760px) {
  .skill-radar-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.skill-radar-svg {
  width: 100%;
  height: auto;
  max-width: 460px;
  margin: 0 auto;
  color: var(--text);
  display: block;
}

.skill-radar-svg .radar-grid polygon {
  stroke: rgba(53, 92, 74, 0.18);
}
.skill-radar-svg .radar-axes line {
  stroke: rgba(53, 92, 74, 0.18);
}
.skill-radar-svg .radar-data {
  fill: rgba(53, 92, 74, 0.22);
  stroke: #355c4a;
}
.skill-radar-svg .radar-points circle {
  fill: #355c4a;
}
.skill-radar-svg .radar-labels text {
  fill: var(--text);
}

body.dark .skill-radar-svg .radar-grid polygon {
  stroke: rgba(163, 196, 181, 0.22);
}
body.dark .skill-radar-svg .radar-axes line {
  stroke: rgba(163, 196, 181, 0.20);
}
body.dark .skill-radar-svg .radar-data {
  fill: rgba(163, 196, 181, 0.22);
  stroke: #a3c4b5;
}
body.dark .skill-radar-svg .radar-points circle {
  fill: #a3c4b5;
}

.skill-radar-legend {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.94rem;
}

.skill-radar-legend li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: rgba(53, 92, 74, 0.06);
  border-radius: 10px;
  border: 1px solid rgba(53, 92, 74, 0.10);
}

body.dark .skill-radar-legend li {
  background: rgba(163, 196, 181, 0.06);
  border-color: rgba(163, 196, 181, 0.14);
}

.skill-radar-legend strong {
  margin-left: auto;
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body.dark .skill-radar-legend strong {
  color: #a3c4b5;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}

body.dark .legend-dot {
  background: #a3c4b5;
}

/* ── Skill domains block (proof links) ───────────────────── */

.skill-domains-block {
  text-align: left;
}

.skill-domains-block > .section-label,
.skill-domains-block > h2,
.skill-domains-block > .muted, .skill-domains-block > h1.hero-title {
  text-align: center;
}

.skill-domains-block .muted {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
}

.skill-proof-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.skill-proof-item .skill-tag {
  flex-shrink: 0;
}

.skill-proof-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.15s ease, transform 0.15s ease;
  letter-spacing: 0.01em;
}

.skill-proof-link:hover,
.skill-proof-link:focus-visible {
  opacity: 1;
  transform: translateX(2px);
}

body.dark .skill-proof-link {
  color: #a3c4b5;
}

/* ── Tool tiers ──────────────────────────────────────────── */

.tool-tier {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed rgba(53, 92, 74, 0.15);
}

.tool-tier:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 22px;
}

body.dark .tool-tier {
  border-top-color: rgba(163, 196, 181, 0.18);
}

.tier-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.tier-header h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.tier-desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0.7;
  flex-basis: 100%;
}

.tier-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  flex-shrink: 0;
}

.tier-dot--green {
  background: #4caf50;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.18);
}
.tier-dot--amber {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}
.tier-dot--blue {
  background: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

.tool-tier .tools-chip-grid {
  justify-content: flex-start;
  margin-top: 0;
}

/* ── Method grid ─────────────────────────────────────────── */

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .method-grid {
    grid-template-columns: 1fr;
  }
}

.method-card {
  position: relative;
  padding: 24px;
  background: var(--soft-box);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.method-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
}

body.dark .method-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.40);
}

.method-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.45;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

body.dark .method-number {
  color: #a3c4b5;
  opacity: 0.55;
}

.method-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}

.method-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
  opacity: 0.85;
}

/* ── Learning grid ───────────────────────────────────────── */

.learning-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}

@media (max-width: 640px) {
  .learning-grid {
    grid-template-columns: 1fr;
  }
}

.learning-card {
  position: relative;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(53, 92, 74, 0.07), rgba(53, 92, 74, 0.02));
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
}

body.dark .learning-card {
  background: linear-gradient(135deg, rgba(163, 196, 181, 0.07), rgba(163, 196, 181, 0.02));
  border-left-color: #a3c4b5;
}

.learning-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.learning-card h3::before {
  content: "✦";
  color: var(--accent);
  font-size: 0.85em;
  flex-shrink: 0;
}

body.dark .learning-card h3::before {
  color: #a3c4b5;
}

.learning-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
  opacity: 0.85;
}

/* ── Languages ───────────────────────────────────────────── */

.language-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lang-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lang-info {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.lang-info strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
}

.lang-level {
  font-size: 0.82rem;
  color: var(--text);
  opacity: 0.7;
}

.lang-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(53, 92, 74, 0.10);
  overflow: hidden;
}

body.dark .lang-bar {
  background: rgba(163, 196, 181, 0.12);
}

.lang-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #355c4a, #88c9a1);
  border-radius: 999px;
  transition: width 0.6s ease;
}

body.dark .lang-bar-fill {
  background: linear-gradient(90deg, #4a7c65, #a3c4b5);
}

/* ── Certifications ──────────────────────────────────────── */

.cert-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cert-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cert-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin-bottom: 2px;
  color: var(--text);
}

.cert-meta {
  font-size: 0.82rem;
  color: var(--text);
  opacity: 0.7;
}

.cert-status {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  margin-top: 4px;
  border: 2px solid transparent;
}

.cert-status--current {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(53, 92, 74, 0.20);
}

.cert-status--planned {
  background: transparent;
  border-color: var(--text);
  opacity: 0.40;
}

.cert-status--done {
  background: var(--accent);
  opacity: 0.55;
}

body.dark .cert-status--current {
  background: #a3c4b5;
  box-shadow: 0 0 0 3px rgba(163, 196, 181, 0.22);
}

/* ── Final CTA ───────────────────────────────────────────── */

.final-cta {
  text-align: center;
}

.final-cta .hero-actions {
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ═══════════════════════════════════════════════════════════ */
/* PAGE EXPÉRIENCES — refonte v2                                */
/* ═══════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────── */
.exp-hero {
  text-align: center;
}

.exp-hero-title {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 12px 0 18px;
}

.exp-hero-italic {
  font-style: italic;
  color: var(--accent);
}
body.dark .exp-hero-italic { color: #88c9a1; }

.exp-hero-sub {
  max-width: 56ch;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.exp-stats {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 5vw, 60px);
  margin: 32px 0 24px;
  flex-wrap: wrap;
}

.exp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.exp-stat-num {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
body.dark .exp-stat-num { color: #88c9a1; }

.exp-stat-unit {
  font-size: 0.55em;
  opacity: 0.7;
}

.exp-stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.exp-hero-tags {
  justify-content: center;
}

/* ── Frise horizontale ───────────────────────────────────── */
.exp-frise {
  margin: 40px 0 48px;
  padding: 28px 16px;
  position: relative;
}

.exp-frise-line {
  position: absolute;
  top: 56px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(53, 92, 74, 0.35), transparent);
  z-index: 0;
}
body.dark .exp-frise-line {
  background: linear-gradient(90deg, transparent, rgba(136, 201, 161, 0.35), transparent);
}

.exp-frise-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.exp-frise-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 4px 0;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease;
}

.exp-frise-item a:hover { transform: translateY(-3px); }
.exp-frise-item a:hover .exp-frise-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(53, 92, 74, 0.15);
}

.exp-frise-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg, #fdfaf3);
  box-shadow: 0 0 0 2px var(--accent);
  transition: all 0.25s ease;
  margin-top: 14px;
}
body.dark .exp-frise-dot {
  background: #88c9a1;
  border-color: #1a1f1d;
  box-shadow: 0 0 0 2px #88c9a1;
}

.exp-frise-year {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.exp-frise-name {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.exp-frise-verb {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--accent);
  opacity: 0.85;
}
body.dark .exp-frise-verb { color: #88c9a1; }

@media (max-width: 720px) {
  .exp-frise-line { display: none; }
  .exp-frise-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

/* ── Panel header refondu ────────────────────────────────── */
.exp-panel .panel-header {
  align-items: flex-start;
  gap: 24px;
}

.exp-panel .panel-header-text { flex: 1; min-width: 0; }

.exp-panel .panel-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.exp-brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.exp-brand-logo--frega {
  width: 72px;
  height: 56px;
}
body.dark .exp-brand-logo {
  background: #f3f5f7;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

@media (max-width: 720px) {
  .exp-panel .panel-header { flex-direction: column; }
  .exp-panel .panel-meta {
    flex-direction: row;
    align-items: center;
    align-self: flex-start;
  }
}

/* ── Visual block ────────────────────────────────────────── */
.exp-visual {
  width: min(100%, 980px);
  margin: 24px auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  background: rgba(53, 92, 74, 0.04);
}
body.dark .exp-visual {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  background: rgba(136, 201, 161, 0.06);
}

.exp-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.exp-visual--gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.exp-visual--gallery img {
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
  object-fit: contain;
  background: rgba(53, 92, 74, 0.04);
}
body.dark .exp-visual--gallery img {
  background: rgba(136, 201, 161, 0.06);
}
body.dark .exp-visual--gallery img {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

@media (max-width: 600px) {
  .exp-visual--gallery {
    grid-template-columns: 1fr;
  }
}

/* ── Icônes SVG dans les detail-cards ────────────────────── */
.detail-icon-svg {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(53, 92, 74, 0.1);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
body.dark .detail-icon-svg {
  background: rgba(136, 201, 161, 0.14);
  color: #88c9a1;
}

/* ── Pivot Meet'up → Shibui ──────────────────────────────── */
.exp-pivot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin: 24px 0;
}

.exp-pivot-card {
  padding: 22px 22px;
  border-radius: 14px;
  background: rgba(53, 92, 74, 0.05);
  border: 1px solid rgba(53, 92, 74, 0.12);
}
body.dark .exp-pivot-card {
  background: rgba(136, 201, 161, 0.06);
  border-color: rgba(136, 201, 161, 0.18);
}

.exp-pivot-card--after {
  background: linear-gradient(135deg, rgba(53, 92, 74, 0.1), rgba(136, 201, 161, 0.06));
  border-color: rgba(53, 92, 74, 0.25);
}
body.dark .exp-pivot-card--after {
  background: linear-gradient(135deg, rgba(136, 201, 161, 0.12), rgba(74, 124, 101, 0.08));
  border-color: rgba(136, 201, 161, 0.3);
}

.exp-pivot-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 6px;
}

.exp-pivot-card h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}

.exp-pivot-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 12px;
  font-style: italic;
}

.exp-pivot-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.exp-pivot-card ul li { margin-bottom: 4px; }

.exp-pivot-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  gap: 4px;
}
.exp-pivot-arrow svg { opacity: 0.7; }
.exp-pivot-arrow span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}
body.dark .exp-pivot-arrow { color: #88c9a1; }

@media (max-width: 720px) {
  .exp-pivot {
    grid-template-columns: 1fr;
  }
  .exp-pivot-arrow {
    transform: rotate(90deg);
    margin: 4px 0;
  }
}

/* ── Quote dans expérience ───────────────────────────────── */
.exp-quote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: rgba(53, 92, 74, 0.04);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
}
body.dark .exp-quote {
  border-left-color: #88c9a1;
  background: rgba(136, 201, 161, 0.06);
}

.exp-quote p {
  margin: 0 0 8px;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
}

.exp-quote footer {
  font-size: 0.85rem;
  color: var(--muted);
  font-family: inherit;
  font-style: normal;
}

/* ── Lesson italique ─────────────────────────────────────── */
.exp-lesson {
  margin: 24px 0 8px;
  padding: 12px 0;
  border-top: 1px solid rgba(53, 92, 74, 0.15);
  font-size: 0.98rem;
  color: var(--accent);
  text-align: center;
}
body.dark .exp-lesson {
  border-top-color: rgba(136, 201, 161, 0.18);
  color: #a3c4b5;
}

/* ── Actions multiples ───────────────────────────────────── */
.exp-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 16px;
}

.exp-actions .detail-link { margin: 0; }

.exp-actions .cta-button {
  margin-left: auto;
}

@media (max-width: 560px) {
  .exp-actions {
    align-items: stretch;
  }

  .exp-actions .detail-link,
  .exp-actions .cta-button {
    width: 100%;
    margin-left: 0;
  }
}

/* ── Stat unit (sup/sub) ─────────────────────────────────── */
.stat-card .stat-number .stat-unit {
  font-size: 0.5em;
  opacity: 0.65;
  font-weight: normal;
}
.stat-card .stat-number sup {
  font-size: 0.55em;
  vertical-align: super;
  opacity: 0.75;
}

/* ── Bilan ───────────────────────────────────────────────── */
.exp-bilan { text-align: center; }

.exp-bilan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 28px 0 24px;
  padding: 24px 16px;
  background: rgba(53, 92, 74, 0.04);
  border-radius: 14px;
  border: 1px solid rgba(53, 92, 74, 0.1);
}
body.dark .exp-bilan-grid {
  background: rgba(136, 201, 161, 0.06);
  border-color: rgba(136, 201, 161, 0.16);
}

.exp-bilan-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.exp-bilan-value {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
body.dark .exp-bilan-value { color: #88c9a1; }

.exp-bilan-label {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.exp-bilan-signature {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-style: italic;
  color: var(--text);
  margin: 24px auto 28px;
  max-width: 38ch;
  line-height: 1.4;
}

.exp-bilan-signature .exp-italic {
  color: var(--accent);
  font-weight: 500;
}
body.dark .exp-bilan-signature .exp-italic { color: #88c9a1; }

.exp-bilan .hero-actions { justify-content: center; flex-wrap: wrap; gap: 12px; }

@media (max-width: 720px) {
  .exp-bilan-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
  }
}

/* ── Reduce motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .exp-frise-item a:hover { transform: none; }
  .exp-frise-dot { transition: none; }
}

/* ── Surligneur terracotta ───────────────────────────────── */
.exp-highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}


/* ── Icônes au-dessus des stats ──────────────────────────── */
.exp-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.65;
  margin-bottom: 2px;
}
body.dark .exp-stat-icon { color: #88c9a1; }

/* ── Stats strip horizontale (compacte) ────────────────── */
.exp-hero-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  margin: 36px auto 8px;
  padding: 24px 8px;
  max-width: 820px;
  flex-wrap: wrap;
}

.exp-stat-inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.exp-stat-inline .exp-stat-num {
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1;
}

.exp-stat-inline .exp-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.exp-stat-sep {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, rgba(53, 92, 74, 0.3), transparent);
}
body.dark .exp-stat-sep {
  background: linear-gradient(180deg, transparent, rgba(136, 201, 161, 0.35), transparent);
}

@media (max-width: 640px) {
  .exp-stat-sep { display: none; }
  .exp-hero-stats-strip { gap: 28px; padding: 20px 0; }
}

/* ── Sommaire éditorial (5 cards en grille) ─────────────── */
.exp-hero-toc {
  margin: 28px auto 12px;
  max-width: 980px;
  text-align: center;
}

.exp-toc-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 auto 18px;
  font-weight: 600;
  max-width: 420px;
}

.exp-toc-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 92, 74, 0.25), transparent);
}
body.dark .exp-toc-line {
  background: linear-gradient(90deg, transparent, rgba(136, 201, 161, 0.3), transparent);
}

.exp-toc-title::before {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 92, 74, 0.25));
}
body.dark .exp-toc-title::before {
  background: linear-gradient(90deg, transparent, rgba(136, 201, 161, 0.3));
}

.exp-toc-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 180px));
  justify-content: center;
  gap: 10px;
}

.exp-toc-grid > li { display: flex; }
.exp-toc-grid > li > a { width: 100%; }

.exp-toc-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 18px 16px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background: rgba(53, 92, 74, 0.04);
  border: 1px solid rgba(53, 92, 74, 0.1);
  transition: all 0.25s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.exp-toc-grid a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.exp-toc-grid a:hover {
  background: rgba(53, 92, 74, 0.08);
  border-color: rgba(53, 92, 74, 0.25);
  transform: translateY(-3px);
}

.exp-toc-grid a:hover::before { transform: scaleY(1); }

body.dark .exp-toc-grid a {
  background: rgba(136, 201, 161, 0.06);
  border-color: rgba(136, 201, 161, 0.15);
}
body.dark .exp-toc-grid a:hover {
  background: rgba(136, 201, 161, 0.12);
  border-color: rgba(136, 201, 161, 0.3);
}
body.dark .exp-toc-grid a::before { background: #88c9a1; }

.exp-toc-num {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.02em;
}
body.dark .exp-toc-num { color: #88c9a1; }

.exp-toc-name {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 2px;
}

.exp-toc-meta {
  margin-top: auto;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-top: 8px;
}

@media (max-width: 920px) {
  .exp-toc-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .exp-toc-grid a { padding: 14px 10px; }
  .exp-toc-num { font-size: 1.2rem; }
  .exp-toc-name { font-size: 0.9rem; }
  .exp-toc-meta { font-size: 0.65rem; }
}

@media (max-width: 560px) {
  .exp-toc-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }
  .exp-toc-grid a { padding: 12px 6px; }
  .exp-toc-meta { display: none; }
}

/* ── Shell wide (panels élargis et centrés) ─────────────── */
.exp-shell-wide {
  display: block;
  margin: 56px auto 0;
  max-width: 1100px;
}

.experience-content--wide {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.experience-content--wide .experience-panel {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
}

@media (min-width: 1100px) {
  .experience-content--wide .experience-panel {
    padding: 52px 56px;
  }
}

/* Theme Meet'up / Shibui - orange logo */
[data-theme="meetup"] {
  --accent: #ff6a3d;
  --button: linear-gradient(135deg, #ff3f3f, #ff8a3c);
  --button-hover: linear-gradient(135deg, #ff6a3d, #ffad6a);
  --button-shadow: 0 16px 34px rgba(255, 106, 61, 0.22);
}

[data-theme="meetup"] .page-hero {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 63, 63, 0.13), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(255, 138, 60, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 250, 246, 0.98), rgba(255, 255, 255, 0.92));
  border-color: rgba(255, 106, 61, 0.16);
}

[data-theme="meetup"] .experience-kicker,
[data-theme="meetup"] .breadcrumb a,
[data-theme="meetup"] .detail-link {
  color: #d85b34;
}

[data-theme="meetup"] h2,
[data-theme="meetup"] main h2,
[data-theme="meetup"] .carte h2,
[data-theme="meetup"] main.carte h2,
[data-theme="meetup"] .stat-number,
[data-theme="meetup"] .metric-number, [data-theme="meetup"] h1.hero-title, [data-theme="meetup"] main h1.hero-title, [data-theme="meetup"] .carte h1.hero-title, [data-theme="meetup"] main.carte h1.hero-title {
  background: linear-gradient(135deg, #e94a38, #ff8a3c) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

[data-theme="meetup"] .tag,
[data-theme="meetup"] .date-pill {
  background: rgba(255, 106, 61, 0.10);
  border-color: rgba(255, 106, 61, 0.24);
  color: #b9482d;
}

[data-theme="meetup"] .detail-icon,
[data-theme="meetup"] .detail-icon-svg {
  background: linear-gradient(135deg, #ff6a3d, #ffad6a);
  color: #fff;
  box-shadow: 0 14px 26px rgba(255, 106, 61, 0.22);
}

[data-theme="meetup"] .detail-card,
[data-theme="meetup"] .stat-card,
[data-theme="meetup"] .learning-item,
[data-theme="meetup"] .slide-figure,
[data-theme="meetup"] .gallery-item {
  border-color: rgba(255, 106, 61, 0.13);
}

[data-theme="meetup"] .detail-card:hover,
[data-theme="meetup"] .stat-card:hover,
[data-theme="meetup"] .learning-item:hover {
  border-color: rgba(255, 106, 61, 0.30);
}

[data-theme="meetup"] .cta-button:hover {
  background: linear-gradient(135deg, #ff6a3d, #ffad6a) !important;
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(255, 106, 61, 0.28) !important;
}

[data-theme="meetup"] .cta-button.secondary:hover {
  background: rgba(255, 106, 61, 0.10) !important;
  border-color: rgba(255, 106, 61, 0.42) !important;
  color: #b9482d !important;
}

[data-theme="meetup"] .slide-figure figcaption,
[data-theme="meetup"] .quote,
[data-theme="meetup"] blockquote {
  color: #a95535;
}

[data-theme="meetup"] .main-nav a.active,
[data-theme="meetup"] .main-nav a[aria-current="page"] {
  color: #d85b34 !important;
}

[data-theme="meetup"] .main-nav a.active::after,
[data-theme="meetup"] .main-nav a[aria-current="page"]::after {
  background: #ff6a3d !important;
}

body.dark[data-theme="meetup"] {
  --accent: #ffb07a;
  --button: linear-gradient(135deg, #ff6a3d, #ff9d5d);
  --button-hover: linear-gradient(135deg, #ff8a3c, #ffc08f);
  --button-shadow: 0 16px 34px rgba(255, 138, 60, 0.24);
}

body.dark[data-theme="meetup"] .page-hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 106, 61, 0.14), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(255, 173, 106, 0.10), transparent 34%),
    rgba(15, 23, 42, 0.88);
  border-color: rgba(255, 173, 106, 0.18);
}

body.dark[data-theme="meetup"] .experience-kicker,
body.dark[data-theme="meetup"] .breadcrumb a,
body.dark[data-theme="meetup"] .detail-link {
  color: #ffb07a;
}

body.dark[data-theme="meetup"] h2,
body.dark[data-theme="meetup"] main h2,
body.dark[data-theme="meetup"] .carte h2,
body.dark[data-theme="meetup"] main.carte h2,
body.dark[data-theme="meetup"] .stat-number,
body.dark[data-theme="meetup"] .metric-number, body.dark[data-theme="meetup"] h1.hero-title, body.dark[data-theme="meetup"] main h1.hero-title, body.dark[data-theme="meetup"] .carte h1.hero-title, body.dark[data-theme="meetup"] main.carte h1.hero-title {
  background: linear-gradient(135deg, #ff9d5d, #ffd1aa) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

body.dark[data-theme="meetup"] .tag,
body.dark[data-theme="meetup"] .date-pill {
  background: rgba(255, 173, 106, 0.10);
  border-color: rgba(255, 173, 106, 0.24);
  color: #ffd1aa;
}

body.dark[data-theme="meetup"] .cta-button:hover {
  background: linear-gradient(135deg, #ff8a3c, #ffc08f) !important;
  color: #221006 !important;
  box-shadow: 0 14px 32px rgba(255, 138, 60, 0.30) !important;
}

/* Experiences page - hero more readable and structured */
body[data-page="experiences"] .exp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 5vw, 62px) clamp(22px, 4vw, 54px);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 90, 95, 0.08), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(27, 107, 130, 0.10), transparent 30%),
    radial-gradient(circle at 50% 94%, rgba(53, 92, 74, 0.10), transparent 34%),
    var(--card);
}

body[data-page="experiences"] .exp-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(53, 92, 74, 0.08);
  border-radius: inherit;
  pointer-events: none;
}

/* ── Guillemet décoratif géant en arrière-plan ───────────── */
body[data-page="experiences"] .exp-hero::after {
  content: "“";
  position: absolute;
  top: clamp(-30px, -2vw, -10px);
  left: clamp(12px, 4vw, 56px);
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: clamp(180px, 22vw, 320px);
  font-weight: 600;
  font-style: italic;
  line-height: 0.9;
  color: rgba(53, 92, 74, 0.08);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

body.dark[data-page="experiences"] .exp-hero::after {
  color: rgba(136, 201, 161, 0.10);
}

@media (max-width: 760px) {
  body[data-page="experiences"] .exp-hero::after {
    font-size: 140px;
    top: -10px;
    left: 8px;
  }
}

body[data-page="experiences"] .exp-hero > * {
  position: relative;
  z-index: 1;
}

body[data-page="experiences"] .exp-hero .section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  padding: 8px 14px;
  border: 1px solid rgba(53, 92, 74, 0.16);
  border-radius: 999px;
  background: rgba(53, 92, 74, 0.06);
}

body[data-page="experiences"] .exp-hero-title {
  max-width: 840px;
  margin: 0 auto 14px;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08;
}

body[data-page="experiences"] .exp-hero-sub {
  max-width: 64ch;
  margin: 0 auto 22px;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.65;
}

body[data-page="experiences"] .exp-highlight::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.08em;
  height: 0.28em;
  border-radius: 999px;
  background: rgba(190, 128, 86, 0.22);
  z-index: -1;
}

body[data-page="experiences"] .exp-hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 900px);
  margin: 24px auto 18px;
  padding: 0;
}

body[data-page="experiences"] .exp-stat-sep {
  display: none;
}

body[data-page="experiences"] .exp-stat-inline {
  min-height: 154px;
  justify-content: center;
  padding: 22px 18px;
  border: 1px solid rgba(53, 92, 74, 0.13);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    rgba(53, 92, 74, 0.045);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.055);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

body[data-page="experiences"] .exp-stat-inline:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 92, 74, 0.24);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

body[data-page="experiences"] .exp-stat-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 2px;
  border-radius: 999px;
  background: rgba(53, 92, 74, 0.08);
  opacity: 1;
}

body[data-page="experiences"] .exp-stat-inline .exp-stat-num {
  font-size: clamp(2.2rem, 4vw, 3.15rem);
}

body[data-page="experiences"] .exp-stat-inline .exp-stat-label {
  font-size: 0.78rem;
  font-weight: 800;
}

.exp-stat-note {
  margin-top: 2px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
}

body[data-page="experiences"] .exp-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 4px auto 30px;
  flex-wrap: wrap;
}

body[data-page="experiences"] .exp-hero-actions .cta-button {
  min-height: 44px;
  padding: 12px 18px;
}

body[data-page="experiences"] .exp-hero-tags {
  margin-top: 18px;
}

body[data-page="experiences"] .exp-hero-toc {
  width: min(100%, 1060px);
  margin: 26px auto 0;
  padding-top: 4px;
}

body[data-page="experiences"] .exp-toc-title {
  max-width: 560px;
  margin-bottom: 8px;
  color: var(--accent);
}

.exp-toc-help {
  max-width: 58ch;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

body[data-page="experiences"] .exp-toc-grid {
  position: relative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

/* Pas de trait de frise : les cartes étant translucides, il apparaissait
   à travers elles, sous les noms, comme un défaut d'affichage. */
body[data-page="experiences"] .exp-toc-grid::before {
  content: none;
}

body[data-page="experiences"] .exp-toc-grid > li {
  position: relative;
  z-index: 1;
}

body[data-page="experiences"] .exp-toc-grid > li:nth-child(1) { --toc-color: #ff5a5f; --toc-rgb: 255, 90, 95; }
body[data-page="experiences"] .exp-toc-grid > li:nth-child(2) { --toc-color: #ff6a3d; --toc-rgb: 255, 106, 61; }
body[data-page="experiences"] .exp-toc-grid > li:nth-child(3) { --toc-color: #1b6b82; --toc-rgb: 27, 107, 130; }
body[data-page="experiences"] .exp-toc-grid > li:nth-child(4) { --toc-color: #355c4a; --toc-rgb: 53, 92, 74; }
body[data-page="experiences"] .exp-toc-grid > li:nth-child(5) { --toc-color: #6b7280; --toc-rgb: 107, 114, 128; }

body[data-page="experiences"] .exp-toc-grid a {
  min-height: 132px;
  padding: 20px 14px 16px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(var(--toc-rgb), 0.18), rgba(var(--toc-rgb), 0.075) 46%, rgba(255, 255, 255, 0.78)),
    rgba(var(--toc-rgb), 0.10);
  border-color: rgba(var(--toc-rgb), 0.26);
  box-shadow: 0 16px 30px rgba(var(--toc-rgb), 0.10);
}

body[data-page="experiences"] .exp-toc-grid a::before {
  left: 50%;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: var(--toc-color);
}

body[data-page="experiences"] .exp-toc-grid a:hover {
  background:
    linear-gradient(145deg, rgba(var(--toc-rgb), 0.26), rgba(var(--toc-rgb), 0.11) 48%, rgba(255, 255, 255, 0.86)),
    rgba(var(--toc-rgb), 0.14);
  border-color: rgba(var(--toc-rgb), 0.42);
  box-shadow: 0 20px 38px rgba(var(--toc-rgb), 0.18);
}

body[data-page="experiences"] .exp-toc-num {
  color: var(--toc-color);
}

body[data-page="experiences"] .exp-toc-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(var(--toc-rgb), 0.18);
  color: color-mix(in srgb, var(--toc-color) 72%, #1f2937);
}

body[data-page="experiences"] .exp-frise {
  margin: 30px 0 42px;
}

body[data-page="experiences"] .exp-frise-item:nth-child(1) { --frise-color: #ff5a5f; }
body[data-page="experiences"] .exp-frise-item:nth-child(2),
body[data-page="experiences"] .exp-frise-item:nth-child(3) { --frise-color: #ff6a3d; }
body[data-page="experiences"] .exp-frise-item:nth-child(4) { --frise-color: #1b6b82; }
body[data-page="experiences"] .exp-frise-item:nth-child(5) { --frise-color: #355c4a; }

body[data-page="experiences"] .exp-frise-dot {
  background: var(--frise-color);
  box-shadow: 0 0 0 2px var(--frise-color);
}

body[data-page="experiences"] .exp-frise-verb {
  color: var(--frise-color);
}

body.dark[data-page="experiences"] .exp-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 90, 95, 0.10), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(107, 198, 213, 0.10), transparent 30%),
    radial-gradient(circle at 50% 94%, rgba(136, 201, 161, 0.10), transparent 34%),
    var(--card);
}

body.dark[data-page="experiences"] .exp-hero::before {
  border-color: rgba(136, 201, 161, 0.12);
}

body.dark[data-page="experiences"] .exp-hero .section-label {
  background: rgba(136, 201, 161, 0.08);
  border-color: rgba(136, 201, 161, 0.18);
}

body.dark[data-page="experiences"] .exp-stat-inline {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(136, 201, 161, 0.045);
  border-color: rgba(136, 201, 161, 0.15);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

body.dark[data-page="experiences"] .exp-stat-icon {
  background: rgba(136, 201, 161, 0.11);
}

body.dark[data-page="experiences"] .exp-toc-grid a {
  background:
    linear-gradient(145deg, rgba(var(--toc-rgb), 0.22), rgba(var(--toc-rgb), 0.09) 50%, rgba(255, 255, 255, 0.035)),
    rgba(var(--toc-rgb), 0.10);
  border-color: rgba(var(--toc-rgb), 0.30);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

body.dark[data-page="experiences"] .exp-toc-grid a:hover {
  background:
    linear-gradient(145deg, rgba(var(--toc-rgb), 0.30), rgba(var(--toc-rgb), 0.13) 50%, rgba(255, 255, 255, 0.055)),
    rgba(var(--toc-rgb), 0.14);
}

body.dark[data-page="experiences"] .exp-toc-num {
  color: var(--toc-color);
}

body.dark[data-page="experiences"] .exp-toc-meta {
  color: #f8fafc;
  background: rgba(var(--toc-rgb), 0.16);
}

@media (max-width: 820px) {
  body[data-page="experiences"] .exp-hero-stats-strip {
    grid-template-columns: 1fr;
  }

  body[data-page="experiences"] .exp-stat-inline {
    min-height: auto;
  }

  body[data-page="experiences"] .exp-toc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="experiences"] .exp-toc-grid::before {
    display: none;
  }
}

@media (max-width: 520px) {
  body[data-page="experiences"] .exp-toc-grid {
    grid-template-columns: 1fr;
  }
}

/* Meet'up / Shibui title treatment */
.pivot-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  color: var(--text) !important;
}

.pivot-title-flow {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 18px);
  flex-wrap: wrap;
}

.pivot-title-name {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.pivot-title-name--meetup {
  color: #e95b3d;
}

.pivot-title-name--shibui {
  color: #3b6d4b;
}

.pivot-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transform: translateY(1px);
  padding: 8px 12px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 106, 61, 0.16), rgba(255, 138, 60, 0.08));
  border: 1px solid rgba(255, 106, 61, 0.24);
  color: #d85b34;
  font-family: var(--font-sans, inherit);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(255, 106, 61, 0.10);
}

.pivot-title-badge svg {
  width: 38px;
  height: 14px;
  transition: transform 0.25s ease;
}

.pivot-title:hover .pivot-title-badge svg {
  transform: translateX(4px);
}

body.dark .pivot-title {
  color: var(--text) !important;
}

body.dark .pivot-title-name--meetup {
  color: #ff9d5d;
}

body.dark .pivot-title-name--shibui {
  color: #9ad7af;
}

body.dark .pivot-title-badge {
  background: linear-gradient(135deg, rgba(255, 157, 93, 0.18), rgba(255, 192, 143, 0.08));
  border-color: rgba(255, 157, 93, 0.28);
  color: #ffc08f;
}

@media (max-width: 680px) {
  .pivot-title {
    align-items: flex-start;
  }

  .pivot-title-flow {
    gap: 10px;
  }

  .pivot-title-badge {
    order: 3;
  }
}

/* ── Page hero secondary (remplace typewriter) ────────────── */
.page-hero-secondary {
  margin-top: 14px;
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 60ch;
}
.carte.page-hero .page-hero-secondary { margin-left: auto; margin-right: auto; }

/* Bouton CV flottant retiré — trop de doublons avec les CTA existants */
.cv-fab { display: none !important; }

/* Honeypot anti-spam Netlify Forms — invisible pour humains, visible pour bots */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Page 404 ────────────────────────────────────────────── */
.error-404 { text-align: center; padding: 64px 32px; }

.error-404-title {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 16px 0 18px;
}

.error-404-sub {
  max-width: 50ch;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.error-404-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 180px));
  justify-content: center;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.error-404-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 22px 18px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  background: rgba(53, 92, 74, 0.05);
  border: 1px solid rgba(53, 92, 74, 0.12);
  transition: all 0.25s ease;
}
.error-404-card:hover {
  transform: translateY(-3px);
  background: rgba(53, 92, 74, 0.08);
  border-color: rgba(53, 92, 74, 0.25);
}
body.dark .error-404-card {
  background: rgba(136, 201, 161, 0.06);
  border-color: rgba(136, 201, 161, 0.16);
}
body.dark .error-404-card:hover {
  background: rgba(136, 201, 161, 0.12);
  border-color: rgba(136, 201, 161, 0.3);
}

.error-404-num {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
body.dark .error-404-num { color: #88c9a1; }

.error-404-name {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 1.05rem;
  font-weight: 500;
}

.error-404-meta {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 4px;
}

@media (max-width: 720px) {
  .error-404-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Bar de progression (scroll articles blog) ────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #88c9a1);
  z-index: 1000;
  transition: width 0.1s linear;
  pointer-events: none;
}
body.dark .scroll-progress {
  background: linear-gradient(90deg, #88c9a1, #c89378);
}

/* ═══════════════════════════════════════════════════════════
   IMPRESSION — Mode "exporter le portfolio en PDF"
   Active quand l'utilisateur fait Ctrl+P / Cmd+P
   ═══════════════════════════════════════════════════════════ */
@media print {
  /* Reset sécurité */
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    background: #fff !important;
    color: #1a1f1d !important;
    font-size: 11pt;
    line-height: 1.5;
  }

  /* Cacher tout ce qui n'a pas de valeur sur papier */
  header,
  .site-footer,
  .nav-toggle,
  #themeToggle,
  #particles,
  .hero-bg,
  #vantaHero,
  .ab-portrait-flipper,
  .cv-fab,
  .scroll-progress,
  .skip-link,
  .ab-scroll-hint,
  .feature-link,
  .pvc-link svg,
  .scroll-reveal,
  .reveal,
  #globeViz,
  .globe-loader,
  .typing-target,
  .exp-hero-actions,
  .exp-frise,
  .exp-toc-help,
  .exp-toc-line {
    /* on garde scroll-reveal et reveal visibles malgré tout */
  }

  /* Vraiment cacher */
  header,
  .site-footer,
  .nav-toggle,
  #themeToggle,
  #particles,
  .hero-bg,
  #vantaHero,
  .cv-fab,
  .scroll-progress,
  .skip-link,
  .ab-scroll-hint,
  #globeViz,
  .globe-loader,
  .typing-target,
  .ab-portrait-flip-hint {
    display: none !important;
  }

  /* Forcer la visibilité des éléments à animation */
  .scroll-reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  /* Cartes : simplification */
  .carte,
  .experience-panel,
  .ab-section,
  .skill-domain-card,
  .project-visual-card,
  .post-card {
    background: #fff !important;
    border: 1px solid #ddd !important;
    page-break-inside: avoid;
    margin: 12pt 0 !important;
    padding: 14pt 16pt !important;
    backdrop-filter: none !important;
  }

  /* En-tête imprimé : ajouter nom + URL en haut de la première page */
  main::before {
    content: "Antoine Balesi — Portfolio · antoine-balesi.netlify.app";
    display: block;
    font-family: var(--font-display, "Fraunces", Georgia, serif);
    font-size: 10pt;
    color: #777;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10pt;
    margin-bottom: 18pt;
  }

  /* Liens : afficher l'URL en clair après le texte */
  a[href^="http"]::after,
  a[href^="mailto"]::after {
    content: " (" attr(href) ")";
    font-size: 0.82em;
    color: #555;
    word-break: break-all;
  }
  /* Mais pas pour les liens internes ni les images */
  a[href^="#"]::after,
  a:has(img)::after { content: ""; }

  /* Coupure de page entre sections majeures */
  .ab-section,
  .experience-panel {
    page-break-before: auto;
  }

  /* Titres : ne pas couper à la fin d'une page */
  h1, h2, h3, h1.hero-title {
    page-break-after: avoid;
    page-break-inside: avoid;
  }

  /* Images : limiter la taille */
  img {
    max-width: 100% !important;
    height: auto !important;
    page-break-inside: avoid;
  }

  /* Couleurs de marque préservées sur les éléments-clés */
  .ab-italic,
  .exp-stat-num,
  .exp-stat-label {
    color: #355c4a !important;
  }

  /* Format A4 + marges */
  @page {
    size: A4;
    margin: 1.6cm 1.4cm;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* MOBILE RESPONSIVE IMPROVEMENTS — Audit mai 2026              */
/* ═══════════════════════════════════════════════════════════ */

/* #1 Titre header fluide (évite débordement sur 320-414px) */
.brand h1, .brand .brand-name {
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  line-height: 1.2;
}

/* #5 CTA hero en colonne sur petits écrans (touch targets confortables) */
@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .cta-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* #6 Photo header réduite sur ultra-mobile */
@media (max-width: 480px) {
  .brand-photo {
    width: 64px;
    height: 64px;
  }
}

/* #3 Metric grid 2×2 sur petit mobile (au lieu de 1 col empilé) */
@media (max-width: 480px) {
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .metric-card {
    padding: 16px 12px;
  }
  .metric-number {
    font-size: 1.6rem;
  }
}

/* #8 Container padding réduit en ultra-mobile (320-380px) */
@media (max-width: 380px) {
  .container {
    padding: 38px 14px 80px;
  }
}

/* #9 Home studio hero collapse plus tôt (414-720px) */
@media (max-width: 720px) {
  .home-studio-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "proof";
    min-height: auto;
    gap: 24px;
  }
  .studio-visual {
    justify-content: center;
  }
}

/* #13 Padding cards projet ajusté mobile */
@media (max-width: 480px) {
  .pvc-body {
    padding: 16px;
  }
  .pvc-banner {
    padding: 16px;
  }
}

/* #14 Touch targets WCAG 44×44 garanti sur mobile */
@media (max-width: 760px) {
  .nav-toggle,
  .cta-button,
  #themeToggle,
  .pvc-link,
  .feature-link,
  .footer-nav a,
  .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .footer-nav a,
  .footer-links a {
    padding: 6px 4px;
  }
}

/* Stats du hero expériences : 1 colonne sur ultra-mobile */
@media (max-width: 480px) {
  .exp-hero-stats-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Tools chip grid : grille plus aérée sur mobile */
@media (max-width: 480px) {
  .tools-chip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .tool-chip {
    padding: 10px 8px;
    font-size: 0.85rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   PAGE CV — cv.html
   ═══════════════════════════════════════════════════════════ */

.cv-sheet {
  margin-top: 28px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.cv-head {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
  padding: 34px 34px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--soft-box);
}

.cv-photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  flex: none;
}

.cv-head-copy {
  flex: 1 1 320px;
  min-width: 0;
}

.cv-name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

.cv-role {
  margin: 6px 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-warm);
}

.cv-pitch {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 62ch;
}

.cv-body {
  display: grid;
  grid-template-columns: minmax(220px, 290px) 1fr;
  gap: 0;
}

.cv-side {
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  background: var(--soft-box);
}

.cv-main {
  padding: 30px 34px;
  min-width: 0;
}

.cv-block + .cv-block {
  margin-top: 28px;
}

.cv-block-title {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

/* Titres de section de la colonne principale : bandeau bien visible */
.cv-main .cv-block-title {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  letter-spacing: 0.09em;
  color: #fff;
  background: var(--button);
  border: none;
  border-radius: 14px;
  padding: 13px 20px;
  margin-bottom: 24px;
  box-shadow: var(--button-shadow);
}

.cv-main .cv-block + .cv-block {
  margin-top: 38px;
}

.cv-contact,
.cv-plain,
.cv-chips,
.cv-item-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cv-contact li,
.cv-plain li {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 5px 0;
  word-break: break-word;
}

.cv-contact a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.cv-contact a:hover,
.cv-contact a:focus-visible {
  color: var(--accent-warm);
}

.cv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cv-chips li {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--input-bg);
  border: 1px solid var(--line);
  color: var(--text);
}

.cv-item + .cv-item {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}

.cv-item-title {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.35;
}

.cv-item-meta {
  margin: 4px 0 10px;
  font-size: 0.86rem;
  font-style: italic;
  color: var(--muted);
}

.cv-item-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
  line-height: 1.6;
  color: var(--muted);
}

.cv-item-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-warm);
}

.cv-item-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.cv-item-link:hover,
.cv-item-link:focus-visible {
  color: var(--accent-warm);
}

.cv-foot {
  padding: 26px 34px 32px;
  border-top: 1px solid var(--line);
  background: var(--soft-box);
}

.cv-foot p {
  margin: 0 0 16px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .cv-body {
    grid-template-columns: 1fr;
  }
  .cv-side {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .cv-head,
  .cv-main,
  .cv-foot {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 480px) {
  .cv-head {
    justify-content: center;
    text-align: center;
  }
  .cv-pitch {
    text-align: left;
  }
}

@media print {
  .cv-main .cv-block-title {
    color: #1f2937;
    background: none;
    box-shadow: none;
    border-bottom: 2px solid #355c4a;
    border-radius: 0;
    padding: 0 0 8px;
  }
  header,
  .site-footer,
  .page-hero,
  #particles,
  .cv-foot .hero-actions,
  .cv-item-link,
  .cv-fab {
    display: none !important;
  }
  body {
    background: #fff;
    animation: none;
  }
  .cv-sheet {
    box-shadow: none;
    border: none;
    margin: 0;
  }
}

/* =========================================================
   Horizon Digital â€” carte projet + select du formulaire de contact
   ========================================================= */
.pvc-banner--studio {
  background: linear-gradient(135deg, #0a1226 0%, #16213e 45%, #1668c9 100%);
}

select {
  width: 100%;
  padding: 13px 14px;
  font-size: 16px;
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  font-family: var(--font-body);
}
select:focus-visible {
  outline: none;
  border-color: #446e59;
  box-shadow: 0 0 0 4px rgba(68, 110, 89, 0.14);
}

/* =========================================================
   Refonte esthétique — octobre 2026
   Header compact, hero allégé, cartes et icônes unifiées,
   serif réservée aux grands titres, rythme vertical régulier.
   Placé en fin de fichier pour primer sur les couches précédentes.
   ========================================================= */

/* ---- Header : une seule ligne, ~70px ---- */
html {
  scroll-padding-top: 88px;
}

header {
  padding: 12px 20px;
}

.header-inner {
  flex-wrap: nowrap;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-photo {
  width: 44px;
  height: 44px;
  border-width: 2px;
  flex-shrink: 0;
}

.brand h1, .brand .brand-name {
  /* l'ancienne règle (grille) le collait en haut de la photo */
  align-self: center;
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
  white-space: nowrap;
}

.header-actions {
  flex-wrap: nowrap;
  gap: 12px;
}

.main-nav {
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
}

.main-nav a {
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Contact mis en avant comme bouton */
.main-nav a[data-nav="contact"] {
  padding: 9px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--button);
  box-shadow: var(--button-shadow);
  transition: background 0.25s ease, transform 0.25s ease;
}

.main-nav a[data-nav="contact"]::after {
  display: none;
}

.main-nav a[data-nav="contact"]:hover {
  background: var(--button-hover);
  transform: translateY(-1px);
  opacity: 1;
}

body.dark .main-nav a[data-nav="contact"].is-active,
.main-nav a[data-nav="contact"].is-active {
  color: #fff;
}

/* Bascule de thème : simple icône */
#themeToggle {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--nav);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}

#themeToggle:hover {
  background: rgba(53, 92, 74, 0.08);
  transform: none;
}

body.dark #themeToggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Bouton Menu (mobile) dans le même style discret */
.nav-toggle {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 12px;
  color: var(--nav);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}

.nav-toggle:hover {
  background: rgba(53, 92, 74, 0.08);
  transform: none;
}

/* Menu replié en dessous de 1080px : le header reste sur une ligne */
@media (max-width: 1080px) {
  .header-inner {
    justify-content: space-between;
    text-align: left;
  }

  .header-actions {
    width: auto;
    justify-content: flex-end;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 20px;
    /* quasi opaque : le flou ne fonctionne pas imbriqué dans le header */
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  body.dark .main-nav {
    background: #111a2e;
  }

  .header-actions.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a.is-active {
    background: rgba(53, 92, 74, 0.08);
  }

  body.dark .main-nav a.is-active {
    background: rgba(255, 255, 255, 0.06);
  }

  .main-nav a[data-nav="contact"] {
    margin-top: 6px;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .nav-toggle,
  #themeToggle {
    width: auto;
  }

  #themeToggle {
    width: 40px;
  }
}

@media (max-width: 420px) {
  header {
    padding: 10px 14px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand-link {
    gap: 10px;
  }

  .brand-photo {
    width: 38px;
    height: 38px;
  }

  .brand h1, .brand .brand-name {
    font-size: 1.1rem;
  }

  .header-actions {
    gap: 8px;
  }
}

/* ---- Hero accueil : allégé ---- */
.home-studio-hero {
  grid-template-areas: "copy visual";
  border-radius: 28px;
}

.studio-subtitle {
  margin: 16px 0 18px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 500;
  line-height: 1.55;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 6px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.hero-link::after {
  content: "→";
  transition: transform 0.25s ease;
}

.hero-link:hover::after {
  transform: translateX(4px);
}

body.dark .hero-link {
  color: #7ec8a0;
}

@media (max-width: 920px) {
  .home-studio-hero {
    grid-template-areas: "copy";
  }
}

@media (max-width: 700px) {
  .hero-actions .hero-link {
    justify-content: center;
  }
}

/* ---- Typographie : serif réservée aux grands titres ---- */
h3 {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---- Rythme vertical régulier entre sections ---- */
.container > * + * {
  margin-top: 80px;
}

@media (max-width: 700px) {
  .container > * + * {
    margin-top: 48px;
  }
}

/* ---- Cartes : un seul langage visuel ---- */
/* Plus de barre de couleur en haut des cartes */
.metric-card::before,
.feature::before,
.project-card::before,
.post-card::before,
.info-card::before,
.apport-accent-bar {
  display: none;
}

/* Cartes posées sur le fond : même rayon que les grandes cartes */
.carte,
.feature,
.metric-card {
  border-radius: 24px;
}

/* Cartes de rubrique alignées à gauche, comme le reste du contenu */
.feature {
  text-align: left;
  align-items: flex-start;
}

/* Éléments à l'intérieur d'une carte : fond doux, bordure fine, sans effet */
.apport-item,
.experience-item {
  border-radius: 18px;
  background: var(--soft-box);
  border: 1px solid var(--line);
  box-shadow: none;
}

.apport-item:hover,
body.dark .apport-item:hover {
  transform: none;
  box-shadow: none;
}

/* Icônes : une seule taille, une seule couleur */
body .apport-grid .apport-icon-wrap,
body .features .feature-icon-wrap,
body .objectif-grid .objectif-icon-wrap {
  width: 44px;
  height: 44px;
  margin: 0 0 16px;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(53, 92, 74, 0.10);
  border: 1px solid rgba(53, 92, 74, 0.15);
}

body .objectif-grid .objectif-icon-wrap {
  margin-bottom: 4px;
}

body .apport-grid .apport-icon-wrap svg,
body .features .feature-icon-wrap svg,
body .objectif-grid .objectif-icon-wrap svg {
  width: 22px;
  height: 22px;
}

body.dark .apport-grid .apport-icon-wrap,
body.dark .features .feature-icon-wrap,
body.dark .objectif-grid .objectif-icon-wrap {
  color: #7ec8a0;
  background: rgba(126, 200, 160, 0.10);
  border-color: rgba(126, 200, 160, 0.20);
}

/* ---- Page Expériences : sommaire en 6 étapes (Belavi ajouté) ---- */
body[data-page="experiences"] .exp-toc-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

body[data-page="experiences"] .exp-toc-grid > li:nth-child(5) { --toc-color: #b45309; --toc-rgb: 180, 83, 9; }
body[data-page="experiences"] .exp-toc-grid > li:nth-child(6) { --toc-color: #6b7280; --toc-rgb: 107, 114, 128; }

@media (max-width: 1100px) {
  body[data-page="experiences"] .exp-toc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body[data-page="experiences"] .exp-toc-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Belavi : carte projet et logo dans les listes ---- */
.pvc-banner--belavi {
  background: linear-gradient(135deg, #92400e 0%, #b45309 100%);
}

.pvc-logo-belavi {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  outline: 2px solid rgba(255, 255, 255, 0.85);
}

.exp-logo-wrap--belavi {
  padding: 6px;
  background: rgba(180, 83, 9, 0.10);
  border-color: rgba(180, 83, 9, 0.22);
}

/* Cartes du blog : la flèche est déjà dans le texte « Lire l’article → » */
.post-card .feature-link::after {
  content: none;
}

/* ── Belavi : note des chiffres, vidéo, langues, simulateur ── */
.stats-note {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.belavi-video {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.belavi-video video {
  display: block;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  background: #111;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.belavi-demo-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--soft-box);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.belavi-demo-cta p {
  margin: 0;
  flex: 1 1 240px;
}

.belavi-langues,
.belavi-simulateur {
  margin: 28px 0 0;
}

.belavi-langues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.belavi-langues-grid img,
.belavi-simulateur img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.belavi-langues figcaption,
.belavi-simulateur figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 640px) {
  .belavi-langues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Projets : aperçu du projet dans la bande colorée ─────── */
.pvc-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.35s ease, transform 0.6s ease;
  pointer-events: none;
  z-index: 0;
}
.pvc-preview--top,
.pvc-preview--long { object-position: top center; }
.pvc-preview--mid { object-position: center 42%; }

.pvc-banner > .pvc-logo-banner,
.pvc-banner > .pvc-logo-belavi,
.pvc-banner > .pvc-logo-horizon,
.pvc-banner > .pvc-initial,
.pvc-banner > .pvc-number {
  z-index: 1;
  transition: opacity 0.3s ease;
}
.pvc-banner > .pvc-logo-banner,
.pvc-banner > .pvc-logo-belavi,
.pvc-banner > .pvc-logo-horizon,
.pvc-banner > .pvc-initial {
  position: relative;
}

@media (hover: hover) {
  /* Bandeau plus haut quand il a un aperçu, pour mieux voir le site */
  .pvc-banner:has(.pvc-preview) { height: 160px; }

  /* L'image garde ses proportions et défile de haut en bas au survol */
  .pvc-preview {
    inset: auto;
    top: 0;
    left: 0;
    height: auto;
    object-fit: initial;
    object-position: initial;
    transform: translateY(0);
    transition: opacity 0.3s ease, top 0.5s ease, transform 0.5s ease;
  }

  .project-visual-card:hover .pvc-preview,
  .project-visual-card:focus-within .pvc-preview {
    opacity: 1;
    top: 100%;
    transform: translateY(-100%);
    transition: opacity 0.3s ease, top 5s ease-in-out 0.4s, transform 5s ease-in-out 0.4s;
  }
  .project-visual-card:hover .pvc-preview ~ .pvc-logo-horizon,
  .project-visual-card:focus-within .pvc-preview ~ .pvc-logo-horizon,
  .project-visual-card:hover .pvc-preview ~ .pvc-initial,
  .project-visual-card:focus-within .pvc-preview ~ .pvc-initial,
  .project-visual-card:hover .pvc-preview ~ .pvc-logo-banner,
  .project-visual-card:hover .pvc-preview ~ .pvc-logo-belavi,
  .project-visual-card:focus-within .pvc-preview ~ .pvc-logo-banner,
  .project-visual-card:focus-within .pvc-preview ~ .pvc-logo-belavi {
    opacity: 0;
  }
  .project-visual-card:hover .pvc-banner:has(.pvc-preview) .pvc-number,
  .project-visual-card:focus-within .pvc-banner:has(.pvc-preview) .pvc-number {
    opacity: 0;
  }
}

/* Page très longue (Horizon Digital) : défilement plus lent */
@media (hover: hover) {
  .project-visual-card:hover .pvc-preview--long,
  .project-visual-card:focus-within .pvc-preview--long {
    transition: opacity 0.3s ease, top 11s ease-in-out 0.4s, transform 11s ease-in-out 0.4s;
  }
}

/* Mouvement réduit : pas de défilement, l'image est simplement affichée en haut */
@media (hover: hover) and (prefers-reduced-motion: reduce) {
  .project-visual-card:hover .pvc-preview,
  .project-visual-card:focus-within .pvc-preview {
    top: 0;
    transform: none;
    transition: opacity 0.3s ease;
  }
}

/* Écrans tactiles : pas de survol, l'aperçu est visible à droite du logo */
@media (hover: none) {
  .pvc-preview {
    opacity: 1;
    transform: none;
    -webkit-mask-image: linear-gradient(to right, transparent 30%, #000 75%);
    mask-image: linear-gradient(to right, transparent 30%, #000 75%);
  }
  .pvc-banner:has(.pvc-preview) .pvc-number {
    opacity: 0;
  }
}

/* ── Contact : bouton « Copier l'adresse » ─────────────────── */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(53, 92, 74, 0.3);
  background: rgba(53, 92, 74, 0.06);
  color: var(--accent);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.copy-btn:hover {
  background: rgba(53, 92, 74, 0.12);
  border-color: rgba(53, 92, 74, 0.5);
}
.copy-btn:active { transform: scale(0.97); }
.copy-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.copy-btn.is-copied {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
body.dark .copy-btn {
  color: #7ec8a0;
  border-color: rgba(126, 200, 160, 0.35);
  background: rgba(126, 200, 160, 0.08);
}
body.dark .copy-btn.is-copied {
  background: #7ec8a0;
  border-color: #7ec8a0;
  color: #10231a;
}

/* ── Téléphone : premier écran plus court ──────────────────── */
@media (max-width: 640px) {
  /* Accueil : le bouton « Me contacter » visible sans défiler */
  .home-studio-hero { padding: 16px; }
  .home-studio-hero .studio-copy { padding: 14px; }
  .home-studio-hero .hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
  }
  .home-studio-hero .availability-pill {
    margin: 0;
    padding: 6px 11px;
    font-size: 0.76rem;
    white-space: nowrap;
  }
  .home-studio-hero h1.hero-title {
    font-size: 1.85rem;
    line-height: 1.12;
  }
  .home-studio-hero .studio-subtitle {
    margin: 10px 0 12px;
    font-size: 1rem;
    line-height: 1.45;
  }
  .home-studio-hero #message {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 0;
  }
  .home-studio-hero .hero-actions {
    margin-top: 16px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  .home-studio-hero .hero-actions .cta-button {
    flex: 1 1 130px;
    padding-left: 14px;
    padding-right: 14px;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
  }

  /* Intros de pages : un titre et une phrase, le contenu arrive plus vite */
  .carte.page-hero { padding: 26px 20px; }
  .carte.page-hero h1.hero-title { margin-bottom: 12px; }
  .carte.page-hero #message {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
  }
  .carte.page-hero .page-hero-secondary { display: none; }
  .carte.page-hero .hero-actions { margin-top: 18px; }
}

/* ── Écrans tactiles : zones de clic d'au moins 44 px ───────── */
@media (pointer: coarse) {
  .brand-link,
  .breadcrumb a,
  .skill-proof-link,
  .detail-link,
  .cv-item-link,
  .cv-contact a,
  .author-bio-links a,
  .footer-nav a,
  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .skill-proof-item { display: flex; }
  .breadcrumb a { padding-right: 4px; }
  .footer-nav a { padding: 0 8px; }
  .footer-links a { gap: 6px; padding: 0 6px; }
  .author-bio-links a { padding-right: 6px; }
}

/* ── Accueil : lien vers le dernier projet (Belavi) ──────────── */
.hero-latest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(53, 92, 74, 0.22);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.hero-latest:hover {
  border-color: rgba(183, 121, 79, 0.7);
  background: #fff;
  transform: translateY(-2px);
}
.hero-latest:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.hero-latest-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(183, 121, 79, 0.14);
  color: #8a4f2a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
body.dark .hero-latest {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(126, 200, 160, 0.3);
}
body.dark .hero-latest:hover { background: rgba(255, 255, 255, 0.12); }
body.dark .hero-latest-tag { background: rgba(199, 154, 63, 0.2); color: #e2bd6e; }

@media (max-width: 640px) {
  .home-studio-hero .hero-latest {
    margin-top: 12px;
    font-size: 0.8rem;
    padding: 7px 12px;
    min-height: 44px;
    gap: 6px;
  }
}

/* ── Sommaire des longs articles ─────────────────────────────── */
article h3[id] { scroll-margin-top: 110px; }

.toc-card {
  margin-top: 18px;
  padding: 14px 22px;
}
.toc-card summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  list-style: none;
}
.toc-card summary::-webkit-details-marker { display: none; }
.toc-card summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.toc-card[open] summary::after { transform: rotate(45deg); }
.toc-card summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.toc-card ol {
  margin: 4px 0 6px;
  padding-left: 30px;
  display: grid;
  gap: 2px;
}
.toc-card li::marker { color: var(--muted); font-weight: 700; }
.toc-card a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 2px 10px;
  margin-left: 0;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.toc-card a:hover { background: rgba(53, 92, 74, 0.08); color: var(--accent); }
.toc-card a.is-current {
  border-left-color: var(--accent);
  background: rgba(53, 92, 74, 0.1);
  color: var(--accent);
  font-weight: 700;
}
body.dark .toc-card summary,
body.dark .toc-card a.is-current,
body.dark .toc-card a:hover { color: #7ec8a0; }
body.dark .toc-card a.is-current { border-left-color: #7ec8a0; background: rgba(126, 200, 160, 0.12); }
@media (pointer: coarse) { .toc-card a { min-height: 44px; } }

/* ── Logos des cartes Projets : taille visuelle homogène ────────
   Hauteur visible visée : ~64 px (icônes carrées), les logos très
   larges ou très hauts sont ajustés pour le même poids visuel.   */
.pvc-banner { --k: 1; }
.pvc-banner .pvc-logo-banner,
.pvc-banner .pvc-logo-belavi,
.pvc-banner .pvc-logo-horizon {
  width: auto;
  object-fit: contain;
  margin-bottom: 0;
}
.pvc-banner--airbnb .pvc-logo-banner { height: calc(64px * var(--k)); }
.pvc-banner--belavi .pvc-logo-belavi { height: calc(64px * var(--k)); width: calc(64px * var(--k)); }
.pvc-banner--frega .pvc-logo-banner { height: calc(70px * var(--k)); margin-bottom: calc(-3px * var(--k)); }
.pvc-banner--studio .pvc-logo-horizon { height: calc(78px * var(--k)); margin-bottom: calc(-7px * var(--k)); filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35)); }
.pvc-banner--jardin .pvc-logo-banner { height: calc(92px * var(--k)); }
.pvc-banner--shibui .pvc-logo-banner { height: auto; width: calc(128px * var(--k)); }

/* Écrans tactiles : bandeau de 110 px, logos un peu réduits pour y tenir */
@media (hover: none) {
  .pvc-banner { --k: 0.82; }
}

/* ── Accueil : effet au survol des 4 cartes de chiffres ───────── */
.metric-card {
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.metric-number {
  background-size: 220% 100%;
  background-position: 0 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), background-position 0.6s ease;
}
.metric-label {
  position: relative;
  transition: color 0.3s ease;
}
.metric-label::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: #b7794f;
  transition: width 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (hover: hover) {
  .metric-card:hover,
  .metric-card:focus-within {
    transform: translateY(-7px);
    border-color: rgba(183, 121, 79, 0.45);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(183, 121, 79, 0.12);
  }
  .metric-card:hover .metric-number,
  .metric-card:focus-within .metric-number {
    transform: scale(1.08);
    background-position: 100% 0;
  }
  .metric-card:hover .metric-label::after,
  .metric-card:focus-within .metric-label::after { width: 42px; }
}

.metric-number {
  background-image: linear-gradient(110deg, #1a4a2e 0%, #2d9e5f 42%, #9a5f38 58%, #c2855a 100%);
}
body.dark .metric-number {
  background-image: linear-gradient(110deg, #5c8dff 0%, #c084fc 42%, #e59a5c 58%, #f0b27a 100%);
}
body.dark .metric-label::after { background: #f0b27a; }
body.dark .metric-card:hover,
body.dark .metric-card:focus-within {
  border-color: rgba(240, 178, 122, 0.4);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(240, 178, 122, 0.12);
}

.metric-card:active { transform: scale(0.98); }

@media (prefers-reduced-motion: reduce) {
  .metric-card,
  .metric-number,
  .metric-label::after { transition: none; }
  .metric-card:hover,
  .metric-card:focus-within { transform: none; }
  .metric-card:hover .metric-number,
  .metric-card:focus-within .metric-number { transform: none; }
}

/* ── Page Contact : deux cartes de même largeur, même hauteur, même départ ── */
.split.contact-layout {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.contact-layout > .carte {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.contact-layout > .carte:last-child .contact-methods {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.contact-layout .info-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.contact-layout .info-card p { margin: 0; }
.contact-layout .copy-btn { align-self: flex-start; }
.contact-layout .contact-cta-group { margin-top: 20px; }
@media (max-width: 760px) {
  .split.contact-layout { grid-template-columns: 1fr; }
}

/* ══ Page Contact : cartes interactives, champs animés, succès, disponibilité ══ */

/* 1) Cartes de coordonnées : survol + carte entière cliquable */
.contact-layout .info-card {
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.contact-layout .info-card:has(a[href]) a[href]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.contact-layout .info-card:has(a[href])::after {
  content: "↗";
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #b7794f;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.contact-layout .copy-btn { position: relative; z-index: 2; }
@media (hover: hover) {
  .contact-layout .info-card:hover,
  .contact-layout .info-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(183, 121, 79, 0.5);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
  }
  .contact-layout .info-card:has(a[href]):hover::after,
  .contact-layout .info-card:has(a[href]):focus-within::after {
    opacity: 1;
    transform: translate(0, 0);
  }
}
body.dark .contact-layout .info-card:hover,
body.dark .contact-layout .info-card:focus-within {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(240, 178, 122, 0.45);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
}
body.dark .contact-layout .info-card:has(a[href])::after { color: #f0b27a; }

/* 2) Champs du formulaire : étiquette qui s'active, halo, bouton à reflet */
.contact-layout label { transition: color 0.25s ease; }
.contact-layout label:has(+ :is(input, select, textarea):focus) { color: #355c4a; }
body.dark .contact-layout label:has(+ :is(input, select, textarea):focus) { color: #7ec8a0; }
.contact-layout input,
.contact-layout select,
.contact-layout textarea {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.contact-layout input:hover,
.contact-layout select:hover,
.contact-layout textarea:hover { border-color: rgba(53, 92, 74, 0.5); }
.contact-layout input:focus,
.contact-layout select:focus,
.contact-layout textarea:focus {
  outline: none;
  transform: none;
  border-color: #355c4a;
  box-shadow: 0 0 0 4px rgba(53, 92, 74, 0.16), 0 8px 20px rgba(53, 92, 74, 0.08);
}
.contact-layout input[aria-invalid="true"],
.contact-layout textarea[aria-invalid="true"] {
  border-color: #c2410c;
  box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.12);
}
.btn-envoi {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-envoi::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 1;
}
@media (hover: hover) {
  .btn-envoi:hover:not(:disabled)::after { left: 130%; }
}
.btn-envoi:disabled { opacity: 0.75; cursor: progress; }

/* 3) Message de réussite animé */
#confirmation.is-success {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(21, 128, 61, 0.1);
  border: 1px solid rgba(21, 128, 61, 0.3);
  color: #14532d;
  font-weight: 600;
  animation: confirmation-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
#confirmation.is-error {
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(194, 65, 12, 0.08);
  border: 1px solid rgba(194, 65, 12, 0.3);
  color: #9a3412;
}
body.dark #confirmation.is-success { color: #86efac; background: rgba(134, 239, 172, 0.1); border-color: rgba(134, 239, 172, 0.3); }
body.dark #confirmation.is-error { color: #fdba74; background: rgba(253, 186, 116, 0.08); border-color: rgba(253, 186, 116, 0.3); }
.confirmation-check {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.confirmation-check circle {
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: check-draw 0.6s ease 0.1s forwards;
}
.confirmation-check path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: check-draw 0.4s ease 0.55s forwards;
}
@keyframes check-draw { to { stroke-dashoffset: 0; } }
@keyframes confirmation-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* 4) Pastille de disponibilité */
.contact-availability {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 4px 0 0;
  padding: 8px 14px;
  border: 1px solid rgba(53, 92, 74, 0.3);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .contact-layout .info-card,
  .contact-layout .info-card::after,
  .btn-envoi::after { transition: none; }
  #confirmation.is-success,
  .confirmation-check circle,
  .confirmation-check path { animation: none; stroke-dashoffset: 0; }
  .contact-availability::before { animation: none; }
}
