/* ============================================================
   LQS AQUITAINE — main.css (refonte moderne)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;600;700;800&family=Barlow:wght@300;400;500;600&display=swap');

/* ── Quill editor alignment classes (used in dynamic content) */
.ql-align-center { text-align: center; }
.ql-align-right  { text-align: right; }
.ql-align-justify { text-align: justify; }

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #0a0a0a;
  overflow-x: hidden;
  cursor: default;
}
body.is-preload *, body.is-preload *::before, body.is-preload *::after {
  animation: none !important;
  transition: none !important;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  --red:        #C50202;
  --red-dark:   #A80000;
  --red-glow:   rgba(197, 2, 2, 0.4);
  --white:      #ffffff;
  --off-white:  #f5f2ee;
  --dark:       #0a0a0a;
  --dark-2:     #111111;
  --dark-3:     #1a1a1a;
  --glass-bg:   rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.15);
  --glass-blur: blur(20px) saturate(180%);
  --nav-h:      72px;
  --radius:     16px;
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}


/* Navigation → voir assets/css/nav.css */

/* ============================================================
   BANNER / HERO
   ============================================================ */
#banner {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#video_background {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay over video */
#banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.72) 0%,
    rgba(10,0,0,0.55) 50%,
    rgba(0,0,0,0.65) 100%
  );
  z-index: 1;
}

/* Subtle red vignette bottom */
#banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(197,2,2,0.08), transparent);
  z-index: 1;
}

#banner .content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 800px;
}

#presentation_titre {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

#presentation_titre h1:first-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Typewriter heading */
.typewrite {
  color: rgba(255,255,255,0.88);
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
}
.typewrite > .wrap { border-right: 2px solid rgba(255,255,255,0.8); }

/* Hero CTA button */
.btn.btn-5,
a.btn.btn-5 {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 0.5rem;
  padding: 0.85em 2.6em;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.btn.btn-5::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(197,2,2,0.5), rgba(197,2,2,0.2));
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: 50px;
}
.btn.btn-5:hover {
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(197,2,2,0.3);
}
.btn.btn-5:hover::before { opacity: 1; }
.btn.btn-5 span { position: relative; z-index: 1; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.5;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator span {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.8));
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   MAIN SECTION
   ============================================================ */
#main {
  background: #f4efe8;
  padding: 0;
  overflow: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container_presentation { padding: 0 2rem; }
.row { display: flex; flex-wrap: wrap; gap: 2rem; }
.col-12 { width: 100%; }
.gtr-200 { gap: 2rem; }

/* Section heading */
h2.major {
  position: relative;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 3.5rem;
  padding-bottom: 1rem;
  color: #1a1a1a;
}
h2.major::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--red);
  border-radius: 2px;
}
h2.major span { background: none; display: inline; }

/* ── Section headers ─────────────────────────────────────── */
.pres-overline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.pres-overline--dark { color: var(--red); }

.pres-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  margin-bottom: 4rem;
}
.pres-title span { color: var(--red); }

/* ── Présentation section wrapper ───────────────────────── */
.pres-section {
  padding: 5rem 0 3rem;
}

/* ── Timeline présentation ───────────────────────────────── */
.pres-timeline {
  position: relative;
  padding: 1rem 0 3rem;
}

/* Ligne verticale centrale */
.pres-timeline__line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.08);
  overflow: hidden;
  z-index: 0;
}
.pres-timeline__line-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(to bottom, var(--red), rgba(197,2,2,0.2));
  transition: height 1.2s cubic-bezier(.4,0,.2,1);
}
.pres-timeline__line-fill.animated { height: 100%; }

/* ── Panel ─────────────────────────────────────────────────── */
.pres-panel {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0 2.5rem;
  align-items: stretch;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

/* Nœud central */
.pres-panel__node {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--red);
  box-shadow: 0 0 0 6px rgba(197,2,2,0.08), 0 8px 24px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.pres-panel:hover .pres-panel__node {
  transform: scale(1.12);
  box-shadow: 0 0 0 10px rgba(197,2,2,0.1), 0 12px 32px rgba(0,0,0,0.15);
}
.pres-panel__node-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--red);
}

/* ── Image side ─────────────────────────────────────────────── */
.pres-panel__img-side {
  position: relative;
  display: flex;
  flex-direction: column;
}

.pres-panel__img-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  flex: 1;
  min-height: 260px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.14);
  transition: transform 0.5s cubic-bezier(.4,0,.2,1), box-shadow 0.5s ease;
}
.pres-panel__img-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
}
.pres-panel__img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(.4,0,.2,1);
}
.pres-panel__img-frame:hover img { transform: scale(1.05); }

