/* VEIA.AI - Variante Network */
:root {
  --encre: #0e0e0e;
  --ivoire: #f8f7f4;
  --ardoise: #545d6b;
  --papier: #e8e4dc;
  --accent: #1d4d7e;
  --accent-light: #2e6ba0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--ivoire); color: var(--encre);
  font-weight: 400; line-height: 1.5; overflow-x: hidden;
}

/* NAV */
nav.main-nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 24px 60px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  pointer-events: none;
}

nav.main-nav > * {
  pointer-events: auto;
}
nav.main-nav.scrolled {
  background: rgba(248, 247, 244, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--papier);
}
nav.main-nav { color: var(--ivoire); }
nav.main-nav.scrolled { color: var(--encre); }
nav.main-nav a { color: inherit; }
.logo { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; display: flex; align-items: baseline; gap: 4px; }
.logo small { font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.65; }
/* Menu éditorial numéroté - Option A */
.nav-links { 
  display: flex; 
  gap: 36px; 
  font-size: 14px;
  
}

.nav-links a { 
  position: relative;
  text-decoration: none; 
  padding: 4px 0 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.005em;
  opacity: 0.85;
  transition: opacity 0.4s ease, font-style 0.4s ease, font-family 0.4s ease;
  
}

/* Numérotation retirée - décoration discrète conservée */
.nav-links a::before {
  content: none;
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    opacity: 1;
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
  }
  
  
  
  
}



/* Underline qui glisse depuis la gauche au hover */
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}



/* Item actif : italique Fraunces + underline solide + point navy */
.nav-links a.active {
  opacity: 1;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.nav-links a.active::before {
  opacity: 1;
  color: var(--accent);
}

.nav-links a.active::after {
  transform: scaleX(1);
  height: 1px;
  background: currentColor;
}

/* Mini point navy avant l'item actif (signal supplémentaire de sélection) */
.nav-links a.active {
  padding-left: 12px;
}
.nav-links a.active::before {
  /* Le numéro reste mais on ajoute un dot via box-shadow */
}

/* Approche dot : utilise un span séparé via CSS - simulons avec un background dot */
body.page-internal .nav-links a.active {
  background-image: radial-gradient(circle, var(--accent) 0, var(--accent) 2px, transparent 2px);
  background-position: 0 0.85em;
  background-repeat: no-repeat;
  background-size: 4px 4px;
}

/* HERO NETWORK FULL SCREEN */
.hero-network {
  position: relative;
  min-height: 100vh;
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(43, 131, 193, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #1a2030 0%, #161b25 50%, #1a2030 100%);
  display: flex;
  align-items: center;
  padding: 0 60px;
  overflow: hidden;
  color: var(--ivoire);
}
.hero-network-bg {
  position: absolute;
  inset: 0;
  background-image: url('/img/mesh-dark.svg');
  background-size: cover;
  background-position: center right;
  opacity: 0.15;
  will-change: transform;
}
.hero-network-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,14,14,0.85) 0%, rgba(14,14,14,0.5) 50%, rgba(14,14,14,0.2) 100%);
  z-index: 1;
}
.hero-network-content {
  position: relative; z-index: 2;
  max-width: 1400px; width: 100%; margin: 0 auto;
}
.hero-eyebrow {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.2em;
  color: rgba(248,247,244,0.85); font-weight: 500; margin-bottom: 32px;
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(64px, 9vw, 144px);
  line-height: 0.95; letter-spacing: -0.04em;
  font-weight: 400; max-width: 1300px;
  color: #ffffff;
  opacity: 1 !important;
}
.hero-title em {
  font-style: italic; font-weight: 300;
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 4px;
  text-underline-offset: 12px;
}
.hero-tagline {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300; line-height: 1.5;
  margin-top: 48px; max-width: 800px;
  color: rgba(248,247,244,0.85);
}
.hero-meta-row {
  display: flex; gap: 80px; margin-top: 0;
  padding-top: 40px; border-top: 1px solid rgba(248,247,244,0.15);
  flex-wrap: wrap;
}
.hero-meta-item {
  font-size: 13px; color: rgba(248,247,244,0.7); max-width: 240px; line-height: 1.6;
}
.hero-meta-item strong {
  display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--ivoire); font-weight: 500; margin-bottom: 8px;
}

/* PARALLAX NETWORK SECTION */
.parallax-network {
  position: relative;
  min-height: 90vh;
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(43, 131, 193, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #1a2030 0%, #161b25 50%, #1a2030 100%);
  display: flex;
  align-items: center;
  padding: 160px 60px;
  overflow: hidden;
  color: var(--ivoire);
}
.parallax-network-bg {
  position: absolute; inset: 0;
  background-image: url('/img/mesh-dark.svg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.3;
  z-index: 0;
}
.parallax-network::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,14,14,0.4), rgba(14,14,14,0.65));
  z-index: 1;
}
.parallax-content {
  position: relative; z-index: 2;
  max-width: 1400px; margin: 0 auto; width: 100%;
}

/* SECTION CLAIRE NETWORK */
.section-network-light {
  position: relative;
  padding: 160px 60px;
  background: var(--ivoire);
  overflow: hidden;
}
.section-network-light::before {
  content: '';
  position: absolute; right: -10%; top: 0; bottom: 0; width: 60%;
  background-image: url('/img/topo-light.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}
.section-network-light-inner { max-width: 1400px; margin: 0 auto; position: relative; z-index: 2; }

/* SECTIONS STANDARD */
.section { padding: 120px 60px; max-width: 1400px; margin: 0 auto; position: relative; }
.section-grey { background: var(--papier); padding: 160px 60px; }
.section-grey-inner { max-width: 1400px; margin: 0 auto; }

h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 400; letter-spacing: -0.025em; line-height: 1.05; }
h2 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.03em; margin-bottom: 40px; }
h2 em { font-style: italic; font-weight: 300; }
.section-network-light h2 em, .section-grey h2 em { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.parallax-network h2 em { color: var(--ivoire); text-decoration: underline; text-decoration-color: var(--accent-light); text-decoration-thickness: 3px; text-underline-offset: 8px; }
h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
p { font-size: 17px; line-height: 1.7; color: var(--ardoise); margin-bottom: 20px; max-width: 800px; }
.parallax-network p { color: rgba(248,247,244,0.85); font-family: 'Fraunces', serif; font-size: clamp(20px, 2vw, 26px); font-weight: 300; line-height: 1.5; }
p strong { color: var(--encre); font-weight: 500; }
.parallax-network p strong { color: var(--ivoire); }
p em { font-style: italic; }
.section-network-light p em, .section-grey p em { color: var(--accent); font-weight: 400; }
.parallax-network p em { color: var(--ivoire); text-decoration: underline; text-decoration-color: var(--accent-light); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.eyebrow {
  font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--ardoise);
  font-weight: 500; margin-bottom: 24px;
}
.parallax-network .eyebrow { color: rgba(248,247,244,0.65); }

.two-col { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; max-width: 1400px; margin: 0 auto; }

.cards-grid { display: grid; gap: 40px; max-width: 1400px; margin: 0 auto; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--ivoire); padding: 48px 36px;
  border-top: 2px solid var(--accent);
  display: flex; flex-direction: column; gap: 20px;
}
.card-num { font-family: 'Fraunces', serif; font-size: 14px; color: var(--accent); letter-spacing: 0.05em; }
.card-title { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 400; line-height: 1.2; letter-spacing: -0.02em; color: var(--encre); }
.card-desc { font-size: 15px; color: var(--ardoise); line-height: 1.65; }

.list-row {
  display: grid;
  grid-template-columns: 60px 1fr 1.4fr 200px;
  gap: 40px; padding: 56px 0;
  border-bottom: 1px solid rgba(14, 14, 14, 0.35);
  align-items: start;
  transition: padding-left 0.4s ease;
}
.list-row:first-child { border-top: 1px solid rgba(14, 14, 14, 0.35); }
.list-row:hover { padding-left: 20px; }
.list-num { font-family: 'Fraunces', serif; font-size: 13px; color: var(--accent); letter-spacing: 0.05em; padding-top: 8px; }
.list-title { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 400; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 10px; color: var(--encre); }
.list-tagline { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 300; font-style: italic; color: var(--accent); margin-bottom: 4px; line-height: 1.4; }
.list-desc { font-size: 15px; color: var(--ardoise); line-height: 1.65; }
.list-meta { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ardoise); text-align: right; padding-top: 12px; }
.list-meta strong { display: block; color: var(--encre); font-weight: 500; margin-bottom: 6px; }

.btn { display: inline-block; background: var(--accent); color: var(--ivoire); padding: 22px 32px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 500; text-decoration: none; border: none; cursor: pointer; transition: background 0.3s; font-family: 'Inter', sans-serif; }
.btn:hover { background: var(--encre); }
.btn-secondary { background: transparent; color: var(--encre); border: 1px solid var(--encre); }
.btn-secondary:hover { background: var(--encre); color: var(--ivoire); }
.parallax-network .btn-secondary, .hero-network .btn-secondary { color: var(--ivoire); border-color: var(--ivoire); }
.parallax-network .btn-secondary:hover, .hero-network .btn-secondary:hover { background: var(--ivoire); color: var(--encre); }

