/* =========================================================
   AVS Community — design system
   Light + dark themes via [data-theme] on <html>
   ========================================================= */
:root {
  --bg: #fbf9fd;
  --bg-soft: #f4eff9;
  --surface: #ffffff;
  --surface-2: #f6f1fa;
  --text: #15111f;
  --muted: #5b546d;
  --line: rgba(21, 17, 31, .10);
  --brand: #c21fb0;
  --brand-ink: #a5159a;
  --brand-2: #6d3df0;
  --gold: #f2a93b;
  --grad: linear-gradient(135deg, #d62bc4 0%, #8a3ff0 100%);
  --grad-soft: linear-gradient(135deg, rgba(214,43,196,.12), rgba(109,61,240,.12));
  --shadow-sm: 0 1px 2px rgba(30, 10, 50, .06), 0 4px 14px rgba(30, 10, 50, .05);
  --shadow-md: 0 10px 40px -12px rgba(60, 20, 90, .25);
  --shadow-lg: 0 30px 80px -20px rgba(80, 20, 110, .35);
  --glass: rgba(255, 255, 255, .72);
  --radius: 22px;
  --radius-sm: 14px;
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --maxw: 1200px;
  --header-h: 76px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0a0910;
  --bg-soft: #0f0d19;
  --surface: #14111f;
  --surface-2: #1b1730;
  --text: #f5f2fb;
  --muted: #a9a2c0;
  --line: rgba(255, 255, 255, .10);
  --brand: #e45bd4;
  --brand-ink: #ee86e1;
  --brand-2: #9c7bff;
  --gold: #ffc063;
  --grad-soft: linear-gradient(135deg, rgba(214,43,196,.18), rgba(109,61,240,.18));
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.3);
  --shadow-md: 0 14px 44px -14px rgba(0,0,0,.7);
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,.8);
  --glass: rgba(16, 13, 28, .72);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 4.7vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(70px, 9vw, 130px); position: relative; }
.section.soft { background: var(--bg-soft); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 700 .78rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-ink); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 60ch; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .lead { margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .98rem/1 var(--font-head); letter-spacing: -.005em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(190, 40, 190, .65); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(190, 40, 190, .75); }
.btn-ghost { border-color: var(--line); background: var(--glass); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--brand); transform: translateY(-2px); }
.btn-light { background: #fff; color: #1b1030; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; transition: height .3s ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s ease;
  background: var(--glass); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled { height: 68px; }
.site-header.scrolled::before { opacity: 1; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 42px; width: auto; }
.logo .logo-dark { display: none; }
:root[data-theme="dark"] .logo .logo-light { display: none; }
:root[data-theme="dark"] .logo .logo-dark { display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: .55rem .95rem; border-radius: 999px;
  font: 600 .93rem/1 var(--font-head); color: var(--muted); transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--grad-soft); }
