/* =========================================================
   OnYvon — Composants (nav, buttons, cards, forms, footer)
   ========================================================= */

/* ============ Navigation ============ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              backdrop-filter var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--c-border);
}

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-lg);
  letter-spacing: var(--ls-tight);
  color: var(--c-text);
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-gold);
  box-shadow: var(--sh-gold), 0 0 0 1px rgba(245,196,81,0.35);
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-name { display: inline-flex; align-items: baseline; gap: 0; }
.brand-name em { font-style: normal; color: var(--c-gold); margin-left: 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: var(--fs-sm);
  color: var(--c-text-dim);
  font-weight: 500;
  border-radius: var(--r-full);
  transition: color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--c-text); background: rgba(255,255,255,0.04); }
.nav-links a.is-active {
  color: var(--c-text);
  background: rgba(245, 196, 81, 0.08);
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  bottom: 2px; left: 50%;
  width: 4px; height: 4px;
  background: var(--c-gold);
  border-radius: 50%;
  transform: translateX(-50%);
}

.nav-cta { display: inline-flex; align-items: center; gap: var(--s-3); }

/* Burger (mobile) */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  border: 1px solid var(--c-border);
  align-items: center; justify-content: center;
  color: var(--c-text);
  transition: background var(--dur-fast) var(--ease-out);
}
.nav-burger:hover { background: rgba(255,255,255,0.05); }
.nav-burger svg { width: 20px; height: 20px; }

/* Drawer mobile */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(10,10,11,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  padding: var(--s-6);
  overflow-y: auto;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.mobile-drawer[data-open="true"] { display: flex; opacity: 1; }
.mobile-drawer .drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--s-2);
}
.mobile-drawer nav {
  display: flex; flex-direction: column;
  gap: var(--s-1);
  margin-top: var(--s-10);
}
.mobile-drawer nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: var(--ls-tight);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}
.mobile-drawer nav a:hover { color: var(--c-gold); }
.mobile-drawer .drawer-foot {
  margin-top: auto;
  padding-top: var(--s-10);
  color: var(--c-text-mute);
  font-size: var(--fs-sm);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  height: 46px;
  padding: 0 var(--s-6);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-sm);
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  white-space: nowrap;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--grad-gold);
  color: var(--c-black);
  box-shadow: var(--sh-gold);
  font-weight: 600;
}
.btn--primary:hover {
  box-shadow: 0 16px 50px -8px rgba(245, 196, 81, 0.55);
  transform: translateY(-1px);
}

.btn--secondary {
  background: rgba(255,255,255,0.05);
  color: var(--c-text);
  border-color: var(--c-border);
  backdrop-filter: blur(8px);
}
.btn--secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--c-border-strong);
}

.btn--ghost {
  background: transparent;
  color: var(--c-text-dim);
  padding-inline: var(--s-3);
}
.btn--ghost:hover { color: var(--c-text); }

.btn--sm { height: 38px; padding-inline: var(--s-4); font-size: var(--fs-xs); }
.btn--lg { height: 54px; padding-inline: var(--s-8); font-size: var(--fs-base); }

.btn .arrow {
  transition: transform var(--dur-base) var(--ease-spring);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============ Chips / Badges ============ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 12px;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  color: var(--c-text-dim);
}
.chip--gold { background: rgba(245,196,81,0.10); color: var(--c-gold); border-color: rgba(245,196,81,0.25); }
.chip--ai   { background: rgba(124,92,255,0.10); color: #B9A9FF; border-color: rgba(124,92,255,0.25); }

.chip .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 10px currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}

/* ============ Cards ============ */
.card {
  position: relative;
  background: var(--c-surface-1);
  background-image: var(--grad-panel);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 40%, transparent 60%, rgba(255,255,255,0.04));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--c-border-strong);
}

.card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: rgba(245,196,81,0.10);
  color: var(--c-gold);
  margin-bottom: var(--s-5);
  border: 1px solid rgba(245,196,81,0.22);
}
.card__icon--ai { background: rgba(124,92,255,0.12); color: #B9A9FF; border-color: rgba(124,92,255,0.25); }
.card__icon svg { width: 22px; height: 22px; }

.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  margin-bottom: var(--s-3);
  letter-spacing: var(--ls-tight);
}
.card__body { color: var(--c-text-dim); line-height: var(--lh-normal); }

.card__list {
  margin-top: var(--s-5);
  display: flex; flex-direction: column;
  gap: var(--s-2);
}
.card__list li {
  display: flex; align-items: flex-start; gap: var(--s-2);
  color: var(--c-text-dim);
  font-size: var(--fs-sm);
}
.card__list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  margin-top: 9px;
  background: var(--c-gold);
  border-radius: 50%;
}