footer.site-footer { padding: 60px; background: var(--encre); color: var(--ardoise); font-size: 12px; letter-spacing: 0.05em; position: relative; overflow: hidden; }
footer.site-footer::before {
  content: ''; position: absolute; right: -15%; top: 0; bottom: 0; width: 60%;
  background-image: url('/img/mesh-dark.svg');
  background-size: cover; background-position: center;
  opacity: 0.45; z-index: 0; pointer-events: none;
}
.footer-content { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 40px; position: relative; z-index: 2; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ivoire); font-weight: 500; margin-bottom: 24px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--ardoise); text-decoration: none; font-size: 13px; transition: color 0.3s; }
.footer-col a:hover { color: var(--ivoire); }
.footer-brand { font-family: 'Fraunces', serif; font-size: 22px; color: var(--ivoire); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 16px; }
.footer-brand small { font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.55; }
.footer-brand-tagline { font-family: 'Fraunces', serif; font-style: italic; font-size: 14px; color: var(--ardoise); margin-bottom: 16px; }
.footer-bottom { max-width: 1400px; margin: 0 auto; padding-top: 30px; border-top: 1px solid rgba(248,247,244,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--ardoise); position: relative; z-index: 2; }
.footer-bottom a { color: var(--ardoise); text-decoration: none; }

@media (max-width: 900px) {
  nav.main-nav { padding: 18px 24px; }
  .nav-links { gap: 18px; font-size: 11px; }
  .hero-network, .parallax-network, .section-network-light, .section, .section-grey { padding-left: 24px; padding-right: 24px; }
  .hero-network { padding-top: 100px; padding-bottom: 60px; }
  .parallax-network { padding-top: 80px; padding-bottom: 80px; }
  .parallax-network-bg { background-attachment: scroll; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .cards-grid.cards-2, .cards-grid.cards-3 { grid-template-columns: 1fr; }
  .list-row { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .list-meta { text-align: left; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 30px; }
  footer.site-footer { padding: 40px 24px; }
  .hero-meta-row { gap: 32px; }
}
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 1s ease, transform 1s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.hero-title, .hero-tagline, .hero-eyebrow { opacity: 1 !important; transform: none !important; }

/* ============================================
   PAGES INTERNES - règles manquantes (page-header, section-dark)
   ============================================ */
.page-header {
  padding: 160px 60px 100px;
  background: var(--ivoire);
  position: relative;
  overflow: hidden;
}
.page-header-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-header-bg {
  position: absolute;
  top: 0;
  right: -10%;
  width: 55%;
  height: 100%;
  opacity: 0.18;
  pointer-events: none;
  background-image: url('/img/topo-light.svg');
  background-size: cover;
  background-position: center;
}
.page-header-bg svg { width: 100%; height: 100%; }
.page-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 32px;
}
.page-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 400;
  max-width: 1300px;
}
.page-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.page-tagline {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 300;
  line-height: 1.4;
  margin-top: 50px;
  max-width: 880px;
  color: var(--ardoise);
}
.section-dark {
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(43, 131, 193, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #1a2030 0%, #161b25 50%, #1a2030 100%);
  color: var(--ivoire);
  padding: 160px 60px;
  position: relative;
  overflow: hidden;
}
.section-dark-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.section-dark-bg {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
  will-change: transform;
  z-index: 1;
  background-image: url('/img/mesh-dark.svg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.section-dark-bg svg { width: 100%; height: 100%; }
.section-dark p { color: rgba(248,247,244,0.78); }
.section-dark p strong { color: var(--ivoire); }
.section-dark p em { color: var(--accent-light); }
.section-dark .eyebrow { color: rgba(248,247,244,0.55); }
.section-dark h2 em { color: var(--ivoire); text-decoration: underline; text-decoration-color: var(--accent-light); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.section-dark .btn-secondary { color: var(--ivoire); border-color: var(--ivoire); }
.section-dark .btn-secondary:hover { background: var(--ivoire); color: var(--encre); }

@media (max-width: 900px) {
  .page-header { padding-left: 24px; padding-right: 24px; padding-top: 120px; padding-bottom: 60px; }
  .section-dark { padding-left: 24px; padding-right: 24px; }
}

/* ============================================
   PAGES INTERNES - nav opaque par défaut
   ============================================ */
body.page-internal nav.main-nav {
  background: rgba(248, 247, 244, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--papier);
  color: var(--encre);
}
body.page-internal nav.main-nav a { color: var(--encre); }
body.page-internal nav.main-nav.scrolled { color: var(--encre); }

/* ============================================
   Override SVG inline V2 → network réel V3
   ============================================ */
body.page-internal .page-header-bg > svg,
body.page-internal .section-dark-bg > svg {
  display: none !important;
}
body.page-internal .page-header-bg {
  background-image: url('/img/topo-light.svg') !important;
  background-size: cover;
  background-position: right center;
  opacity: 0.35 !important;
  width: 60% !important;
  right: -5% !important;
}
body.page-internal .section-dark-bg {
  background-image: url('/img/mesh-dark.svg') !important;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.7 !important;
  width: 100% !important;
  height: 100% !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}
/* Réseau filigrane sur les sections grey aussi pour cohérence */
body.page-internal .section-grey {
  position: relative;
  overflow: hidden;
}
body.page-internal .section-grey::before {
  content: '';
  position: absolute;
  right: -10%;
  top: 0; bottom: 0;
  width: 50%;
  background-image: url('/img/topo-light.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
body.page-internal .section-grey-inner { position: relative; z-index: 1; }


/* Variation par section parallax-network : différents SVG */
section.parallax-network:nth-of-type(2n) .parallax-network-bg {
  background-image: url('/img/neural-dark.svg') !important;
}
section.parallax-network:nth-of-type(3n) .parallax-network-bg {
  background-image: url('/img/topo-dark.svg') !important;
}
section.parallax-network:nth-of-type(4n) .parallax-network-bg {
  background-image: url('/img/constellation-dark.svg') !important;
}
.parallax-network-bg {
  background-image: url('/img/mesh-dark.svg');
}

/* Page header bg : utilisons constellation pour plus de signature */
body.page-internal .page-header-bg {
  background-image: url('/img/constellation-light.svg') !important;
  opacity: 0.4 !important;
}

/* Section dark des pages internes : neural pour data/IA */
body.page-internal .section-dark-bg {
  background-image: url('/img/neural-dark.svg') !important;
  opacity: 0.3 !important;
}

/* Section grey filigrane : grid architectural */
body.page-internal .section-grey::before {
  background-image: url('/img/grid-light.svg') !important;
  opacity: 0.3 !important;
}

/* Section network light home : topo pour douceur */
.section-network-light::before {
  background-image: url('/img/topo-light.svg') !important;
  opacity: 0.3 !important;
}

/* Footer : neural-dark désactivé pour cohérence avec lignes verticales */
footer.site-footer::before { display: none !important; }


/* HOME : variations multiples de constellations sur les sections parallax */
section.parallax-network:nth-of-type(2) .parallax-network-bg {
  background-image: url('/img/neural-dark.svg') !important;
}
section.parallax-network:nth-of-type(3) .parallax-network-bg {
  background-image: url('/img/constellation-b-dark.svg') !important;
}
section.parallax-network:nth-of-type(4) .parallax-network-bg {
  background-image: url('/img/constellation-c-dark.svg') !important;
}
section.parallax-network:nth-of-type(5) .parallax-network-bg {
  background-image: url('/img/constellation-d-dark.svg') !important;
}
section.parallax-network:nth-of-type(6) .parallax-network-bg {
  background-image: url('/img/constellation-e-dark.svg') !important;
}
section.parallax-network:nth-of-type(7) .parallax-network-bg {
  background-image: url('/img/topo-dark.svg') !important;
}

/* Filigrane sections claires home : varier aussi */
.section-network-light:nth-of-type(2)::before {
  background-image: url('/img/topo-light.svg') !important;
}

/* ============================================
   FAILSAFE LISIBILITÉ - couleurs cohérentes par fond
   ============================================ */
/* Page header (fond ivoire) - texte toujours encre */
body.page-internal .page-header h1,
body.page-internal .page-header .page-title,
body.page-internal .page-header .page-tagline {
  color: var(--encre);
}
body.page-internal .page-header .page-eyebrow {
  color: var(--accent);
}
body.page-internal .page-header em,
body.page-internal .page-title em {
  color: var(--accent);
}

/* Section claire (fond ivoire) - texte toujours encre */
body.page-internal .section h1,
body.page-internal .section h2,
body.page-internal .section h3 {
  color: var(--encre);
}
body.page-internal .section p {
  color: var(--ardoise);
}
body.page-internal .section em {
  color: var(--accent);
}

/* Section grey (fond papier) - texte toujours encre */
body.page-internal .section-grey h2,
body.page-internal .section-grey h3 {
  color: var(--encre);
}
body.page-internal .section-grey p {
  color: var(--ardoise);
}

/* Section dark - texte toujours ivoire */
body.page-internal .section-dark h2,
body.page-internal .section-dark h3 {
  color: var(--ivoire);
}

/* Cards - titre toujours encre */
.card .card-title { color: var(--encre); }
.card .card-desc { color: var(--ardoise); }

/* List rows - titre toujours encre */
.list-row .list-title { color: var(--encre); }
.list-row .list-desc { color: var(--ardoise); }


/* ============================================
   EDITORIAL TYPOGRAPHY - Article Pages
   ============================================ */

.article-content {
  max-width: 760px;
  margin: 80px auto 0;
  padding: 0 24px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  line-height: 1.75;
  color: var(--encre);
}

.article-content > p:first-of-type,
.article-content .lead {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  line-height: 1.55;
  color: var(--encre);
  font-weight: 300;
  margin-bottom: 48px;
  letter-spacing: -0.005em;
}

.article-content > p:first-of-type::first-letter,
.article-content .lead::first-letter {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 84px;
  line-height: 0.85;
  float: left;
  margin: 6px 14px 0 0;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.article-content p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  line-height: 1.8;
  margin: 0 0 28px;
  color: var(--encre);
  font-weight: 300;
}

.article-content h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 72px 0 28px;
  color: var(--encre);
  position: relative;
  padding-top: 24px;
}

.article-content h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--accent);
}

.article-content h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 56px 0 20px;
  color: var(--encre);
}

.article-content em,
.article-content i {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.article-content strong,
.article-content b {
  font-weight: 600;
  color: var(--encre);
}

.article-content ul,
.article-content ol {
  margin: 0 0 32px;
  padding-left: 28px;
}

.article-content li {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  line-height: 1.75;
  margin-bottom: 12px;
  color: var(--encre);
  font-weight: 300;
}

.article-content ul li {
  list-style: none;
  position: relative;
  padding-left: 4px;
}

.article-content ul li::before {
  content: '—';
  position: absolute;
  left: -28px;
  color: var(--accent);
  font-weight: 400;
}

.article-content blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  line-height: 1.55;
  font-style: italic;
  font-weight: 300;
  color: var(--encre);
  margin: 56px 0;
  padding: 0 0 0 32px;
  border-left: 3px solid var(--accent);
}

.article-content blockquote p {
  font-size: 24px;
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 12px;
  color: var(--encre);
}

.article-content figure {
  margin: 56px 0;
  text-align: center;
}

.article-content figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.article-content figcaption {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ardoise);
  margin-top: 14px;
  letter-spacing: 0.02em;
  font-style: normal;
}

.article-content hr {
  border: none;
  height: 1px;
  background: var(--papier);
  margin: 56px auto;
  width: 80px;
}

.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.article-content a:hover {
  color: var(--encre);
}

/* Pull quote - special styling for emphatic statements */
.article-content .pull-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-align: center;
  margin: 72px auto;
  padding: 32px 0;
  max-width: 600px;
  border-top: 1px solid var(--papier);
  border-bottom: 1px solid var(--papier);
}

