/* =========================================================
   VALETTA AGENCY — Feuille de style
   Noir mat profond + or champagne · minimaliste · cinématique
   ========================================================= */

:root {
  --black: #0a0a0a;
  --black-soft: #0e0e0f;
  --black-raise: #141414;
  --gold: #e5d3b3;
  --gold-bright: #f3e6cd;
  --gold-deep: #b89b6e;
  --line: rgba(229, 211, 179, 0.16);
  --text-dim: rgba(245, 240, 230, 0.62);
  --text-mute: rgba(245, 240, 230, 0.42);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: #f5f0e6;
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #0a0a0a; }

a { color: inherit; text-decoration: none; }

/* Léger grain + vignette globale pour la profondeur */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  background: radial-gradient(120% 90% at 50% 30%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

/* =========================  PRÉLOADER  ========================= */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--black);
  display: grid;
  place-items: center;
  transition: opacity 1s var(--ease), visibility 1s var(--ease);
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader__inner { text-align: center; }
.preloader__logo {
  display: block;
  width: clamp(200px, 40vw, 320px);
  height: auto;
  margin: 0 auto;
}
.preloader__bar {
  width: 180px;
  height: 1px;
  background: var(--line);
  margin: 1.4rem auto;
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
}

/* =========================  NAVIGATION  ========================= */
#nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem clamp(1.4rem, 5vw, 4rem);
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease),
    background 0.6s var(--ease), backdrop-filter 0.6s var(--ease);
}
#nav.visible { opacity: 1; transform: none; pointer-events: auto; }
#nav.solid {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex;
  align-items: center;
}

