/*
Theme Name: Digicrenau
Theme URI: https://digicrenau.com
Author: Jonathan Delaunoy
Description: Thème custom Digicrenau — Marketing digital, IA appliquée et branding honnête.
Version: 5.14
License: GNU General Public License v2 or later
Text Domain: digicrenau
*/

/* ─── TOKENS ─────────────────────────────── */
:root {
  --bg:         #0c0015;
  --bg-2:       #150025;
  --bg-card:    rgba(192,132,252,0.06);
  --bg-card-2:  rgba(192,132,252,0.10);
  --bg-dark:    #08000f;
  --wood:       #aaaaaa;
  --text:       #f0f0f0;
  --text-sub:   rgba(255,255,255,0.72);
  --text-muted: rgba(255,255,255,0.42);
  --text-inv:   #0c0015;
  --accent:     #c084fc;
  --accent-dk:  #a855f7;
  --a12:        rgba(192,132,252,0.08);
  --a06:        rgba(192,132,252,0.05);
  --a20:        rgba(192,132,252,0.16);
  --border:     rgba(192,132,252,0.12);
  --border-2:   rgba(192,132,252,0.22);
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   32px;
  --r-2xl:  44px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.16,1,0.3,1);
}

/* ─── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: #0c0015;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── UTILS ──────────────────────────────── */
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }
.sec  { padding-block: clamp(5rem, 10vw, 8rem); }