/* Article meta header */
.article-meta-bar {
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ardoise);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-meta-bar .dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* Article footer navigation */
.article-nav {
  max-width: 760px;
  margin: 96px auto 0;
  padding: 60px 24px 0;
  border-top: 1px solid var(--papier);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.article-nav a {
  text-decoration: none;
  color: inherit;
}

.article-nav .nav-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ardoise);
  margin-bottom: 8px;
}

.article-nav .nav-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--encre);
  line-height: 1.3;
}

.article-nav a:hover .nav-title {
  color: var(--accent);
}

.article-nav-right {
  text-align: right;
}

/* Article hero block */
.article-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px 24px 0;
}

.article-hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.article-hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--encre);
  margin: 0 0 32px;
  max-width: 900px;
}

.article-hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.article-hero-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ardoise);
  letter-spacing: 0.04em;
}

.article-hero-meta .sep {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.article-hero-divider {
  max-width: 760px;
  margin: 56px auto 0;
  height: 1px;
  background: var(--papier);
}

@media (max-width: 760px) {
  .article-content {
    font-size: 17px;
  }
  .article-content > p:first-of-type,
  .article-content .lead {
    font-size: 21px;
  }
  .article-content > p:first-of-type::first-letter,
  .article-content .lead::first-letter {
    font-size: 64px;
  }
  .article-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .article-nav-right {
    text-align: left;
  }
}


/* ============================================
   ARTICLE HERO IMAGE
   ============================================ */
.article-hero-image {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-hero-image figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--papier);
}

.article-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-hero-image figcaption {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--ardoise);
  margin-top: 16px;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .article-hero-image {
    padding: 0;
  }
}


/* ============================================
   BLOG INDEX THUMBNAILS
   ============================================ */
.list-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--papier);
}
.list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.list-row:hover .list-thumb img {
  transform: scale(1.04);
}
@media (max-width: 760px) {
  .list-thumb { aspect-ratio: 16 / 9; max-height: 200px; }
}


/* ============================================
   NAV LOGO IMAGE
   ============================================ */
.main-nav .logo img {
  display: block;
  height: 40px;
  width: auto;
  transition: opacity 0.2s;
}
.main-nav .logo:hover img {
  opacity: 0.7;
}

/* Footer logo blanc */
.footer-brand img {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

/* ============================================
   PUBLICATIONS - cartes éditoriales horizontales
   ============================================ */
.pub-card {
  padding: 0 !important;
  background: transparent;
  border: none !important;
  border-top: 1px solid var(--papier) !important;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.pub-card:last-child {
  border-bottom: 1px solid var(--papier);
}

/* La grid des publications passe en 1 colonne (horizontal stacking) */
.cards-grid.cards-publications {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

.pub-card-link {
  display: grid;
  grid-template-columns: 180px 1fr 200px;
  gap: 48px;
  text-decoration: none;
  color: inherit;
  padding: 48px 0;
  align-items: center;
  transition: padding-left 0.4s ease;
}

.pub-card:hover .pub-card-link {
  padding-left: 24px;
}

.pub-cover {
  width: 180px;
  aspect-ratio: 3 / 4;
  position: relative;
  margin-right: 12px;
}

/* Backdrop accent navy offset derrière la cover */
.pub-cover::before {
  content: '';
  position: absolute;
  top: 12px;
  right: -12px;
  bottom: -12px;
  left: 12px;
  background: var(--accent);
  z-index: 0;
  transition: transform 0.5s ease;
}

.pub-card:hover .pub-cover::before {
  transform: translate(-4px, 4px);
}

.pub-cover-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--papier);
}

.pub-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: grayscale(15%);
}

.pub-card:hover .pub-cover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.pub-body {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.pub-body .card-num {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.pub-body .card-title {
  margin: 0 0 16px !important;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: 28px !important;
  color: var(--encre);
}

.pub-body .card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ardoise);
  margin-bottom: 12px;
}

.pub-body .card-desc:last-of-type {
  margin-bottom: 0;
}

.pub-body em {
  font-style: italic;
  color: var(--accent);
}

.pub-cta {
  display: block !important;
  width: 100% !important;
  margin-top: 36px !important;
  padding-top: 24px !important;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0;
  text-align: left !important;
  border-top: 1px solid var(--papier);
  white-space: normal;
}

.pub-card:hover .pub-cta {
  color: var(--encre);
}

@media (max-width: 880px) {
  .pub-card-link {
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    padding: 32px 0;
  }
  .pub-cover {
    width: 100px;
    margin-right: 12px;
  }
  .pub-cover::before {
    top: 8px;
    right: -8px;
    bottom: -8px;
    left: 8px;
  }
  .pub-body {
    grid-column: 2;
  }
  .pub-cta {
    grid-column: 2;
    text-align: left;
    margin-top: 8px;
  }
  .pub-card:hover .pub-card-link {
    padding-left: 0;
  }
}

/* ============================================
   MEDIA GRID - tribunes / vidéos
   ============================================ */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.media-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--ivoire);
  border-top: 1px solid var(--papier);
  transition: transform 0.4s ease;
}

.media-card:hover {
  transform: translateY(-4px);
}

.media-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--encre);
}

.media-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.media-card:hover .media-cover img {
  transform: scale(1.04);
}

.media-body {
  padding: 24px 24px 28px;
}

.media-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ardoise);
  margin-bottom: 12px;
}

.media-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--encre);
  margin: 0 0 16px;
}

.media-card .pub-cta {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
}

@media (max-width: 760px) {
  .media-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* ============================================
   ABOUT PAGE - Hero Portrait Parallax
   ============================================ */
.about-hero {
  position: relative;
  background: var(--ivoire);
  padding: 140px 24px 100px;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/img/constellation-a-light.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
  will-change: transform;
}

.about-hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.about-portrait figure {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--papier);
  overflow: hidden;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
  transition: filter 0.6s ease;
}

.about-portrait figure:hover img {
  filter: grayscale(0%);
}

.about-portrait .portrait-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 120px;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.04em;
  background: var(--papier);
}

.about-portrait figure.no-photo .portrait-fallback {
  display: flex;
}

.about-portrait .portrait-meta {
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ardoise);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--papier);
  padding-top: 16px;
}

.about-portrait .portrait-meta div:first-child {
  color: var(--encre);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0;
  font-size: 14px;
}

.about-intro .page-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 24px;
}

.about-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(56px, 9vw, 132px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--encre);
  margin: 0 0 32px;
}

.about-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.about-tagline {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.45;
  color: var(--ardoise);
  font-weight: 300;
  max-width: 560px;
  margin: 0 0 40px;
}