.nav-links a.active { color: var(--brand-ink); background: var(--grad-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(8px);
  transition: transform .2s, border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--brand); transform: translateY(-1px); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.lang-toggle { width: auto; padding: 0 14px; border-radius: 999px; font: 700 .8rem/1 var(--font-head); letter-spacing: .06em; gap: 6px; display: inline-flex; align-items: center; }
.lang-toggle span { opacity: .45; transition: opacity .2s, color .2s; }
.lang-toggle span.on { opacity: 1; color: var(--brand-ink); }
.nav-cta { padding: .75rem 1.2rem; font-size: .9rem; }
.menu-btn { display: none; }

@media (max-width: 1020px) {
  .menu-btn { display: grid; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 6px; padding: 100px 24px 30px;
    background: var(--surface); box-shadow: var(--shadow-lg); border-left: 1px solid var(--line);
    transform: translateX(105%); transition: transform .4s cubic-bezier(.2,.8,.2,1), visibility 0s .4s; z-index: 120; visibility: hidden;
  }
  .nav-links.open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav-links a { font-size: 1.15rem; padding: 1rem 1.1rem; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(5, 3, 12, .55); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 99; }
  .nav-scrim.open { opacity: 1; pointer-events: auto; }
  .menu-btn { position: relative; z-index: 130; }
}
@media (min-width: 1021px) { .nav-scrim { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(60px, 8vw, 110px); overflow: clip; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: float 16s ease-in-out infinite; }
.hero-bg .b1 { width: 520px; height: 520px; background: #d62bc4; top: -140px; left: -120px; opacity: .28; }
.hero-bg .b2 { width: 560px; height: 560px; background: #6d3df0; top: 60px; right: -180px; opacity: .26; animation-delay: -6s; }
.hero-bg .b3 { width: 360px; height: 360px; background: var(--gold); bottom: -120px; left: 38%; opacity: .16; animation-delay: -11s; }
:root[data-theme="dark"] .hero-bg .b1 { opacity: .34; }
:root[data-theme="dark"] .hero-bg .b2 { opacity: .36; }
:root[data-theme="dark"] .hero-bg .b3 { opacity: .12; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .55;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.08); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .7rem; padding: .45rem 1rem .45rem .5rem; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px);
  font: 600 .85rem/1 var(--font-head); color: var(--muted); margin-bottom: 1.6rem; box-shadow: var(--shadow-sm);
}
.hero-pill b { background: var(--grad); color: #fff; padding: .35rem .7rem; border-radius: 999px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { margin-bottom: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 2.2rem; color: var(--muted); font-size: .93rem; }
.hero-meta > span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta svg { width: 18px; height: 18px; color: var(--brand); }

.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage figure { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid var(--surface); background: var(--surface-2); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { inset: 0 0 24% 12%; border-radius: 34px 34px 34px 120px; animation: bob 9s ease-in-out infinite; }
.collage .c2 { width: 40%; aspect-ratio: 3/4; left: 0; bottom: 4%; animation: bob 11s ease-in-out infinite reverse; }
.collage .c3 { width: 38%; aspect-ratio: 1; right: -2%; bottom: -3%; border-radius: 50%; animation: bob 10s ease-in-out infinite; animation-delay: -3s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem .7rem .75rem;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md); font: 700 .85rem/1.2 var(--font-head);
}
.chip small { display: block; font: 500 .74rem/1.2 var(--font-body); color: var(--muted); }
.chip .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.chip .ico svg { width: 20px; height: 20px; }
.chip.k1 { top: 6%; left: -2%; animation: bob 8s ease-in-out infinite; }
.chip.k2 { top: 40%; right: -4%; animation: bob 10s ease-in-out infinite reverse; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .collage { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 520px) { .chip.k2 { right: 0; } .chip.k1 { left: 0; } .chip small { display: none; } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > span { font: 800 clamp(1.1rem, 2vw, 1.5rem)/1 var(--font-head); letter-spacing: -.01em; color: var(--muted); display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee-track > span::after { content: "✦"; color: var(--brand); font-size: .9em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--surface); padding: clamp(24px, 3vw, 40px) 28px; }
.stat b { display: block; font: 800 clamp(2.4rem, 4.4vw, 3.6rem)/1 var(--font-head); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .4rem; }
.stat span { color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Pôles (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), var(--grad-soft), transparent 55%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover::before { opacity: 1; }
.pole { grid-column: span 6; display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.pole.wide { grid-column: span 7; } .pole.narrow { grid-column: span 5; }
.pole .num { position: absolute; top: 18px; right: 26px; font: 800 4.5rem/1 var(--font-head); color: var(--brand); opacity: .09; }
.ico-lg { width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(190,40,190,.6); }
.ico-lg svg { width: 28px; height: 28px; }
.pole ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; color: var(--muted); font-size: .97rem; }
.pole li { display: flex; gap: .6rem; }
.pole li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .6em; border-radius: 50%; background: var(--grad); }
.tag { display: inline-flex; width: fit-content; margin-top: auto; padding: .35rem .8rem; border-radius: 999px; background: var(--grad-soft); color: var(--brand-ink); font: 700 .76rem/1.2 var(--font-head); }
@media (max-width: 860px) { .pole, .pole.wide, .pole.narrow { grid-column: span 12; min-height: 0; } }

/* ---------- Activities ---------- */
.axis-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.axis-legend > span { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 700 .82rem/1 var(--font-head); display: inline-flex; gap: .55rem; align-items: center; }
.axis-legend i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.a-conseil { --axis: #c21fb0; } .a-sensi { --axis: #6d3df0; } .a-diver { --axis: #f2a93b; }
.activities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.activity { padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 10px; }
.activity .n { font: 800 .8rem/1 var(--font-head); letter-spacing: .12em; color: var(--axis); display: flex; align-items: center; gap: .6rem; }
.activity .n::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--axis), transparent); opacity: .5; }
.activity h3 { margin: .3rem 0 0; }
.activity p { color: var(--muted); font-size: .97rem; margin: 0; }
.activity .axis-tag { margin-top: auto; padding-top: 12px; font: 600 .78rem/1 var(--font-head); color: var(--axis); }
@media (max-width: 980px) { .activities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .activities { grid-template-columns: 1fr; } }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split.rev .split-media { order: -1; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: 28px; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.split-media.tall img { aspect-ratio: 4/5; }
.split-media::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 28px; background: var(--grad); opacity: .16; z-index: -1; }
.checklist { list-style: none; margin: 1.4rem 0 2rem; padding: 0; display: grid; gap: 1rem; }
.checklist li { display: flex; gap: 1rem; align-items: flex-start; }
.checklist .tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.checklist .tick svg { width: 15px; height: 15px; }
.checklist b { font-family: var(--font-head); display: block; }
.checklist li > div > span { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } .split-media::after { inset: 12px -8px -12px 8px; } }

/* ---------- Quote ---------- */
.quote-band { text-align: center; padding-block: clamp(70px, 9vw, 120px); position: relative; overflow: hidden; background: var(--surface-2); }
.quote-band blockquote { margin: 0 auto; max-width: 900px; font: 800 clamp(1.9rem, 4.2vw, 3.2rem)/1.15 var(--font-head); letter-spacing: -.03em; }
.quote-band cite { display: block; margin-top: 1.4rem; font: 600 1rem var(--font-body); font-style: normal; color: var(--muted); letter-spacing: .04em; }
.quote-band .qm { width: 56px; margin: 0 auto 1.4rem; color: var(--brand); opacity: .9; }

/* ---------- Gallery ---------- */
.gallery-preview { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gallery-preview a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-preview a:nth-child(4) { grid-row: span 2; }
.g-item { position: relative; overflow: hidden; border-radius: 18px; background: var(--surface-2); display: block; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .4s; }
.g-item:hover img { transform: scale(1.06); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,5,35,.65)); opacity: 0; transition: opacity .3s; }
.g-item:hover::after { opacity: 1; }
.g-item .cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: #fff; font: 600 .86rem/1.3 var(--font-head); opacity: 0; transform: translateY(8px); transition: .3s; }
.g-item:hover .cap { opacity: 1; transform: none; }
@media (max-width: 820px) { .gallery-preview { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } .gallery-preview a:nth-child(n) { grid-column: auto; grid-row: auto; } .gallery-preview a:nth-child(1) { grid-column: span 2; } }
.masonry { columns: 4 260px; column-gap: 16px; }
.masonry .g-item { margin: 0 0 16px; break-inside: avoid; }
.masonry .g-item img { height: auto; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: start; }
.video-card { grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.video-card.wide { grid-column: span 3; }
.video-card video { width: 100%; background: #000; aspect-ratio: 16/9; object-fit: contain; }
.video-card.portrait video { aspect-ratio: 9/14; }
.video-card .vc { padding: 16px 20px 20px; }
.video-card h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.video-card p { margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 980px) { .video-card, .video-card.wide { grid-column: span 3; } }
@media (max-width: 640px) { .video-card, .video-card.wide { grid-column: span 6; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,3,12,.93); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 90px rgba(0,0,0,.6); object-fit: contain; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 16px; top: 50%; translate: 0 -50%; } .lb-next { right: 16px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; color: #fff; font: 600 .9rem var(--font-head); opacity: .8; }
@media (max-width: 640px) { .lightbox { padding: 60px 12px; } .lb-prev, .lb-next { top: auto; bottom: 14px; translate: none; } }

/* ---------- Timeline / Réalisations ---------- */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), var(--brand-2), transparent); }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 26px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 4px solid var(--brand); }
.tl-item .card { padding: 24px 28px; }
.tl-item h3 { display: flex; align-items: center; gap: .8rem; margin-bottom: .4rem; }
.tl-item p { margin: 0; color: var(--muted); font-size: .98rem; }
.section.soft .tl-item::before { background: var(--bg-soft); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pillar { padding: 26px 20px; text-align: center; }
.pillar .ico-lg { margin: 0 auto 14px; width: 52px; height: 52px; border-radius: 50%; }
.pillar h3 { font-size: 1.05rem; margin: 0 0 .3rem; }
.pillar p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
@media (max-width: 980px) { .pillars { grid-template-columns: repeat(2, 1fr); } .pillars .pillar:last-child { grid-column: span 2; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.member { text-align: center; padding: 28px 20px; }
.avatar { width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--grad); color: #fff; font: 800 1.6rem var(--font-head); box-shadow: 0 12px 28px -10px rgba(190,40,190,.6); }
.member h3 { font-size: 1.08rem; margin-bottom: .15rem; }
.member span { color: var(--muted); font-size: .9rem; }
.founder-card { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: clamp(26px, 4vw, 44px); margin-bottom: 18px; background: linear-gradient(135deg, var(--surface), var(--surface-2)); }
.founder-card .avatar { width: 110px; height: 110px; font-size: 2.1rem; margin: 0; }
.founder-card h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.founder-card p { margin: .4rem 0 0; color: var(--muted); }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .founder-card { grid-template-columns: 1fr; text-align: center; } .founder-card .avatar { margin-inline: auto; } .team { grid-template-columns: 1fr 1fr; } }

/* Structure table */
.entities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.entity { display: flex; gap: 18px; align-items: flex-start; padding: 26px; }
.entity .ico-lg { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.entity .ico-lg svg { width: 24px; height: 24px; }
.entity h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.entity p { margin: 0 0 .5rem; color: var(--muted); font-size: .95rem; }
.badge { display: inline-block; padding: .28rem .7rem; border-radius: 999px; font: 700 .72rem/1.2 var(--font-head); background: var(--grad-soft); color: var(--brand-ink); }
.note { display: flex; gap: .8rem; align-items: flex-start; margin-top: 22px; padding: 18px 22px; border-radius: var(--radius-sm); border: 1px dashed var(--line); color: var(--muted); font-size: .93rem; background: var(--surface); }
.note svg { flex: none; width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }
@media (max-width: 760px) { .entities { grid-template-columns: 1fr; } }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project { display: flex; flex-direction: column; gap: 12px; }
.project .status { font: 700 .74rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); display: flex; align-items: center; gap: .5rem; }
.project .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 25%, transparent); }
.project p { color: var(--muted); font-size: .97rem; margin: 0; }
.project.feature { grid-column: span 2; background: linear-gradient(135deg, #2a0d4a, #5b1a8e 60%, #b21aa0); color: #fff; border-color: transparent; }
.project.feature p, .project.feature .status { color: rgba(255,255,255,.82); }
.project.feature .ico-lg { background: rgba(255,255,255,.16); box-shadow: none; }
.project.feature h3 { font-size: 1.6rem; }
@media (max-width: 960px) { .projects { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .projects { grid-template-columns: 1fr; } .project.feature { grid-column: auto; } }

.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; }
.step::after { counter-increment: step; content: "0" counter(step); position: absolute; top: 14px; right: 22px; font: 800 3.6rem/1 var(--font-head); color: var(--brand); opacity: .09; }
.step .when { font: 800 .8rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: .8rem; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { .roadmap { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(50px, 7vw, 100px)) 0 clamp(40px, 5vw, 70px); overflow: clip; isolation: isolate; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 16ch; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { display: flex; gap: .6rem; align-items: center; font: 600 .85rem var(--font-head); color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--brand-ink); }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: 36px; overflow: hidden; padding: clamp(40px, 7vw, 90px) clamp(26px, 6vw, 80px); color: #fff; isolation: isolate; background: #1a0833; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(40,8,70,.95) 15%, rgba(150,25,150,.72) 100%); }
.cta h2 { max-width: 18ch; }
.cta p { color: rgba(255,255,255,.85); max-width: 52ch; font-size: 1.15rem; }
.cta .eyebrow { color: #ffb8f3; } .cta .eyebrow::before { background: #ffb8f3; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 18px; align-items: center; padding: 20px 22px; }
.contact-item .ico-lg { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.contact-item .ico-lg svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: var(--muted); font-size: .82rem; }
.contact-item b { font: 700 1.04rem var(--font-head); word-break: break-word; }
a.contact-item:hover b { color: var(--brand-ink); }
form.card { padding: clamp(26px, 4vw, 44px); }
.field { display: grid; gap: .45rem; margin-bottom: 18px; }
.field label { font: 700 .85rem var(--font-head); }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1.1rem; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg);
  font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { color: var(--muted); font-size: .85rem; margin: 14px 0 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } }
.map-card { display: flex; gap: 18px; align-items: center; padding: 22px; background: var(--grad-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 70px 0 28px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.foot-grid a { color: var(--text); opacity: .85; transition: color .2s, opacity .2s; font-size: .98rem; }
.foot-grid a:hover { color: var(--brand-ink); opacity: 1; }
.foot-brand p { color: var(--muted); font-size: .96rem; max-width: 34ch; margin-top: 1.2rem; }
.foot-brand .logo img { height: 46px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: .25s; opacity: 1; }
.socials a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.foot-bottom { margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } .foot-brand { grid-column: auto; } }

/* WhatsApp floating */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .65); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s ease-out infinite; }
@keyframes ping { to { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* extras */
.gallery-preview { grid-auto-flow: dense; }
svg.i { width: 20px; height: 20px; }
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.audience .card { text-align: center; padding: 30px 20px; }
.audience .ico-lg { margin: 0 auto 16px; }
.audience p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) { .audience { grid-template-columns: repeat(2, 1fr); } }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font: 700 .98rem var(--font-head); color: var(--brand-ink); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(5px); }
.section-foot { margin-top: 36px; display: flex; justify-content: center; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.head-row .section-head { margin-bottom: clamp(28px,4vw,48px); }