/* ============ Grids ============ */
.grid {
  display: grid;
  gap: var(--s-5);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ============ Stats ============ */
.stat {
  padding: var(--s-6) var(--s-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: var(--c-surface-1);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--ls-tighter);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--s-2);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  color: var(--c-text-dim);
  font-size: var(--fs-sm);
}

/* ============ Project card ============ */
.project {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface-1);
  transition: transform var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  display: flex; flex-direction: column;
}
.project:hover { transform: translateY(-4px); border-color: var(--c-border-strong); }

.project__visual {
  aspect-ratio: 16 / 10;
  position: relative;
  background: linear-gradient(135deg, #17171B 0%, #1D1D22 100%);
  overflow: hidden;
}
.project__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(245,196,81,0.12), transparent 60%),
              radial-gradient(ellipse at bottom left, rgba(124,92,255,0.10), transparent 60%);
}
.project__visual svg { position: absolute; inset: 0; margin: auto; width: 60%; max-width: 220px; }

/* Carte projet cliquable (lien) + image de héros */
a.project { text-decoration: none; color: inherit; }
a.project:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
.project__visual img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-out);
}
.project:hover .project__visual img { transform: scale(1.05); }
.project__ext {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.project:hover .project__ext,
.project:focus-visible .project__ext { opacity: 1; transform: translateY(0); }
.project__ext svg { width: 16px; height: 16px; }

.project__body { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.project__meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: var(--fs-xs); color: var(--c-text-mute);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}
.project__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
}
.project__desc { color: var(--c-text-dim); font-size: var(--fs-sm); line-height: var(--lh-normal); }
.project__tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; padding-top: var(--s-3); }
.project__tags span {
  font-size: 0.72rem;
  letter-spacing: var(--ls-wide);
  color: var(--c-text-mute);
  padding: 4px 9px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--c-border);
}

/* Filtres projets */
.project-filters {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin-bottom: var(--s-10);
}
.filter-btn {
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--c-border);
  background: rgba(255,255,255,0.02);
  font-size: var(--fs-sm);
  color: var(--c-text-dim);
  transition: all var(--dur-fast) var(--ease-out);
  font-family: var(--font-body);
}
.filter-btn:hover { color: var(--c-text); border-color: var(--c-border-strong); }
.filter-btn.is-active {
  background: var(--c-gold);
  color: var(--c-black);
  border-color: var(--c-gold);
  font-weight: 600;
}

/* ============ Timeline ============ */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-10);
  padding-left: var(--s-10);
}
.timeline::before {
  content: "";
  position: absolute;
  top: 10px; bottom: 10px;
  left: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--c-gold), transparent);
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--s-10) + 6px);
  top: 6px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--c-black);
  border: 2px solid var(--c-gold);
  box-shadow: 0 0 18px rgba(245,196,81,0.45);
}
.timeline__year {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--c-gold);
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--s-2);
}
.timeline__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.timeline__body { color: var(--c-text-dim); max-width: 60ch; }

/* ============ Form ============ */
.form {
  display: flex; flex-direction: column;
  gap: var(--s-5);
}
.field {
  display: flex; flex-direction: column;
  gap: var(--s-2);
}
.field > label {
  font-size: var(--fs-sm);
  color: var(--c-text-dim);
  font-weight: 500;
}
.field > label .req { color: var(--c-gold); }

.input, .textarea, .select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.input::placeholder, .textarea::placeholder { color: var(--c-text-faint); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--c-border-strong); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--c-gold);
  background: rgba(255,255,255,0.05);
  box-shadow: var(--sh-ring-gold);
}
.textarea { min-height: 160px; resize: vertical; line-height: var(--lh-normal); }

.field-helper {
  font-size: var(--fs-xs);
  color: var(--c-text-mute);
}
.field-error {
  font-size: var(--fs-xs);
  color: var(--c-danger);
  display: none;
}
.field[data-error="true"] .field-error { display: block; }
.field[data-error="true"] .input,
.field[data-error="true"] .textarea,
.field[data-error="true"] .select {
  border-color: var(--c-danger);
  background: rgba(248, 113, 113, 0.04);
}

.checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--c-text-dim);
  cursor: pointer;
  line-height: 1.4;
}
.checkbox input { position: absolute; opacity: 0; }
.checkbox .box {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1px solid var(--c-border-strong);
  background: rgba(255,255,255,0.03);
  display: grid; place-items: center;
  transition: all var(--dur-fast) var(--ease-out);
  margin-top: 2px;
}
.checkbox input:checked + .box {
  background: var(--c-gold);
  border-color: var(--c-gold);
}
.checkbox input:checked + .box::after {
  content: "";
  width: 10px; height: 6px;
  border-left: 2px solid var(--c-black);
  border-bottom: 2px solid var(--c-black);
  transform: rotate(-45deg) translate(1px, -1px);
}
.checkbox input:focus-visible + .box { box-shadow: var(--sh-ring-gold); }

