/* =========================================================
   ATELIER 23 — styles propres au site
   Chargé APRÈS ./assets/main.css (template NextSaaS ai-kw-generator).
   Tout ce qui n'existe pas dans le CSS compilé du template va ici.
   ========================================================= */

:root {
  --a23-bg: #0b0b0e;
  --a23-bg-2: #121217;
  --a23-line: rgba(255, 255, 255, 0.1);
  --a23-text: rgba(255, 255, 255, 0.92);
  --a23-muted: rgba(255, 255, 255, 0.6);
  --a23-accent: #f2b48c; /* teinte chaude reprise des halos */
  --a23-sans: "Inter Tight", system-ui, sans-serif;
  --a23-display: "Inter Tight", system-ui, sans-serif;
  --a23-serif: "Instrument Serif", Georgia, serif;
  /* police de la 2e ligne du titre : passer à var(--a23-display) + normal pour une version 100 % tech */
  --a23-accent-font: var(--a23-serif);
  --a23-accent-style: italic;
  --a23-container: 1290px;
}

html, body { background: var(--a23-bg); color: var(--a23-text); }
main { position: relative; z-index: 1; }
body { font-family: var(--a23-sans); -webkit-font-smoothing: antialiased; }

.a23-container {
  width: 100%;
  max-width: var(--a23-container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- HEADER ---------- */
.a23-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .4s ease, border-color .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.a23-header.is-scrolled {
  background: linear-gradient(180deg, rgba(30, 26, 40, 0.55), rgba(18, 16, 24, 0.45));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 40px rgba(0, 0, 0, 0.25);
}
.a23-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.a23-logo {
  font-family: var(--a23-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.a23-logo span { font-family: var(--a23-serif); font-style: italic; font-weight: 400; font-size: 1.45rem; color: var(--a23-accent); }

.a23-nav { display: none; }
.a23-nav > ul { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.a23-nav li { position: relative; }
.a23-nav a, .a23-nav button {
  font-family: var(--a23-sans);
  font-size: 0.95rem;
  color: var(--a23-text);
  background: none;
  border: 0;
  padding: 30px 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .3s ease;
}
.a23-nav a:hover, .a23-nav button:hover { color: var(--a23-accent); }
.a23-nav .chevron { width: 10px; height: 10px; transition: transform .3s ease; }
.a23-nav li:hover .chevron, .a23-nav li:focus-within .chevron { transform: rotate(180deg); }

.a23-dropdown {
  position: absolute;
  top: calc(100% - 10px);
  left: -18px;
  min-width: 250px;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: var(--a23-bg-2);
  border: 1px solid var(--a23-line);
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.a23-nav li:hover > .a23-dropdown,
.a23-nav li:focus-within > .a23-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.a23-dropdown a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 0.9rem; color: var(--a23-muted); }
.a23-dropdown a:hover { background: rgba(255,255,255,.05); color: #fff; }

.a23-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--a23-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}
.a23-btn--light { background: #fff; color: #0b0b0e; }
.a23-btn--light:hover { background: var(--a23-accent); }
.a23-btn--ghost { border: 1px solid rgba(255,255,255,.25); color: #fff; }
.a23-btn--ghost:hover { border-color: #fff; }
.a23-btn svg { width: 16px; height: 16px; transition: transform .3s ease; }
.a23-btn:hover svg { transform: translateX(3px); }
.a23-header .a23-btn { height: 42px; padding: 0 20px; display: none; }

/* burger + menu mobile */
.a23-burger {
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--a23-line); border-radius: 999px; cursor: pointer;
}
.a23-burger span { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform .3s ease, opacity .3s ease; }
.menu-open .a23-burger span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.menu-open .a23-burger span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.a23-mobile {
  position: fixed;
  inset: 84px 0 0 0;
  z-index: 99;
  background: var(--a23-bg);
  padding: 24px 20px 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.menu-open .a23-mobile { opacity: 1; visibility: visible; }
.a23-mobile details { border-bottom: 1px solid var(--a23-line); }
.a23-mobile summary, .a23-mobile > a {
  display: block; padding: 18px 0; list-style: none; cursor: pointer;
  font-family: var(--a23-display); font-size: 1.35rem; color: #fff; text-decoration: none;
  border-bottom: 1px solid var(--a23-line);
}
.a23-mobile details summary { border-bottom: 0; }
.a23-mobile summary::-webkit-details-marker { display: none; }
.a23-mobile details a { display: block; padding: 8px 0 8px 12px; color: var(--a23-muted); text-decoration: none; }
.a23-mobile details[open] { padding-bottom: 14px; }
.a23-mobile .a23-btn { margin-top: 28px; width: 100%; }

@media (min-width: 1100px) {
  .a23-nav { display: block; }
  .a23-header .a23-btn { display: inline-flex; }
  .a23-burger, .a23-mobile { display: none; }
}

/* ---------- HERO ---------- */
.a23-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 150px 0 110px;
  background: transparent;
}
.a23-hero__light {
  position: absolute;
  top: 0;
  z-index: -1;
  width: min(62vw, 931px);
  pointer-events: none;
  user-select: none;
  mix-blend-mode: screen;
  opacity: 0;
  animation: a23-light-in 2.2s ease-out .2s forwards, a23-light-breathe 9s ease-in-out 2.4s infinite;
}
.a23-hero__light--left { left: 0; }
.a23-hero__light--right { right: 0; top: 0; animation-delay: .5s, 2.7s; }
.a23-hero__light img { display: block; width: 100%; height: auto; }

@keyframes a23-light-in { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes a23-light-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .7; } }



.a23-hero__content { text-align: center; }
.a23-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--a23-line);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  font-size: 0.85rem;
  letter-spacing: .02em;
  color: var(--a23-muted);
  margin-bottom: 34px;
}
.a23-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--a23-accent); }

.a23-hero h1 {
  font-family: var(--a23-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6.4vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #fff;
  margin: 0 auto;
}
@media (min-width: 768px) { .a23-hero h1, .a23-hero h1 em { white-space: nowrap; } }
.a23-hero h1 em {
  display: block;
  font-family: var(--a23-accent-font);
  font-style: var(--a23-accent-style);
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.06em;
  padding-bottom: .08em; /* évite que le dégradé coupe les jambages (p, g) */
}

/* dégradé animé dans le texte (repris du template decentralized-finance) */
.a23-gradient-text {
  /* motif répété : 1re et dernière couleur identiques -> boucle sans cassure */
  background-image: linear-gradient(90deg, #c9a3ff 0%, #ffc2ad 25%, #f2b48c 50%, #a585ff 75%, #c9a3ff 100%);
  background-size: 200% 100%;
  background-repeat: repeat-x;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: a23-text-flow 8s linear infinite;
}
/* avec une taille de 200 %, passer de 0 % à 200 % décale d'exactement une longueur de motif */
@keyframes a23-text-flow { from { background-position: 0% 0; } to { background-position: 200% 0; } }

.a23-hero__lead {
  max-width: 560px;
  margin: 34px auto 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: var(--a23-muted);
}
.a23-hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: 46px;
}

/* apparition progressive, sans dépendre du JS du template */
.a23-reveal { opacity: 0; transform: translateY(24px); animation: a23-reveal 1s cubic-bezier(.2,.7,.2,1) forwards; }
.a23-reveal--1 { animation-delay: .15s; }
.a23-reveal--2 { animation-delay: .35s; }
.a23-reveal--3 { animation-delay: .55s; }
.a23-reveal--4 { animation-delay: .75s; }
@keyframes a23-reveal { to { opacity: 1; transform: none; } }

.a23-scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  width: 1px; height: 56px; background: var(--a23-line); overflow: hidden;
}
.a23-scroll::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
  background: var(--a23-accent); animation: a23-scroll 2.2s ease-in-out infinite;
}
@keyframes a23-scroll { to { top: 100%; } }

/* ---------- LUMIÈRE D'AMBIANCE (fond fixe, bouge au scroll) ----------
   --p = progression du scroll (0 en haut, 1 en bas), mise à jour en JS. */
.a23-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  --p: 0;
}
.a23-ambient span {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
  transition: opacity .6s ease;
}
/* prune / mauve, inspiré de l'ambiance Creative Cloud */
.a23-ambient .g1 {
  width: 70vw; height: 60vh; left: 15vw; top: -20vh;
  background: radial-gradient(closest-side, rgba(110, 72, 140, .55), transparent);
  transform: translate3d(calc(var(--p) * -18vw), calc(var(--p) * 55vh), 0);
}
/* violet froid, côté droit */
.a23-ambient .g2 {
  width: 50vw; height: 55vh; right: -15vw; top: 35vh;
  background: radial-gradient(closest-side, rgba(70, 60, 130, .45), transparent);
  transform: translate3d(calc(var(--p) * -25vw), calc(var(--p) * -20vh), 0);
}
/* chaud, rappel des halos du hero */
.a23-ambient .g3 {
  width: 45vw; height: 45vh; left: -15vw; top: 70vh;
  background: radial-gradient(closest-side, rgba(170, 105, 75, .28), transparent);
  transform: translate3d(calc(var(--p) * 30vw), calc(var(--p) * -45vh), 0);
}

