/* ══════════════════════════════════════════════
   ACTINUANCE — Secteurs : édition « Maison » (Luxe, Banque, Assurance, Industrie, Tech, Retail)
   Sobre et éditoriale : aubergine profonde et blanc,
   Raleway fine, filets d'un pixel, mouvements lents.
   Chargée après ax.css et ax-secteurs.css.
════════════════════════════════════════════════ */

.ax-maison {
  --lx-ink: #1b0f22;
  --lx-plum: #2a1236;
  --lx-plum-2: #371846;
  --lx-line: rgba(27, 15, 34, 0.14);
  --lx-line-d: rgba(255, 255, 255, 0.16);
  --lx-soft: #6b6370;
  --lx-gold: #f18847;
  --lx-ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  background: #fff;
}

.lx-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }

/* Étiquette en petites capitales espacées. */
.lx-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lx-soft);
}

.ax-maison main .lx-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--lx-ink);
}
.ax-maison main .lx-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--ax-purple);
}

/* ─── HERO ──────────────────────────────────────── */
/* Texte à gauche, picto du secteur (repris de l'accueil) à droite,
   cerclé du monogramme triangle qui se dessine. */
.lx-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--nav-height) + 40px) 0 120px;
  overflow: hidden;
  background: radial-gradient(70% 70% at 70% 45%, var(--lx-plum-2) 0%, var(--lx-plum) 55%, var(--lx-ink) 100%);
  color: #fff;
}
.lx-hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.lx-art { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: end; }
.lx-mono { position: absolute; inset: 0; pointer-events: none; }
.lx-mono svg { width: 100%; height: 100%; overflow: visible; }
.lx-mono path { fill: none; stroke-linejoin: round; }
.lx-mono .lx-m1 { stroke: rgba(255, 255, 255, 0.24); stroke-width: 1; }
.lx-mono .lx-m2 { stroke: url(#lxShine); stroke-width: 1.2; }
.lx-picto { position: absolute; left: 50%; top: 58%; width: 62%; transform: translate(-50%, -50%); }
.lx-picto svg { display: block; width: 100%; height: auto; overflow: visible; }

.lx-hero-copy { position: relative; }
.ax-maison main .lx-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.6rem, 5.2vw, 4.9rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #fff;
}
.ax-maison main .lx-hero h1 em { font-style: italic; font-weight: 400; color: #e3cdff; }
.ax-maison main .lx-hero h1 em.lx-sub {
  display: block;
  margin-top: 22px;
  font-size: 0.4em;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
}
.lx-rule {
  display: block;
  width: 64px;
  height: 1px;
  margin: 34px 0;
  background: var(--lx-gold);
  transform-origin: left;
}
.lx-hero-lead {
  max-width: 520px;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}
.lx-hero .ax-actions { margin-top: 42px; }

/* Bouton fin : contour, remplissage au survol. */
.lx-btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 34px;
  border: 1px solid currentColor;
  border-radius: 980px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.5s var(--lx-ease), color 0.5s var(--lx-ease), border-color 0.5s var(--lx-ease);
}
.lx-btn--light { color: #fff; }
.lx-btn--light:hover { background: var(--lx-gold); color: var(--lx-ink); border-color: var(--lx-gold); }
.lx-btn--solid { background: #fff; color: var(--lx-plum); border-color: #fff; }
.lx-btn--solid:hover { background: var(--lx-gold); color: var(--lx-ink); border-color: var(--lx-gold); }

.lx-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  width: 1px;
  height: 56px;
  background: linear-gradient(rgba(255, 255, 255, 0.6), transparent);
  transform: translateX(-50%);
}

@media (prefers-reduced-motion: no-preference) {
  .lx-hero-copy > * { animation: lx-in 1.6s var(--lx-ease) both; }
  .lx-hero-copy > :nth-child(2) { animation-delay: 0.15s; }
  .lx-hero-copy > :nth-child(3) { animation-delay: 0.5s; }
  .lx-hero-copy > :nth-child(4) { animation-delay: 0.65s; }
  .lx-hero-copy > :nth-child(5) { animation-delay: 0.8s; }
  .lx-rule { animation: lx-rule 1.6s var(--lx-ease) 0.4s both; }
  .lx-mono path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lx-draw 3.2s var(--lx-ease) forwards; }
  .lx-mono .lx-m2 { animation-delay: 0.5s; }
  .lx-picto { animation: lx-in 1.8s var(--lx-ease) 0.6s both; }
  .lx-scroll { animation: lx-breath 2.8s ease-in-out infinite; }
}
@keyframes lx-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes lx-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lx-draw { to { stroke-dashoffset: 0; } }
@keyframes lx-breath { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ─── BARRE DE SECTIONS : version sobre ─────────── */
.ax-maison .ax-over { margin-top: 0; border-radius: 0; background: #fff; }
.ax-maison .ax-subnav + .lx-sec { padding-top: clamp(150px, 15vw, 210px); }
.ax-maison .ax-subnav a.ax-subnav-cta { background: var(--lx-plum); color: #fff; }
.ax-maison .ax-subnav.is-docked .ax-subnav-bar { background: rgba(42, 18, 54, 0.94); border-color: rgba(255, 255, 255, 0.14); }
.ax-maison .ax-subnav.is-docked a.ax-subnav-cta { background: #fff; color: var(--lx-plum); }

/* ─── SECTIONS ──────────────────────────────────── */
.lx-sec { position: relative; padding-block: clamp(104px, 12vw, 176px); }

/* Priorités : titre collant à gauche, liste éditoriale à droite. */
.lx-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.lx-split-head { position: sticky; top: calc(var(--nav-height) + 56px); }
.lx-split-head .lx-label { display: block; margin-bottom: 28px; }
.lx-split-head .lx-title { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }

.lx-list { list-style: none; }
.lx-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 38px 0 40px;
}
.lx-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--lx-line);
  transform: scaleX(var(--lx-x, 1));
  transform-origin: left;
}
.lx-item:last-child { border-bottom: 1px solid var(--lx-line); }
.lx-item h3 {
  position: relative;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.4rem, 2.1vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--lx-ink);
  transition: transform 0.6s var(--lx-ease), color 0.6s var(--lx-ease);
}
.lx-item h3::before {
  content: '';
  position: absolute;
  top: 0.5em;
  left: -26px;
  width: 10px;
  height: 9px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--lx-gold);
  transform: scale(0);
  transition: transform 0.6s var(--lx-ease);
}
.lx-item:hover h3 { color: var(--ax-purple); }
.lx-item:hover h3::before { transform: scale(1); }
.lx-item p { max-width: 60ch; font-size: 1rem; line-height: 1.75; color: var(--lx-soft); }