.form-success {
  padding: var(--s-5) var(--s-6);
  border-radius: var(--r-md);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: #A7F3D0;
  display: none;
}
.form-success[data-visible="true"] { display: block; }

/* ============ Footer ============ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--c-border);
  margin-top: var(--s-20);
  padding-block: var(--s-16) var(--s-8);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.5));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s-10);
  margin-bottom: var(--s-12);
}
.footer-brand p {
  color: var(--c-text-mute);
  max-width: 32ch;
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
}
.footer-col h5 {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: var(--s-4);
  font-weight: 500;
  font-family: var(--font-body);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: var(--fs-sm);
  color: var(--c-text-dim);
}
.footer-col a:hover { color: var(--c-gold); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--s-6);
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-xs);
  color: var(--c-text-mute);
  flex-wrap: wrap;
  gap: var(--s-3);
}
.social-links { display: flex; gap: var(--s-2); }
.social-links a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  border: 1px solid var(--c-border);
  color: var(--c-text-dim);
  transition: all var(--dur-fast) var(--ease-out);
}
.social-links a:hover {
  color: var(--c-gold);
  border-color: rgba(245,196,81,0.4);
  background: rgba(245,196,81,0.06);
}
.social-links svg { width: 18px; height: 18px; }

/* ============ CV hero (page online) ============ */
.cv-hero {
  background: linear-gradient(180deg, rgba(245, 196, 81, 0.04), rgba(255,255,255,0));
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: clamp(var(--s-6), 4vw, var(--s-12));
  margin-bottom: var(--s-10);
  position: relative;
  overflow: hidden;
}
.cv-hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(245,196,81,0.12), transparent 70%);
  pointer-events: none;
}
.cv-hero > * { position: relative; }

.cv-hero__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-6);
  align-items: start;
  margin-bottom: var(--s-8);
}

.cv-hero__avatar {
  width: 96px; height: 96px;
  border-radius: 24px;
  background: var(--grad-gold);
  display: grid;
  place-items: center;
  color: var(--c-black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.75rem;
  letter-spacing: -0.02em;
  box-shadow: var(--sh-gold);
  flex-shrink: 0;
}

.cv-hero__ident { min-width: 0; }
.cv-hero__name {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: var(--ls-tighter);
  margin-bottom: var(--s-2);
}
.cv-hero__role {
  color: var(--c-text-dim);
  font-size: var(--fs-lg);
  margin-bottom: var(--s-5);
}

.cv-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  font-size: var(--fs-sm);
}
.cv-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text-dim);
  transition: color var(--dur-fast) var(--ease-out);
}
a.cv-hero__meta-item:hover { color: var(--c-gold); }
.cv-hero__meta-item svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.7; }
.cv-hero__available-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 10px var(--c-success);
  animation: pulse 2.4s ease-in-out infinite;
}

.cv-hero__pitch {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-lg));
  line-height: var(--lh-normal);
  color: var(--c-text);
  padding: var(--s-5) var(--s-6);
  background: rgba(0, 0, 0, 0.2);
  border-left: 3px solid var(--c-gold);
  border-radius: var(--r-sm);
  margin-bottom: var(--s-6);
  max-width: 62ch;
}

.cv-hero__actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .cv-hero__head {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }
  .cv-hero__avatar {
    width: 72px; height: 72px;
    border-radius: 18px;
    font-size: 2rem;
  }
  .cv-hero__pitch { padding: var(--s-4) var(--s-5); }
  .cv-hero__actions .btn { width: 100%; }
}

/* ============ Contact page layout ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(var(--s-8), 5vw, var(--s-16));
  align-items: start;
}
.contact-grid > div { min-width: 0; } /* prévient les débordements */

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--s-10);
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
}

/* ============ Pull quote ============ */
.pullquote {
  padding: var(--s-12) 0;
  text-align: center;
}
.pullquote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--c-text);
  max-width: 22ch;
  margin-inline: auto;
}
.pullquote blockquote em { font-style: italic; color: var(--c-gold); }
.pullquote cite {
  display: block;
  margin-top: var(--s-5);
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--c-text-mute);
  letter-spacing: var(--ls-wide);
}