/* ─── SCROLL REVEAL ──────────────────────── */
.r { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.r.in { opacity: 1; transform: none; }
.r.d1 { transition-delay: .08s; }
.r.d2 { transition-delay: .16s; }
.r.d3 { transition-delay: .24s; }
.r.d4 { transition-delay: .32s; }

/* ─── LABEL ──────────────────────────────── */
.lbl {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px;
}
.lbl::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ─── BUTTONS ────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 22px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; letter-spacing: -.01em; transition: all .28s var(--ease); white-space: nowrap; }
.btn-white { background: #ffffff; color: #0c0015; }
.btn-white:hover { background: #e8e8e8; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.btn-outline { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.78); }
.btn-outline:hover { border-color: rgba(255,255,255,0.24); color: #ffffff; background: rgba(255,255,255,0.10); transform: translateY(-2px); }
.btn-accent { background: #ffffff; color: #0c0015; font-weight: 700; }
.btn-accent:hover { background: #e8e8e8; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }

/* ─── NAVBAR ─────────────────────────────── */
.nav { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 999; width: min(calc(100% - 2rem), 820px); }
.nav-pill { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 22px; gap: 8px; background: rgba(15,0,30,0.82); backdrop-filter: blur(44px) saturate(160%); -webkit-backdrop-filter: blur(44px) saturate(160%); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--r-pill); box-shadow: 0 8px 40px rgba(0,0,0,.4); color: var(--text); }
.nav-logo { font-size: 17px; font-weight: 800; letter-spacing: -.03em; flex-shrink: 0; color: #ffffff; }
.nav-logo span { font-weight: 300; color: rgba(255,255,255,0.4); }
.nav-links { display: none; align-items: center; gap: 2px; }
.nav-links a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.55); padding: 7px 14px; border-radius: var(--r-pill); transition: all .2s; }
.nav-links a:hover, .nav-links a.active { color: #ffffff; background: rgba(255,255,255,0.08); }
.nav-cta { display: none; padding: 9px 18px; font-size: 13px; border-radius: var(--r-pill); background: #ffffff; color: #0c0015; font-weight: 700; transition: all .25s; }
.nav-cta:hover { background: #e0e0e0; transform: translateY(-2px); }
.nav-burger { display: flex; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; flex-shrink: 0; }
.nav-burger i { display: block; width: 18px; height: 1.5px; background: rgba(255,255,255,0.55); border-radius: 2px; transition: all .3s var(--ease); }
.nav-burger.open i:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-burger.open i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open i:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }
.nav-drawer { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #150025; border: 1px solid rgba(255,255,255,0.10); border-radius: var(--r-2xl); padding: 8px; flex-direction: column; align-items: center; gap: 3px; box-shadow: 0 20px 60px rgba(0,0,0,.55); }
.nav-drawer.open { display: flex; }
.nav-drawer a { padding: 12px 16px; border-radius: var(--r-md); font-size: 15px; font-weight: 500; color: rgba(255,255,255,0.6); transition: all .15s; text-align: center; width: 100%; }
.nav-drawer a:hover { background: rgba(255,255,255,0.07); color: #ffffff; }
.nav-drawer .btn { margin-top: 6px; align-self: center; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.16); width: auto; }
.nav-drawer .btn:hover { background: rgba(255,255,255,0.14); color: #ffffff; }
@media (min-width: 720px) { .nav-links { display: flex; } .nav-cta { display: inline-flex; } .nav-burger { display: none; } }

/* ─── HERO ───────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 10rem 0 6rem; }
/* ─── HERO SHADER CANVAS ─────────────────── */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; max-width: 820px; padding-inline: clamp(1.25rem, 5vw, 2.5rem); margin-inline: auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--r-pill); font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--text-sub); margin-bottom: 28px; box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.4; transform:scale(.75); } }
.hero-h1 { font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 900; line-height: 1.02; letter-spacing: -.04em; color: var(--text); margin-bottom: 22px; }
.hero-h1 em { font-style: italic; font-weight: 300; color: var(--text-muted); }
.hero-sub { font-size: clamp(.95rem, 2vw, 1.1rem); line-height: 1.78; color: var(--text-sub); max-width: 46ch; margin: 0 auto 36px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hc { position: absolute; background: rgba(255,255,255,0.07); backdrop-filter: blur(44px) saturate(160%); -webkit-backdrop-filter: blur(44px) saturate(160%); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--r-xl); padding: 16px 18px; box-shadow: 0 8px 32px rgba(0,0,0,.30); }
.hc-a { width: 220px; top: 20%; left: clamp(0px, 4%, 60px); animation: bob 7s ease-in-out infinite; }
.hc-b { width: 160px; bottom: 22%; right: clamp(0px, 4%, 60px); animation: bob 7s ease-in-out infinite 3s; text-align: center; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.hero-inner { transform-style: preserve-3d; will-change: transform; }
.hc-tag { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--a12); padding: 2px 8px; border-radius: var(--r-pill); display: inline-block; margin-bottom: 8px; }
.hc-title { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 4px; letter-spacing: -.01em; }
.hc-meta { font-size: 11px; color: var(--text-muted); }
.hc-num { font-size: 2.2rem; font-weight: 800; color: var(--accent); letter-spacing: -.045em; line-height: 1; display: block; margin-bottom: 4px; }
.hc-caption { font-size: 11px; color: var(--text-sub); line-height: 1.45; }
.hero-cards { position: absolute; inset: 0; pointer-events: none; }
@media (max-width: 900px) { .hc-a, .hc-b { display: none; } }

/* ─── MARQUEE ────────────────────────────── */
.mq { border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.03); overflow: hidden; padding: 14px 0; }
.mq-track { display: flex; width: max-content; animation: scrollx 32s linear infinite; }
.mq-row { display: flex; align-items: center; flex-shrink: 0; }
.mq-item { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); padding: 0 28px; white-space: nowrap; }
.mq-dot { color: var(--accent); font-size: 8px; opacity: .5; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── BENTO ARTICLES ─────────────────────── */
.bento-grid { display: grid; grid-template-columns: repeat(6,1fr); border: 1px solid var(--border-2); border-radius: var(--r-xl); overflow: hidden; }
.bento-card { position: relative; overflow: hidden; border: 1px solid var(--border); text-decoration: none; display: flex; flex-direction: column; min-height: 300px; transition: border-color .35s ease, box-shadow .35s ease; color: inherit; }
.bento-card:hover { border-color: var(--accent-dk); box-shadow: inset 0 0 0 1px rgba(192,132,252,.25); }
.bento-card--2 { grid-column: span 2; }
.bento-card--3 { grid-column: span 3; }
.bento-card--4 { grid-column: span 4; }
.bento-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s ease; }
.bento-card--has-img:hover .bento-img { transform: scale(1.05); }
.bento-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,0,15,.92) 0%, rgba(8,0,15,.45) 55%, rgba(8,0,15,.08) 100%); }
.bento-body { position: relative; z-index: 1; margin-top: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.bento-tag { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--a12); padding: 3px 9px; border-radius: var(--r-pill); display: inline-block; align-self: flex-start; }
.bento-title { font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.3; letter-spacing: -.015em; }
.bento-desc { font-size: 13px; line-height: 1.65; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bento-foot { display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; border-top: 1px solid rgba(255,255,255,.12); margin-top: .25rem; }
.bento-time { font-size: 11px; color: var(--text-muted); }
.bento-arrow { font-size: 12px; font-weight: 600; color: var(--accent); transition: transform .2s; display: inline-block; }
.bento-card:hover .bento-arrow { transform: translateX(4px); }
@media (max-width: 679px) { .bento-grid { grid-template-columns: 1fr; } .bento-card--2, .bento-card--3, .bento-card--4 { grid-column: span 1; min-height: 240px; } }
@media (min-width: 680px) and (max-width: 999px) { .bento-grid { grid-template-columns: repeat(2,1fr); } .bento-card--2 { grid-column: span 1; } .bento-card--3, .bento-card--4 { grid-column: span 2; } }

/* ─── STATS ──────────────────────────────── */
.stats-strip { background: transparent; border-top: none; border-bottom: none; padding-block: clamp(1.5rem,3vw,2.5rem); }
.stats-row { display: flex; justify-content: center; gap: clamp(2rem,8vw,6rem); flex-wrap: wrap; }
.stat-cell { padding: 0; text-align: center; }
.stat-big { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; color: var(--text); letter-spacing: -.04em; line-height: 1; display: block; }
.stat-suf { color: var(--accent); }
.stat-lbl { font-size: 11px; color: var(--text-muted); margin-top: 6px; font-weight: 500; letter-spacing: .05em; }

/* ─── ABOUT ──────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.3fr .7fr; gap: 5rem; } }
.about-bio { font-size: 16px; line-height: 1.82; color: var(--text-sub); margin-bottom: 14px; }
/* ─── MARKETING BADGES ──────────────────── */
.mkt-badges-wrap { position: relative; display: flex; height: 260px; width: 100%; align-items: center; justify-content: center; margin-top: 2rem; }
.mkt-badge { position: absolute; cursor: pointer; user-select: none; -webkit-user-select: none; border-radius: 9999px; font-weight: 600; transition: transform .5s cubic-bezier(.34,1.4,.64,1), box-shadow .3s ease; box-shadow: 0 10px 25px -5px rgba(0,0,0,.4), 0 4px 10px -2px rgba(0,0,0,.3), inset 0 1px 2px rgba(255,255,255,.15); }
.mkt-badge span { position: relative; display: block; color: #f0f0f0; transition: transform .3s ease; }
.mkt-badge--sm { padding: 8px 20px; font-size: .875rem; }
.mkt-badge--md { padding: 10px 26px; font-size: 1rem; }
.mkt-badge--lg { padding: 11px 32px; font-size: 1.1rem; }
.mkt-badge-shine { pointer-events: none; position: absolute; inset: 0; border-radius: 9999px; opacity: .4; background: linear-gradient(180deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,0) 50%); }
@media (max-width: 640px) { .mkt-badges-wrap { height: 200px; transform: scale(.75); transform-origin: center center; } }
.about-bio a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.about-bio a:hover { color: var(--text); }
.about-linkedin { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; padding: .5rem 1.1rem; border: 1px solid var(--border-2); border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; color: var(--text-sub); text-decoration: none; transition: all .2s; }
.about-linkedin:hover { border-color: var(--accent); color: var(--accent); background: var(--a06); }
.about-articles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
@media (max-width: 768px) { .about-articles-grid { grid-template-columns: 1fr; } }
.about-art-card { display: flex; flex-direction: column; gap: .45rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r-xl); padding: 1.25rem 1.5rem; text-decoration: none; transition: all .3s var(--ease); box-shadow: 0 4px 20px rgba(0,0,0,.18); }
.about-art-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,.26); }
.about-art-tag { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.about-art-title { font-size: .95rem; font-weight: 700; color: var(--text); line-height: 1.35; flex: 1; }
.about-art-link { font-size: .78rem; font-weight: 700; color: var(--text-muted); margin-top: .2rem; }
.about-art-card:hover .about-art-link { color: var(--accent); }
.portrait-wrap { display: flex; justify-content: center; }
.portrait { width: min(260px, 75vw); height: min(260px, 75vw); border: 1px solid var(--border); border-radius: var(--r-2xl); background: var(--bg-card); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ─── CONTACT ────────────────────────────── */
.contact { background: var(--bg-dark); padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: 0; text-align: center; }
.contact::after { content: ''; display: block; height: clamp(4rem, 8vw, 7rem); background: var(--bg-dark); margin-top: clamp(4rem, 8vw, 6rem); }
.contact-inner { max-width: 600px; margin-inline: auto; }
.contact .lbl { justify-content: center; }
.contact-h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; color: #ffffff; margin-bottom: 14px; }
.contact-h2 em { font-style: italic; font-weight: 300; color: rgba(255,255,255,.5); }
.contact-sub { font-size: 16px; line-height: 1.78; color: rgba(255,255,255,.6); margin-bottom: 36px; }
.contact .lbl { color: rgba(255,255,255,.4); }
.contact-links { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 8px; }
.contact-link { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-pill); font-size: 15px; font-weight: 600; color: #ffffff; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.contact-link:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.22); transform: translateY(-2px); }
.contact-link svg { flex-shrink: 0; }
@media (min-width: 480px) { .contact-links { flex-direction: row; justify-content: center; } }

/* ─── ARTICLE IMAGES ─────────────────────── */
.art-body img { border-radius: var(--r-xl); display: block; max-width: 100%; height: auto; margin: 2rem auto; }
.art-featured-img { width: 100%; max-height: 320px; border-radius: var(--r-xl); display: block; margin: 0 auto 2.5rem; object-fit: cover; object-position: center; box-shadow: 0 8px 40px rgba(0,0,0,.35); }

/* ─── SCROLL REVEAL PROFILE ──────────────── */
.scr-section { padding: 6rem 0 2rem; overflow: hidden; }
.scr-inner { max-width: 480px; margin: 0 auto; padding: 0 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
.scr-title { text-align: center; }
.scr-title .lbl { margin-bottom: .75rem; }
.scr-title h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 0; }
.scr-title h2 em { font-style: italic; }
.scr-card-scene { perspective: 1100px; width: 100%; display: flex; justify-content: center; }
.scr-card-wrap {
  transform-origin: center bottom;
  transform: rotateX(20deg) scale(1.05);
  will-change: transform;
}

/* ─── PROFILE CARD 3D ────────────────────── */
.pcard-scene { perspective: 900px; display: flex; justify-content: center; }
.pcard {
  position: relative;
  width: 300px;
  border-radius: 24px;
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(135deg, #1a0030 0%, #3c096c 60%, #1a0030 100%);
  box-shadow: 0 20px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.07);
  transform-style: preserve-3d;
  transition: transform .15s ease-out, box-shadow .15s ease-out;
  cursor: default;
  overflow: hidden;
}
.pcard:hover { box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12); }
.pcard-glare {
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: 2;
  transition: background .08s;
}
.pcard-photo-wrap {
  display: flex; justify-content: center; margin-bottom: 1.5rem;
  transform: translateZ(20px);
}
.pcard-photo {
  width: 110px; height: 110px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 3px solid rgba(255,255,255,.18);
  filter: grayscale(100%);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.pcard-body { text-align: center; transform: translateZ(14px); position: relative; z-index: 1; }
.pcard-name { font-size: 1.15rem; font-weight: 800; color: #fff; letter-spacing: -.02em; margin: 0 0 .35rem; }
.pcard-title { font-size: .78rem; color: rgba(255,255,255,.6); letter-spacing: .04em; text-transform: uppercase; margin: 0 0 .5rem; line-height: 1.5; }
.pcard-loc { font-size: .82rem; color: rgba(255,255,255,.45); margin: 0 0 1.25rem; }
.pcard-skills { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-bottom: 1.5rem; }
.pcard-skill { font-size: .7rem; padding: .25rem .65rem; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.pcard-linkedin {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  padding: .55rem 1.25rem; border-radius: 999px;
  text-decoration: none; transition: background .2s, border-color .2s;
}
.pcard-linkedin:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); }
/* Shimmer accent en haut de carte */
.pcard::after {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  border-radius: 0 0 4px 4px;
}

/* ─── AUTEUR FIN D'ARTICLE ───────────────── */
.art-author { display: flex; align-items: center; justify-content: center; gap: 14px; max-width: 680px; margin: 2.5rem auto 0; padding: 0 1.5rem 2.5rem; }
.art-author-img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid rgba(255,255,255,0.75); flex-shrink: 0; filter: grayscale(100%); }
.art-author-name { font-size: 15px; font-weight: 700; color: #ffffff; }

/* ─── FOOTER ─────────────────────────────── */
.site-footer { background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,.08); padding: 28px 0; color: #ffffff; }
.footer-row { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
@media (min-width: 720px) { .footer-row { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-logo { font-size: 17px; font-weight: 800; letter-spacing: -.03em; color: #ffffff; }
.footer-logo span { font-weight: 300; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.45); transition: color .2s; }
.footer-links a:hover { color: #ffffff; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); }

/* ─── ARTICLE PAGE ───────────────────────── */
.art-hero { padding: 9rem 0 4rem; text-align: center; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.art-hero::before { content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 70%; height: 80%; background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.04) 0%, transparent 65%); pointer-events: none; }
.art-hero-inner { max-width: 760px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); position: relative; }
.art-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--a12); border: 1px solid var(--a20); padding: 4px 12px; border-radius: var(--r-pill); margin-bottom: 1.25rem; }
.art-h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; color: var(--text); margin-bottom: 1.25rem; }
.art-intro-text { font-size: 1.1rem; line-height: 1.78; color: var(--text-sub); max-width: 52ch; margin: 0 auto 2rem; }
.art-meta { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.art-av { width: 34px; height: 34px; border-radius: 50%; background: var(--a12); border: 1px solid var(--a20); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--accent); flex-shrink: 0; }
.art-author { font-size: 13px; font-weight: 700; color: var(--text); }
.art-date { font-size: 12px; color: var(--text-muted); }
.art-time { font-size: 12px; color: var(--text-muted); padding: 3px 10px; border: 1px solid var(--border); border-radius: var(--r-pill); }
.art-body { max-width: 720px; margin-inline: auto; padding: 3.5rem clamp(1.25rem, 5vw, 2.5rem) 5rem; }
.art-body p { font-size: 1.05rem; line-height: 1.88; color: var(--text-sub); margin-bottom: 1.25rem; }
.art-body strong { color: var(--text); font-weight: 700; }
.art-body h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 800; color: var(--text); letter-spacing: -.025em; line-height: 1.2; margin: 2.75rem 0 1rem; }
.art-body blockquote { background: var(--bg-card-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.10); border-left: 3px solid var(--accent); border-radius: var(--r-xl); padding: 1.25rem 1.5rem; margin: 2rem 0; }
.art-body blockquote p { margin: 0; color: var(--text-sub); }
.art-body hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.art-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-sub); padding: 7px 14px; border: 1px solid var(--border); border-radius: var(--r-pill); margin-bottom: 2rem; transition: all .2s; }
.art-back:hover { color: var(--text); border-color: var(--border-2); }