/* Overlay gradient diagonal */
.pres-panel__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(197,2,2,0.15) 0%,
    transparent 50%,
    rgba(0,0,0,0.25) 100%
  );
  mix-blend-mode: multiply;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pres-panel__img-frame:hover .pres-panel__img-overlay { opacity: 1; }

/* Shimmer line top */
.pres-panel__img-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  z-index: 2;
}
/* Red accent stripe */
.pres-panel__img-frame::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--red);
  z-index: 3;
  transition: height 0.5s cubic-bezier(.4,0,.2,1);
}
.pres-panel__img-frame:hover::after { height: 100%; }

.pres-panel__img-frame--accent {
  box-shadow: 0 20px 60px rgba(197,2,2,0.1), 0 8px 30px rgba(0,0,0,0.12);
}

/* Tag flottant */
.pres-panel__img-tag {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.4em 0.85em;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  z-index: 4;
  transform: translateY(4px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.pres-panel__img-frame:hover .pres-panel__img-tag {
  opacity: 1;
  transform: translateY(0);
}

/* ── Text / card side ────────────────────────────────────────── */
.pres-panel__text-side {
  position: relative;
  display: flex;
  flex-direction: column;
}

.pres-panel__card {
  position: relative;
  flex: 1;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s ease;
}
.pres-panel__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* Top accent bar */
.pres-panel__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(197,2,2,0.3), transparent);
}
.pres-panel__card--alt::before {
  background: linear-gradient(270deg, var(--red), rgba(197,2,2,0.3), transparent);
}

.pres-panel__card-inner {
  padding: 2.4rem 2.6rem;
}

.pres-panel__text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #4a4a4a;
}
.pres-panel__text p { margin-bottom: 0.9em; }
.pres-panel__text p:last-child { margin-bottom: 0; }
.pres-panel__text strong { color: #1a1a1a; font-weight: 600; }
.pres-panel__text ul,
.pres-panel__text ol { padding-left: 1.4em; margin-bottom: .75em; }
.pres-panel__text ul { list-style: disc; }
.pres-panel__text ol { list-style: decimal; }
.pres-panel__text li { margin-bottom: .3em; }

/* ── Panel animations ────────────────────────────────────────── */
.pres-panel {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.pres-panel--left  { transform: translateX(-30px); }
.pres-panel--right { transform: translateX(30px); }
.pres-panel.in-view { opacity: 1; transform: translateX(0); }

/* ── Responsive ──────────────────────────────────────────────── */
@media screen and (max-width: 900px) {
  .pres-timeline__line { display: none; }
  .pres-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem 0;
    margin-bottom: 3rem;
    width: 100%;
  }
  .pres-panel--left  { transform: translateY(24px); }
  .pres-panel--right { transform: translateY(24px); }
  .pres-panel__node { display: none; }
  .pres-panel--left  .pres-panel__img-side  { order: 1; }
  .pres-panel--left  .pres-panel__text-side { order: 2; }
  .pres-panel--right .pres-panel__img-side  { order: 1; }
  .pres-panel--right .pres-panel__text-side { order: 2; }
  .pres-panel__img-side,
  .pres-panel__text-side { min-width: 0; width: 100%; }
  .pres-panel__img-frame {
    aspect-ratio: 16/9;
    min-height: 0;
    width: 100%;
  }
  .pres-panel__card { width: 100%; overflow: hidden; }
  .pres-panel__card-inner { padding: 1.6rem; }
  .pres-panel__text { overflow-x: hidden; }
  .pres-panel__text img,
  .pres-panel__text table,
  .pres-panel__text iframe { max-width: 100% !important; width: auto !important; }
}

/* ── Domaines section ────────────────────────────────────── */
.domaines-section {
  padding: 1rem 0 5rem;
}
.domaines-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  margin-bottom: 2.5rem;
}
.domaines-title span { color: var(--red); }

.domaines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── Domaine cards ─────────────────────────────────────── */
.domaine-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  min-height: 380px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.domaine-card:hover {
  transform: translateY(-10px) scale(1.012);
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}
.domaine-card--featured {
  min-height: 420px;
  margin-top: -20px;
}

/* Background image */
.domaine-card__bg {
  position: absolute;
  inset: 0;
  background: #111 center/cover no-repeat;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.domaine-card:hover .domaine-card__bg { transform: scale(1.07); }

/* Dark gradient overlay */
.domaine-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.35) 55%,
    rgba(0,0,0,0.08) 100%
  );
  transition: background 0.4s ease;
}
.domaine-card:hover .domaine-card__overlay {
  background: linear-gradient(
    to top,
    rgba(197,2,2,0.75) 0%,
    rgba(0,0,0,0.4) 55%,
    rgba(0,0,0,0.1) 100%
  );
}

