/*
 * Accueil AURORE V3 (1er octobre 2026, docs/refonte-aurore-v3/decisions.md), réaccordé à LEDGER le 5 octobre 2026. Le
 * seul écran au haut bleu profond quadrillé : l'introduction, puis une grande scène de diagramme CLAIRE qui chevauche le
 * bas du bleu (~37 px), puis des sections blanches. Repères : dégradé #0b1740 → #14286b, halo #2a56d9 à 51 % / 105 %,
 * grille de 44 px à 0,07, titre 52 px (36 px sur mobile) en Inter 700, accent #93c5fd. Depuis le 7 octobre 2026 : plus de
 * tarifs en bref ni carte d'aperçu — l'introduction, la scène du diagramme (animée), UNE section « processus » (sept
 * étapes, qui agit à chacune), la société, l'appel final. Mouvements (inspirés d'atlan.com) : cases du quadrillé qui
 * s'allument, halo qui respire, entrée des cartes, lueurs sur les liens — en CSS, discrets, absents sous « mouvement réduit ».
 */

/* ---- Introduction marine --------------------------------------------------------------------------------- */

/* Direction LEDGER (5 octobre 2026, puis décision d'Alexandre le même jour : « j'aimais bien avoir un peu de couleurs
   dans la page principale ») : le haut BLEU PROFOND quadrillé revient, dans la famille de bleus de Ledger — dégradé
   #0b1740 → #14286b (le bleu d'action #1d4ed8 poussé vers la nuit), halo #2a56d9, grille blanche à 0,07, accent #93c5fd.
   C'est le seul écran coloré : la scène du diagramme le chevauche, et tout le reste est clair. */