/* ─── ARTICLE SOURCES ────────────────────── */
.art-sources { max-width: 720px; margin: 2.5rem auto 0; padding: 0 clamp(1.25rem,5vw,2.5rem); position: relative; display: flex; flex-direction: column; align-items: center; }
.art-sources-toggle {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-size: .82rem; font-weight: 700; font-family: inherit;
  padding: .55rem 1.2rem; border-radius: var(--r-pill);
  cursor: pointer; transition: background .2s, border-color .2s;
}
.art-sources-toggle:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.22); }
.art-sources-toggle::after { content: '▾'; font-size: .7rem; transition: transform .25s; }
.art-sources-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.art-sources-count {
  background: rgba(255,255,255,0.12); border-radius: var(--r-pill);
  padding: .1rem .5rem; font-size: .72rem; font-weight: 700;
}
.art-sources-list {
  list-style: none; padding: .5rem 0; margin: .4rem 0 0;
  display: flex; flex-direction: column;
  background: rgba(18,18,28,0.96); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg); backdrop-filter: blur(20px);
  min-width: 260px; overflow: hidden;
}
.art-sources-list[hidden] { display: none; }
.art-sources-list li { font-size: .875rem; }
.art-sources-list a {
  display: block; padding: .6rem 1.1rem;
  color: rgba(255,255,255,.75); text-decoration: none;
  transition: background .15s, color .15s;
}
.art-sources-list a:hover { background: rgba(255,255,255,0.07); color: #fff; }

/* ─── ARTICLE NAV STRIP ─────────────────── */
.art-nav-strip { max-width: 720px; margin: 2rem auto 0; padding: 1.1rem 1.5rem; background: linear-gradient(160deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.05) 100%); backdrop-filter: blur(40px) saturate(200%) brightness(1.07); -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.07); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r-xl); display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.42), 0 6px 24px rgba(0,0,0,.18); }
.art-nav-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.art-nav-link { font-size: .875rem; font-weight: 600; color: var(--accent); text-decoration: none; transition: color .2s; }
.art-nav-link:hover { color: var(--text); }