/* Liquid glass badge top-right */
.domaine-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  z-index: 4;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.domaine-card:hover::before { opacity: 1; }

/* Content */
.domaine-card__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  gap: 0.3rem;
}
.domaine-card__icon {
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transform: translateY(6px);
  transition: transform 0.4s ease;
}
.domaine-card__icon svg {
  width: 2.4rem;
  height: 2.4rem;
  display: block;
}
.domaine-card:hover .domaine-card__icon { transform: translateY(0); }

.domaine-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  margin: 0;
}
.domaine-card__sub {
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  margin: 0;
  transform: translateY(4px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.domaine-card:hover .domaine-card__sub { opacity: 1; transform: translateY(0); }

.domaine-card__arrow {
  font-size: 1.4rem;
  color: #fff;
  font-weight: 300;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  margin-top: 0.4rem;
  display: block;
}
.domaine-card:hover .domaine-card__arrow { opacity: 1; transform: translateX(0); }

/* ── Responsive présentation ─────────────────────────────── */
@media screen and (max-width: 900px) {
  /* pres-panel responsive handled in its own block */
  .domaines-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .domaine-card, .domaine-card--featured {
    min-height: 300px;
    margin-top: 0;
  }
}
@media screen and (max-width: 600px) {
  .pres-title { font-size: 2.2rem; margin-bottom: 2.5rem; }
  .domaines-title { font-size: 1.8rem; }
  .pres-section { padding: 3rem 0 1.5rem; }
  .domaines-section { padding: 1rem 0 3rem; }
}

/* Reveal animations */
.reveal-loaded1 { animation: slideInRight 0.9s cubic-bezier(.4,0,.2,1) both; }
.reveal-loaded2 { animation: slideInLeft 0.9s cubic-bezier(.4,0,.2,1) both; }
.reveal-loaded3 { animation: slideInDown 0.9s cubic-bezier(.4,0,.2,1) both; }
.reveal-loaded .reveal-2 { animation-delay: 0.1s; }
.reveal-loaded .reveal-3 { animation-delay: 0.2s; }
.reveal-loaded .reveal-4 { animation-delay: 0.3s; }
@keyframes slideInRight { from { opacity:0; transform: translateX(40px); } to { opacity:1; transform: translateX(0); } }
@keyframes slideInLeft  { from { opacity:0; transform: translateX(-40px); } to { opacity:1; transform: translateX(0); } }
@keyframes slideInDown  { from { opacity:0; transform: translateY(-30px); } to { opacity:1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  [class*="reveal-loaded"] { animation: none !important; opacity: 1 !important; }
}

/* .card / .card-list supprimés — remplacés par .domaine-card */

/* ============================================================
   PRESENTATION PERSONNELLE
   ============================================================ */
/* ============================================================
   FOUNDER SECTION
   ============================================================ */
.founder-section {
  position: relative;
  background: #080808;
  overflow: hidden;
  padding: 7rem 4rem;
}

/* Ambient glows */
.founder-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.founder-bg-glow--left {
  width: 500px; height: 500px;
  top: -100px; left: -120px;
  background: radial-gradient(circle, rgba(197,2,2,0.12) 0%, transparent 70%);
  animation: glowPulse 6s ease-in-out infinite;
}
.founder-bg-glow--right {
  width: 400px; height: 400px;
  bottom: -80px; right: -80px;
  background: radial-gradient(circle, rgba(197,2,2,0.07) 0%, transparent 70%);
  animation: glowPulse 8s ease-in-out infinite reverse;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.12); }
}

/* Subtle dot grid */
.founder-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Inner layout */
.founder-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: center;
}

/* ── Photo column ─────────────────────────────────────────── */
.founder-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.founder-photo-wrap {
  position: relative;
  width: 360px;
  height: 360px;
}

/* Rotating dashed ring */
.founder-photo-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1.5px dashed rgba(197,2,2,0.35);
  animation: ringRotate 18s linear infinite;
}
.founder-photo-ring::after {
  content: '';
  position: absolute;
  top: 50%; left: -5px;
  width: 10px; height: 10px;
  background: var(--red);
  border-radius: 50%;
  margin-top: -5px;
  box-shadow: 0 0 10px var(--red-glow);
}
@keyframes ringRotate { to { transform: rotate(360deg); } }