.au-hero {
  --au-grid: rgba(255, 255, 255, 0.07);
  position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center;
  margin: 0 calc(-1 * var(--au-bleed, 0px));
  padding: 60px var(--ln-gutter) 110px;
  background:
    radial-gradient(ellipse 62% 70% at 51% 105%, #2a56d9 0, rgba(42, 86, 217, 0) 70%),
    linear-gradient(180deg, #0b1740 0%, #14286b 100%);
}
.au-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--au-grid) 1px, transparent 1px), linear-gradient(90deg, var(--au-grid) 1px, transparent 1px);
  background-size: 44px 44px;
  /* Décalée de la demi-case du bandeau (66 − 44) pour continuer sa grille ; fondue sur les 90 derniers pixels pour
     qu'aucune rangée coupée n'apparaisse au bas du bleu, quelle que soit la hauteur du texte. */
  background-position: 0 -22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 90px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 90px), transparent);
}
/* Cases du quadrillé (44 px) qui s'allument puis s'éteignent, chacune à son rythme ; invisibles sans animation. */
.au-hero__cells { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.au-hero__cells span {
  position: absolute; width: 43px; height: 43px; opacity: 0;
  left: calc(var(--cx) * 44px + 1px); top: calc(var(--cy) * 44px - 21px);
  background: rgba(147, 197, 253, 0.26); box-shadow: 0 0 22px rgba(147, 197, 253, 0.28), inset 0 0 0 1px rgba(147, 197, 253, 0.35);
}
.au-hero__copy { position: relative; max-width: 760px; margin: 0 auto; }
.au-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ln-accent);
}
.au-hero .au-kicker::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.au-kicker--dark { color: var(--ln-accent); }
.au-hero .au-kicker { color: #93c5fd; }
.au-hero h1 { margin: 0; color: #fff; font-size: 52px; line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; }
.au-hero h1 span { color: #93c5fd; }
.au-hero__lead { margin: 20px auto 0; max-width: 36rem; color: #c7d2fe; font-size: 18px; line-height: 1.6; }
.au-hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 28px; }
.au-hero__fine { margin: 16px auto 0; max-width: 42rem; color: #b4c0ee; font-size: 13px; }

/* ---- Bandeau de l'accueil : bleu quadrillé en haut de page, blanc dès qu'on défile OU qu'on le survole, en fondu de
   600 ms (8 octobre 2026, courbe et comportement d'atlan.com) ------------------------------------------------------- */

.body--home .site-header { transition: background-color 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94), color 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.body--home .site-header .site-nav a, .body--home .site-header .site-session .ln-plain, .body--home .site-header .site-session .button, .body--home .site-header button.menu-toggle { transition: color 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.body--home .site-header:not(.is-scrolled):not(:hover) {
  --au-grid: rgba(255, 255, 255, 0.07);
  /* Pas de bordure visible au bas du bandeau bleu : à 66 px, elle se lisait comme une ligne de grille et coupait la case
     à cheval sur la jonction en deux rectangles. */
  background-color: #0b1740; color: #fff; border-bottom-color: transparent;
  background-image: linear-gradient(var(--au-grid) 1px, transparent 1px), linear-gradient(90deg, var(--au-grid) 1px, transparent 1px);
  background-size: 44px 44px;
  /* UNE grille continue du haut de la page au bas du bleu (décision du 8 octobre 2026) : le bandeau fait 1,5 case de
     haut (66 px, comme chez Atlan), sa grille part du haut, et l'introduction reprend la même grille décalée de 22 px —
     la case à cheval sur la jonction reste un carré, seule la couleur change. */
  background-position: 0 0;
}
.body--home .site-header__inner { min-height: 65px; box-sizing: border-box; } /* 65 + 1 px de bordure = 66 */
.site-header .brand__logo--white { display: none; }
.body--home .site-header:not(.is-scrolled):not(:hover) .brand__logo--color { display: none; }
.body--home .site-header:not(.is-scrolled):not(:hover) .brand__logo--white { display: inline-block; }
.body--home .site-header:not(.is-scrolled):not(:hover) .site-nav a { color: #dbe4ff; }
.body--home .site-header:not(.is-scrolled):not(:hover) .site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.body--home .site-header:not(.is-scrolled):not(:hover) .site-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.12); }
.body--home .site-header:not(.is-scrolled):not(:hover) .site-session .ln-plain { color: #dbe4ff; }
.body--home .site-header:not(.is-scrolled):not(:hover) .site-session .ln-plain:hover { color: #fff; }
.body--home .site-header:not(.is-scrolled):not(:hover) .site-session .button { background: #fff; color: var(--ln-accent-strong); border-color: #fff; }
.body--home .site-header:not(.is-scrolled):not(:hover) .site-session .button:hover { background: var(--ln-sky); border-color: var(--ln-sky); color: var(--ln-accent-strong); }
.body--home .site-header:not(.is-scrolled):not(:hover) button.menu-toggle { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: transparent; }
.body--home .site-header:not(.is-scrolled):not(:hover) .site-header__nav { border-top-color: rgba(255, 255, 255, 0.12); }

/* ---- Papier quadrillé sous le bleu (8 octobre 2026) : grille de 44 px à peine visible, quelques cases qui s'allument. */

.au-paper { position: relative; isolation: isolate; }
.au-paper::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(21, 36, 72, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 36, 72, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.au-paper__cells { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.au-paper__cells span {
  position: absolute; width: 43px; height: 43px; opacity: 0;
  left: calc(var(--cx) * 44px + 1px); top: calc(var(--cy) * 44px + 1px);
  background: rgba(24, 83, 207, 0.06); box-shadow: inset 0 0 0 1px rgba(24, 83, 207, 0.1);
}
/* Trois teintes qui alternent, comme chez atlan.com : bleu, vert, violet — toujours à peine posées. */
.au-paper__cells span:nth-child(3n+2) { background: rgba(61, 138, 99, 0.08); box-shadow: inset 0 0 0 1px rgba(61, 138, 99, 0.13); }
.au-paper__cells span:nth-child(3n) { background: rgba(124, 58, 237, 0.07); box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.12); }

/* ---- Boutons publics --------------------------------------------------------------------------------- */

.au-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 8px 18px;
  border: 1px solid transparent; border-radius: var(--ln-radius-sm); font-size: 14px; font-weight: 600; line-height: 1.3;
  text-decoration: none; cursor: pointer;
}
.au-button .ln-icon { width: 16px; height: 16px; }
/* Boutons COLORÉS (décision d'Alexandre, 5 octobre 2026) : sur le bleu profond, un bouton blanc au texte bleu d'action
   avec un halo ; ailleurs, le bleu d'action plein et un contour bleu — jamais un gris neutre sur l'accueil. */
.au-button--light { background: #fff; color: var(--ln-accent-strong); border-color: #fff; box-shadow: 0 0 22px rgba(147, 197, 253, 0.3); }
.au-button--light:hover { color: var(--ln-accent-strong); background: var(--ln-sky); border-color: var(--ln-sky); }
.au-button--quiet { color: #dbe4ff; padding-left: 4px; padding-right: 4px; }
.au-button--quiet:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.au-button--primary { background: var(--ln-accent); border-color: var(--ln-accent); color: #fff; box-shadow: 0 6px 18px rgba(29, 78, 216, 0.22); }
.au-button--primary:hover { background: var(--ln-accent-strong); border-color: var(--ln-accent-strong); color: #fff; }
.au-button--outline { background: #fff; border-color: var(--ln-sky-line); color: var(--ln-accent); }
.au-button--outline:hover { border-color: var(--ln-accent); background: var(--ln-sky); color: var(--ln-accent-strong); }
.au-hero .au-button:focus-visible { outline-color: #93c5fd; }
@media (prefers-reduced-motion: no-preference) {
  .au-button { transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
}

/* ---- Scène du diagramme -------------------------------------------------------------------------------- */

.au-stage-wrap {
  position: relative; margin: -74px 0 0; padding: 0 var(--ln-gutter);
  background:
    radial-gradient(ellipse 40% 60% at 15% 40%, rgba(191, 219, 254, 0.35), transparent 70%),
    radial-gradient(ellipse 40% 60% at 85% 50%, rgba(199, 210, 254, 0.35), transparent 70%);
}
.au-stage { max-width: 1160px; margin: 0 auto; }
.au-stage__card {
  background: #fff; border: 1px solid var(--ln-line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(11, 23, 64, 0.16);
}
.au-stage__title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 26px 34px 0;
  font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ln-node-muted); font-weight: 500;
}
.au-stage__title b { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ln-node-text); }
.au-stage__title .ln-icon { width: 12px; height: 12px; }
.au-diagram {
  position: relative; padding: 22px 34px 26px;
  background-image: linear-gradient(rgba(152, 172, 202, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(152, 172, 202, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}
.au-diagram__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.au-node {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-width: 0;
  background: #fff; border: 1px solid #dde5f3; border-radius: 12px; color: var(--ln-node-text);
  box-shadow: 0 1px 2px rgba(21, 36, 72, 0.05), 0 4px 14px rgba(21, 36, 72, 0.05);
}
.au-node--data { border-color: #d3e8dc; }
.au-node strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.au-node small { display: block; font-size: 13px; color: var(--ln-node-muted); line-height: 1.4; }
.au-node__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: #eef3ff; color: #3b63c9; box-shadow: inset 0 0 0 1px rgba(59, 99, 201, 0.12); }
.au-node__icon .ln-icon { width: 16px; height: 16px; }
.au-node--data .au-node__icon { background: #e8f5ee; color: #3d8a63; }
.au-node--external { border-style: dashed; border-color: #e3cdb4; }
.au-node--external .au-node__icon { background: #fff2e4; color: #c47a32; }
/* Les liens du schéma : trois fils pointillés (un par colonne) que des lueurs DESCENDENT — le sens des flux de données
   (8 octobre 2026, inspiré des faisceaux d'atlan.com). Le libellé flotte au centre. */
.au-wire { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; height: 46px; }
.au-wire__col { position: relative; }
.au-wire__col::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1.5px dashed var(--ln-wire); }
.au-wire__beam { position: absolute; left: calc(50% - 2px); top: 0; width: 4px; height: 18px; border-radius: 2px; opacity: 0;
  background: linear-gradient(180deg, rgba(91, 139, 255, 0), #5b8bff 55%, rgba(91, 139, 255, 0)); box-shadow: 0 0 10px rgba(91, 139, 255, 0.55); }
.au-wire__label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; white-space: nowrap;
  padding: 3px 11px; border: 1px solid var(--ln-line); border-radius: 999px; background: #fff; font-size: 12px; color: var(--ln-node-muted);
}
.au-hub {
  border: 1px solid var(--ln-hub-line); background: var(--ln-hub-bg); border-radius: 14px; padding: 16px 18px 18px;
  box-shadow: 0 6px 28px rgba(34, 91, 210, 0.1);
}
.au-hub__title { margin: 0 0 12px; text-align: center; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; color: var(--ln-hub-text); }
.au-hub__title span { color: var(--ln-accent); }
.au-hub__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.au-hub__item {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px;
  background: #fff; border: 1px solid #d6e0f5; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ln-node-text);
  box-shadow: 0 1px 2px rgba(21, 36, 72, 0.04);
}
.au-hub__item .ln-icon { width: 15px; height: 15px; color: #4a6fd1; }
.au-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 18px 0 0; padding: 0; font-size: 13px; color: var(--ln-node-muted); }
.au-legend li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.au-legend li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid #4a6fd1; }
.au-legend__data::before { border-color: #3d8a63 !important; }
.au-legend__external::before { border: 1.5px dashed #c47a32 !important; }
.au-stage__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 34px; border-top: 1px solid var(--ln-line); font-size: 14px; color: var(--ln-node-muted); background: #fff;
}
.au-stage__caption { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--ln-muted); }

/* Mouvements : cases du quadrillé, halo, entrée des cartes à l'arrivée de la scène (une fois), lueurs en boucle lente
   sur les liens. Tout vit ici, sous « mouvement non réduit » ; ailleurs la page est immobile et complète. */
@media (prefers-reduced-motion: no-preference) {
  .au-hero__cells span, .au-paper__cells span { animation: au-cell var(--t, 10s) ease-in-out var(--d, 0s) infinite; }
  /* Entrée de la scène (une fois) : la rangée du haut descend, le cœur et la rangée du bas montent, comme chez Atlan. */
  .au-stage.is-waiting .au-node, .au-stage.is-waiting .au-hub, .au-stage.is-waiting .au-wire { opacity: 0; }
  .au-stage.is-playing .au-node--interface { animation: au-slide-down 500ms ease both; animation-delay: calc(100ms + var(--au-delay, 0ms)); }
  .au-stage.is-playing .au-hub { animation: au-rise 500ms ease 450ms both; }
  .au-stage.is-playing .au-node--data, .au-stage.is-playing .au-node--external { animation: au-rise 500ms ease both; animation-delay: calc(200ms + var(--au-delay, 0ms)); }
  .au-stage.is-playing .au-wire { animation: au-fade-in 400ms ease 500ms both; }
  /* Puis le cycle de 8 s, du HAUT vers le BAS : boîtes du haut allumées (0–10 %), lueurs qui descendent les fils du haut
     (10–30 %), cœur allumé (30–44 %), lueurs sur les fils du bas (46–66 %), boîtes du bas allumées (68–80 %). */
  .au-stage.is-playing .au-node--interface { animation: au-slide-down 500ms ease both, au-node-glow 8s ease-in-out 1.2s infinite; animation-delay: calc(100ms + var(--au-delay, 0ms)), 1.2s; }
  .au-wire--in .au-wire__beam { animation: au-beam-top 8s linear 1.2s infinite; animation-delay: calc(1.2s + var(--k, 0) * 220ms); }
  .au-stage.is-playing .au-hub { animation: au-rise 500ms ease 450ms both, au-hub-glow 8s ease-in-out 1.2s infinite; }
  .au-wire--out .au-wire__beam { animation: au-beam-bottom 8s linear 1.2s infinite; animation-delay: calc(1.2s + var(--k, 0) * 220ms); }
  .au-stage.is-playing .au-node--data, .au-stage.is-playing .au-node--external { animation: au-rise 500ms ease both, au-node-glow-late 8s ease-in-out 1.2s infinite; animation-delay: calc(200ms + var(--au-delay, 0ms)), 1.2s; }
  .au-timeline.is-waiting .au-timeline__item { opacity: 0; transform: translateY(14px); }
  .au-timeline.is-playing .au-timeline__item { animation: au-rise 600ms ease-out both; animation-delay: calc(var(--i, 0) * 140ms); }
  .au-timeline__flow { animation: au-flow 9s linear 1.2s infinite; }
  /* Le halo bleu de l'introduction s'allume à l'arrivée, puis respire lentement. */
  .au-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse 50% 60% at 51% 100%, rgba(96, 140, 255, 0.22), transparent 70%);
    animation: au-glow 1700ms ease-out both, au-breathe 9s ease-in-out 1700ms infinite;
  }
}
@keyframes au-glow { from { opacity: 0; } to { opacity: 1; } }
@keyframes au-breathe { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes au-cell { 0%, 62%, 100% { opacity: 0; } 70%, 86% { opacity: 1; } }
@keyframes au-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes au-slide-down { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes au-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes au-node-glow { 0%, 100% { box-shadow: 0 1px 2px rgba(21, 36, 72, 0.05), 0 4px 14px rgba(21, 36, 72, 0.05); } 3%, 10% { box-shadow: 0 0 0 2px rgba(34, 91, 210, 0.38), 0 6px 30px rgba(34, 91, 210, 0.3); } 16% { box-shadow: 0 1px 2px rgba(21, 36, 72, 0.05), 0 4px 14px rgba(21, 36, 72, 0.05); } }
@keyframes au-beam-top { 0%, 10%, 32%, 100% { opacity: 0; top: 0; } 12% { opacity: 1; top: 0; } 26% { opacity: 1; } 30% { opacity: 0; top: calc(100% - 18px); } }
@keyframes au-hub-glow { 0%, 28%, 100% { box-shadow: 0 6px 28px rgba(34, 91, 210, 0.1); } 32%, 42% { box-shadow: 0 0 0 4px rgba(34, 91, 210, 0.16), 0 10px 48px rgba(34, 91, 210, 0.38); } 48% { box-shadow: 0 6px 28px rgba(34, 91, 210, 0.1); } }
@keyframes au-beam-bottom { 0%, 46%, 68%, 100% { opacity: 0; top: 0; } 48% { opacity: 1; top: 0; } 62% { opacity: 1; } 66% { opacity: 0; top: calc(100% - 18px); } }
@keyframes au-node-glow-late { 0%, 66%, 100% { box-shadow: 0 1px 2px rgba(21, 36, 72, 0.05), 0 4px 14px rgba(21, 36, 72, 0.05); } 70%, 78% { box-shadow: 0 0 0 2px rgba(34, 91, 210, 0.38), 0 6px 30px rgba(34, 91, 210, 0.3); } 84% { box-shadow: 0 1px 2px rgba(21, 36, 72, 0.05), 0 4px 14px rgba(21, 36, 72, 0.05); } }
@keyframes au-flow { 0% { opacity: 0; top: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { opacity: 0; top: calc(100% - 72px); } }

/* ---- Sections blanches ------------------------------------------------------------------------------------ */

.au-section { max-width: 1160px; margin: 0 auto; padding: 72px var(--ln-gutter) 0; }
.au-section h2 { font-size: 32px; line-height: 1.16; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 14px; }
.au-section--center { text-align: center; }
.au-section__lead { max-width: 34rem; margin: 0 auto; color: var(--ln-muted); }
/* La frise du processus : sept étapes le long d'un fil vertical que descend une lueur — vous, l'IA, le logiciel.
   Cartes alternées de part et d'autre sur grand écran, en colonne sur téléphone ; apparition à l'arrivée. */
.au-timeline { position: relative; list-style: none; margin: 36px auto 0; padding: 6px 0; max-width: 960px; text-align: left; }
.au-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--ln-line); }
.au-timeline__flow { position: absolute; left: 50%; top: 0; width: 4px; height: 72px; margin-left: -2px; border-radius: 2px; opacity: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(91, 139, 255, 0), #5b8bff 55%, rgba(91, 139, 255, 0)); box-shadow: 0 0 12px rgba(91, 139, 255, 0.55); }
.au-timeline__item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); align-items: start; margin: 0; }
/* Les cartes alternent de côté : chacune remonte un peu sur la précédente, la frise reste lisible et prend moins de hauteur. */
.au-timeline__item + .au-timeline__item { margin-top: -42px; }
.au-timeline__dot {
  grid-column: 2; justify-self: center; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--ln-line);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--ln-muted);
}
.au-timeline__item--ai .au-timeline__dot { background: var(--ln-accent); border-color: var(--ln-accent); color: #fff; box-shadow: 0 0 0 6px rgba(24, 83, 207, 0.12); }
.au-timeline__item--software .au-timeline__dot { border-color: #3d8a63; color: #2f6f4e; }
.au-timeline__card { grid-column: 1; justify-self: end; width: 100%; max-width: 470px; padding: 13px 16px; background: #fff; border: 1px solid var(--ln-line); border-radius: var(--ln-radius-lg); box-shadow: 0 8px 24px rgba(21, 36, 72, 0.06); }
.au-timeline__item:nth-child(even) .au-timeline__card { grid-column: 3; justify-self: start; }
.au-timeline__item--ai .au-timeline__card { border-color: #c7d7ff; background: linear-gradient(180deg, #f6f9ff, #fff); }
.au-timeline__head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.au-timeline__icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: #eef1f5; color: var(--ln-muted); }
.au-timeline__icon .ln-icon { width: 16px; height: 16px; }
.au-timeline__item--ai .au-timeline__icon { background: var(--ln-sky); color: var(--ln-accent-strong); }
.au-timeline__item--software .au-timeline__icon { background: #e8f5ee; color: #2f6f4e; }
.au-timeline__who {
  display: inline-flex; align-items: center; min-height: 22px; padding: 2px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: #eef1f5; color: var(--ln-muted);
}
.au-timeline__item--ai .au-timeline__who { background: var(--ln-accent); color: #fff; }
.au-timeline__item--software .au-timeline__who { background: #e8f5ee; color: #2f6f4e; }
.au-timeline h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; color: var(--ln-title); line-height: 1.3; }
.au-timeline__card p:last-child { margin: 0; color: var(--ln-muted); font-size: 14px; line-height: 1.5; }
.au-timeline__more { margin: 32px 0 0; color: var(--ln-muted); }
.au-timeline__more a { margin: 0 4px; }

.au-advice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ln-line); }
.au-advice h3 { margin: 0 0 6px; }
.au-advice p { margin: 0; color: var(--ln-muted); max-width: 46rem; }

.au-final {
  max-width: 1160px; margin: 72px auto 56px; padding: 36px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  background: #f4f7ff; border: 1px solid #e2e9f8; border-radius: var(--ln-radius-lg);
}
@media (min-width: 1240px) { .au-final { margin-left: auto; margin-right: auto; } }
.au-final h2 { margin: 0 0 6px; font-size: 28px; line-height: 1.2; }
.au-final p { margin: 0; color: var(--ln-muted); }

/* ---- Petits écrans ---------------------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .au-timeline::before, .au-timeline__flow { left: 20px; }
  .au-timeline__item { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
  .au-timeline__item + .au-timeline__item { margin-top: 14px; }
  .au-timeline__dot { grid-column: 1; }
  .au-timeline__card, .au-timeline__item:nth-child(even) .au-timeline__card { grid-column: 2; max-width: none; }
}
@media (max-width: 720px) {
  .au-hero { padding-top: 40px; padding-bottom: 96px; }
  .au-hero h1 { font-size: 36px; }
  .au-hero__lead { font-size: 16px; }
  /* Sur téléphone (8 octobre 2026, décision d'Alexandre) : le schéma est retiré — empilé sur une colonne, il ne disait plus
     rien et prenait toute la hauteur ; l'introduction se termine alors sans chevauchement. */
  .au-stage-wrap { display: none; }
  .au-hero { padding-bottom: 72px; }
  .au-section { padding-top: 56px; }
  .au-section h2 { font-size: 28px; }
  .au-final { margin: 56px var(--ln-gutter) 40px; padding: 28px 22px; }
}

/* Vidéo de démonstration (8 octobre 2026) : après le processus, cadre 16:9 sans débordement, notes et transcription repliée. */
.au-video__frame { max-width: 1100px; margin: 28px auto 0; border-radius: 14px; overflow: hidden; background: #0b1740; box-shadow: 0 18px 48px rgba(11, 23, 64, 0.18); }
.au-video__frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0b1740; }
.au-video__notes { margin: 16px 0 0; color: var(--ln-muted); font-size: var(--ln-text-sm, 0.9rem); }
.au-video__transcript { max-width: 760px; margin: 18px auto 0; text-align: left; }
.au-video__transcript summary { cursor: pointer; color: var(--ln-primary, #1853cf); font-weight: 600; }
.au-video__transcript p { margin: 12px 0 0; color: var(--ln-muted); }