.about-locale {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ardoise);
}

.about-locale .dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

@media (max-width: 880px) {
  .about-hero {
    padding: 120px 24px 60px;
  }
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 600px;
  }
  .about-portrait {
    max-width: 320px;
  }
}

/* ============================================
   ABOUT - posture statements & stats
   ============================================ */
.about-posture .section-dark-inner {
  max-width: 1100px;
}

.about-statement {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.5;
  font-weight: 300;
  color: rgba(248, 247, 244, 0.92);
  margin: 0 0 32px;
  max-width: 920px;
}

.about-statement em {
  font-style: italic;
  color: rgba(248, 247, 244, 1);
  background: linear-gradient(180deg, transparent 65%, rgba(29, 77, 126, 0.4) 65%);
  padding: 0 4px;
}

.about-stats .stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--papier);
  border-bottom: 1px solid var(--papier);
}

.about-stats .stat {
  padding: 56px 32px;
  border-right: 1px solid var(--papier);
}

.about-stats .stat:last-child {
  border-right: none;
}

.about-stats .stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--accent);
  margin-bottom: 16px;
}

.about-stats .stat-num sup {
  font-size: 0.5em;
  vertical-align: super;
}

.about-stats .stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ardoise);
  line-height: 1.5;
}

@media (max-width: 880px) {
  .about-stats .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-stats .stat {
    padding: 32px 20px;
  }
  .about-stats .stat:nth-child(2) {
    border-right: none;
  }
  .about-stats .stat:nth-child(1),
  .about-stats .stat:nth-child(2) {
    border-bottom: 1px solid var(--papier);
  }
}


/* ============================================
   PORTRAIT - design éditorial avec backdrop accent
   ============================================ */
.about-portrait .portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0 24px 0 0;
}

.about-portrait .portrait-backdrop {
  position: absolute;
  top: 24px;
  right: -24px;
  bottom: -24px;
  left: 24px;
  background: var(--accent);
  z-index: 0;
  transition: transform 0.6s ease;
}

.about-portrait:hover .portrait-backdrop {
  transform: translate(-6px, 6px);
}

.about-portrait .portrait-mark {
  position: absolute;
  top: -16px;
  left: -16px;
  z-index: 2;
  font-family: 'Fraunces', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.05em;
  background: var(--ivoire);
  padding: 4px 10px;
  border: 1px solid var(--papier);
}

.about-portrait .portrait-frame figure {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  height: 100%;
  background: var(--papier);
  overflow: hidden;
}

.about-portrait .portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(8%) contrast(1.02);
  transition: filter 0.6s ease;
}

.about-portrait:hover .portrait-frame img {
  filter: grayscale(0%) contrast(1.0);
}

@media (max-width: 880px) {
  .about-portrait .portrait-frame {
    margin: 0;
    max-width: 320px;
  }
  .about-portrait .portrait-backdrop {
    top: 16px;
    right: -16px;
    bottom: -16px;
    left: 16px;
  }
}


/* ============================================
   CASE CARDS - Trois cas preuve par la valeur
   ============================================ */
.cards-cases .case-card {
  padding: 0 !important;
  overflow: hidden;
  background: var(--ivoire);
  border-top: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease;
}

.cards-cases .case-card:hover {
  transform: translateY(-4px);
}

.cards-cases .case-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.cards-cases .case-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14, 14, 14, 0.4) 100%);
  pointer-events: none;
}

.cards-cases .case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease, filter 0.6s ease;
  filter: grayscale(20%);
}

.cards-cases .case-card:hover .case-cover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.cards-cases .case-body {
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cards-cases .card-num {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.cards-cases .case-num {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}

.cards-cases .case-unit {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
  letter-spacing: 0.005em;
}

.cards-cases .card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin-top: auto;
  color: var(--ardoise);
}

.cards-cases .case-num {
  color: var(--encre);
}

.cards-cases .case-card .card-num {
  color: var(--accent);
}

@media (max-width: 880px) {
  .cards-cases {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* ============================================
   MENU MOBILE - Burger
   ============================================ */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 200;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  pointer-events: auto;
}

.nav-burger:focus { outline: none; }
.nav-burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--encre);
  position: absolute;
  left: 10px;
  transition: transform 0.35s ease, opacity 0.35s ease, top 0.35s ease;
  pointer-events: none;
}

.nav-burger span:nth-child(1) { top: 17px; }
.nav-burger span:nth-child(2) { top: 22px; }
.nav-burger span:nth-child(3) { top: 27px; }

nav.main-nav:not(.scrolled):not(body.page-internal nav.main-nav) .nav-burger span,
.hero-network ~ * .nav-burger span {
  background: var(--ivoire);
}

body.page-internal .nav-burger span {
  background: var(--encre);
}

/* État ouvert : burger devient X */
.nav-burger.open span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
  background: var(--encre) !important;
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
  background: var(--encre) !important;
}

@media (max-width: 880px) {
  .nav-burger {
    display: block;
  }
  
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: min(380px, 100vw) !important;
    height: 100vh !important;
    background: var(--ivoire) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 96px 32px 40px !important;
    gap: 0 !important;
    font-size: 18px !important;
    transition: right 0.4s cubic-bezier(0.65, 0, 0.35, 1) !important;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.15) !important;
    z-index: 150 !important;
    margin: 0 !important;
    transform: none !important;
  }
  
  /* CSS-only menu via checkbox sibling selector */
  .menu-toggle:checked ~ nav .nav-links {
    right: 0 !important;
  }
  
  .menu-toggle:checked ~ .nav-backdrop {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  /* Burger animation via :checked */
  .menu-toggle:checked ~ nav .nav-burger span:nth-child(1) {
    top: 22px !important;
    transform: rotate(45deg) !important;
    background: var(--encre) !important;
  }
  .menu-toggle:checked ~ nav .nav-burger span:nth-child(2) {
    opacity: 0 !important;
  }
  .menu-toggle:checked ~ nav .nav-burger span:nth-child(3) {
    top: 22px !important;
    transform: rotate(-45deg) !important;
    background: var(--encre) !important;
  }
  
  .nav-links a {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 18px 0;
    width: 100%;
    color: var(--encre) !important;
    border-bottom: 1px solid var(--papier);
    opacity: 1 !important;
    font-family: 'Fraunces', serif;
    font-size: 22px;
    letter-spacing: -0.01em;
    font-style: normal;
  }
  
  .nav-links a::before {
    content: none;
  }
  
  .nav-links a::after {
    display: none;
  }
  
  .nav-links a.active {
    background-image: none;
    padding-left: 0;
    color: var(--accent) !important;
    font-style: italic;
  }
  
  .nav-links a.active {
    color: var(--accent) !important;
  }
  
  .nav-links a.active::after {
    display: none;
  }
  
  /* Backdrop */
  .nav-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(14, 14, 14, 0.4) !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 999 !important;
  }
  .nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }
  
  body.menu-open {
    overflow: hidden;
  }
}


/* Case headline - prose narrative au lieu de chiffres */
.cards-cases .case-headline {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--encre);
  margin: 0 0 20px;
}
.cards-cases .case-headline em {
  font-style: italic;
  color: var(--accent);
}


/* ============================================
   PUBLICATION DETAIL - Layout fluide parallax
   ============================================ */

/* Cover image en parallax fixe immersive */
.publication-cover-parallax {
  position: relative;
  height: clamp(360px, 60vh, 600px);
  overflow: hidden;
  background: var(--encre);
}

.publication-cover-bg {
  position: absolute;
  top: -15%;
  left: 0;
  right: 0;
  height: 130%;
  background-size: cover;
  background-position: center;
  filter: grayscale(80%) contrast(1.05) brightness(0.92);
  will-change: transform;
}

/* Overlay mix-blend pour effet duotone éditorial - teinte navy doctrinal */
.publication-cover-parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 77, 126, 0.5) 0%, rgba(43, 131, 193, 0.2) 50%, rgba(14, 14, 14, 0.4) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

/* Vignettage doux : assombrir les coins pour rendre l'image plus fluide */
.publication-cover-overlay {
  background: radial-gradient(ellipse at center, transparent 40%, rgba(14, 14, 14, 0.6) 100%) !important;
}

.publication-cover-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}





/* Article flow : sections d'article distribuées en colonne lisible */
.article-flow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Variante article sur fond sombre (parallax-network) */
.parallax-network .article-flow,
.parallax-network .article-flow p,
.parallax-network .article-flow li,
.parallax-network .article-flow h2,
.parallax-network .article-flow h3 {
  color: var(--ivoire);
}

.parallax-network .article-flow p,
.parallax-network .article-flow li {
  color: rgba(248, 247, 244, 0.85);
}

.parallax-network .article-flow strong {
  color: var(--ivoire);
}

.parallax-network .article-flow em {
  color: rgba(248, 247, 244, 1);
  font-style: italic;
}

.parallax-network .article-flow h2 {
  color: var(--ivoire);
  border-top-color: rgba(248, 247, 244, 0.3);
}

.parallax-network .article-flow h2::before {
  background: var(--ivoire);
}

.parallax-network .article-flow ul li::before {
  color: rgba(248, 247, 244, 0.7);
}