/* Photo frame */
.founder-photo-frame {
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.08);
  box-shadow:
    0 0 0 1px rgba(197,2,2,0.2),
    0 24px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.1);
  background: #111;
  /* Liquid glass inner sheen */
  position: relative;
}
.founder-photo-frame::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.07), transparent);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}
.founder-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scaleX(-1);
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  display: block;
}
.founder-photo-wrap:hover .founder-photo-frame img {
  transform: scaleX(-1) scale(1.04);
}

/* Badge Black Belt */
.founder-badge {
  position: absolute;
  bottom: -10px; right: -16px;
  background: rgba(15,15,15,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 0.55rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.founder-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}
.founder-badge__icon { font-size: 1.3rem; line-height: 1; }
.founder-badge__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  line-height: 1.3;
}

/* Stats row */
.founder-stats {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  position: relative;
}
.founder-stats::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.founder-stat {
  flex: 1;
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.founder-stat__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.02em;
  word-break: break-word;
}
.founder-stat__label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  word-break: break-word;
}
.founder-stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ── Content column ───────────────────────────────────────── */
.founder-content-col {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.founder-overline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--red);
}

.founder-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
}
.founder-name span { color: var(--red); }

.founder-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  border-radius: 2px;
}

.founder-bio {
  font-family: 'Barlow', sans-serif;
  font-size: 0.97rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.62);
}
.founder-bio p { margin-bottom: 0.8em; }
.founder-bio strong { color: rgba(255,255,255,0.85); font-weight: 600; }

/* Compétence tags */
.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.founder-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 0.4em 0.9em;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  background: rgba(255,255,255,0.04);
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.founder-tag:hover {
  border-color: rgba(197,2,2,0.5);
  color: #fff;
  background: rgba(197,2,2,0.12);
}

/* CTA button */
.founder-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  align-self: flex-start;
  padding: 0.85em 2rem;
  background: var(--red);
  color: #fff;
  border-radius: 50px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 24px rgba(197,2,2,0.35);
  margin-top: 0.4rem;
}
.founder-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(197,2,2,0.5);
}
.founder-cta svg { transition: transform 0.3s ease; }
.founder-cta:hover svg { transform: translateX(4px); }

/* ── Responsive ───────────────────────────────────────────── */
@media screen and (max-width: 900px) {
  .founder-section { padding: 5rem 2rem; }
  .founder-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    justify-items: center;
    text-align: center;
  }
  .founder-photo-col { width: 100%; max-width: 340px; }
  .founder-name { font-size: 3.5rem; }
  .founder-bio { max-width: 100%; }
  .founder-tags, .founder-cta { justify-content: center; align-self: center; }
  .founder-divider { margin: 0 auto; }
  .founder-overline { text-align: center; }
}
@media screen and (max-width: 480px) {
  .founder-section { padding: 4rem 1.2rem; }
  .founder-photo-wrap { width: 220px; height: 220px; }
  .founder-name { font-size: 2.8rem; }
  .founder-stats { padding: 0.9rem 1rem; gap: 0.8rem; }
  .founder-stat__num { font-size: 1.1rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #050505;
  color: rgba(255,255,255,0.65);
  font-family: 'Barlow', sans-serif;
  position: relative;
}

/* ── Top decorative bar ───────────────────────────────────── */
.footer-topbar {
  height: 2px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
}
.footer-topbar__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--red) 30%,
    rgba(197,2,2,0.4) 60%,
    transparent 100%
  );
}

/* ── Inner grid ───────────────────────────────────────────── */
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 5rem 4rem 4rem;
  display: grid;
  grid-template-columns: 3.4fr 1fr 1.4fr 1.6fr;
  gap: 3.5rem;
  align-items: start;
}

/* ── Column base ──────────────────────────────────────────── */
.footer-col__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ── Col 1 : Brand ────────────────────────────────────────── */
.footer-col--brand { display: flex; flex-direction: column; gap: 1.2rem; }

.footer-logo-link { display: inline-block; }
.footer-logo {
  height: 48px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--transition);
  filter: brightness(1.1);
}
.footer-logo-link:hover .footer-logo { opacity: 1; }

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
}

.footer-accessibilite {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
}
.footer-accessibilite__img {
  width: 36px;
  height: auto;
  opacity: 0.6;
  flex-shrink: 0;
}
.footer-accessibilite__text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}

.footer-social { display: flex; gap: 0.6rem; margin-top: 0.2rem; }
.footer-social__link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer-social__link:hover {
  background: rgba(197,2,2,0.2);
  border-color: rgba(197,2,2,0.4);
  color: #fff;
}