/* Notre réponse : trois colonnes sur aubergine, séparées par des filets. */
.lx-dark { background: var(--lx-plum); color: #fff; }
.lx-dark .lx-label { color: rgba(255, 255, 255, 0.6); }
.ax-maison main .lx-dark .lx-title { color: #fff; }
.ax-maison main .lx-dark .lx-title em { color: #e3cdff; }
.lx-center { max-width: 820px; margin-inline: auto; text-align: center; }
.lx-center .lx-label { display: block; margin-bottom: 26px; }
.lx-center .lx-title { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }

.lx-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(64px, 8vw, 104px);
}
.lx-col { position: relative; padding: 8px clamp(24px, 3vw, 48px) 0; }
.lx-col + .lx-col::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--lx-line-d);
  transform: scaleY(var(--lx-col, 1));
  transform-origin: top;
}
.lx-num {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(3.4rem, 5vw, 4.6rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55);
}
.lx-col h3 {
  margin-top: 30px;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 400;
  line-height: 1.25;
  color: #fff;
}
.lx-col p { margin-top: 16px; font-size: 0.98rem; line-height: 1.75; color: rgba(255, 255, 255, 0.72); }

/* Exemples de mission : rendu injecté par script.js, en lignes fines. */
.ax-maison .lx-rex .luxe-rex-list { grid-template-columns: 1fr; gap: 0; margin-top: 56px; }
.ax-maison .lx-rex .luxe-rex-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--lx-line);
  border-radius: 0;
  background: none;
}
.ax-maison .lx-rex .luxe-rex-item:last-child { border-bottom: 1px solid var(--lx-line); }
.ax-maison .lx-rex a.luxe-rex-item:hover { background: none; }
.ax-maison .lx-rex .luxe-rex-media { aspect-ratio: 4 / 3; border-radius: 4px; background: var(--lx-plum); overflow: hidden; }
.ax-maison .lx-rex .luxe-rex-body { padding: 0; }
.ax-maison .lx-rex .luxe-rex-kicker { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--lx-soft); }
.ax-maison .lx-rex .luxe-rex-item h3 { font-weight: 400; font-size: 1.6rem; }
.ax-maison .lx-rex .luxe-rex-item .card-link { color: var(--ax-purple); letter-spacing: 0.04em; }
.ax-maison .lx-rex .luxe-rex-loading { grid-template-columns: 1fr; padding: 36px 0; }

/* Autres secteurs : index éditorial, une couleur par secteur.
   Numéro, nom, une ligne de description et le picto de l'accueil dans un
   carré de la couleur du secteur ; au survol, la ligne se remplit de cette couleur. */