/* Sur fond grey : conserver les couleurs encre/ardoise par défaut, juste ajuster spacing */
.section-grey .article-flow {
  max-width: 760px;
}

/* Pull-quote intercalée entre sections - effet manifeste */
.pull-quote-section {
  padding: 100px 24px;
  background: 
    radial-gradient(ellipse at center, rgba(43, 131, 193, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #1a2030 0%, #161b25 50%, #1a2030 100%);
  position: relative;
  overflow: hidden;
}

.pull-quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/img/constellation-c-dark.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  pointer-events: none;
}

.pull-quote-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.pull-quote-content blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--ivoire);
  margin: 0;
  font-style: italic;
  border: none;
  padding: 0;
}

.pull-quote-content blockquote em {
  background: linear-gradient(180deg, transparent 60%, rgba(43, 131, 193, 0.4) 60%);
  padding: 0 6px;
  color: var(--ivoire);
}

.pull-quote-content cite {
  display: block;
  margin-top: 32px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 247, 244, 0.6);
}

/* Spacing entre sections d'article */
.article-section {
  padding: clamp(60px, 9vh, 120px) 0;
}

/* CTA download */
.publication-download {
  text-align: center;
  padding: 60px 24px;
}

.publication-download .btn {
  margin-top: 8px;
}


/* ============================================
   FIX: bouton .btn dans .article-content
   ============================================ */
.article-content a.btn,
.article-flow a.btn,
.publication-download a.btn,
.publication-download a {
  color: var(--ivoire) !important;
  text-decoration: none !important;
  background: var(--accent);
  display: inline-block;
}

.article-content a.btn:hover,
.article-flow a.btn:hover,
.publication-download a.btn:hover {
  color: var(--ivoire) !important;
  background: var(--encre);
  text-decoration: none !important;
}

/* btn-secondary dans article : reset texte sombre */
.article-content a.btn-secondary,
.article-flow a.btn-secondary {
  color: var(--encre) !important;
  background: transparent;
  border: 1px solid var(--encre);
}
.parallax-network .article-flow a.btn-secondary {
  color: var(--ivoire) !important;
  border-color: var(--ivoire);
}



/* Mobile : ajustement publication-cover */
@media (max-width: 880px) {
  .publication-cover-parallax {
    height: 280px;
  }
}


/* Body scroll lock quand menu ouvert (CSS-only) */
body:has(.menu-toggle:checked) { overflow: hidden; }


/* ============================================
   HERO NETWORK CANVAS - Animation particules
   ============================================ */
.hero-network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

/* Le SVG statique reste en fond pour fallback (reduced motion) */
.hero-network-bg {
  z-index: 0;
}

/* Overlay au-dessus du canvas */
.hero-network-overlay {
  z-index: 2;
}

.hero-network-content {
  position: relative;
  z-index: 3;
}

/* Reduced motion : montrer le SVG statique, masquer le canvas */
@media (prefers-reduced-motion: reduce) {
  .hero-network-canvas {
    display: none;
  }
}


/* ============================================
   SECTION TROIS CAS - Fond adouci charcoal navy
   ============================================ */
.section-cases {
  background: 
    radial-gradient(ellipse at 50% 30%, rgba(43, 131, 193, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #1a2030 0%, #161b25 50%, #1a2030 100%) !important;
}
.section-cases .parallax-network-bg {
  background-image: url('/img/constellation-b-dark.svg') !important;
  opacity: 0.18 !important;
  background-attachment: fixed;
}
@media (max-width: 880px) {
  .section-cases .parallax-network-bg { background-attachment: scroll; }
}
.section-cases::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(10, 12, 18, 0.4) 100%);
  pointer-events: none;
  z-index: 0;
}
.section-cases .parallax-content {
  position: relative;
  z-index: 1;
}

/* ============================================
   SECTION LE FONDATEUR - Fond adouci charcoal navy
   ============================================ */
.section-founder {
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(43, 131, 193, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, #1a2030 0%, #161b25 50%, #1a2030 100%) !important;
}
.section-founder .parallax-network-bg {
  background-image: url('/img/neural-dark.svg') !important;
  opacity: 0.16 !important;
  background-attachment: fixed;
}
@media (max-width: 880px) {
  .section-founder .parallax-network-bg { background-attachment: scroll; }
}
.section-founder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(10, 12, 18, 0.35) 100%);
  pointer-events: none;
  z-index: 0;
}
.section-founder .parallax-content {
  position: relative;
  z-index: 1;
}

/* ============================================
   SECTION SERVICES LIST - Ondes architecturales animées
   ============================================ */
.section-services-list {
  position: relative;
  overflow: hidden;
}
.section-services-list::before,
.section-network-light.section-services-list::before {
  display: none !important;
  background-image: none !important;
  opacity: 0 !important;
  content: none !important;
}
.services-list-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.section-services-list .section-network-light-inner {
  position: relative;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .services-list-canvas { display: none; }
}

/* ============================================
   SERVICES HERO CANVAS - Ondes architecturales
   ============================================ */
.services-hero-canvas {
  position: absolute;
  top: 0;
  right: -10%;
  width: 55%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .services-hero-canvas { display: none; }
}
@media (max-width: 880px) {
  .services-hero-canvas { right: 0; width: 100%; opacity: 0.7; }
}

/* ============================================
   NAV - Transition élégante (frosted glass + smooth fade)
   ============================================ */