/* Logo hybride — symbole V SVG + wordmark HTML */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.48rem, 1.05vw, 0.68rem);
  text-decoration: none;
  color: inherit;
}
.brand-lockup__mark {
  width: clamp(30px, 3.4vw, 38px);
  height: clamp(30px, 3.4vw, 38px);
  flex-shrink: 0;
  display: block;
}
.brand-lockup__mark-l { fill: #b89b6e; }
.brand-lockup__mark-r { fill: #e5d3b3; }
.brand-lockup__wordmark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  gap: 0.24rem;
}
.brand-lockup__val {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  font-weight: 500;
  letter-spacing: 0.065em;
  color: #ffffff;
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}
.brand-lockup__ag {
  display: block;
  width: 100%;
  font-family: var(--sans);
  font-size: clamp(0.58rem, 1.05vw, 0.7rem);
  font-weight: 300;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  line-height: 1;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-lockup:hover .brand-lockup__val { color: var(--gold-bright); }

.brand-lockup--footer .brand-lockup__mark {
  width: clamp(34px, 3.8vw, 44px);
  height: clamp(34px, 3.8vw, 44px);
}
.brand-lockup--footer .brand-lockup__val {
  font-size: clamp(1.24rem, 2.25vw, 1.58rem);
  letter-spacing: 0.07em;
}
.brand-lockup--footer .brand-lockup__ag {
  font-size: clamp(0.64rem, 1.2vw, 0.78rem);
  letter-spacing: 0.44em;
  text-indent: 0.44em;
}
.brand-lockup--footer .brand-lockup__wordmark { gap: 0.3rem; }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
}
.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.4s var(--ease);
}
.nav__links a:hover { color: var(--gold); }
.nav__cta {
  border: 1px solid var(--line);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  color: var(--gold) !important;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav__cta:hover { background: rgba(229, 211, 179, 0.08); }

/* =========================  HÉRO 3D  ========================= */
#hero { position: relative; }
#stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
#scene { display: block; width: 100%; height: 100%; }

.hero-tagline {
  position: absolute;
  top: clamp(0.5rem, 1.8vh, 1.2rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(82vw, 680px);
  text-align: center;
  z-index: 6;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
  padding-bottom: clamp(3rem, 10vh, 6rem);
}
.hero-tagline__brand {
  font-size: 0.68rem;
  letter-spacing: 0.48em;
  text-indent: 0.48em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.55rem;
}
.hero-tagline__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.6vw, 2rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin-bottom: clamp(2.8rem, 9vh, 5.5rem);
  background: linear-gradient(135deg, #f5f0e6 0%, var(--gold-bright) 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(229, 211, 179, 0.15));
}
.hero-tagline__sub {
  margin-top: 0;
  font-size: clamp(0.72rem, 1.2vw, 0.85rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 6vh;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  z-index: 5;
}
.scroll-hint span {
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.scroll-hint__line {
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint__line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--gold-bright);
  animation: hint 2.2s var(--ease) infinite;
}
@keyframes hint {
  0% { top: -40%; }
  60%, 100% { top: 110%; }
}

/* Voile de transition — désactivé (plus d'écran noir) */
#enter-veil {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0 !important;
  background: transparent;
}

/* =========================  SITE  ========================= */
#top {
  position: relative;
  z-index: 12;
  background: var(--black);
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
  margin-top: -68vh;
  padding-top: 68vh;
}

/* Hero post-zoom — marbre noir + fissures dynamiques (section .intro uniquement) */
.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(3rem, 8vh, 5rem) clamp(1.4rem, 6vw, 6rem) clamp(2rem, 5vh, 3rem);
  gap: 1.6rem;
  --marble-reveal: 0;
  --crack-glow: 0;
}
.intro__marble {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--marble-reveal);
  transition: opacity 0.12s linear;
}
.intro__marble-veins {
  position: absolute;
  inset: 0;
  background-color: #050505;
  background-image:
    linear-gradient(71deg, transparent 49%, rgba(255, 255, 255, 0.07) 49.4%, rgba(255, 255, 255, 0.02) 50.1%, transparent 50.6%),
    linear-gradient(133deg, transparent 58.5%, rgba(255, 255, 255, 0.055) 59%, rgba(255, 255, 255, 0.015) 59.4%, transparent 60%),
    linear-gradient(19deg, transparent 42%, rgba(255, 255, 255, 0.04) 42.3%, transparent 42.8%),
    linear-gradient(198deg, transparent 67%, rgba(255, 255, 255, 0.035) 67.2%, transparent 67.6%),
    radial-gradient(ellipse 85% 50% at 8% 22%, rgba(255, 255, 255, 0.05), transparent 55%),
    radial-gradient(ellipse 65% 42% at 88% 18%, rgba(255, 255, 255, 0.038), transparent 50%),
    radial-gradient(ellipse 50% 38% at 52% 78%, rgba(255, 255, 255, 0.03), transparent 48%),
    radial-gradient(ellipse 35% 28% at 72% 62%, rgba(255, 255, 255, 0.022), transparent 45%),
    linear-gradient(112deg, transparent 36%, rgba(255, 255, 255, 0.016) 48%, transparent 58%),
    linear-gradient(168deg, transparent 52%, rgba(255, 255, 255, 0.012) 53%, transparent 64%),
    linear-gradient(180deg, #030303 0%, #090909 45%, #050505 100%);
  opacity: calc(0.72 + var(--crack-glow) * 0.28);
  animation: marbleVeinPulse 9s ease-in-out infinite;
}
@keyframes marbleVeinPulse {
  0%, 100% { filter: brightness(0.96); }
  50% { filter: brightness(1.06); }
}
.intro__marble-cracks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: calc(var(--crack-glow) * 0.92);
  mix-blend-mode: screen;
}
.intro__marble-cracks.is-static {
  mix-blend-mode: normal;
  opacity: calc(var(--crack-glow) * 0.55);
}
.intro > :not(.intro__marble) {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(28px);
}
.intro__eyebrow,
.contact__eyebrow,
.modal__eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.intro__eyebrow {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}
.intro__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.65);
}
.intro__title em {
  font-style: italic;
  color: var(--gold);
}
.intro__lead {
  max-width: 38ch;
  color: rgba(245, 240, 230, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

/* ----------  SERVICES  ---------- */
.services {
  padding: 4rem clamp(1.4rem, 6vw, 6rem) 6rem;
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 10vw, 9rem);
  max-width: 1400px;
  margin: 0 auto;
}
.branch {
  display: grid;
  grid-template-columns: minmax(120px, 0.5fr) 1.5fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.branch--alt { grid-template-columns: 1.5fr minmax(120px, 0.5fr); direction: rtl; }
.branch--alt .branch__body { direction: ltr; }
.branch--alt .branch__index { direction: ltr; text-align: right; }

.branch__index {
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-deep);
  line-height: 0.8;
  opacity: 0.65;
}
.branch__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: 0.01em;
  margin-bottom: 1.4rem;
  background: linear-gradient(120deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.branch__desc {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
  max-width: 56ch;
  margin-bottom: 2rem;
}
.branch__list { list-style: none; display: grid; gap: 0.9rem; max-width: 52ch; }
.branch__list li {
  position: relative;
  padding-left: 1.6rem;
  color: rgba(245, 240, 230, 0.8);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.branch__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 7px; height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

/* ----------  CONTACT  ---------- */
.contact {
  text-align: center;
  padding: clamp(6rem, 14vw, 12rem) clamp(1.4rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  border-top: 1px solid var(--line);
}
.contact__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.05;
}
.contact__lead {
  max-width: 46ch;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

/* ----------  BOUTON OR  ---------- */
.btn-gold {
  position: relative;
  margin-top: 1.4rem;
  padding: 1.05rem 2.6rem;
  background: transparent;
  border: 1px solid var(--gold-deep);
  border-radius: 999px;
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.btn-gold span { position: relative; z-index: 2; }
.btn-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.btn-gold:hover {
  color: #0a0a0a;
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}
.btn-gold:hover::before { transform: scaleX(1); }
.btn-gold--full { width: 100%; margin-top: 0.6rem; }
.btn-gold--sm {
  padding: 0.75rem 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  margin-top: 0;
}

/* Bouton magnétique — wrapper interne pour le déplacement */
.btn-magnetic {
  will-change: transform;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-magnetic span {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

/* Bandeau CTA discret sous les offres */
.cta-strip {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(229, 211, 179, 0.04), transparent 60%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.4rem 2.4rem;
  text-align: center;
}
.cta-strip p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--text-dim);
}

/* ----------  PORTFOLIO — Réalisations  ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.portfolio-grid--duo {
  max-width: 1100px;
  margin: 0 auto;
}
.portfolio-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.portfolio-card--featured {
  grid-column: 1 / -1;
}
.portfolio-card__visual {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.portfolio-card--featured .portfolio-card__visual {
  aspect-ratio: 21 / 9;
}
.portfolio-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.65s var(--ease);
}
.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(10, 10, 10, 0.55);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.portfolio-card:hover .portfolio-card__visual img {
  transform: scale(1.04);
}
.portfolio-card:hover .portfolio-card__overlay,
.portfolio-card__visual:focus-visible .portfolio-card__overlay {
  opacity: 1;
}
.portfolio-card__body {
  padding: clamp(1.2rem, 2.5vw, 1.6rem) clamp(1.4rem, 2.5vw, 1.8rem) clamp(1.4rem, 2.5vw, 1.8rem);
}
.portfolio-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
}
.portfolio-card__body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.portfolio-card__body p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Lightbox portfolio */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}
.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.8);
  color: var(--text-dim);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.lightbox__close:hover { color: var(--gold); border-color: var(--gold); }
.lightbox__frame {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 96vw);
  max-height: 90vh;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(229, 211, 179, 0.25);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}
.lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  background: #0a0a0a;
}

/* ----------  PILIERS TECH-LUXE (asymétriques)  ---------- */
.pillars-section {
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.4rem, 6vw, 6rem) clamp(4rem, 10vw, 8rem);
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}
.pillar-card {
  position: relative;
  padding: clamp(2rem, 4vw, 3.2rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(229, 211, 179, 0.06), transparent 55%),
    linear-gradient(180deg, var(--black-raise), var(--black-soft));
  overflow: hidden;
  transition: border-color 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(229, 211, 179, 0.2), transparent 42%);
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.pillar-card--ia {
  margin-top: clamp(2rem, 6vw, 5rem);
  border-color: rgba(229, 211, 179, 0.22);
}
.pillar-card--web {
  transform-origin: center;
}
.pillar-card__num {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-deep);
  line-height: 0.85;
  opacity: 0.5;
  display: block;
  margin-bottom: 1.2rem;
}
.pillar-card__kicker {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.pillar-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
  background: linear-gradient(120deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pillar-card__desc {
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 1.8rem;
  max-width: 48ch;
}
.pillar-card__roi {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.pillar-card__roi li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(245, 240, 230, 0.82);
  font-size: 0.94rem;
  line-height: 1.65;
}
.pillar-card__roi li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(229, 211, 179, 0.5);
}
.pillar-card__roi strong {
  color: var(--gold-bright);
  font-weight: 500;
}
.pillar-card__range {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin-bottom: 1.6rem;
}
.pillar-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
}
.pillar-card__preview {
  margin: calc(clamp(2rem, 4vw, 3.2rem) * -1) calc(clamp(2rem, 4vw, 3.2rem) * -1) 1.6rem;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16 / 10;
}
.pillar-card__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}
.pillar-card:hover .pillar-card__preview img {
  transform: scale(1.03);
}