/* ── Col 2 : Nav ──────────────────────────────────────────── */
.footer-nav { display: flex; flex-direction: column; gap: 0; list-style: none; padding: 0; margin: 0; }
.footer-nav li a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.42em 0;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--transition), padding-left var(--transition);
  position: relative;
}
.footer-nav li a::before {
  content: '';
  width: 0; height: 1px;
  background: var(--red);
  transition: width 0.3s ease;
  flex-shrink: 0;
}
.footer-nav li a:hover {
  color: rgba(255,255,255,0.9);
  padding-left: 0.4em;
}
.footer-nav li a:hover::before { width: 14px; }
.footer-nav li:last-child a { border-bottom: none; }

/* ── Col 3 : Contact ─────────────────────────────────────── */
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.87rem;
  line-height: 1.5;
}
.footer-contact-item__icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(197,2,2,0.12);
  border-radius: 7px;
  color: var(--red);
  font-size: 0.8rem;
}
.footer-contact-item span:not(.footer-contact-item__icon),
.footer-contact-item a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition);
  word-break: break-word;
}
.footer-contact-item a:hover { color: #fff; }

/* ── Col 4 : Certifications ──────────────────────────────── */
.footer-certs { display: flex; flex-direction: column; gap: 0.8rem; }

.footer-cert-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
/* Liquid glass shimmer top */
.footer-cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}
.footer-cert-card:not(.footer-cert-card--static):hover {
  background: rgba(197,2,2,0.1);
  border-color: rgba(197,2,2,0.25);
  transform: translateX(4px);
}

.footer-cert-card__img-wrap {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.92);
  border-radius: 8px;
  padding: 6px;
}
.footer-cert-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
}

.footer-cert-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}
.footer-cert-card__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.footer-cert-card__detail {
  font-size: 0.7rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.35);
}

.footer-cert-card__ext {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
  transition: color var(--transition);
}
.footer-cert-card:hover .footer-cert-card__ext { color: var(--red); }

/* ── Copyright bar ────────────────────────────────────────── */
.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.4rem 4rem;
}
.footer-copyright__inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-copyright__text {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.03em;
}
.footer-copyright__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-copyright__links li {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
}
.footer-copyright__links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-copyright__links a:hover { color: rgba(255,255,255,0.8); }

/* ── Responsive ───────────────────────────────────────────── */
@media screen and (max-width: 1100px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 4rem 3rem 3rem;
  }
  .footer-col--brand { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 2rem; }
}
@media screen and (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; padding: 3rem 1.5rem 2rem; }
  .footer-col--brand { flex-direction: column; gap: 1rem; }
  .footer-copyright { padding: 1.2rem 1.5rem; }
  .footer-copyright__inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ============================================================
   CHATBOX
   ============================================================ */
/* ── Bouton flottant chat (liquid glass) ── */
.chatbox {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;

  background: linear-gradient(135deg, rgba(197,2,2,0.9) 0%, rgba(120,0,0,0.95) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,120,120,0.35);
  box-shadow:
    0 8px 32px rgba(197,2,2,0.5),
    0 2px 8px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.3),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

/* Anneau pulse 1 */
.chatbox::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(197,2,2,0.5);
  animation: fabRing1 2.4s ease-out infinite;
  pointer-events: none;
}

/* Shimmer interne */
.chatbox::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.chatbox:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow:
    0 14px 44px rgba(197,2,2,0.65),
    0 4px 12px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.chatbox:hover::after { left: 150%; }
.chatbox:active { transform: scale(0.95); }

.chatbox_img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 1;
}

@keyframes fabRing1 {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

#chat { display: none; }
.users { display: block; bottom: 100px; }
.details { margin-right: 20px; }
.close_button {
  position: absolute;
  right: 12px; top: 12px;
  cursor: pointer;
}
.incoming_id { display: none !important; }

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
#page-wrapper { position: relative; transition: transform 0.4s cubic-bezier(.4,0,.2,1); }

/* ============================================================
   LIQUID GLASS UTILITY
   ============================================================ */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}
.glass-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media screen and (max-width: 980px) {
  .presentation_table, .presentation_table tbody, .presentation_table tr, .presentation_table td {
    display: block;
    width: 100%;
  }
  .presentation_table_tr { text-align: center; }
  .historique_img { width: 100%; height: 220px; margin: 0 auto 1rem; }
  .presentation_table_td { padding: 1rem 0.5rem !important; max-width: 100%; }

  /* founder-section responsive handled in its own block */
}

@media screen and (max-width: 768px) {
  /* Nav responsive → voir nav.css */
  #main { padding: 3.5rem 0; }
  #presentation_titre h1:first-child { font-size: 2.8rem; }
}

@media screen and (max-width: 480px) {
  #banner .content { padding: 0 1rem; }
  /* (founder responsive handled above) */
  #footer .container { padding: 0 1.5rem; }
}