nav.main-nav {
  transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Nav scrolled : minimaliste - juste un fine border-bottom + slight padding compaction
   Pas de background changeant pour respecter l'esthétique institutionnelle premium */
nav.main-nav.scrolled {
  padding: 16px 60px !important;
  border-bottom: 1px solid rgba(248, 247, 244, 0.08);
}

/* Sur les pages internes (fond ivoire), border-bottom devient encre subtile */
body.page-internal nav.main-nav.scrolled {
  border-bottom: 1px solid rgba(14, 14, 14, 0.06);
  background: rgba(248, 247, 244, 0.6);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

@media (max-width: 900px) {
  nav.main-nav.scrolled {
    padding: 12px 24px !important;
  }
}

/* Logo : version blanche sur fond sombre (home), noire après scroll */
.hero-network ~ * .logo img,
body:not(.page-internal) nav.main-nav:not(.scrolled) .logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body:not(.page-internal) nav.main-nav.scrolled .logo img,
body.page-internal nav.main-nav .logo img {
  filter: none;
  transition: filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero eyebrow : éviter overlap avec logo en augmentant padding-top du contenu hero */
.hero-network-content {
  padding-top: 40px;
}

@media (max-width: 880px) {
  .hero-network-content {
    padding-top: 32px;
  }
}


/* ============================================
   HERO POSITIONING - Signature au-dessus du trait meta-row
   ============================================ */
.hero-positioning {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 56px;
  margin-bottom: 18px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 300;
  color: rgba(248, 247, 244, 0.6);
  letter-spacing: 0.04em;
  text-align: left;
  position: relative;
}

.hero-positioning em {
  font-style: italic;
  color: rgba(248, 247, 244, 0.9);
  font-weight: 300;
}

.hero-positioning-sep {
  color: rgba(248, 247, 244, 0.35);
  font-weight: 300;
}

/* Pas besoin des lignes décoratives : la border-top de hero-meta-row souligne naturellement */
.hero-positioning-line {
  display: none;
}

@media (max-width: 880px) {
  .hero-positioning {
    margin-top: 40px;
    margin-bottom: 14px;
    font-size: 11px;
    gap: 10px;
  }
}





/* ============================================
   BLOG HEADER CANVAS - Particules dérivantes (fond clair)
   ============================================ */
.blog-header-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .blog-header-canvas { display: none; }
}

/* ============================================
   CONTACT HEADER CANVAS - Grille de points ondulante
   ============================================ */
.contact-header-canvas {
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .contact-header-canvas { display: none; }
}

@media (max-width: 880px) {
  .contact-header-canvas { right: 0; width: 100%; opacity: 0.6; }
}

/* ============================================
   A PROPOS POSTURE - Section charcoal navy
   ============================================ */
.section-charcoal {
  background: 
    radial-gradient(ellipse at 60% 40%, rgba(43, 131, 193, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, #1a2030 0%, #161b25 50%, #1a2030 100%) !important;
}

.section-charcoal .section-dark-bg {
  position: absolute;
  inset: 0;
  background-image: url('/img/constellation-c-dark.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  pointer-events: none;
  z-index: 1;
}

.section-charcoal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(10, 12, 18, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.section-charcoal .section-dark-inner {
  position: relative;
  z-index: 2;
}


/* ============================================
   PUBLICATIONS CANVAS - Formes géométriques IA
   ============================================ */
.publications-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .publications-canvas { display: none; }
}


/* ============================================
   FOOTER CANVAS - Constellation pulsante
   ============================================ */
.footer-canvas {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .footer-canvas { display: none; }
}
@media (max-width: 880px) {
  .footer-canvas { width: 100%; opacity: 0.5; }
}
/* Le neural-dark::before reste visible mais réduit */
footer.site-footer::before {
  display: none !important;
}


/* ============================================
   PUBLICATIONS - Typographie éditoriale optimisée
   ============================================ */

/* Anti-orphelins : ponctuation française avec espace insécable */
.article-content {
  text-wrap: pretty;
  -webkit-text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
  hanging-punctuation: first;
}

/* Paragraphes plus aérés */
.article-content p {
  font-size: 19px;
  line-height: 1.85;
  margin-bottom: 32px;
  letter-spacing: 0.005em;
}

.article-content p.lead {
  font-size: 24px;
  line-height: 1.6;
  margin-bottom: 48px;
  letter-spacing: 0;
}

/* Listes : plus d'espace */
.article-content ul,
.article-content ol {
  margin-bottom: 36px;
}

.article-content li {
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* H2 plus aéré */
.article-content h2 {
  margin-top: 80px;
  margin-bottom: 32px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* H3 */
.article-content h3 {
  margin-top: 48px;
  margin-bottom: 20px;
  line-height: 1.3;
}

@media (max-width: 760px) {
  .article-content p { font-size: 17px; line-height: 1.75; margin-bottom: 24px; }
  .article-content p.lead { font-size: 20px; }
  .article-content li { font-size: 16px; }
}


/* ============================================
   SECTION CTA FINALE LIGHT - Papier avec animation discrète
   ============================================ */
.section-cta-final-light {
  position: relative;
  overflow: hidden;
  background: var(--papier);
  padding: 140px 60px;
}

.cta-light-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.section-cta-final-light .section-grey-inner {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .cta-light-canvas { display: none; }
}

@media (max-width: 880px) {
  .section-cta-final-light { padding: 80px 24px; }
}


/* ============================================
   SECTION TRIBUNE ET MÉDIAS - Dots vivants animés
   ============================================ */
.section-media {
  position: relative;
  overflow: hidden;
}

.media-section-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.section-media .section-grey-inner {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .media-section-canvas { display: none; }
}


/* ============================================
   COOKIE BANNER - Discret bas-droite RGPD-aware
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  max-width: 420px;
  background: var(--ivoire);
  border-top: 2px solid var(--accent);
  box-shadow: 0 12px 40px -8px rgba(14, 14, 14, 0.18), 0 2px 8px -2px rgba(14, 14, 14, 0.08);
  padding: 24px 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner-text {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--encre);
  margin: 0;
  font-weight: 300;
}

.cookie-banner-text em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-style: italic;
}

.cookie-banner-text a:hover {
  color: var(--encre);
}

.cookie-banner-close {
  align-self: flex-end;
  background: var(--accent);
  color: var(--ivoire);
  border: none;
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.cookie-banner-close:hover {
  background: var(--encre);
}

@media (max-width: 720px) {
  .cookie-banner {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
    padding: 20px 22px;
  }
  .cookie-banner-text {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: opacity 0.2s; transform: none; }
  .cookie-banner.visible { transform: none; }
}


/* Désactiver le grid-light SVG sur section-media (les rectangles fixes étaient incohérents avec les dots animés) */
.section-media::before {
  display: none !important;
}


/* ============================================
   SERVICES CTA - Canvas lignes courbes
   ============================================ */
.section-services-cta {
  position: relative;
  overflow: hidden;
}

.services-cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Désactiver le ::before grid-light qui ferait double avec le canvas */
.section-services-cta::before {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .services-cta-canvas { display: none; }
}


/* ============================================
   A PROPOS POSTURE - Canvas constellation animée
   ============================================ */
.posture-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.section-charcoal .section-dark-inner {
  position: relative;
  z-index: 2;
}

/* Désactiver le SVG constellation statique du ::before (remplacé par canvas) */
.section-charcoal .section-dark-bg {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .posture-canvas { display: none; }
}


/* ============================================
   DOCTRINE ACTE I - Canvas constellation animée
   ============================================ */
.section-acte-i {
  position: relative;
  overflow: hidden;
}

.acte-i-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.section-acte-i .section-dark-inner {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .acte-i-canvas { display: none; }
}


/* ============================================
   CONTACT - retrait background image page-header
   ============================================ */
body.page-contact .page-header-bg {
  display: none !important;
}

/* ============================================
   CONTACT DOCTRINE - Canvas constellation animée
   ============================================ */
.section-contact-doctrine {
  position: relative;
  overflow: hidden;
}

.contact-doctrine-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.section-contact-doctrine .section-dark-inner {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .contact-doctrine-canvas { display: none; }
}


/* FORCE absolue : aucune image background sur section-services-list */
section.section-services-list,
section.section-services-list::before,
section.section-services-list::after {
  background-image: none !important;
}
section.section-services-list::before {
  display: none !important;
  content: none !important;
}


/* ============================================
   HERO - Highlight Intelligence Artificielle
   ============================================ */
.hero-tagline em.hero-highlight {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
  background: linear-gradient(180deg, transparent 65%, rgba(43, 131, 193, 0.18) 65%);
  padding: 0 6px;
  text-decoration: none;
  position: relative;
}

/* ============================================
   CONTACT MAP - Google Maps embed dans le design VEIA
   ============================================ */
.section-map {
  position: relative;
  overflow: hidden;
}

.map-frame {
  position: relative;
  border-top: 2px solid var(--accent);
  background: var(--ivoire);
  overflow: hidden;
  margin-top: 24px;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.6s ease;
  box-shadow: 0 12px 40px -8px rgba(14, 14, 14, 0.12);
}

.map-frame:hover {
  filter: grayscale(0%) contrast(1);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

.map-meta {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.map-link {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0;
  transition: color 0.3s;
}

.map-link:hover {
  color: var(--encre);
}

@media (max-width: 760px) {
  .map-frame iframe { height: 360px; }
  .map-meta { justify-content: flex-start; }
}


/* ============================================
   FOOTER - Lien Horizon discret
   ============================================ */
.horizon-link-footer {
  font-style: italic;
  color: rgba(248, 247, 244, 0.55) !important;
  transition: color 0.3s;
  letter-spacing: 0.04em;
}
.horizon-link-footer:hover {
  color: var(--ivoire) !important;
}

/* ============================================
   HORIZON page - ajustements pour nav qui s'affiche
   ============================================ */
body.horizon .horizon-section.intro {
  padding-top: 25vh;
}

/* Sur Horizon (fond sombre), nav avec logo blanc */
body.horizon nav.main-nav .logo img {
  filter: brightness(0) invert(1);
}
body.horizon nav.main-nav.scrolled .logo img {
  filter: brightness(0) invert(1);  /* reste blanc même scrolled */
}
body.horizon nav.main-nav a {
  color: var(--ivoire) !important;
}
body.horizon nav.main-nav.scrolled {
  background: rgba(14, 14, 14, 0.7) !important;
  backdrop-filter: saturate(150%) blur(16px) !important;
  -webkit-backdrop-filter: saturate(150%) blur(16px) !important;
  border-bottom: 1px solid rgba(248, 247, 244, 0.08);
}

/* Espacement progress dots vs nav */
body.horizon .horizon-progress {
  top: 50%;
}


/* ============================================
   HOME LE FONDATEUR - Sphère rotative à gauche
   ============================================ */
.section-founder .section-founder-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.section-founder-text {
  position: relative;
  z-index: 2;
}

.section-founder-sphere {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 260px;
  margin: 0 auto;
  width: 100%;
}

.doctrine-sphere-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sphere-logo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.sphere-logo {
  width: clamp(70px, 12vw, 120px);
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

@media (max-width: 880px) {
  .section-founder .section-founder-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .section-founder-sphere {
    max-width: 180px;
    order: -1;  /* sphère en haut sur mobile */
  }
  .section-founder .section-founder-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doctrine-sphere-canvas { display: none; }
}

/* ============================================
   HORIZON - Nav transparent (override page-internal)
   ============================================ */
body.horizon nav.main-nav {
  background: transparent !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.horizon nav.main-nav.scrolled {
  background: rgba(14, 14, 14, 0.4) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  border-bottom: 1px solid rgba(248, 247, 244, 0.06) !important;
}

body.horizon nav.main-nav .logo img {
  filter: brightness(0) invert(1) !important;
}

body.horizon nav.main-nav a {
  color: var(--ivoire) !important;
}

body.horizon nav.main-nav a:hover {
  color: rgba(248, 247, 244, 0.7) !important;
}

body.horizon .nav-burger span {
  background: var(--ivoire) !important;
}

/* ============================================
   SECTION CLIENTS - Logos institutionnels
   Fond blanc, hauteur égalisée, signature éditoriale
============================================ */
.section-clients {
  background: #ffffff;
  padding: 110px 0 120px;
  border-top: 1px solid rgba(14, 14, 14, 0.06);
  border-bottom: 1px solid rgba(14, 14, 14, 0.06);
}
.section-clients-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}
.section-clients .eyebrow {
  margin-bottom: 24px;
}
.section-clients h2 {
  margin: 0 0 80px;
  max-width: 760px;
}
.clients-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  justify-items: center;
  gap: 40px clamp(24px, 3vw, 50px);
  margin: 0;
  padding-top: 56px;
  border-top: 1px solid rgba(14, 14, 14, 0.10);
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  width: 100%;
  max-width: 170px;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s ease;
}
.client-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
/* CCI logo a un fond bleu - isole sa hauteur visible */
.client-logo[aria-label="CCI Alsace Eurométropole"] img {
  max-height: 44px;
}
@media (max-width: 1100px) {
  .clients-strip { grid-template-columns: repeat(4, 1fr); gap: 44px 36px; }
}
@media (max-width: 820px) {
  .clients-strip { grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
}
@media (max-width: 600px) {
  .section-clients { padding: 70px 0 75px; }
  .section-clients-inner { padding: 0 24px; }
  .section-clients h2 { margin-bottom: 48px; }
  .clients-strip { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; padding-top: 40px; }
  .client-logo { height: 44px; max-width: 140px; }
  .client-logo[aria-label="CCI Alsace Eurométropole"] img { max-height: 36px; }
}

/* ============================================
   SERVICES CHAPTERS - mise en page éditoriale
   Numéros italiques Fraunces géants, chapitres alternés
============================================ */
.service-chapter {
  position: relative;
  padding: 140px 60px;
  border-bottom: 1px solid rgba(14, 14, 14, 0.10);
  overflow: hidden;
}
.service-chapter:nth-child(even) { background: var(--papier); }
.service-chapter-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 2fr;
  gap: 80px;
  align-items: start;
}
.service-chapter:nth-child(even) .service-chapter-inner {
  grid-template-columns: 2fr minmax(180px, 1fr);
}
.service-chapter:nth-child(even) .service-chapter-num { order: 2; text-align: right; }
.service-chapter:nth-child(even) .service-chapter-body { order: 1; }

.service-chapter-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(120px, 14vw, 220px);
  line-height: 0.85;
  color: var(--encre);
  letter-spacing: -0.04em;
  position: relative;
}
.service-chapter-num::after {
  content: '';
  display: block;
  width: 60px; height: 1px;
  background: rgba(14, 14, 14, 0.35);
  margin-top: 40px;
}
.service-chapter:nth-child(even) .service-chapter-num::after { margin-left: auto; }

.service-chapter-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.55);
  margin-bottom: 28px;
}
.service-chapter h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--encre);
  margin: 0 0 20px;
}
.service-chapter h2 em {
  font-style: italic;
  color: var(--accent);
}
.service-chapter-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--accent);
  margin: 0 0 36px;
  line-height: 1.4;
}
.service-chapter p.service-chapter-desc {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ardoise);
  max-width: 560px;
  margin: 0 0 40px;
}
.service-chapter-meta {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin: 0 0 44px;
  padding: 28px 0;
  border-top: 1px solid rgba(14, 14, 14, 0.12);
  border-bottom: 1px solid rgba(14, 14, 14, 0.12);
}
.service-chapter-meta-item { display: flex; flex-direction: column; gap: 6px; }
.service-chapter-meta-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.55);
}
.service-chapter-meta-value {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--encre);
}
.service-chapter-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--encre);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--encre);
  padding-bottom: 4px;
  transition: gap 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.service-chapter-cta:hover { gap: 18px; color: var(--accent); border-color: var(--accent); }