/* ============ CTA strip ============ */
.cta-strip {
  margin-block: var(--s-16);
  padding: clamp(var(--s-10), 5vw, var(--s-16));
  border-radius: var(--r-2xl);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(245,196,81,0.16), transparent 60%),
    radial-gradient(ellipse at 90% 100%, rgba(124,92,255,0.16), transparent 60%),
    var(--c-surface-2);
  border: 1px solid var(--c-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--s-4);
  max-width: 18ch;
  margin-inline: auto;
}
.cta-strip p {
  color: var(--c-text-dim);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--s-8);
}
.cta-strip .btn-group {
  display: inline-flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  justify-content: center;
}

/* ============ Hero orb ============ */
.hero-orb {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,216,120,0.35), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(124,92,255,0.35), transparent 55%);
  filter: blur(80px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
  animation: float 12s ease-in-out infinite;
}

/* Decorative grid */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   Hero portraits (accueil + à propos)
   ============================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: var(--s-12);
  align-items: center;
}
.hero-copy { min-width: 0; }

/* — Portrait découpé (accueil) — */
.hero-grid { grid-template-columns: 1fr 0.98fr; }
.hero-figure {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 540px;
  margin: 0;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-figure__glow {
  position: absolute;
  inset: 4% 4% -2% 4%;
  background:
    radial-gradient(58% 52% at 50% 40%, rgba(245,196,81,0.32), transparent 70%),
    radial-gradient(62% 58% at 50% 78%, rgba(124,92,255,0.24), transparent 72%);
  filter: blur(10px);
  z-index: 0;
}
.hero-figure__ring {
  position: absolute;
  left: 50%; top: 44%;
  transform: translate(-50%, -50%);
  width: min(94%, 400px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(245,196,81,0.22);
  box-shadow: inset 0 0 60px rgba(245,196,81,0.06);
  z-index: 0;
}
.hero-figure__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 26px 50px rgba(0,0,0,0.5));
  animation: heroFloat 7s var(--ease-in-out, ease-in-out) infinite;
}

/* — Avatar circulaire (à propos) — */
.hero-grid--about { grid-template-columns: 1.15fr 0.85fr; }
.hero-avatar {
  position: relative;
  justify-self: center;
  margin: 0;
  width: min(100%, 340px);
  aspect-ratio: 1;
}
.hero-avatar__glow {
  position: absolute;
  inset: -14%;
  background: radial-gradient(circle at 50% 50%, rgba(245,196,81,0.30), transparent 64%);
  filter: blur(8px);
  z-index: 0;
}
.hero-avatar img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(245,196,81,0.55);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), var(--sh-gold);
  animation: heroFloat 7s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .hero-grid, .hero-grid--about { grid-template-columns: 1fr; gap: var(--s-8); }
  .hero-figure { max-width: 280px; aspect-ratio: 4 / 5; }
  .hero-avatar { max-width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-figure__img, .hero-avatar img { animation: none; }
}

/* ============================================================
   Partenaires (logos cliquables) + Témoignages
   ============================================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--s-3);
}
.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-5) var(--s-4);
  min-height: 92px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.partner:hover {
  border-color: var(--c-border-strong);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}
.partner img {
  max-width: 100%;
  max-height: 46px;
  width: auto; height: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.partner:hover img { opacity: 1; }

/* — Témoignages — */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-8);
  height: 100%;
  background: var(--c-surface-1);
  background-image: var(--grad-panel);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
}
.testimonial__quote {
  color: var(--c-text-dim);
  line-height: var(--lh-loose);
  font-size: var(--fs-base);
}
.testimonial__quote::before {
  content: "\201C";
  color: var(--c-gold);
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 4px;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: auto;
  padding-top: var(--s-2);
}
.testimonial__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--c-black);
  display: grid; place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.testimonial__name { font-weight: 600; color: var(--c-text); font-family: var(--font-display); line-height: 1.2; }
.testimonial__role { font-size: var(--fs-xs); color: var(--c-text-mute); margin-top: 2px; }

/* — Bandeau YouTube — */
.yt-banner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
  padding: var(--s-6) var(--s-8);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 0, 0, 0.22);
  background: linear-gradient(120deg, rgba(255,0,0,0.10), rgba(255,255,255,0.02));
}
.yt-banner__icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 14px;
  background: #FF0000;
  color: #fff;
}
.yt-banner__icon svg { width: 30px; height: 30px; }
.yt-banner__text { flex: 1; min-width: 220px; }
.yt-banner__text strong { color: var(--c-text); font-family: var(--font-display); font-size: var(--fs-lg); }
.yt-banner__text p { color: var(--c-text-dim); font-size: var(--fs-sm); margin-top: 2px; }