/* Hover lift — lévitation + lueur dorée accentuée */
.hover-lift,
.card,
.feature,
.founder {
  will-change: transform;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.hover-lift:hover,
.hover-lift.is-hover,
.card:hover,
.feature:hover,
.founder:hover {
  transform: translateY(-14px) scale(1.018);
  border-color: rgba(229, 211, 179, 0.52);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(229, 211, 179, 0.14),
    0 0 60px rgba(229, 211, 179, 0.14),
    0 0 120px rgba(229, 211, 179, 0.06);
}
.pillar-card.hover-lift:hover,
.pillar-card.hover-lift.is-hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(229, 211, 179, 0.18),
    0 0 70px rgba(229, 211, 179, 0.18),
    0 0 140px rgba(184, 155, 110, 0.08);
}
.pillar-card.hover-lift:hover::before,
.pillar-card.hover-lift.is-hover::before { opacity: 1; }

/* ----------  CONTACT & CRÉDIBILITÉ  ---------- */
.about-contact {
  padding: clamp(5rem, 12vw, 10rem) clamp(1.4rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
  max-width: 1320px;
  margin: 0 auto;
}
.about-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.about-contact__intro {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: sticky;
  top: 7rem;
}
.about-contact__intro .contact__title {
  text-align: left;
}
.about-contact__intro .contact__lead {
  text-align: left;
  max-width: 42ch;
}
.about-contact__intro .contact__emails {
  justify-content: flex-start;
}
.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 1.8rem);
}
.founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1rem, 2vw, 1.4rem);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.founder__photo-wrap {
  position: relative;
  width: clamp(120px, 18vw, 160px);
  height: clamp(120px, 18vw, 160px);
  flex-shrink: 0;
}
.founder__photo-wrap--hover {
  border-radius: 50%;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.founder__photo-wrap--hover::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  pointer-events: none;
}
.founder:hover .founder__photo-wrap--hover {
  transform: scale(1.06);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 32px rgba(229, 211, 179, 0.12);
}
.founder:hover .founder__photo-wrap--hover::after {
  border-color: rgba(229, 211, 179, 0.55);
  box-shadow: 0 0 24px rgba(229, 211, 179, 0.2);
}
.founder__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 2px solid rgba(229, 211, 179, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transition: filter 0.5s var(--ease);
}
.founder:hover .founder__photo {
  filter: brightness(1.08) contrast(1.04);
}
.founder__body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.founder__avatar {
  display: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  place-items: center;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0.05em;
  color: var(--gold-bright);
  background:
    radial-gradient(circle at 30% 25%, rgba(229, 211, 179, 0.25), transparent 55%),
    linear-gradient(145deg, #1a1712, #0a0a0a);
  border: 2px solid rgba(229, 211, 179, 0.35);
  box-shadow: inset 0 1px 0 rgba(229, 211, 179, 0.12), 0 12px 40px rgba(0, 0, 0, 0.45);
}
.founder__avatar--jules {
  background:
    radial-gradient(circle at 70% 30%, rgba(184, 155, 110, 0.2), transparent 55%),
    linear-gradient(145deg, #141210, #0a0a0a);
}
.founder__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.founder__role {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.8rem;
}
.founder__bio {
  color: var(--text-dim);
  line-height: 1.65;
  font-size: 0.94rem;
  margin-bottom: 0.9rem;
}
.founder__email {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 1rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
  word-break: break-all;
}
.founder__email:hover {
  color: var(--gold-bright);
  border-bottom-color: rgba(229, 211, 179, 0.45);
}
.founder__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(229, 211, 179, 0.28);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.founder__linkedin svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.founder__linkedin:hover {
  background: rgba(229, 211, 179, 0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ----------  FOOTER  ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 3rem clamp(1.4rem, 6vw, 6rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.footer__brand {
  font-family: var(--serif);
  letter-spacing: 0.34em;
  color: var(--gold);
  font-size: 1.1rem;
}
.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: right;
  color: var(--text-mute);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

/* =========================  MODALE  ========================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.modal.open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.78);
  backdrop-filter: blur(8px);
}
.modal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--black-raise), var(--black-soft));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(2rem, 5vw, 3.2rem);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(229, 211, 179, 0.08);
  transform: translateY(26px) scale(0.98);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.modal.open .modal__panel { transform: none; opacity: 1; }
.modal__close {
  position: absolute;
  top: 1.1rem; right: 1.3rem;
  background: none;
  border: none;
  color: var(--text-mute);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.modal__close:hover { color: var(--gold); transform: rotate(90deg); }
.modal__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.6rem 0 2rem;
}

/* ----------  FORMULAIRE  ---------- */
.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { position: relative; }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: #f5f0e6;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.9rem 0 0.6rem;
  outline: none;
  transition: border-color 0.4s var(--ease);
}
.field textarea { resize: vertical; }
.field select { appearance: none; cursor: pointer; color: var(--gold-bright); }
.field select option { background: var(--black-raise); color: #f5f0e6; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--gold); }

.field label {
  position: absolute;
  left: 0;
  top: 0.9rem;
  color: var(--text-mute);
  font-size: 1rem;
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: all 0.35s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field label.label--static {
  top: -0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.field select + label.label--static { top: -0.55rem; }

.form__note {
  text-align: center;
  color: var(--text-mute);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

/* ----------  SUCCÈS  ---------- */
.form-success { text-align: center; padding: 1rem 0 0.5rem; }
.form-success__mark {
  width: 64px; height: 64px;
  margin: 0 auto 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.6rem;
}
.form-success h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.form-success p { color: var(--text-dim); line-height: 1.7; max-width: 40ch; margin: 0 auto; }

/* =========================  EN-TÊTES DE SECTION  ========================= */
.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.section-head__eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 1.2rem;
}
.section-head__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1.08;
}
.section-head__lead {
  margin-top: 1.4rem;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
}

/* Aération inter-texte — titre + description (4 sections) */
#poles .section-head__copy,
#sites .section-head__copy,
#ia .section-head__copy,
.pourquoi .section-head__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
#poles .section-head__title,
#sites .section-head__title,
#ia .section-head__title,
.pourquoi .section-head__title {
  line-height: 1.5 !important;
  padding-bottom: 2.5rem !important;
  margin-bottom: 0 !important;
}
#poles .section-head__lead,
#sites .section-head__lead,
#ia .section-head__lead,
.pourquoi .section-head__lead {
  margin-top: 0;
}

.block {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.4rem, 6vw, 6rem);
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  position: relative;
}
.block::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.block > * { position: relative; z-index: 1; }
.block.constat::before {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 169, 106, 0.08), transparent 70%);
  opacity: 1;
}
.block.systemes::before {
  background: radial-gradient(ellipse 70% 50% at 80% 20%, rgba(229, 211, 179, 0.06), transparent 65%);
  opacity: 1;
}
.block.portfolio::before {
  background: radial-gradient(ellipse 60% 40% at 20% 30%, rgba(201, 169, 106, 0.07), transparent 60%);
  opacity: 1;
}
.block.methode::before {
  background: radial-gradient(ellipse 75% 55% at 50% 100%, rgba(229, 211, 179, 0.06), transparent 70%);
  opacity: 1;
}
.block.pricing::before {
  opacity: 1;
  background: radial-gradient(ellipse 65% 45% at 90% 50%, rgba(201, 169, 106, 0.05), transparent 65%);
}
.section-live--ia::before {
  background: radial-gradient(ellipse 80% 50% at 30% 0%, rgba(201, 169, 106, 0.09), transparent 70%);
  opacity: 1;
}
.section-live--pourquoi::before {
  background: radial-gradient(ellipse 70% 50% at 70% 100%, rgba(229, 211, 179, 0.07), transparent 70%);
  opacity: 1;
}

/* ----------  HÉRO TEXTE  ---------- */
.intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.6rem;
}
.btn-ghost {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
.intro__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  justify-content: center;
  margin-top: 2.4rem;
}
.intro__tags li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--text-mute);
}
.intro__tags li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* Accès rapide intro — liens clairs vers les sections clés */
.intro__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 2vw, 1.2rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  width: 100%;
  max-width: 920px;
}
.intro__highlight {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(1.2rem, 2.5vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(229, 211, 179, 0.04), transparent);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.intro__highlight--center {
  border-color: rgba(229, 211, 179, 0.28);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.intro__highlight:hover {
  border-color: rgba(229, 211, 179, 0.45);
  transform: translateY(-4px);
}
.intro__highlight--center:hover {
  transform: translateY(-10px);
}
.intro__highlight-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.intro__highlight-title {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--gold-light);
}
.intro__highlight-desc {
  font-size: 0.78rem;
  color: var(--text-mute);
  line-height: 1.5;
}

/* ----------  SIMULATION NAVIGATEUR (portfolio & pricing)  ---------- */
.browser-mockup {
  border: 1px solid rgba(229, 211, 179, 0.18);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: #0d0d0d;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.browser-mockup__chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(180deg, #1a1a1a, #121212);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.browser-mockup__dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.browser-mockup__dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3a3a;
  font-style: normal;
}
.browser-mockup__dots i:nth-child(1) { background: #5c4a3a; }
.browser-mockup__dots i:nth-child(2) { background: #4a4a38; }
.browser-mockup__dots i:nth-child(3) { background: #3a4a38; }
.browser-mockup__url {
  flex: 1;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-mockup__frame {
  display: block;
  width: 100%;
  height: clamp(400px, 52vw, 540px);
  border: none;
  background: #fff;
}
.browser-mockup--sm .browser-mockup__frame {
  height: clamp(200px, 28vw, 260px);
  pointer-events: none;
}
.portfolio-card--sim {
  padding: 0;
  overflow: hidden;
}
.portfolio-card--sim .browser-mockup {
  border-radius: 18px 18px 0 0;
  border: none;
  box-shadow: none;
}
.portfolio-card--sim .portfolio-card__body {
  padding: clamp(1.2rem, 2.5vw, 1.6rem) clamp(1.4rem, 2.5vw, 1.8rem) clamp(1.4rem, 2.5vw, 1.8rem);
}
.portfolio-card__link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.portfolio-card__link:hover {
  color: var(--gold-bright);
  border-color: var(--gold-deep);
}
.plan--demo {
  padding-top: 0;
  overflow: hidden;
}
.plan--demo .browser-mockup {
  margin: 0 0 1.2rem;
  border-radius: 14px 14px 0 0;
}
.pillar-card__preview--mood::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.75), transparent 45%);
  pointer-events: none;
}
.pillar-card__preview--mood {
  position: relative;
}

/* ----------  SECTIONS VIVANTES (IA · Méthode · Pourquoi)  ---------- */
.section-live { overflow: hidden; }
.section-live__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: min(900px, 90vw);
  height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(201, 169, 106, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: sectionGlow 6s ease-in-out infinite alternate;
}
@keyframes sectionGlow {
  from { opacity: 0.5; transform: translateX(-50%) scale(1); }
  to { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

/* Flux IA animé */
.ia-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  max-width: 900px;
  padding: 1.2rem 1rem;
  border: 1px solid rgba(229, 211, 179, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.ia-flow__node {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.ia-flow__node span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--gold-deep);
  font-family: var(--serif);
  font-size: 0.62rem;
  color: var(--gold);
}
.ia-flow__line {
  width: clamp(24px, 4vw, 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
  animation: flowPulse 2.4s ease-in-out infinite;
}
.ia-flow__line:nth-child(4) { animation-delay: 0.4s; }
.ia-flow__line:nth-child(6) { animation-delay: 0.8s; }
@keyframes flowPulse {
  0%, 100% { opacity: 0.35; transform: scaleX(0.85); }
  50% { opacity: 1; transform: scaleX(1); }
}

.plan--live {
  position: relative;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.plan--live::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(201, 169, 106, 0.35), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.plan--live:hover::after,
.plan--live.is-visible::after { opacity: 1; }
.plan--live:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

/* Méthode — étapes animées */
.steps--live {
  position: relative;
}
.steps--live::before {
  content: "";
  position: absolute;
  top: 2.4rem;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), var(--gold-deep), transparent);
  opacity: 0.35;
  z-index: 0;
}
.step--live {
  position: relative;
  z-index: 1;
  padding: 1.6rem 1rem 0;
  border-top: none;
  transition: transform 0.45s var(--ease);
}
.step--live:hover { transform: translateY(-6px); }
.step__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(229, 211, 179, 0.25);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(229, 211, 179, 0.04);
  animation: iconFloat 4s ease-in-out infinite;
}
.step--live:nth-child(2) .step__icon { animation-delay: 0.5s; }
.step--live:nth-child(3) .step__icon { animation-delay: 1s; }
.step--live:nth-child(4) .step__icon { animation-delay: 1.5s; }
.step__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Pourquoi Valetta — cartes vivantes */
.card--live {
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card--live::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(229, 211, 179, 0.06), transparent 45%);
  opacity: 0;
  transition: opacity 0.55s var(--ease);
  pointer-events: none;
}
.card--live:hover::before,
.card--live.is-visible::before { opacity: 1; }
.card--live:nth-child(2) { transition-delay: 0.05s; }
.card--live:nth-child(3) { transition-delay: 0.1s; }

/* ----------  PÔLES (compléments)  ---------- */
.branch__kicker {
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.branch__range {
  margin: 1.6rem 0;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}

/* ----------  GRILLES  ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }

.card,
.feature {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}
.card:hover,
.feature:hover { border-color: rgba(229, 211, 179, 0.4); }
.card__num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-deep);
  display: block;
  margin-bottom: 0.8rem;
}
.card h3,
.feature h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--gold);
}
.card p,
.feature p { color: var(--text-dim); line-height: 1.7; font-size: 0.96rem; }

.card--visual {
  padding: 0 clamp(1.6rem, 3vw, 2.4rem) clamp(1.6rem, 3vw, 2.4rem);
  overflow: hidden;
}
.card__visual {
  margin: 0 calc(clamp(1.6rem, 3vw, 2.4rem) * -1) 1.4rem;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: var(--black-soft);
}
.card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card--visual .card__num { margin-top: 0; }

/* ----------  BENTO GRID — Ce qu'on installe  ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(168px, auto);
  gap: clamp(0.85rem, 2vw, 1.2rem);
  max-width: 1180px;
  margin: 0 auto;
}
.bento-card[data-bento="1"] { grid-column: 1 / 3; }
.bento-card[data-bento="2"] { grid-column: 3; }
.bento-card[data-bento="3"] { grid-column: 1; grid-row: 2; }
.bento-card[data-bento="4"] { grid-column: 2; grid-row: 2; }
.bento-card[data-bento="5"] { grid-column: 3; grid-row: 2 / 4; }
.bento-card[data-bento="6"] { grid-column: 1 / 3; grid-row: 3; }

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(229, 211, 179, 0.05), transparent 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.02), transparent);
  overflow: hidden;
  cursor: default;
}
.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-size: cover;
  background-position: center;
  transition: opacity 0.55s var(--ease), transform 0.65s var(--ease);
  z-index: 0;
}
.bento-card[data-bento="1"]::after { background-image: url("../assets/visuals/constat-03.svg"); background-size: cover; }
.bento-card[data-bento="2"]::after { background-image: url("../assets/visuals/constat-01.svg"); background-size: cover; }
.bento-card[data-bento="3"]::after { background-image: url("../assets/visuals/bento-03.svg"); background-size: cover; }
.bento-card[data-bento="4"]::after { background: radial-gradient(circle at 30% 30%, rgba(201,169,106,0.15), transparent 60%), linear-gradient(135deg, #141414, #0a0a0a); }
.bento-card[data-bento="5"]::after { background-image: url("../assets/visuals/constat-03.svg"); background-size: cover; }
.bento-card[data-bento="6"]::after { background: radial-gradient(circle at 70% 40%, rgba(229,211,179,0.12), transparent 55%), linear-gradient(160deg, #121212, #0a0a0a); }
.bento-card:hover::after { opacity: 0.22; transform: scale(1.04); }
.bento-card > * { position: relative; z-index: 1; }
.bento-card {
  transition:
    transform 0.55s var(--ease),
    border-color 0.55s var(--ease),
    box-shadow 0.55s var(--ease),
    background 0.55s var(--ease);
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(229, 211, 179, 0.14), transparent 42%);
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.bento-card:hover,
.bento-card.is-active {
  transform: translateY(-10px);
  border-color: rgba(229, 211, 179, 0.55);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(229, 211, 179, 0.12),
    0 0 50px rgba(229, 211, 179, 0.12);
}
.bento-card:hover::before,
.bento-card.is-active::before { opacity: 1; }

.bento-card__num {
  position: absolute;
  top: clamp(1rem, 2vw, 1.4rem);
  left: clamp(1.2rem, 2.2vw, 1.6rem);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(229, 211, 179, 0.22);
  transition: -webkit-text-stroke 0.5s var(--ease), opacity 0.5s var(--ease);
  pointer-events: none;
}
.bento-card:hover .bento-card__num,
.bento-card.is-active .bento-card__num {
  -webkit-text-stroke-color: rgba(229, 211, 179, 0.45);
  opacity: 0.35;
}
.bento-card__icon {
  position: absolute;
  top: clamp(1rem, 2vw, 1.35rem);
  right: clamp(1.2rem, 2.2vw, 1.6rem);
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
  transition: opacity 0.45s var(--ease), stroke 0.45s var(--ease), transform 0.45s var(--ease);
}
.bento-card:hover .bento-card__icon,
.bento-card.is-active .bento-card__icon {
  opacity: 1;
  stroke: var(--gold-bright);
  transform: scale(1.08);
}
.bento-card__title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  color: #f5f0e6;
  margin-top: auto;
  padding-top: 2.8rem;
  transition: color 0.45s var(--ease), letter-spacing 0.45s var(--ease);
}
.bento-card:hover .bento-card__title,
.bento-card.is-active .bento-card__title {
  color: var(--gold-bright);
  letter-spacing: 0.02em;
}
.bento-card__desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition:
    max-height 0.55s var(--ease),
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease),
    margin-top 0.45s var(--ease);
}
.bento-card:hover .bento-card__desc,
.bento-card.is-active .bento-card__desc {
  max-height: 140px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.75rem;
}

/* Micro-animations textuelles globales */
.section-head__title,
.bento-card__title {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}
.intro__title,
.section-head__title,
.card h3,
.plan__name,
.step h3,
.pillar-card__title,
.contact__title,
.bento-card__title {
  transition: letter-spacing 0.55s var(--ease), color 0.45s var(--ease), transform 0.45s var(--ease);
}
.section-head:hover .section-head__title,
.block:hover > .section-head .section-head__title {
  letter-spacing: 0.025em;
  color: var(--gold-bright);
}
.card:hover h3,
.plan:hover .plan__name,
.step:hover h3 {
  letter-spacing: 0.03em;
  color: var(--gold-bright);
}

.feature { border-radius: 0; border: none; border-left: 1px solid var(--line); border-radius: 0; }
.feature:hover { border-left-color: var(--gold); }

/* ----------  PRICING  ---------- */
.pricing__family {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: #f5f0e6;
  margin: clamp(2rem, 5vw, 3.4rem) 0 1.6rem;
  text-align: center;
}
.plan {
  position: relative;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--black-raise), var(--black-soft));
  display: flex;
  flex-direction: column;
  transition: border-color 0.55s var(--ease), box-shadow 0.55s var(--ease), transform 0.55s var(--ease);
}
.plan:hover {
  border-color: rgba(229, 211, 179, 0.35);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(229, 211, 179, 0.04);
}
.plan--reco {
  border-color: rgba(229, 211, 179, 0.45);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(229, 211, 179, 0.08);
}
.plan__badge {
  position: absolute;
  top: -0.7rem; right: 1.4rem;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-bright));
  color: #0a0a0a;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}