.service-chapter-cta-arrow { font-style: italic; font-family: 'Fraunces', serif; font-size: 18px; }

@media (max-width: 900px) {
  .service-chapter { padding: 80px 24px; }
  .service-chapter-inner,
  .service-chapter:nth-child(even) .service-chapter-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .service-chapter:nth-child(even) .service-chapter-num { order: 0; text-align: left; }
  .service-chapter:nth-child(even) .service-chapter-body { order: 1; }
  .service-chapter:nth-child(even) .service-chapter-num::after { margin-left: 0; }
  .service-chapter-num { font-size: 90px; }
  .service-chapter-meta { gap: 32px; }
}

/* ============================================
   FORMULAIRE GATING PDF - Brevo Manifeste 2026
   Style éditorial VEIA : papier light, sobre, dense
============================================ */
.section-download-form {
  background: var(--papier);
  padding: 110px 60px;
  border-top: 1px solid rgba(14, 14, 14, 0.08);
  border-bottom: 1px solid rgba(14, 14, 14, 0.08);
}
.download-form-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.section-download-form .eyebrow { margin-bottom: 22px; display: inline-block; }
.section-download-form h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--encre);
  margin: 0 0 18px;
}
.section-download-form h2 em {
  font-style: italic;
  color: var(--accent);
}
.download-form-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--ardoise);
  max-width: 600px;
  margin: 0 0 50px;
  line-height: 1.5;
}
.download-form { margin: 0; }
.download-form .form-row {
  margin-bottom: 18px;
}
.download-form .form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.download-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.download-form label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.65);
}
.download-form .req { color: var(--accent); }
.download-form input[type="text"],
.download-form input[type="email"] {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid rgba(14, 14, 14, 0.25);
  background: var(--ivoire);
  color: var(--encre);
  border-radius: 0;
  transition: border-color 0.3s ease;
  outline: none;
}
.download-form input:focus {
  border-color: var(--accent);
}
.download-form .form-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.download-form button.btn {
  cursor: pointer;
  border: none;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.download-form button.btn:disabled { opacity: 0.6; cursor: wait; }
.download-rgpd {
  margin: 0;
  font-size: 12px;
  color: rgba(14, 14, 14, 0.50);
  letter-spacing: 0.01em;
  font-style: italic;
  flex: 1 1 240px;
}
.form-success, .form-error {
  margin-top: 30px;
  padding: 28px 32px;
  background: var(--ivoire);
  border-left: 3px solid var(--accent);
}
.form-success-title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--encre);
}
.form-success-title em { font-style: italic; color: var(--accent); }
.form-success-desc {
  font-size: 14px;
  color: var(--ardoise);
  margin: 0;
}
.form-error { border-left-color: #b91c1c; }
.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;
}
@media (max-width: 600px) {
  .section-download-form { padding: 70px 24px; }
  .download-form .form-row-2col { grid-template-columns: 1fr; }
  .download-form .form-actions { flex-direction: column; align-items: stretch; }
  .download-form button.btn { width: 100%; }
  .download-rgpd { flex: 1 1 auto; }
}

/* ============================================
   BLOG REFONTE ÉDITORIALE - Phases 1+2+3
============================================ */

/* === META article (date + temps de lecture) === */
.article-meta {
  display: flex;
  gap: 24px;
  align-items: baseline;
  flex-wrap: wrap;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.55);
  margin-bottom: 16px;
}
.article-meta-kicker {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(14, 14, 14, 0.25);
  color: var(--encre);
  background: var(--papier);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.article-meta-divider { color: rgba(14, 14, 14, 0.25); }

/* === Résumé éditorial (boxed) === */
.article-summary {
  max-width: 720px;
  margin: 60px auto 0;
  padding: 36px 44px;
  background: var(--papier);
  border-left: 3px solid var(--accent);
  font-family: 'Inter', sans-serif;
}
.article-summary-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.55);
  margin-bottom: 16px;
}
.article-summary h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--encre);
  margin: 0 0 18px;
}
.article-summary ul {
  margin: 0;
  padding-left: 22px;
  list-style: none;
}
.article-summary li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ardoise);
}
.article-summary li::before {
  content: '—';
  position: absolute;
  left: -8px;
  color: var(--accent);
  font-weight: 500;
}
.article-summary li:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .article-summary { padding: 28px 24px; }
}

/* === Lettrine Fraunces (drop cap) === */
.article-content > p.first-paragraph::first-letter {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 72px;
  line-height: 0.85;
  float: left;
  margin: 6px 12px -4px 0;
  color: var(--accent);
}

/* === Pull quote === */
.pull-quote {
  margin: 48px -40px;
  padding: 32px 60px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  color: var(--encre);
  text-align: center;
  border-top: 1px solid rgba(14, 14, 14, 0.20);
  border-bottom: 1px solid rgba(14, 14, 14, 0.20);
}
.pull-quote::before { content: '« '; color: var(--accent); }
.pull-quote::after { content: ' »'; color: var(--accent); }
@media (max-width: 720px) {
  .pull-quote { margin: 40px 0; padding: 24px 0; font-size: 22px; }
}

/* === Point d'arbitrage (encart doctrine VEIA) === */
.point-arbitrage {
  margin: 56px 0;
  padding: 36px 40px;
  background: linear-gradient(180deg, #1a2030 0%, #161b25 100%);
  color: var(--ivoire);
  border-left: 3px solid var(--accent-light);
}
.point-arbitrage-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}
.point-arbitrage h4 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 16px;
  color: var(--ivoire);
}
.point-arbitrage p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(248,247,244,0.85);
}
.point-arbitrage p strong { color: var(--ivoire); }

/* === Signature auteur (fin d'article) === */
.author-signature {
  max-width: 720px;
  margin: 80px auto 0;
  padding: 40px 0;
  border-top: 1px solid rgba(14, 14, 14, 0.20);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.author-signature-photo {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
}
.author-signature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-signature-text {
  flex: 1 1 300px;
}
.author-signature-name {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--encre);
  margin: 0 0 4px;
}
.author-signature-role {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ardoise);
  margin: 0 0 10px;
}
.author-signature-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
}
.author-signature-links a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.author-signature-links a:hover { border-bottom-color: var(--accent); }