/* IA mise en avant : carte "à la une" */
.card--featured {
  border-color: rgba(245, 196, 81, 0.4);
  box-shadow: inset 0 0 0 1px rgba(245,196,81,0.15), 0 12px 40px -16px rgba(245,196,81,0.3);
}
.card__flag {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--c-black); background: var(--c-gold);
  margin-bottom: var(--s-3);
}

/* — YouTube : poster vedette — */
.yt-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-10);
  align-items: center;
  padding: var(--s-8);
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  background: linear-gradient(120deg, rgba(255,0,0,0.07), rgba(255,255,255,0.02));
}
.yt-feature__poster {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 56px -18px rgba(0,0,0,0.65);
}
.yt-feature__poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.yt-feature__poster:hover img { transform: scale(1.04); }
.yt-feature__play {
  position: absolute; inset: 0; margin: auto;
  width: 72px; height: 50px;
  display: grid; place-items: center;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.45));
  transition: transform 0.3s var(--ease-spring);
}
.yt-feature__play svg { width: 100%; height: 100%; }
.yt-feature__play .yt-play-bg { fill: rgba(20,20,20,0.85); transition: fill 0.2s var(--ease-out); }
.yt-feature__poster:hover .yt-feature__play { transform: scale(1.12); }
.yt-feature__poster:hover .yt-play-bg { fill: #FF0000; }
.yt-feature__tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(255,0,0,0.12);
  color: #FF6B6B;
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.yt-feature__tag svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .yt-feature { grid-template-columns: 1fr; gap: var(--s-6); padding: var(--s-5); }
}

/* ============================================================
   Témoignages — slider responsive (mobile 1×, tablette 2×, desktop grille)
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

/* Tablette : slider 2 par vue, défilement auto */
@media (max-width: 1024px) {
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: var(--s-4);
    padding-bottom: var(--s-4);
    scrollbar-width: none;            /* Firefox */
    scroll-padding-left: 2px;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; } /* Chrome/Safari */
  .testimonials-grid > .testimonial {
    flex: 0 0 calc((100% - var(--s-4)) / 2); /* 2 cartes par vue */
    scroll-snap-align: start;
    /* Toujours lisibles dans le slider (on neutralise l'apparition au scroll) */
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mobile : slider 1 par vue */
@media (max-width: 640px) {
  .testimonials-grid > .testimonial {
    flex: 0 0 100%;
  }
}

/* Indice visuel "glisse" sous le slider */
.testimonials-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  color: var(--c-text-mute);
}
.testimonials-hint svg { width: 18px; height: 18px; animation: hintSwipe 1.8s ease-in-out infinite; }
@keyframes hintSwipe { 0%,100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
@media (max-width: 1024px) { .testimonials-hint { display: flex; } }
@media (prefers-reduced-motion: reduce) { .testimonials-hint svg { animation: none; } }

/* ——— Liens légaux (footer) ——— */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-3);
}
.footer-legal a {
  font-size: var(--fs-sm);
  color: var(--c-text-mute);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-legal a:hover { color: var(--c-gold); }

/* ——— Pages légales (contenu long) ——— */
.legal {
  max-width: 820px;
  margin-inline: auto;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  margin-top: var(--s-10);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--c-border);
}
.legal h3 { font-size: var(--fs-base); margin-top: var(--s-6); margin-bottom: var(--s-2); color: var(--c-text); }
.legal p, .legal li { color: var(--c-text-dim); line-height: var(--lh-loose); }
.legal p { margin-bottom: var(--s-4); }
.legal ul { margin: 0 0 var(--s-4) var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); }
.legal a { color: var(--c-gold); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--c-text); }
.legal .legal-updated { font-size: var(--fs-sm); color: var(--c-text-mute); margin-bottom: var(--s-8); }
.legal .legal-card {
  background: var(--c-surface-1);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  margin-bottom: var(--s-4);
}

/* ——— Bandeau cookies ——— */
.cookie-banner {
  position: fixed;
  left: var(--s-5); right: var(--s-5); bottom: var(--s-5);
  max-width: 660px;
  margin-inline: auto;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
  padding: var(--s-5) var(--s-6);
  background: rgba(18, 18, 22, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner__text { flex: 1; min-width: 220px; }
.cookie-banner__text strong { color: var(--c-text); font-family: var(--font-display); }
.cookie-banner__text p { color: var(--c-text-dim); font-size: var(--fs-sm); margin-top: 4px; line-height: var(--lh-normal); }
.cookie-banner__text a { color: var(--c-gold); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: var(--s-2); flex-shrink: 0; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: var(--s-3); }
  .cookie-banner__actions { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: opacity 0.2s; transform: none; }
}