.plan__tier {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.8rem;
}
.plan__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.plan__pitch { color: var(--text-dim); line-height: 1.6; margin-bottom: 1.4rem; font-size: 0.96rem; }
.plan__price {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #f5f0e6;
  margin-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.plan__price span {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}
.plan__list { list-style: none; display: grid; gap: 0.8rem; margin-bottom: 2rem; flex: 1; }
.plan__list li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(245, 240, 230, 0.8);
  font-size: 0.92rem;
  line-height: 1.5;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 6px; height: 6px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.plan .btn-ghost { align-self: flex-start; }
.pricing__note {
  text-align: center;
  color: var(--text-mute);
  font-size: 0.86rem;
  line-height: 1.7;
  max-width: 60ch;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
}

/* ----------  MÉTHODE  ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.step { padding-top: 1.6rem; border-top: 1px solid var(--gold-deep); }
.step__num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}
.step h3 em { font-style: italic; color: var(--gold-deep); font-size: 0.9rem; }
.step p { color: var(--text-dim); line-height: 1.7; font-size: 0.94rem; }

/* ----------  ÉQUIPE  ---------- */
.member {
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}
.member__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold);
}
.member__role {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0.5rem 0 1.4rem;
}
.member__bio { color: var(--text-dim); line-height: 1.7; }