/* ---------- SECTIONS ---------- */
.a23-section { position: relative; padding: 120px 0; }
.a23-kicker {
  display: inline-block; margin-bottom: 18px;
  font-family: "IBM Plex Mono", monospace; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--a23-accent);
}
.a23-h2 {
  font-family: var(--a23-display); font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -0.035em;
  color: #fff; margin: 0; max-width: 18ch;
}
.a23-h2 em { font-family: var(--a23-serif); font-style: italic; letter-spacing: -0.01em; color: var(--a23-accent); }
.a23-intro { max-width: 560px; margin: 22px 0 0; color: var(--a23-muted); line-height: 1.65; font-size: 1.05rem; }
.a23-section__head { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }

/* ---------- CARTES « verre » ---------- */
.a23-grid { display: grid; gap: 16px; }
.a23-grid--2 { grid-template-columns: 1fr; }
.a23-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .a23-grid--2 { grid-template-columns: 1fr 1fr; } .a23-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .a23-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.a23-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .4s ease, transform .4s ease;
  --mx: 50%; --my: 0%;
}
/* reflet qui suit la souris */
.a23-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(190, 150, 220, .14), transparent 60%);
  opacity: 0; transition: opacity .4s ease;
}
.a23-card:hover { border-color: rgba(255,255,255,.16); transform: translateY(-3px); }
.a23-card:hover::before { opacity: 1; }
.a23-card h3 { font-family: var(--a23-display); font-weight: 400; font-size: 1.35rem; letter-spacing: -0.02em; color: #fff; margin: 0 0 12px; }
.a23-card p { margin: 0; color: var(--a23-muted); line-height: 1.6; }
.a23-card__num { display: block; margin-bottom: 40px; font-family: "IBM Plex Mono", monospace; font-size: .8rem; color: rgba(255,255,255,.35); }
.a23-card--lg { padding: 44px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; }
.a23-card--lg h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.a23-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 28px; color: #fff; text-decoration: none; font-size: .95rem; }
.a23-link:hover { color: var(--a23-accent); }

/* apparition au scroll */
.a23-in { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.a23-in.is-visible { opacity: 1; transform: none; }

/* ---------- FOOTER (provisoire) ---------- */
.a23-footer { position: relative; z-index: 1; border-top: 1px solid var(--a23-line); padding: 48px 0; color: var(--a23-muted); font-size: .9rem; }
.a23-footer__inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.a23-footer a { color: var(--a23-muted); text-decoration: none; }
.a23-footer a:hover { color: #fff; }

@media (max-width: 767px) {
  .a23-hero { padding: 130px 0 100px; }
  .a23-hero__light { width: 95vw; }
  .a23-hero__light--right { top: 30vh; }
  .a23-hero__actions .a23-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .a23-reveal, .a23-hero__light { animation: none; opacity: 1; transform: none; }
  .a23-hero__light { opacity: .85; }
  .a23-scroll::after { animation: none; }
  .a23-gradient-text { animation: none; }
  .a23-in { opacity: 1; transform: none; transition: none; }
  .a23-ambient span { transform: none; }
}
@media (max-width: 767px) { .a23-section { padding: 80px 0; } .a23-card, .a23-card--lg { padding: 28px; } }


/* =========================================================
   BLOC « HOW IT WORKS » — fond nuages (repris de ai-saas-software)
   ========================================================= */
.a23-how {
  position: relative;
  z-index: 1;
  background: url("../images/blocs/nuages.jpg") center / cover no-repeat;
  padding: 176px 0 200px;
  color: #0d0d12;
}
.a23-how__head { text-align: center; padding-bottom: 16px; margin-bottom: 56px; }
.a23-badge {
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px; padding: 2px 6px; border-radius: 4px;
  font-family: var(--a23-sans); font-size: .75rem; line-height: 1.5;
  color: rgba(13,13,18,.8); background: rgba(255,255,255,.5);
}
.a23-badge--dark { color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.a23-h2-center {
  font-family: var(--a23-display); font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.2; letter-spacing: -0.02em;
  margin: 0;
}
.a23-h2-center em { font-family: var(--a23-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.a23-how .a23-h2-center { color: rgba(13,13,18,.9); }
.a23-how .a23-h2-center em { color: rgba(13,13,18,.3); }

.a23-how__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .a23-how__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .a23-how__grid { grid-template-columns: repeat(3, 1fr); } }

.a23-how__card {
  min-height: 404px; padding: 8px; border-radius: 12px;
  background: rgba(255,255,255,.3);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
}
.a23-how__inner {
  position: relative; overflow: hidden;
  height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 42px; border-radius: 8px; background: #f8f9fa;
}
.a23-how__num { font-family: var(--a23-serif); font-size: 2.25rem; line-height: 1.3; color: #000; position: relative; z-index: 10; }
.a23-how__inner h3 { font-family: var(--a23-serif); font-weight: 400; font-size: 1.75rem; line-height: 1.4; color: #000; margin: 0; }
.a23-how__inner p { font-family: var(--a23-sans); font-size: 1rem; line-height: 1.5; color: rgba(13,13,18,.5); max-width: 250px; margin: 0; }
.a23-how__inner > div:last-child { position: relative; z-index: 10; }

/* carte 1 : éventail d'images */
.a23-fan { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.a23-fan figure { margin: 0 0 0 -16px; width: 100%; max-width: 82px; height: 98px; overflow: hidden; border-radius: 4px; }
.a23-fan figure:first-child { margin-left: 0; }
.a23-fan img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a23-fan .f1 { transform: translateY(-12px) rotate(-20deg); }
.a23-fan .f2 { transform: rotate(20deg); }
.a23-fan .f3 { position: relative; z-index: 10; transform: translateY(-28px) rotate(-8deg); }
.a23-fan .f4 { transform: rotate(19deg); }

/* cartes 2 et 3 : barre sombre façon champ de saisie */
.a23-bar { position: relative; z-index: 10; overflow: hidden; padding: 8px; border-radius: 12px; background: #0d1017; border: 1px solid rgba(124,142,165,.11); }
.a23-bar__field {
  position: relative; z-index: 10; width: 100%; box-sizing: border-box;
  padding: 11px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,.03);
  background: rgba(255,255,255,.05); color: #fff; font-family: var(--a23-sans); font-size: .875rem;
  backdrop-filter: blur(32px);
}
.a23-bar__field img { display: block; width: 100%; height: auto; padding: 0 16px; box-sizing: border-box; }
.a23-bar__glow { position: absolute; top: -50%; left: -10%; width: 80px; height: 80px; pointer-events: none; z-index: 5; }
.a23-bar__glow i, .a23-how__blob i { position: absolute; display: block; }
.a23-bar__glow i:first-child { inset: 0; border-radius: 80px; filter: blur(16.5px); background: linear-gradient(90deg, #ee9ca7, #ffdde1); opacity: .6; }
.a23-bar__glow i:last-child { top: 12px; left: 12px; width: 70%; height: 70%; border-radius: 43px; filter: blur(6.8px); background: linear-gradient(90deg, #f2709c, #ff9472); opacity: .7; }
.a23-how__blob { position: absolute; top: -50%; right: -50%; width: 378px; height: 378px; pointer-events: none; z-index: 5; }
.a23-how__blob i:first-child { inset: 0; border-radius: 378px; filter: blur(56px); background: linear-gradient(90deg, #ee9ca7, #ffdde1); }
.a23-how__blob i:last-child { top: 12px; left: 12px; width: 70%; height: 70%; border-radius: 43px; filter: blur(33px); background: linear-gradient(90deg, #f2709c, #ff9472); }

/* bouton carré sombre avec reflet qui glisse (template) */
.a23-btn-sq {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 4px;
  background: #12161f; border: 1px solid transparent;
  color: #f8f9fa; font-family: "IBM Plex Mono", monospace; font-size: 1rem; text-decoration: none;
  transition: border-color .3s ease, background-color .3s ease;
}
.a23-btn-sq::before {
  content: ""; position: absolute; top: 50%; left: -67%; width: 100%; height: 100%;
  transform: translateY(-50%) rotate(75deg); pointer-events: none;
  background: linear-gradient(180deg, hsla(21,63%,73%,0), hsla(0,0%,100%,.2) 50%, hsla(21,63%,73%,0));
}
.a23-btn-sq:hover { border-color: rgba(124,142,165,.2); }
.a23-btn-sq:hover::before { left: 70%; transition: left .8s ease-in-out; }
.a23-btn-sq svg { width: 18px; height: 18px; transition: transform .4s ease; }
.a23-btn-sq:hover svg { transform: translateX(3px); }
.a23-btn-sq--light { background: #f8f9fa; color: #0d0d12; }
.a23-center { display: flex; justify-content: center; margin-top: 56px; }

/* =========================================================
   BLOC INTÉGRATIONS — fond sombre, points animés sur les lignes
   ========================================================= */
.a23-integ { position: relative; padding: 176px 0; }
.a23-integ__head { text-align: center; max-width: 804px; margin: 0 auto 96px; }
.a23-integ .a23-h2-center { color: rgba(255,255,255,.92); }
.a23-integ .a23-h2-center em { color: rgba(255,255,255,.35); }
.a23-integ__head p { max-width: 400px; margin: 12px auto 0; font-size: 1rem; line-height: 1.5; color: rgba(255,255,255,.6); }

.a23-integ__map { position: relative; margin: 0 auto; max-width: 804px; height: 320px; }
@media (min-width: 640px) { .a23-integ__map { height: 380px; } }
@media (min-width: 768px) { .a23-integ__map { height: 424px; } }
.a23-integ__map svg.integration-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.a23-integ__map svg path { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1; }

.a23-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.a23-hub__ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 90px; height: 90px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1);
}
.a23-hub figure {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0;
  width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(90deg, #1cd8d2, #93edc7);
}
.a23-hub figure img { width: 44px; height: 44px; }
@media (min-width: 768px) { .a23-hub { width: 160px; height: 160px; } .a23-hub__ring { width: 120px; height: 120px; } }
@media (min-width: 1024px) { .a23-hub { width: 176px; height: 176px; } .a23-hub__ring { width: 136px; height: 136px; } .a23-hub figure { width: 96px; height: 96px; } .a23-hub figure img { width: 54px; height: 54px; } }

.a23-node {
  position: absolute; z-index: 10; display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 2rem;
  border: 1px solid rgba(255,255,255,.1); background: #15151b;
}
.a23-node::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 1.5rem; border: 1px solid rgba(255,255,255,.1);
}
.a23-node figure { margin: 0; width: 44px; height: 44px; border-radius: 1rem; background: rgba(255,255,255,.07); position: relative; }
.a23-node img { width: 100%; height: 100%; object-fit: cover; padding: 14px; box-sizing: border-box; display: block; }
.a23-node.l { left: 0; } .a23-node.r { right: 0; }
.a23-node.t { top: 8%; } .a23-node.m { top: 50%; transform: translateY(-50%); } .a23-node.b { bottom: 8%; }
@media (min-width: 640px) { .a23-node { width: 96px; height: 96px; } .a23-node::before { width: 80px; height: 80px; } .a23-node figure { width: 64px; height: 64px; } }
@media (min-width: 768px) {
  .a23-node { width: 112px; height: 112px; } .a23-node::before { width: 92px; height: 92px; } .a23-node figure { width: 72px; height: 72px; }
  .a23-node.t { top: -7%; } .a23-node.b { bottom: -7%; }
}

/* =========================================================
   BLOC TEXTE QUI S'ÉCLAIRE AU SCROLL — fond clair
   ========================================================= */
.a23-reveal-block { position: relative; z-index: 1; padding: 16px; }
.a23-reveal-block__box {
  max-width: 1600px; margin: 0 auto;
  border-radius: 28px;
  background: #f4f3f6;
  padding: clamp(90px, 12vw, 200px) 20px;
}
.a23-reveal-text {
  max-width: 900px; margin: 0 auto; text-align: center;
  font-family: var(--a23-display); font-weight: 300;
  font-size: clamp(1.8rem, 3.9vw, 3.4rem); line-height: 1.32; letter-spacing: -0.02em;
  color: #0d0d12;
}
.a23-reveal-text .w { opacity: .14; transition: opacity .25s linear; }

/* =========================================================
   BOUTONS (modèle « button v3 » de la démo saas, aux couleurs Atelier 23)
   La pastille glisse à droite et le texte à gauche au survol (atelier23.js).
   ========================================================= */
.a23-btn3 {
  display: inline-block;
  padding: 4px;
  border-radius: 99px;
  text-decoration: none;
  font-family: var(--a23-sans);
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .5s ease, box-shadow .5s ease;
}
.a23-btn3 > span { display: inline-flex; vertical-align: middle; transition: transform .7s cubic-bezier(.65,0,.35,1); }
.a23-btn3__icon {
  position: relative; z-index: 2;
  align-items: center; justify-content: center;
  width: 52px; height: 40px; box-sizing: border-box; padding: 8px 14px;
  border-radius: 99px;
}
.a23-btn3__icon svg { width: 24px; height: 24px; }
.a23-btn3__text { padding: 0 18px 0 14px; line-height: 40px; }

/* principal : prune profond, pastille et texte pêche */
.a23-btn3--primary { background: #33223f; color: #ffcfb4; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.a23-btn3--primary .a23-btn3__icon { background: linear-gradient(120deg, #ffc2ad, #f2b48c); color: #33223f; }
.a23-btn3--primary:hover { background: #3e2a4d; }

/* clair : blanc, pastille sombre aux points pêche */
.a23-btn3--light { background: #f8f6f9; color: #0d0d12; }
.a23-btn3--light .a23-btn3__icon { background: #0d0d12; color: #f2b48c; }
.a23-btn3--light:hover { box-shadow: 0 8px 30px rgba(201,163,255,.25); }

/* petit (header) */
.a23-btn3--sm { padding: 3px; font-size: .9rem; }
.a23-btn3--sm .a23-btn3__icon { width: 40px; height: 34px; padding: 6px 10px; }
.a23-btn3--sm .a23-btn3__icon svg { width: 20px; height: 20px; }
.a23-btn3--sm .a23-btn3__text { line-height: 34px; padding: 0 14px 0 10px; }

.a23-header__cta { display: none; }
@media (min-width: 1100px) { .a23-header__cta { display: inline-block; } }
.a23-mobile .a23-btn3 { margin-top: 28px; }
@media (max-width: 767px) { .a23-hero__actions .a23-btn3 { width: auto; } }

/* =========================================================
   BLOC SERVICES — liste + image qui suit la souris (ai-marketing-agency)
   ========================================================= */
.a23-svc { position: relative; padding: 176px 0; }
.a23-svc__medias { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.a23-svc__grid { display: grid; grid-template-columns: 1fr; gap: 56px 80px; }
@media (min-width: 1024px) { .a23-svc__grid { grid-template-columns: 1fr 1fr; } }
.a23-svc__head { max-width: 514px; }
@media (max-width: 1023px) { .a23-svc__head { margin: 0 auto; text-align: center; } }
.a23-svc__badge {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px;
  font-size: .75rem; color: rgba(255,255,255,.5);
}
.a23-svc__badge svg { width: 14px; height: 14px; fill: #c9a3ff; }
.a23-svc__title {
  font-family: var(--a23-serif); font-weight: 400;
  font-size: clamp(2.25rem, 3.6vw, 3.25rem); line-height: 1.2; letter-spacing: 0;
  color: rgba(255,255,255,.9); margin: 0 0 14px;
}
.a23-svc__lead { font-size: 1rem; line-height: 1.5; color: rgba(255,255,255,.6); margin: 0; }
.a23-svc__cta { padding-top: 72px; }
@media (max-width: 1023px) { .a23-svc__cta { padding-top: 36px; } }

.a23-svc__list > a + a { border-top: 1px solid rgba(255,255,255,.08); }
.a23-svc__item {
  position: relative; display: flex; gap: 16px; align-items: flex-start;
  padding: 32px 0; text-decoration: none;
  transition: padding-left .4s ease;
}
.a23-svc__item:hover { padding-left: 16px; }
.a23-svc__bg {
  position: absolute; left: 0; right: 0; top: 0; height: 0;
  background: #f4f3f6; transition: height .4s ease; z-index: 0;
}
.a23-svc__item:hover .a23-svc__bg { height: 100%; }
.a23-svc__icon, .a23-svc__txt { position: relative; z-index: 2; }
.a23-svc__icon { flex: none; width: 52px; height: 52px; color: rgba(255,255,255,.6); transition: color .4s ease; }
.a23-svc__icon svg { width: 100%; height: 100%; }
.a23-svc__txt { display: block; max-width: 465px; }
.a23-svc__t { display: block; font-family: var(--a23-display); font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.3; letter-spacing: -0.01em; color: rgba(255,255,255,.85); transition: color .4s ease; }
.a23-svc__d { display: block; margin-top: 4px; font-size: 1rem; line-height: 1.5; color: rgba(255,255,255,.6); transition: color .4s ease; }
.a23-svc__item:hover .a23-svc__icon, .a23-svc__item:hover .a23-svc__t { color: rgba(13,13,18,.9); }
.a23-svc__item:hover .a23-svc__d { color: rgba(13,13,18,.6); }
@media (max-width: 767px) { .a23-svc { padding: 96px 0; } .a23-svc__item { padding: 18px 0; } }

/* curseur image (ajouté au <body> par atelier23.js) */
.a23-svc-cursor {
  position: fixed; top: 0; left: 0; z-index: 50; pointer-events: none;
  width: 292px; height: 386px; border-radius: 12px; overflow: hidden; opacity: 0;
}
.a23-svc-cursor__inner { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; }
@media (hover: none) { .a23-svc-cursor { display: none; } }

/* Lenis (smooth scroll) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* =========================================================
   FOOTER (structure ai-solutions) + grand « ATELIER 23 » sur une ligne
   ========================================================= */
.a23-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.a23-foot { position: relative; z-index: 1; overflow: hidden; padding: 120px 0 30px; background: linear-gradient(to bottom, transparent, rgba(13,16,23,.85) 160px); }
.a23-foot__glow {
  position: absolute; right: -10%; bottom: -30%; width: 55vw; height: 55vw; max-width: 820px; max-height: 820px;
  border-radius: 50%; pointer-events: none; filter: blur(90px);
  background: radial-gradient(closest-side, rgba(165,133,255,.35), rgba(242,180,140,.12) 55%, transparent);
}
.a23-foot .a23-container { position: relative; z-index: 1; }
.a23-foot__news { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
@media (min-width: 1024px) { .a23-foot__news { flex-direction: row; justify-content: space-between; align-items: flex-start; text-align: left; } }
.a23-foot__news-title { margin: 0 0 4px; font-family: var(--a23-display); font-size: 1.5rem; letter-spacing: -0.03em; color: #dbe2e6; }
.a23-foot__muted { margin: 0; font-size: .875rem; line-height: 1.5; color: rgba(255,255,255,.5); text-decoration: none; }
a.a23-foot__muted:hover { color: #fff; text-decoration: underline; }
.a23-foot__form { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; }
.a23-foot__form input {
  width: 260px; max-width: 100%; height: 42px; box-sizing: border-box; padding: 0 18px;
  border-radius: 99px; border: 1px solid rgba(124,142,165,.3); background: transparent;
  color: #fff; font-family: var(--a23-sans); font-size: .95rem;
}
.a23-foot__form input::placeholder { color: rgba(255,255,255,.45); }
.a23-foot__form input:focus { outline: none; border-color: rgba(201,163,255,.6); }
.a23-foot__legal { margin: 12px 0 0; font-size: .75rem; color: rgba(255,255,255,.6); }
.a23-foot__legal a { color: #fff; font-weight: 500; text-decoration: none; }
.a23-foot__legal a:hover { text-decoration: underline; }

.a23-foot__line { height: 1px; margin: 48px auto; width: 0; background: rgba(255,255,255,.1); transition: width 2s cubic-bezier(.2,.7,.2,1) .3s; }
.a23-foot__line.is-visible { width: 100%; }
@media (min-width: 1024px) { .a23-foot__line { margin: 64px auto; } }

.a23-foot__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .a23-foot__grid { grid-template-columns: 1fr 2fr; gap: 24px; } }
.a23-foot__brand > * + * { margin-top: 24px; }
.a23-foot__brand .a23-logo { display: inline-block; margin-bottom: 8px; font-size: 1.5rem; }
.a23-foot__label { margin: 0 0 4px; font-size: 1rem; font-weight: 600; color: #dbe2e6; }
.a23-foot__socials { display: flex; gap: 14px; padding-top: 6px !important; list-style: none; margin: 0; padding: 0; }
.a23-foot__soc { display: inline-block; color: #fff; transition: transform .5s ease; }
.a23-foot__soc:hover { transform: translateY(-4px); }
.a23-foot__cols { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 640px) { .a23-foot__cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .a23-foot__col { text-align: right; } }
.a23-foot__h { margin: 0 0 8px; font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.9); }
.a23-foot__col ul { list-style: none; margin: 0; padding: 0; }
.a23-foot__col li { padding: 8px 0; }
.a23-foot__col a { font-size: .875rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color .5s ease; }
.a23-foot__col a:hover { color: #fff; }

/* grand mot-symbole : taille calculée en JS pour tenir sur UNE ligne, quelle que soit la largeur */
.a23-foot__mark-wrap { padding: 48px 0; overflow: hidden; }
@media (min-width: 1024px) { .a23-foot__mark-wrap { padding: 64px 0; } }
.a23-foot__mark {
  margin: 0; text-align: center; white-space: nowrap;
  font-family: var(--a23-display); font-weight: 600; text-transform: uppercase;
  font-size: 8vw; /* valeur de départ, ajustée par atelier23.js */
  line-height: 1.5; letter-spacing: .67em; padding-left: .67em; /* compense l'espace après la dernière lettre */
  color: #dbe2e6;
  opacity: .1; /* typo très effacée */
}
.a23-foot__mark .ch { display: inline-block; min-width: .6em; text-align: center; }
.a23-foot__mark .ch.sp { min-width: 0; width: .45em; }

.a23-foot__bottom {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .75rem; color: rgba(255,255,255,.5);
}
@media (min-width: 640px) { .a23-foot__bottom { flex-direction: row; } }
@media (min-width: 1024px) { .a23-foot__bottom { padding: 20px; } }
.a23-foot__bottom p { margin: 0; }
.a23-foot__bottom ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.a23-foot__bottom a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.a23-foot__bottom a:hover { color: #fff; }

/* =========================================================
   BRIEF — nouveaux blocs et ajustements
   ========================================================= */
.a23-card h3 em, .a23-h2 em { font-family: var(--a23-serif); font-style: italic; font-weight: 400; }
.a23-card h3 em { color: var(--a23-accent); letter-spacing: 0; }

/* 02 Références : défilement typographique */
.a23-refs { position: relative; padding: 40px 0 100px; }
.a23-refs__head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; margin-bottom: 36px; }
.a23-refs__title { margin: 0; font-family: var(--a23-display); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -0.02em; color: rgba(255,255,255,.9); }
.a23-refs__title em { font-family: var(--a23-serif); font-style: italic; color: rgba(255,255,255,.45); }
.a23-refs__note { margin: 0; font-size: .85rem; color: rgba(255,255,255,.45); }
.a23-marquee {
  overflow: hidden; border-top: 1px solid var(--a23-line); border-bottom: 1px solid var(--a23-line); padding: 28px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.a23-marquee { display: grid; gap: 22px; }
.a23-marquee__track { display: flex; width: max-content; gap: 44px; align-items: center; list-style: none; margin: 0; padding: 0;
  animation: a23-marquee var(--a23-marquee-dur, 60s) linear infinite; }
.a23-marquee__track--rev { animation-direction: reverse; }
.a23-marquee:hover .a23-marquee__track { animation-play-state: paused; }
.a23-marquee__track li { font-family: var(--a23-display); font-weight: 500; font-size: clamp(1.25rem, 2.1vw, 1.8rem); letter-spacing: -0.02em; color: rgba(255,255,255,.55); white-space: nowrap; transition: color .3s; }
.a23-marquee__track--rev li { font-family: var(--a23-serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: rgba(255,255,255,.42); }
.a23-marquee__track li:hover { color: #fff; }
.a23-marquee__track li.sep { font-family: var(--a23-sans); font-style: normal; font-size: 1rem; color: rgba(242,180,140,.6); }
@keyframes a23-marquee { to { transform: translateX(-50%); } }

/* 03 Duo */
.a23-duo__together { margin: 40px auto 0; max-width: 640px; text-align: center; font-family: var(--a23-serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.35; color: rgba(255,255,255,.75); }

/* 04 Expertises */
.a23-card--exp { display: flex; flex-direction: column; text-decoration: none; min-height: 260px; }
.a23-card--exp h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; }
.a23-card--exp p { flex: 1; }
.a23-card--exp .a23-link { margin-top: 24px; }

/* 05 Selected work : onglets + filtres */
.a23-explore { margin-top: 40px; }
.a23-explore__q { margin: 0 0 14px; font-family: var(--a23-serif); font-style: italic; font-size: 1.35rem; color: #fff; }
.a23-explore__q span { display: block; font-family: var(--a23-sans); font-style: normal; font-size: .9rem; color: rgba(255,255,255,.5); margin-top: 2px; }
.a23-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--a23-line); margin-bottom: 14px; }
.a23-tab { border: 0; background: none; cursor: pointer; padding: 8px 14px; border-radius: 99px; font-family: var(--a23-sans); font-size: .85rem; color: rgba(255,255,255,.6); transition: background-color .3s, color .3s; }
.a23-tab.is-active { background: #f8f6f9; color: #0d0d12; }
.a23-chips { display: none; flex-wrap: wrap; gap: 8px; }
.a23-chips.is-active { display: flex; }
@media (max-width: 1023px) { .a23-chips.is-active { justify-content: center; } }
.a23-chip {
  cursor: pointer; padding: 8px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03); color: rgba(255,255,255,.75); font-family: var(--a23-sans); font-size: .85rem;
  transition: border-color .3s, background-color .3s, color .3s;
}
.a23-chip:hover { border-color: rgba(255,255,255,.35); color: #fff; }
.a23-chip.is-active { background: linear-gradient(120deg, #ffc2ad, #f2b48c); border-color: transparent; color: #33223f; }
.a23-explore__reset { margin-top: 12px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--a23-accent); font-size: .85rem; text-decoration: underline; }
.a23-svc__item { transition: padding-left .4s ease, opacity .4s ease; }
.a23-svc__item.is-dim { opacity: .22; }
.a23-svc__item.is-match .a23-svc__t { color: #fff; }
.a23-work__empty { margin: 24px 0 0; color: rgba(255,255,255,.6); }
.a23-work__empty a { color: var(--a23-accent); }

/* Project Finder */
.a23-finder { position: relative; padding: 40px 0 160px; }
.a23-finder__box {
  max-width: 880px; margin: 0 auto; text-align: center; padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px);
  border-radius: 28px; border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.a23-finder .a23-h2-center { color: #fff; }
.a23-finder .a23-h2-center em { color: var(--a23-accent); }
.a23-finder__lead { max-width: 520px; margin: 14px auto 32px; color: var(--a23-muted); line-height: 1.6; }
.a23-finder__form {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 22px; border-radius: 99px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); transition: border-color .3s;
}
.a23-finder__form:focus-within { border-color: rgba(201,163,255,.55); }
.a23-finder__form input { flex: 1; min-width: 0; height: 40px; border: 0; background: none; color: #fff; font-family: var(--a23-sans); font-size: 1rem; outline: none; }
.a23-finder__form input::placeholder { color: rgba(255,255,255,.4); }
.a23-finder__hints { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.a23-finder__hints > span { width: 100%; font-size: .8rem; color: rgba(255,255,255,.45); margin-bottom: 4px; }
.a23-finder__result { min-height: 1.5em; margin: 22px 0 0; color: rgba(255,255,255,.75); }
.a23-finder__result a { color: var(--a23-accent); }

/* 06 Lab (bloc nuages) */
.a23-how__lead { max-width: 620px; margin: 16px auto 0; font-size: 1.05rem; line-height: 1.6; color: rgba(13,13,18,.6); }
.a23-how__lead strong { display: block; margin-top: 6px; font-weight: 500; color: rgba(13,13,18,.85); }
.a23-how__more { margin: 40px 0 0; text-align: center; color: rgba(13,13,18,.6); font-size: .95rem; }
.a23-how__more a { color: #0d0d12; text-decoration: none; border-bottom: 1px solid rgba(13,13,18,.3); }
.a23-how__more a:hover { border-color: #0d0d12; }
.a23-bar__field--type::after { content: "|"; margin-left: 2px; animation: a23-caret 1s steps(1) infinite; color: rgba(255,255,255,.6); }
@keyframes a23-caret { 50% { opacity: 0; } }
.a23-bar__field--split { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.a23-bar__field--split .vs { font-family: "IBM Plex Mono", monospace; font-size: .75rem; color: rgba(255,255,255,.5); }

/* Outils : centre « 23 » */
.a23-hub__mark span { font-family: var(--a23-serif); font-style: italic; font-size: 1.6rem; line-height: 1; letter-spacing: -0.02em; color: #33223f; }
@media (min-width: 1024px) { .a23-hub__mark span { font-size: 2.3rem; } }
.a23-hub figure.a23-hub__mark { background: linear-gradient(120deg, #c9a3ff, #ffc2ad 55%, #f2b48c); }

/* 07 Pourquoi */
.a23-why__grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: start; }
@media (min-width: 1024px) { .a23-why__grid { grid-template-columns: 5fr 7fr; gap: 80px; } }
.a23-why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--a23-line); }
@media (min-width: 640px) { .a23-why__list { grid-template-columns: 1fr 1fr; } }
.a23-why__list li { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--a23-line); }
@media (min-width: 640px) { .a23-why__list li:nth-child(odd) { border-right: 1px solid var(--a23-line); } .a23-why__list li:nth-child(even) { padding-left: 28px; } }
.a23-why__n { display: block; margin-bottom: 28px; font-family: "IBM Plex Mono", monospace; font-size: .8rem; color: var(--a23-accent); }
.a23-why__list h3 { margin: 0 0 8px; font-family: var(--a23-display); font-weight: 400; font-size: 1.35rem; letter-spacing: -0.02em; color: #fff; }
.a23-why__list p { margin: 0; color: var(--a23-muted); line-height: 1.55; }

/* 08 Contact */
.a23-cta { position: relative; padding: 160px 0 120px; text-align: center; }
.a23-cta__title { margin: 0 auto; max-width: 14ch; font-family: var(--a23-display); font-weight: 400; font-size: clamp(2.6rem, 6.4vw, 5.8rem); line-height: 1.02; letter-spacing: -0.045em; color: #fff; }
.a23-cta__title em { font-family: var(--a23-serif); font-style: italic; letter-spacing: -0.01em; padding-bottom: .08em; display: inline-block; }
.a23-cta__lead { max-width: 560px; margin: 28px auto 0; color: var(--a23-muted); font-size: 1.1rem; line-height: 1.6; }
.a23-cta__lead--strong { margin-top: 8px; font-family: var(--a23-serif); font-style: italic; font-size: 1.6rem; color: #fff; }
.a23-cta__actions { margin-top: 40px; display: flex; justify-content: center; }
.a23-node img[alt="ChatGPT"] { filter: invert(1) brightness(.92); } /* logo noir -> blanc sur fond sombre */

/* =========================================================
   BOUTONS v2 (choix final) — principal : verre rond + lueur violette sous le curseur
                              secondaire : lien souligné au dégradé du site
   Ces règles remplacent les boutons « pastille » plus haut.
   ========================================================= */
.a23-btn3,
.a23-btn3.a23-btn3--primary {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 26px; border-radius: 99px; box-sizing: border-box;
  font-family: var(--a23-sans); font-size: 1rem; font-weight: 500; white-space: nowrap; text-decoration: none; cursor: pointer;
  color: #fff;
  background: rgba(165,133,255,.10);
  border: 1px solid rgba(201,163,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: border-color .4s ease, background-color .4s ease, box-shadow .4s ease;
  --x: 50%; --y: 50%;
}
.a23-btn3::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(130px circle at var(--x) var(--y), rgba(165,133,255,.55), rgba(201,163,255,.15) 45%, transparent 72%);
  opacity: 0; transition: opacity .4s ease;
}
.a23-btn3:hover { border-color: rgba(201,163,255,.7); background: rgba(165,133,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 30px rgba(165,133,255,.18); }
.a23-btn3:hover::before { opacity: 1; }
.a23-btn3 > span { transform: none !important; }
.a23-btn3__arrow { width: 16px; height: 16px; flex: none; transition: transform .4s cubic-bezier(.65,0,.35,1); }
.a23-btn3:hover .a23-btn3__arrow { transform: translate(2px, -2px); }
.a23-btn3:focus-visible { outline: 2px solid #c9a3ff; outline-offset: 3px; }
.a23-btn3.a23-btn3--sm { height: 40px; padding: 0 20px; font-size: .9rem; }

/* sur le fond clair des nuages : verre sombre */
.a23-how .a23-btn3 { color: #fff; background: rgba(20,16,30,.78); border-color: rgba(20,16,30,.2); }
.a23-how .a23-btn3:hover { background: rgba(20,16,30,.9); border-color: rgba(165,133,255,.6); }

/* lien secondaire */
.a23-link2 {
  display: inline-block; padding: 6px 0 5px; text-decoration: none; white-space: nowrap;
  font-family: var(--a23-sans); font-size: 1rem; font-weight: 500; color: rgba(255,255,255,.75);
  background-image: linear-gradient(90deg, #c9a3ff, #ffc2ad), linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18));
  background-size: 0% 1px, 100% 1px; background-repeat: no-repeat; background-position: 0 100%, 0 100%;
  transition: background-size .45s cubic-bezier(.65,0,.35,1), color .3s ease;
}
.a23-link2:hover { color: #fff; background-size: 100% 1px, 100% 1px; }
.a23-link2:focus-visible { outline: 2px solid #c9a3ff; outline-offset: 4px; border-radius: 2px; }

.a23-hero__actions { align-items: center; gap: 22px; }
.a23-mobile .a23-btn3 { margin-top: 28px; width: 100%; }
.a23-foot__form .a23-btn3 { height: 42px; }
.a23-finder__form .a23-btn3 { height: 40px; }
.a23-header .a23-btn3.a23-header__cta { display: none; }
@media (min-width: 1100px) { .a23-header .a23-btn3.a23-header__cta { display: inline-flex; } }
.a23-hero__line { display: block; }

/* =========================================================
   LAB — configurateur
   ========================================================= */
.lab-hero { min-height: 88vh; }
.lab-config { position: relative; padding: 40px 0 120px; }
.lab-steps {
  position: relative; padding: clamp(28px, 5vw, 64px); border-radius: 28px;
  border: 1px solid rgba(255,255,255,.1); background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.lab-progress { position: absolute; left: 28px; right: 28px; top: 0; height: 2px; background: rgba(255,255,255,.06); border-radius: 2px; overflow: hidden; }
.lab-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #a585ff, #ffc2ad); transition: width .6s cubic-bezier(.65,0,.35,1); }
.lab-step { display: none; }
.lab-step.is-active { display: block; animation: lab-in .6s cubic-bezier(.2,.7,.2,1); }
@keyframes lab-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.lab-step__n { margin: 0 0 14px; font-family: "IBM Plex Mono", monospace; font-size: .8rem; color: var(--a23-accent); }
.lab-step .a23-h2 { max-width: none; margin-bottom: 40px; }
.lab-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lab-grid--4, .lab-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .lab-grid--4 { grid-template-columns: repeat(4, 1fr); } .lab-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.lab-opt {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; cursor: pointer;
  min-height: 140px; padding: 26px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03);
  color: #fff; font-family: var(--a23-sans); transition: border-color .35s, background-color .35s, transform .35s;
}
.lab-opt:hover:not(:disabled) { border-color: rgba(201,163,255,.6); background: rgba(165,133,255,.1); transform: translateY(-3px); }
.lab-opt.is-picked { border-color: #c9a3ff; background: rgba(165,133,255,.18); }
.lab-opt:disabled { cursor: default; opacity: .4; }
.lab-opt__t { font-family: var(--a23-display); font-size: 1.35rem; letter-spacing: -0.02em; }
.lab-opt__s { font-size: .9rem; color: var(--a23-muted); line-height: 1.45; }
.lab-opt__soon { position: absolute; top: 16px; right: 16px; font-family: "IBM Plex Mono", monospace; font-size: .7rem; color: rgba(255,255,255,.6); padding: 3px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; }
.lab-back { margin-top: 28px; background-color: transparent; border: 0; cursor: pointer; padding-left: 0; padding-right: 0; }

.lab-result__bar { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.lab-result__title { margin: 0; font-family: var(--a23-display); font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.02em; color: #fff; }
.lab-tons { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--a23-line); }
.lab-ton { border: 0; background: none; cursor: pointer; padding: 9px 16px; border-radius: 99px; color: rgba(255,255,255,.65); font: 500 .88rem var(--a23-sans); transition: background-color .3s, color .3s; }
.lab-ton:hover { color: #fff; }
.lab-ton.is-active { background: rgba(165,133,255,.28); color: #fff; box-shadow: inset 0 0 0 1px rgba(201,163,255,.6); }
.lab-browser { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #111; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.lab-browser__top { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: #1b1a20; border-bottom: 1px solid rgba(255,255,255,.08); }
.lab-browser__top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.lab-browser__top span { margin: 0 auto; padding: 4px 16px; border-radius: 8px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.6); font: .78rem "IBM Plex Mono", monospace; }
.lab-browser iframe { display: block; width: 100%; height: min(78vh, 760px); border: 0; background: #fff; }
.lab-result__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.lab-result__actions .lab-back { margin-top: 0; }
.lab-result__note { margin: 18px 0 0; font-size: .8rem; color: rgba(255,255,255,.45); }

/* =========================================================
   STUDIO — hero WebGL + profils
   ========================================================= */
.a23-duo-hero {
  position: relative; z-index: 1; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden;
  background: #190f1c url("../images/studio/duo-photo.webp") center / cover no-repeat;
}
.a23-duo-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; display: block; }
.a23-duo-hero.is-static canvas { display: none; }
.a23-duo-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; pointer-events: none; background: linear-gradient(to bottom, transparent, var(--a23-bg)); }
.a23-duo-hero__copy { position: absolute; top: 17%; left: 4%; right: 4%; z-index: 2; text-align: center; pointer-events: none; text-shadow: 0 2px 24px rgba(23,14,24,.9); }
.a23-duo-hero__copy .a23-eyebrow { background: rgba(20,14,23,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.a23-duo-hero h1 { margin: 0; font-family: var(--a23-display); font-weight: 400; font-size: clamp(2.2rem, 5.6vw, 5.9rem); line-height: 1.03; letter-spacing: -0.055em; color: #fff; }
.a23-duo-hero h1 em { display: block; font-family: var(--a23-serif); font-style: italic; letter-spacing: -0.01em; padding-bottom: .08em; }
.a23-duo-hero__hint { position: absolute; left: 5%; bottom: 28px; z-index: 2; margin: 0; font-family: "IBM Plex Mono", monospace; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); pointer-events: none; }
@media (hover: none) { .a23-duo-hero__hint { display: none; } }
@media (max-width: 600px) { .a23-duo-hero__copy { top: 20%; } }

.a23-profile { position: relative; padding: 80px 0; }
.a23-profile__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .a23-profile__grid { grid-template-columns: 5fr 7fr; gap: 90px; } .a23-profile--rev .a23-profile__visual { order: 2; } }
.a23-profile__visual {
  position: relative; aspect-ratio: 4 / 5; max-width: 460px; width: 100%; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); background: linear-gradient(160deg, rgba(165,133,255,.16), rgba(242,180,140,.08));
  display: grid; place-items: center;
}
.a23-profile__visual img { width: 100%; height: 100%; object-fit: cover; }
.a23-profile__initial { font-family: var(--a23-serif); font-style: italic; font-size: 12rem; line-height: 1; color: rgba(255,255,255,.14); }
.a23-profile__ph { position: absolute; bottom: 18px; left: 0; right: 0; margin: 0; text-align: center; font-family: "IBM Plex Mono", monospace; font-size: .72rem; color: rgba(255,255,255,.4); }
.a23-profile .a23-h2 { margin-bottom: 0; }
.a23-profile__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 28px 0 30px; padding: 0; }
.a23-profile__tags li { padding: 7px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: rgba(255,255,255,.75); }
.lab-tons[hidden] { display: none; }