/* ─── ARTICLES LIÉS ──────────────────────── */
.related { padding: 4rem 0; border-top: 1px solid var(--border); margin-top: 3rem; }
.related-title { max-width: 1120px; margin: 0 auto 1.75rem; padding-inline: clamp(1.25rem,5vw,2.5rem); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); }
.related-grid { max-width: 1120px; margin: 0 auto; padding-inline: clamp(1.25rem,5vw,2.5rem); display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }
.rel-card { display: flex; flex-direction: column; gap: .55rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r-xl); padding: 1.5rem 1.75rem; text-decoration: none; transition: all .3s var(--ease); box-shadow: 0 4px 20px rgba(0,0,0,.18); }
.rel-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,.26); }
.rel-tag { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.rel-title { font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.35; flex: 1; }
.rel-link { font-size: .8rem; font-weight: 700; color: var(--text-muted); margin-top: .2rem; }
.rel-card:hover .rel-link { color: var(--accent); }

/* ─── PORTFOLIO PAGE ─────────────────────── */
.page-hero { padding: 9rem 0 2rem; text-align: center; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 70%; height: 80%; background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.04) 0%, transparent 65%); pointer-events: none; }
.page-hero-inner { max-width: 720px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); position: relative; }
.page-h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.06; letter-spacing: -.04em; color: var(--text); margin-bottom: 1rem; }
.page-h1 em { font-style: italic; font-weight: 300; color: var(--accent); }
.page-sub { font-size: 1.05rem; line-height: 1.78; color: var(--text-sub); max-width: 46ch; margin: 0 auto; }