/* ----------  FAQ  ---------- */
.faq__list { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: #f5f0e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.4s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--gold);
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 300;
  transition: transform 0.4s var(--ease);
}
.faq details[open] summary { color: var(--gold); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  color: var(--text-dim);
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 70ch;
}

/* ----------  CONTACT (compléments)  ---------- */
.contact__emails {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.55rem 2rem;
  justify-content: flex-start;
  margin: 0.6rem 0 0.4rem;
}
.contact__emails a {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}
.contact__email--main {
  font-family: var(--serif);
  font-size: 1.05rem !important;
  letter-spacing: 0.06em !important;
  color: var(--gold-bright) !important;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(229, 211, 179, 0.25) !important;
  margin-bottom: 0.4rem;
}
.contact__emails a:hover { border-color: var(--gold); }
.contact__sub {
  color: var(--text-mute);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-top: 0.4rem;
}

/* ----------  FOOTER  ---------- */

/* Barre de progression de lecture */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 120;
  background: rgba(229, 211, 179, 0.06);
  pointer-events: none;
}
#scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  box-shadow: 0 0 12px rgba(229, 211, 179, 0.45);
  transition: width 0.12s linear;
}

/* Particules réseau IA — nœuds + connexions interactives */
#particles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
}

/* Curseur personnalisé */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.cursor__dot {
  position: absolute;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px rgba(229, 211, 179, 0.6);
}
.cursor__ring {
  position: absolute;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 1px solid rgba(229, 211, 179, 0.55);
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), border-color 0.45s var(--ease), opacity 0.45s var(--ease);
}
#cursor.is-hover .cursor__ring {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-color: rgba(243, 230, 205, 0.85);
  opacity: 0.95;
}

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: none !important;
  }
}