.lx-index { list-style: none; margin-top: 56px; border-top: 1px solid var(--lx-line); }
.lx-index li { --c: var(--lx-plum); }
.lx-index a {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto 40px;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  padding: 22px clamp(8px, 2vw, 24px) 22px 4px;
  border-bottom: 1px solid var(--lx-line);
  overflow: hidden;
  isolation: isolate;
}
/* Filet de couleur à gauche, qui s'élargit en fond au survol. */
.lx-index a::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: 4px;
  background: var(--c);
  transition: width 0.6s var(--lx-ease);
}
.lx-index-n {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c);
  padding-left: 16px;
  transition: color 0.5s var(--lx-ease);
}
.lx-index-txt { display: grid; gap: 6px; transition: transform 0.6s var(--lx-ease); }
.lx-index strong {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--lx-ink);
  transition: color 0.5s var(--lx-ease);
}
.lx-index em {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--lx-soft);
  transition: color 0.5s var(--lx-ease);
}
.lx-index-pic {
  display: grid;
  place-items: center;
  width: clamp(72px, 8vw, 96px);
  aspect-ratio: 1;
  border-radius: 18px;
  background: var(--c);
  transition: transform 0.6s var(--lx-ease), background-color 0.5s ease;
}
.lx-index-pic { overflow: hidden; }
/* Les pictos de l'accueil ont beaucoup de marge et des traits très légers :
   on les zoome dans le carré et on les éclaircit pour qu'ils restent lisibles. */
.lx-index-pic svg { width: 150%; max-width: none; height: auto; filter: brightness(1.7) saturate(1.15); }
.lx-index-go {
  width: 40px;
  height: 40px;
  border: 1px solid var(--lx-line);
  border-radius: 50%;
  position: relative;
  transition: border-color 0.5s ease, transform 0.6s var(--lx-ease);
}
.lx-index-go::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid var(--lx-ink);
  border-right: 1.5px solid var(--lx-ink);
  transform: translateX(-2px) rotate(45deg);
  transition: border-color 0.5s ease;
}
.lx-index a:hover::before,
.lx-index a:focus-visible::before { width: 100%; }
.lx-index a:hover .lx-index-txt,
.lx-index a:focus-visible .lx-index-txt { transform: translateX(10px); }
.lx-index a:hover strong,
.lx-index a:focus-visible strong,
.lx-index a:hover .lx-index-n,
.lx-index a:focus-visible .lx-index-n { color: #fff; }
.lx-index a:hover em,
.lx-index a:focus-visible em { color: rgba(255, 255, 255, 0.82); }
.lx-index a:hover .lx-index-pic,
.lx-index a:focus-visible .lx-index-pic { transform: rotate(-6deg) scale(1.08); background-color: rgba(255, 255, 255, 0.14); }
.lx-index a:hover .lx-index-go,
.lx-index a:focus-visible .lx-index-go { border-color: rgba(255, 255, 255, 0.6); transform: translateX(6px); }
.lx-index a:hover .lx-index-go::after,
.lx-index a:focus-visible .lx-index-go::after { border-color: #fff; }

/* Contact. */
.lx-contact {
  padding: clamp(120px, 14vw, 200px) 24px;
  background: radial-gradient(60% 70% at 50% 100%, var(--lx-plum-2), var(--lx-plum) 60%, var(--lx-ink));
  color: #fff;
  text-align: center;
}
.lx-contact .lx-label { color: rgba(255, 255, 255, 0.6); }
.ax-maison main .lx-contact h2 {
  max-width: 14ch;
  margin: 26px auto 0;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.ax-maison main .lx-contact h2 em { font-style: italic; font-weight: 400; color: #e3cdff; }
.lx-contact p { max-width: 560px; margin: 24px auto 0; line-height: 1.75; color: rgba(255, 255, 255, 0.72); }
.lx-contact .ax-actions { justify-content: center; margin-top: 44px; }

/* ─── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1000px) {
  .lx-hero-inner { grid-template-columns: 1fr; }
  .lx-art { justify-self: start; max-width: 340px; }
  .lx-split { grid-template-columns: 1fr; }
  .lx-split-head { position: static; }
  .lx-cols { grid-template-columns: 1fr; gap: 56px; }
  .lx-col { padding: 0; }
  .lx-col + .lx-col::before { top: -28px; bottom: auto; width: 100%; height: 1px; }
}
@media (max-width: 760px) {
  .ax-maison .lx-rex .luxe-rex-item { grid-template-columns: 1fr; gap: 20px; }
  .lx-index a { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .lx-index-n { padding-left: 12px; }
  .lx-index-go { display: none; }
  .lx-index-pic { width: 60px; border-radius: 14px; }
}

/* Titres de section secondaires et section sans marge haute. */
.ax-maison main .lx-title--md { margin-top: 24px; font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.lx-sec--flush { padding-top: 0; }