/* === Lectures suggérées (3 cards) === */
.suggested-reads {
  background: var(--papier);
  padding: 80px 60px;
  border-top: 1px solid rgba(14, 14, 14, 0.10);
}
.suggested-reads-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.suggested-reads-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.55);
  margin-bottom: 16px;
}
.suggested-reads h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 50px;
  color: var(--encre);
}
.suggested-reads h2 em { font-style: italic; color: var(--accent); }
.suggested-reads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.suggested-read-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid rgba(14, 14, 14, 0.20);
  padding-top: 22px;
  transition: padding-top 0.4s ease;
}
.suggested-read-card:hover { padding-top: 14px; }
.suggested-read-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.suggested-read-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  color: var(--encre);
  margin: 0;
}
@media (max-width: 900px) {
  .suggested-reads-grid { grid-template-columns: 1fr; gap: 28px; }
  .suggested-reads { padding: 60px 24px; }
}

/* === BLOG INDEX redesign === */
.blog-featured {
  padding: 80px 60px 60px;
  background: var(--ivoire);
}
.blog-featured-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.blog-featured-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  border-top: 1px solid rgba(14, 14, 14, 0.20);
  padding-top: 48px;
}
.blog-featured-image {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.blog-featured-card:hover .blog-featured-image img { transform: scale(1.04); }
.blog-featured-text { display: flex; flex-direction: column; }
.blog-featured-meta {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.55);
  margin-bottom: 16px;
}
.blog-featured-card h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--encre);
  margin: 0 0 18px;
}
.blog-featured-card h2 em { font-style: italic; color: var(--accent); }
.blog-featured-card .lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ardoise);
  margin: 0 0 24px;
}
.blog-featured-card a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--encre);
  text-decoration: none;
  border-bottom: 1px solid var(--encre);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: all 0.4s ease;
}
.blog-featured-card a:hover { color: var(--accent); border-bottom-color: var(--accent); }
@media (max-width: 900px) {
  .blog-featured-card { grid-template-columns: 1fr; gap: 28px; }
  .blog-featured { padding: 60px 24px 40px; }
}

.blog-grid-section {
  padding: 60px 60px 100px;
  background: var(--ivoire);
}
.blog-grid-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.blog-grid-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.55);
  margin-bottom: 16px;
}
.blog-grid-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--encre);
  margin: 0 0 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(14, 14, 14, 0.20);
}
.blog-grid-title em { font-style: italic; color: var(--accent); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 36px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease;
}
.blog-card-cover {
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 22px;
  background: var(--papier);
}
.blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-cover img { transform: scale(1.04); }
.blog-card-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}
.blog-card-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  color: var(--encre);
  margin: 0 0 8px;
}
.blog-card-date {
  font-size: 12px;
  letter-spacing: 0.10em;
  color: rgba(14, 14, 14, 0.50);
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid-section { padding: 40px 24px 80px; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   BLOG INDEX - Direction A : Liste éditoriale chronologique
============================================ */
.blog-list-section {
  background: var(--ivoire);
  padding: 60px 60px 100px;
}
.blog-list-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.blog-list-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.55);
  margin-bottom: 16px;
}
.blog-list-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--encre);
  margin: 0 0 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(14, 14, 14, 0.20);
}
.blog-list-title em { font-style: italic; color: var(--accent); }

.blog-list {
  display: flex;
  flex-direction: column;
}
.blog-list-row {
  display: grid;
  grid-template-columns: 110px 1fr 200px 120px;
  gap: 40px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid rgba(14, 14, 14, 0.20);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.4s ease;
}
.blog-list-row:hover { padding-left: 20px; }
.blog-list-row:first-child { border-top: 1px solid rgba(14, 14, 14, 0.20); }

.blog-list-date {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 1;
}
.blog-list-title-text {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--encre);
  margin: 0;
}
.blog-list-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.55);
  font-family: 'Inter', sans-serif;
}
.blog-list-meta-kicker {
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.blog-list-meta-time { color: rgba(14, 14, 14, 0.50); }
.blog-list-thumb {
  width: 120px;
  height: 80px;
  overflow: hidden;
  background: var(--papier);
  justify-self: end;
}
.blog-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.blog-list-row:hover .blog-list-thumb img { transform: scale(1.08); }

@media (max-width: 900px) {
  .blog-list-section { padding: 40px 24px 80px; }
  .blog-list-row {
    grid-template-columns: 70px 1fr 70px;
    gap: 16px;
    padding: 24px 0;
  }
  .blog-list-date { font-size: 16px; }
  .blog-list-title-text { font-size: 18px; }
  .blog-list-meta { display: none; }
  .blog-list-thumb { width: 70px; height: 50px; }
}

/* ============================================
   BLOG INDEX - Direction B : Asymétrique magazine
============================================ */
.blog-magazine-section {
  background: var(--ivoire);
  padding: 60px 60px 100px;
}
.blog-magazine-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.blog-magazine-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 50px 36px;
}
.blog-mag-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.blog-mag-cover {
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--papier);
}
.blog-mag-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.blog-mag-card:hover .blog-mag-cover img { transform: scale(1.04); }

.blog-mag-card.size-l { grid-column: span 4; }
.blog-mag-card.size-l .blog-mag-cover { aspect-ratio: 16/9; }
.blog-mag-card.size-l h3 { font-size: 32px; }

.blog-mag-card.size-m { grid-column: span 2; }
.blog-mag-card.size-m .blog-mag-cover { aspect-ratio: 4/5; }
.blog-mag-card.size-m h3 { font-size: 20px; }

.blog-mag-card.size-s { grid-column: span 2; }
.blog-mag-card.size-s .blog-mag-cover { aspect-ratio: 1/1; }
.blog-mag-card.size-s h3 { font-size: 18px; }

.blog-mag-card.size-text {
  grid-column: span 2;
  justify-content: center;
  padding: 24px 0;
  border-top: 1px solid rgba(14, 14, 14, 0.20);
  border-bottom: 1px solid rgba(14, 14, 14, 0.20);
}
.blog-mag-card.size-text .blog-mag-cover { display: none; }
.blog-mag-card.size-text h3 { font-size: 22px; font-style: italic; }

.blog-mag-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--encre);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.blog-mag-card h3 em { font-style: italic; color: var(--accent); }
.blog-mag-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  margin-bottom: 10px;
}
.blog-mag-date {
  font-size: 12px;
  letter-spacing: 0.10em;
  color: rgba(14, 14, 14, 0.50);
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  margin-top: 8px;
}
@media (max-width: 1100px) {
  .blog-magazine-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-mag-card.size-l, .blog-mag-card.size-m, .blog-mag-card.size-s, .blog-mag-card.size-text {
    grid-column: span 1;
  }
  .blog-mag-card.size-l .blog-mag-cover,
  .blog-mag-card.size-m .blog-mag-cover,
  .blog-mag-card.size-s .blog-mag-cover { aspect-ratio: 4/3; }
}
@media (max-width: 640px) {
  .blog-magazine-grid { grid-template-columns: 1fr; }
}

/* ============================================
   BLOG INDEX - Direction C : Chapitres numérotés
============================================ */
.blog-chapters-section {
  background: var(--ivoire);
  padding: 60px 60px 100px;
}
.blog-chapters-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.blog-chapter {
  display: grid;
  grid-template-columns: 180px 1fr 140px;
  gap: 50px;
  align-items: baseline;
  padding: 56px 0;
  border-bottom: 1px solid rgba(14, 14, 14, 0.20);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.4s ease;
}
.blog-chapter:hover { padding-left: 20px; }
.blog-chapter:first-of-type { border-top: 1px solid rgba(14, 14, 14, 0.20); }
.blog-chapter-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(80px, 9vw, 140px);
  line-height: 0.85;
  color: var(--encre);
  letter-spacing: -0.04em;
}
.blog-chapter-body { display: flex; flex-direction: column; }
.blog-chapter-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  margin-bottom: 14px;
}
.blog-chapter-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--encre);
  margin: 0 0 14px;
}
.blog-chapter-title em { font-style: italic; color: var(--accent); }
.blog-chapter-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ardoise);
  margin: 0;
  max-width: 540px;
}
.blog-chapter-meta {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.55);
  text-align: right;
  align-self: flex-end;
}
.blog-chapter-meta .date { color: var(--encre); display: block; margin-bottom: 4px; }
@media (max-width: 900px) {
  .blog-chapters-section { padding: 40px 24px 80px; }
  .blog-chapter {
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 32px 0;
  }
  .blog-chapter-num { font-size: 56px; }
  .blog-chapter-meta { grid-column: 1 / -1; text-align: left; margin-top: 8px; }
}

/* === Cookie banner - consent buttons (Accept/Refuse for Clarity) === */
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  align-self: flex-end;
  flex-wrap: wrap;
}
.cookie-banner-btn {
  border: none;
  padding: 10px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.cookie-banner-accept {
  background: var(--accent);
  color: var(--ivoire);
}
.cookie-banner-accept:hover { background: var(--encre); }
.cookie-banner-refuse {
  background: transparent;
  color: var(--encre);
  border: 1px solid rgba(14, 14, 14, 0.30);
}
.cookie-banner-refuse:hover {
  border-color: var(--encre);
  background: rgba(14, 14, 14, 0.05);
}
@media (max-width: 720px) {
  .cookie-banner-actions { width: 100%; justify-content: space-between; }
  .cookie-banner-btn { flex: 1 1 auto; }
}