/* Glassmorphism + micro-animations sur les cartes de lecture */
.glass-card {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008)),
    rgba(14, 14, 15, 0.55) !important;
  transition:
    transform 0.55s var(--ease),
    border-color 0.55s var(--ease),
    box-shadow 0.55s var(--ease),
    background 0.55s var(--ease);
}
.glass-card:hover {
  background:
    linear-gradient(145deg, rgba(229, 211, 179, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(16, 16, 17, 0.78) !important;
  border-color: rgba(229, 211, 179, 0.5) !important;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(229, 211, 179, 0.14),
    0 0 55px rgba(229, 211, 179, 0.16),
    inset 0 1px 0 rgba(229, 211, 179, 0.1);
}
.glass-card h3,
.glass-card p,
.glass-card li,
.glass-card .plan__pitch,
.glass-card .pillar-card__desc,
.glass-card .founder__bio {
  transition: letter-spacing 0.55s var(--ease), color 0.55s var(--ease);
}
.glass-card:hover h3,
.glass-card:hover p,
.glass-card:hover li,
.glass-card:hover .plan__pitch,
.glass-card:hover .pillar-card__desc,
.glass-card:hover .founder__bio {
  letter-spacing: 0.025em;
}

/* =========================  RÉVÉLATIONS  ========================= */
.reveal { opacity: 0; transform: translateY(40px); }

.title-reveal {
  will-change: transform, opacity;
}

/* =========================  CHATBOT IA  ========================= */
.ai-chat {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1.2rem, 3vh, 2rem);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}
.ai-chat__fab {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(229, 211, 179, 0.45);
  background: rgba(10, 10, 10, 0.92);
  color: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(229, 211, 179, 0.08);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.ai-chat__fab:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(229, 211, 179, 0.72);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(229, 211, 179, 0.16);
}
.ai-chat__fab-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(229, 211, 179, 0.28);
  animation: aiFabRing 3.2s var(--ease) infinite;
}
.ai-chat__fab-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 211, 179, 0.22), transparent 68%);
  animation: aiFabPulse 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes aiFabPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.92); }
  50% { opacity: 0.85; transform: scale(1.08); }
}
@keyframes aiFabRing {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.06); }
}
.ai-chat__fab-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  position: relative;
  z-index: 1;
}
.ai-chat__panel {
  width: min(360px, calc(100vw - 2rem));
  max-height: min(480px, calc(100vh - 8rem));
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(12, 12, 13, 0.94);
  backdrop-filter: blur(18px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(229, 211, 179, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease), transform 0.45s var(--ease);
  overflow: hidden;
}
.ai-chat.open .ai-chat__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.ai-chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.ai-chat__head-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.ai-chat__status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ecf8f;
  box-shadow: 0 0 10px rgba(110, 207, 143, 0.55);
}
.ai-chat__title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}
.ai-chat__subtitle {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 0.15rem;
}
.ai-chat__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.ai-chat__close:hover { color: var(--gold); border-color: rgba(229, 211, 179, 0.4); }
.ai-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.ai-chat__msg {
  max-width: 92%;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
}
.ai-chat__msg--bot {
  align-self: flex-start;
  background: rgba(229, 211, 179, 0.08);
  border: 1px solid rgba(229, 211, 179, 0.14);
  color: var(--text-dim);
}
.ai-chat__msg--user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: #f5f0e6;
}
.ai-chat__form {
  display: flex;
  gap: 0.55rem;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--line);
}
.ai-chat__input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #f5f0e6;
  font-family: var(--sans);
  font-size: 0.82rem;
  padding: 0.65rem 1rem;
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.ai-chat__input:focus { border-color: rgba(229, 211, 179, 0.45); }
.ai-chat__send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(229, 211, 179, 0.35);
  background: rgba(229, 211, 179, 0.08);
  color: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.ai-chat__send:hover { background: rgba(229, 211, 179, 0.16); transform: scale(1.05); }