/* ─── CARD STACK ────────────────────────── */
.cst-section { overflow: hidden; }
.cst-wrap { width: 100%; user-select: none; -webkit-user-select: none; }
.cst-stage { position: relative; width: 100%; height: 420px; perspective: 1100px; display: flex; align-items: flex-end; justify-content: center; outline: none; }
.cst-card { position: absolute; bottom: 24px; width: 480px; height: 300px; border-radius: 18px; overflow: hidden; border: 3px solid rgba(255,255,255,.1); box-shadow: 0 20px 60px rgba(0,0,0,.55); cursor: pointer; will-change: transform; transition: transform .55s cubic-bezier(.34,1.4,.64,1), opacity .4s ease; }
.cst-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.cst-meta { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem 1.5rem; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 100%); }
.cst-tag { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.8); background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); padding: 2px 8px; border-radius: var(--r-pill); display: inline-block; margin-bottom: 6px; }
.cst-title { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -.015em; line-height: 1.3; }
.cst-card.active { cursor: grab; }
.cst-card.active:active { cursor: grabbing; }
.cst-dots { margin-top: 1.25rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
.cst-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); border: none; cursor: pointer; transition: background .2s, width .2s; padding: 0; }
.cst-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }
@media (max-width: 640px) {
  .cst-stage { height: 300px; }
  .cst-card { width: 260px; height: 180px; border-radius: 14px; border-width: 2px; bottom: 16px; }
  .cst-title { font-size: 13px; }
}
/* ─── LIGHTBOX ───────────────────────────── */
.lb { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.85); backdrop-filter: blur(12px); align-items: center; justify-content: center; padding: 1rem; }
.lb.open { display: flex; }
.lb-img { max-width: 90vw; max-height: 90vh; border-radius: var(--r-xl); object-fit: contain; box-shadow: 0 32px 80px rgba(0,0,0,.5); }
.lb-close { position: absolute; top: 1.25rem; right: 1.25rem; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #ffffff; font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.lb-close:hover { background: rgba(255,255,255,.22); }

/* ─── ABOUT BLOG ────────────────────────── */
.about-blog-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 860px) { .about-blog-grid { grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: start; } }
.about-blog-text { display: flex; flex-direction: column; }
.about-blog-h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; color: var(--text); margin-bottom: 1.25rem; }
.about-blog-h2 em { font-style: italic; font-weight: 300; color: var(--accent); }
.about-blog-p { font-size: 1rem; line-height: 1.82; color: var(--text-sub); margin-bottom: .9rem; }
.about-blog-pills { display: flex; flex-direction: column; gap: 12px; }
.abp-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r-xl); padding: 1.25rem 1.5rem; transition: all .3s var(--ease); box-shadow: 0 4px 20px rgba(0,0,0,.18); }
.abp-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,.24); }
.abp-icon { font-size: 1.25rem; display: block; margin-bottom: .5rem; }
.abp-title { font-size: 14px; font-weight: 800; color: var(--text); letter-spacing: -.02em; margin-bottom: .4rem; }
.abp-text { font-size: 13px; line-height: 1.7; color: var(--text-sub); margin: 0; }

/* ─── CALENDRIER ÉDITORIAL ──────────────── */
.cal-wrap { background: var(--bg-dark); border-radius: var(--r-xl); overflow: hidden; border: 1px solid rgba(242,226,192,.08); }
.cal-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.5rem 2rem; border-bottom: 1px solid rgba(242,226,192,.08); }
.cal-brand { font-size: 1.1rem; font-weight: 800; color: #F2E2C0; letter-spacing: -.02em; }
.cal-brand span { font-weight: 300; color: rgba(242,226,192,.45); }
.cal-platforms { display: flex; gap: 8px; }
.cal-plat { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(242,226,192,.5); padding: 4px 10px; border: 1px solid rgba(242,226,192,.12); border-radius: var(--r-pill); }
.cal-week { border-bottom: 1px solid rgba(242,226,192,.06); }
.cal-week:last-of-type { border-bottom: none; }
.cal-week-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(242,226,192,.3); padding: .75rem 2rem .5rem; }
.cal-row { display: grid; grid-template-columns: 64px 160px 1fr; gap: 0; border-top: 1px solid rgba(242,226,192,.05); align-items: start; }
@media (max-width: 680px) { .cal-row { grid-template-columns: 52px 1fr; } }
.cal-date { padding: 1.25rem 1rem 1.25rem 2rem; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cal-day { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(242,226,192,.35); }
.cal-num { font-size: 1.4rem; font-weight: 800; color: #C8913A; letter-spacing: -.04em; line-height: 1; }
.cal-goal { padding: 1.25rem 1rem; border-right: 1px solid rgba(242,226,192,.06); }
@media (max-width: 680px) { .cal-goal { display: none; } }
.cal-goal-tag { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--a12); padding: 2px 8px; border-radius: var(--r-pill); display: inline-block; margin-bottom: 6px; }
.cal-goal-tag--gold { background: rgba(200,145,58,.25); color: #C8913A; }
.cal-goal-title { font-size: 13px; font-weight: 700; color: rgba(242,226,192,.7); line-height: 1.3; }
.cal-posts { display: flex; flex-direction: column; gap: 0; }
.cal-post { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: .85rem 1.5rem .85rem 1.25rem; border-bottom: 1px solid rgba(242,226,192,.04); }
.cal-post:last-child { border-bottom: none; }
.cal-post-plat { font-size: 9px; font-weight: 800; letter-spacing: .1em; padding: 2px 6px; border-radius: 4px; flex-shrink: 0; }
.cal-post.fb .cal-post-plat { background: rgba(24,119,242,.18); color: #60a5fa; }
.cal-post.ig .cal-post-plat { background: rgba(200,145,58,.15); color: #C8913A; }
.cal-post.li .cal-post-plat { background: rgba(10,102,194,.18); color: #7cb9e8; }
.cal-post-time { font-size: 11px; font-weight: 700; color: rgba(242,226,192,.45); flex-shrink: 0; min-width: 28px; }
.cal-post-copy { font-size: 12px; color: rgba(242,226,192,.65); line-height: 1.55; flex: 1; min-width: 140px; }
.cal-post-format { font-size: 10px; font-weight: 600; color: rgba(242,226,192,.25); padding: 2px 7px; border: 1px solid rgba(242,226,192,.08); border-radius: var(--r-pill); flex-shrink: 0; white-space: nowrap; }
.cal-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.25rem 2rem; border-top: 1px solid rgba(242,226,192,.08); }
.cal-footer span { font-size: 12px; color: rgba(242,226,192,.3); font-weight: 500; }

/* ─── BIG TEXT ───────────────────────────── */
.bigtext { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); padding: 18px 0; }
.bt-track { display: flex; width: max-content; animation: scrollx 20s linear infinite; }
.bt-row { display: flex; align-items: center; flex-shrink: 0; padding-right: 60px; }
.bt-w { font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.12); }
.bt-w.s { color: var(--text); -webkit-text-stroke: 0px; }
.bt-sep { color: var(--accent); font-size: 1.4rem; opacity: .35; margin: 0 2rem; }

/* ─── ABOUT PAGE ─────────────────────────── */
.about-extra { padding: 0; }
.about-extra-h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 800; color: var(--text); letter-spacing: -.025em; line-height: 1.2; margin-bottom: 1rem; }
.stat-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 4rem; }
@media (max-width: 600px) { .stat-cards { grid-template-columns: 1fr; } }
.stat-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r-xl); padding: 1.75rem; text-align: center; transition: all .3s var(--ease); box-shadow: 0 4px 20px rgba(0,0,0,.18); }
.stat-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,.24); }
.stat-card-num { font-size: 2.5rem; font-weight: 800; letter-spacing: -.04em; color: var(--text); line-height: 1; }
.stat-card-num span { color: var(--accent); }
.stat-card-lbl { font-size: 12px; color: var(--text-muted); margin-top: 6px; font-weight: 500; letter-spacing: .05em; }
.port-about-inner { display: flex; flex-direction: column; gap: 1.25rem; max-width: 720px; margin: 0 auto; align-items: center; text-align: center; }
.port-about-text { font-size: 1.05rem; line-height: 1.78; color: var(--text-sub); text-align: justify; }
.port-about-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--accent); margin-top: .5rem; }
.cta-strip { background: transparent; padding-block: clamp(4rem,10vw,7rem); text-align: center; border-top: 1px solid var(--border); }
.cta-strip h2 { font-size: clamp(1.8rem,4vw,3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 1rem; }
.cta-strip h2 em { font-style: italic; font-weight: 300; color: var(--accent); }
.cta-strip p { font-size: 1rem; color: var(--text-sub); line-height: 1.78; max-width: 44ch; margin-inline: auto; margin-bottom: 2rem; }
.cta-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* ─── TYPEWRITER ─────────────────────────── */
.tw-wrap  { display: inline; }
.tw-cursor { display: none; }
.tw-text::after {
  content: '.';
  animation: twBlink .75s step-end infinite;
}
@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─── SITE BIGWORD ───────────────────────── */
.site-bigword {
  text-align: center;
  font-size: clamp(4rem, 18vw, 14rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .9;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  overflow: hidden;
  background: linear-gradient(to bottom, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.03) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

/* ─── MOBILE ─────────────────────────────── */
@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .stat-cell { padding: 1.25rem 0.75rem; }
  .hero-btns { flex-direction: column; }
}