.ai-chat__send svg { width: 16px; height: 16px; fill: currentColor; }
.ai-chat.open .ai-chat__fab { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(0.85); }

/* =========================  RESPONSIVE  ========================= */
@media (max-width: 980px) {
  .grid-3,
  .grid-3--features,
  .steps { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar-card--ia { margin-top: 0; }
  .about-contact__grid { grid-template-columns: 1fr; }
  .about-contact__intro { position: static; }
  .founders { grid-template-columns: 1fr 1fr; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-card[data-bento="1"] { grid-column: 1 / 3; }
  .bento-card[data-bento="2"] { grid-column: 1; grid-row: 2; }
  .bento-card[data-bento="3"] { grid-column: 2; grid-row: 2; }
  .bento-card[data-bento="4"] { grid-column: 1; grid-row: 3; }
  .bento-card[data-bento="5"] { grid-column: 2; grid-row: 3; }
  .bento-card[data-bento="6"] { grid-column: 1 / 3; grid-row: 4; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card--featured .portfolio-card__visual { aspect-ratio: 16 / 10; }
  .intro__highlights { grid-template-columns: 1fr; }
  .intro__highlight--center { transform: none; }
  .intro__highlight--center:hover { transform: translateY(-4px); }
  .ia-flow { border-radius: 16px; gap: 0.6rem; }
  .ia-flow__line { display: none; }
  .steps--live::before { display: none; }
  .portfolio-grid,
  .portfolio-grid--duo { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero-tagline__title br { display: none; }
  .brand-lockup__val { font-size: clamp(1rem, 4.2vw, 1.18rem); }
  .brand-lockup__ag { font-size: clamp(0.52rem, 2.8vw, 0.62rem); letter-spacing: 0.38em; text-indent: 0.38em; }
  .brand-lockup__mark { width: 28px; height: 28px; }
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-card[data-bento="1"],
  .bento-card[data-bento="2"],
  .bento-card[data-bento="3"],
  .bento-card[data-bento="4"],
  .bento-card[data-bento="5"],
  .bento-card[data-bento="6"] {
    grid-column: 1;
    grid-row: auto;
  }
  .bento-card__desc {
    max-height: none;
    opacity: 1;
    transform: none;
    margin-top: 0.65rem;
  }
  .ai-chat { right: 1rem; bottom: 1rem; }
  .ai-chat__fab { width: 52px; height: 52px; }
  .grid-3,
  .grid-3--features,
  .grid-2,
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .nav__links a:not(.nav__cta) { display: none; }
  .footer { flex-direction: column; text-align: center; }
  .footer__meta { text-align: center; }
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founders { grid-template-columns: 1fr; }
  .founder__photo-wrap { margin: 0 auto; }
  .founder__linkedin { margin: 0 auto; }
  .intro__actions { flex-direction: column; }
}

/* =========================  MOUVEMENT RÉDUIT  ========================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint__line::after { animation: none; }
  .ai-chat__fab-pulse,
  .ai-chat__fab-ring { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  #top { opacity: 1 !important; transform: none !important; }
  .intro { --marble-reveal: 1; --crack-glow: 1; }
  .intro__marble-veins { animation: none; filter: none; }
  .intro__marble-cracks { display: none; }
  .intro > :not(.intro__marble) { opacity: 1 !important; transform: none !important; }
  body.has-custom-cursor,
  body.has-custom-cursor * { cursor: auto !important; }
  #cursor, #particles { display: none !important; }
  .glass-card:hover h3,
  .glass-card:hover p,
  .glass-card:hover li { letter-spacing: normal; }
  .hover-lift:hover,
  .card:hover,
  .feature:hover,
  .founder:hover,
  .plan:hover { transform: none; box-shadow: none; }
}
