/* Diagnostic de visibilité – L'Agence Libérale
   Direction artistique : fonds photo sombres, titres capitales très grasses blanc + violet,
   cartes blanches très arrondies, liens « >> » violets en capitales.
   Toutes les règles sont préfixées par .aldv pour ne pas interférer avec le thème. */

.aldv {
  --aldv-violet: #8A1CDB;
  --aldv-violet-soft: #F1E6FC;
  --aldv-night: #1B191F;
  --aldv-ink: #111014;
  --aldv-text: #2B2930;
  --aldv-muted: #6A6672;
  --aldv-line: #E7E4EC;
  --aldv-ok: #2E7559;
  --aldv-mid: #B07212;
  --aldv-low: #B23A3A;
  --aldv-r: 28px;
  --aldv-display-stack: var(--aldv-display, "Poppins", "Montserrat", "Arial Black", "Helvetica Neue", Arial, sans-serif);

  max-width: 1120px;
  margin: 0 auto;
  color: var(--aldv-text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.aldv *, .aldv *::before, .aldv *::after { box-sizing: border-box; }
.aldv p, .aldv h2, .aldv h3, .aldv h4, .aldv ul, .aldv ol { margin: 0; }

/* Scène sombre façon photo assombrie du site */
.aldv-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--aldv-r);
  background-color: var(--aldv-night);
  background-image: linear-gradient(rgba(22, 20, 26, .82), rgba(22, 20, 26, .9)), var(--aldv-photo, none);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.aldv-stage-in { max-width: 980px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) clamp(18px, 4vw, 48px); }

/* Titres : capitales, graisse maximale, deuxième partie en violet */
.aldv-title {
  font-family: var(--aldv-display-stack);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 6vw, 4rem);
  color: #fff;
  text-align: center;
}
.aldv-title span { display: block; }
.aldv-v { color: var(--aldv-violet); }
h3.aldv-title { font-size: clamp(1.6rem, 4vw, 2.6rem); }
.aldv-kicker { max-width: 60ch; margin: 18px auto 0 !important; text-align: center; color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.aldv-kicker strong { color: #fff; font-size: 1.15rem; }

/* Cartes blanches */
.aldv-card { background: #fff; color: var(--aldv-text); border-radius: var(--aldv-r); padding: clamp(24px, 3.5vw, 40px); }
.aldv-card-title { font-family: var(--aldv-display-stack); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.3rem; line-height: 1.1; color: var(--aldv-ink); }
.aldv-muted { color: var(--aldv-muted); margin-top: 8px !important; }

/* Formulaires */
.aldv-form { max-width: 620px; margin: 36px auto 0; display: grid; gap: 20px; }
.aldv-gate form, .aldv-contact-form { display: grid; gap: 16px; margin-top: 20px; }
.aldv-field { display: grid; gap: 6px; }
.aldv-field > span { font-weight: 700; color: var(--aldv-ink); font-size: .95rem; }
.aldv-field em { font-weight: 400; font-style: normal; color: var(--aldv-muted); }
.aldv-field small { color: var(--aldv-muted); font-size: .85rem; }
.aldv input[type="url"], .aldv input[type="email"], .aldv input[type="tel"], .aldv textarea {
  width: 100%; padding: 14px 16px; font: inherit; color: var(--aldv-ink);
  background: #F7F6F9; border: 2px solid transparent; border-radius: 14px; box-shadow: none; resize: vertical;
}
.aldv input:focus, .aldv textarea:focus { outline: none; border-color: var(--aldv-violet); background: #fff; }
.aldv-check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .86rem; color: var(--aldv-muted); }
.aldv-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--aldv-violet); }
.aldv-check a { color: var(--aldv-violet); font-weight: 600; }
.aldv-error { color: var(--aldv-low); font-size: .92rem; font-weight: 600; }

.aldv-btn {
  justify-self: start;
  padding: 15px 28px;
  font-family: var(--aldv-display-stack); font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1;
  color: #fff; background: var(--aldv-violet); border: 0; border-radius: 999px; cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.aldv-btn:hover { filter: brightness(1.1); }
.aldv-btn:active { transform: translateY(1px); }
.aldv-btn:focus-visible, .aldv-turn:focus-visible, .aldv-arrow:focus-visible, .aldv-ghost:focus-visible, .aldv-track:focus-visible { outline: 3px solid var(--aldv-violet); outline-offset: 3px; }
.aldv-btn:disabled { opacity: .6; cursor: progress; }

/* Progression */
.aldv-duo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: 36px; align-items: start; }
.aldv-meter { height: 6px; margin-bottom: 10px; background: var(--aldv-violet-soft); border-radius: 6px; overflow: hidden; }
.aldv-meter span { display: block; height: 100%; width: 0; background: var(--aldv-violet); transition: width .5s ease; }
.aldv-steps { list-style: none; padding: 0; }
.aldv-step { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--aldv-line); font-size: .94rem; }
.aldv-step:last-child { border-bottom: 0; }
.aldv-step-state { font-size: .8rem; color: var(--aldv-muted); }
.aldv-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #CFCBD6; }
.aldv-step.is-running .aldv-dot { width: 12px; height: 12px; border-color: var(--aldv-violet); border-top-color: transparent; animation: aldv-spin .9s linear infinite; }
.aldv-step.is-running .aldv-step-state { color: var(--aldv-violet); font-weight: 600; }
.aldv-step.is-done .aldv-dot { background: var(--aldv-violet); border-color: var(--aldv-violet); }
.aldv-step.is-na .aldv-dot { background: #CFCBD6; border-color: #CFCBD6; }
.aldv-step.is-done .aldv-step-label, .aldv-step.is-na .aldv-step-label { color: var(--aldv-muted); }
@keyframes aldv-spin { to { transform: rotate(360deg); } }

/* Bilan : scores */
.aldv-scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; margin-top: 40px; }
.aldv-score { text-align: center; }
.aldv-score-sub { margin-top: 4px !important; font-size: .86rem; color: var(--aldv-muted); }
.aldv-gauge { position: relative; max-width: 240px; margin: 16px auto 0; }
.aldv-gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.aldv-g-track, .aldv-g-fill { fill: none; stroke-width: 16; stroke-linecap: round; }
.aldv-g-track { stroke: var(--aldv-violet-soft); }
.aldv-g-fill { stroke: var(--aldv-violet); transition: stroke-dashoffset 1.4s cubic-bezier(.22, .8, .25, 1); }
.aldv-gauge-value { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: baseline; gap: 2px; color: var(--aldv-ink); }
.aldv-num { font-family: var(--aldv-display-stack); font-weight: 900; font-size: 3.4rem; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.aldv-of { font-weight: 600; color: var(--aldv-muted); }
.aldv-band { margin-top: 12px !important; font-family: var(--aldv-display-stack); font-weight: 800; text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; }
.aldv-score--good .aldv-band { color: var(--aldv-ok); }
.aldv-score--mid .aldv-band { color: var(--aldv-mid); }
.aldv-score--low .aldv-band { color: var(--aldv-low); }
.aldv-score--na .aldv-band { color: var(--aldv-muted); }
.aldv-coverage { margin-top: 2px !important; font-size: .8rem; color: var(--aldv-muted); }
.aldv-synth { max-width: 62ch; margin: 32px auto 0 !important; text-align: center; font-size: 1.12rem; line-height: 1.6; color: #fff; }

/* Bilan : carrousel de cartes à retourner */
.aldv-issues { margin-top: 64px; }
.aldv-issues-head { display: grid; gap: 18px; justify-items: center; }
.aldv-nav { display: flex; align-items: center; gap: 14px; }
.aldv-count { min-width: 64px; text-align: center; font-weight: 600; color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; }
.aldv-count b { color: #fff; }
.aldv-count i { font-style: normal; }
.aldv-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); background: transparent; color: #fff;
  font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px;
}
.aldv-arrow:hover:not(:disabled) { background: var(--aldv-violet); border-color: var(--aldv-violet); }
.aldv-arrow:disabled { opacity: .3; cursor: default; }

.aldv-track {
  list-style: none; padding: 26px 4px 8px; margin: 0 -4px;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 2);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.aldv-track::-webkit-scrollbar { display: none; }
.aldv-slide { scroll-snap-align: start; perspective: 1400px; }
.aldv-flip { display: grid; height: 100%; transition: transform .6s cubic-bezier(.3, .7, .2, 1); transform-style: preserve-3d; }
.aldv-flip.is-turned { transform: rotateY(180deg); }
.aldv-face {
  grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; gap: 14px;
  min-height: 360px; padding: 30px 30px 24px; border-radius: var(--aldv-r);
  background: #fff; color: var(--aldv-text);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.aldv-back { transform: rotateY(180deg); background: var(--aldv-violet); color: #fff; }
.aldv-back { gap: 8px; }
.aldv-back .aldv-cons { margin-bottom: 8px !important; }
.aldv-face-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.aldv-theme { font-family: var(--aldv-display-stack); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: .78rem; color: var(--aldv-violet); }
.aldv-back .aldv-theme { color: rgba(255, 255, 255, .8); }
.aldv-imp { padding: 5px 12px; font-size: .74rem; font-weight: 700; border-radius: 999px; color: var(--aldv-muted); background: #F1EFF4; }
.aldv-w3 .aldv-imp { color: #fff; background: var(--aldv-low); }
.aldv-w2 .aldv-imp { color: #fff; background: var(--aldv-mid); }
.aldv-issue-title { font-family: var(--aldv-display-stack); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.35rem; line-height: 1.08; color: var(--aldv-ink); }
.aldv-obs { font-size: 1rem; color: var(--aldv-text); }
.aldv-cons { font-size: 1.05rem; line-height: 1.55; font-weight: 500; }
.aldv-explain { font-size: .95rem; line-height: 1.5; color: rgba(255, 255, 255, .88); margin-bottom: 4px !important; }
.aldv-tech { padding: 10px 12px; border-radius: 12px; background: #F4F1F8; font-size: .82rem; line-height: 1.45; color: #3D3946; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.aldv-tech span { display: block; margin-bottom: 2px; font-family: var(--aldv-display-stack); font-weight: 800; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--aldv-violet); }
.aldv-turn {
  align-self: flex-start; margin-top: auto; padding-top: 6px !important; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--aldv-display-stack); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: .95rem; color: var(--aldv-violet);
}
.aldv-turn--back { color: #fff; }
.aldv-face-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; }
.aldv-face-foot .aldv-turn { margin-top: 0; padding-top: 0 !important; }
.aldv-pos { font-size: .8rem; font-weight: 600; color: #B4AFBC; }
.aldv-back .aldv-pos { color: rgba(255, 255, 255, .65); }

/* Accroche */
.aldv-hook {
  max-width: 30ch; margin: 34px auto 0 !important; padding: 22px 28px; text-align: center;
  font-family: var(--aldv-display-stack); font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.25;
  color: #fff; border: 2px solid var(--aldv-violet); border-radius: 22px;
}
.aldv-scene {
  max-width: 720px; margin: 40px auto 0; padding: clamp(22px, 4vw, 36px);
  border-radius: var(--aldv-r);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
}
.aldv-scene-label { text-align: center; font-family: var(--aldv-display-stack); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .74rem; color: rgba(255, 255, 255, .6); }
.aldv-chat { display: grid; gap: 14px; margin-top: 20px; }
.aldv-bubble { max-width: 82%; padding: 14px 18px; font-size: 1rem; line-height: 1.45; }
.aldv-bubble--user { justify-self: end; background: var(--aldv-violet); color: #fff; border-radius: 20px 20px 6px 20px; font-weight: 500; }
.aldv-bubble--ai { justify-self: start; background: #fff; color: var(--aldv-text); border-radius: 20px 20px 20px 6px; }
.aldv-bot { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; background: var(--aldv-ink); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.aldv-bubble-note { font-size: .8rem; color: var(--aldv-muted); }
.aldv-cited { list-style: none; padding: 0; margin-top: 8px !important; display: grid; gap: 6px; }
.aldv-cited li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--aldv-ink); }
.aldv-cited li::before { content: ""; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--aldv-ok); }

.aldv-maps { margin-top: 20px; padding: 16px; border-radius: 20px; background: #fff; color: var(--aldv-text); }
.aldv-search { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; background: #F2F0F5; font-weight: 600; color: var(--aldv-ink); }
.aldv-lens { width: 13px; height: 13px; border: 2px solid var(--aldv-muted); border-radius: 50%; position: relative; flex: 0 0 13px; }
.aldv-lens::after { content: ""; position: absolute; width: 2px; height: 6px; background: var(--aldv-muted); right: -4px; bottom: -5px; transform: rotate(-45deg); }
.aldv-maps-list { list-style: none; padding: 0; margin-top: 8px !important; }
.aldv-maps-list li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--aldv-line); }
.aldv-maps-list li:last-child { border-bottom: 0; }
.aldv-maps-rank { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--aldv-ink); color: #fff; font-size: .78rem; font-weight: 700; }
.aldv-maps-name { font-weight: 700; color: var(--aldv-ink); }
.aldv-maps-meta { font-size: .82rem; color: var(--aldv-muted); white-space: nowrap; }

.aldv-verdict { margin-top: 28px; text-align: center; }
.aldv-verdict .aldv-title { font-size: clamp(1.9rem, 5vw, 3rem); }
.aldv-verdict-sub { margin-top: 12px !important; color: rgba(255, 255, 255, .75); }

/* Apparition en séquence : question, réponse, verdict */
.aldv-seq { animation: aldv-in .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d) * .7s + .3s); }
@keyframes aldv-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Cartes regroupées */
.aldv-headline { font-weight: 700; font-size: 1.05rem; line-height: 1.4; color: var(--aldv-ink); }
.aldv-subs { list-style: none; padding: 0; display: grid; gap: 10px; }
.aldv-subs li { display: grid; grid-template-columns: 10px 1fr; gap: 10px; align-items: start; font-size: .9rem; line-height: 1.45; }
.aldv-subs strong { color: var(--aldv-ink); font-weight: 700; }
.aldv-sdot { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--aldv-low); }
.aldv-subs .is-ok .aldv-sdot { background: var(--aldv-ok); }
.aldv-mini { display: block; margin-top: 4px; padding: 0; background: none; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .76rem; line-height: 1.4; color: #7A7484; overflow-wrap: anywhere; }

/* Face aux confrères */
.aldv-comp { margin-top: 20px; }
.aldv-table-wrap { margin-top: 18px; overflow-x: auto; }
.aldv-comp table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .93rem; }
.aldv-comp th, .aldv-comp td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--aldv-line); font-variant-numeric: tabular-nums; }
.aldv-comp thead th { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--aldv-muted); }
.aldv-comp tbody th { font-weight: 600; color: var(--aldv-ink); }
.aldv-comp td:not(:first-child), .aldv-comp thead th:not(:first-child) { text-align: center; }
.aldv-comp tr.is-self th, .aldv-comp tr.is-self td { background: var(--aldv-violet-soft); color: var(--aldv-ink); font-weight: 700; border-bottom: 0; }
.aldv-comp tr.is-self th { border-radius: 12px 0 0 12px; }
.aldv-comp tr.is-self td:last-child { border-radius: 0 12px 12px 0; }
.aldv-you { margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--aldv-violet); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; vertical-align: 1px; }
.aldv-more-wrap { margin-top: 18px; text-align: center; }

/* Bilan : points forts, en bref */
.aldv-strengths { margin-top: 56px; }
.aldv-small-title { text-align: center; font-family: var(--aldv-display-stack); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.aldv-strengths ul { list-style: none; padding: 0; margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.aldv-strengths li { padding: 20px 22px; border-radius: 20px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); font-size: .9rem; }
.aldv-ok-head { display: flex; gap: 10px; align-items: center; color: #fff; margin-bottom: 8px; }
.aldv-ok-head strong { font-weight: 700; line-height: 1.25; }
.aldv-strengths .aldv-tech { margin-top: 12px !important; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); }
.aldv-strengths .aldv-tech span { color: rgba(255, 255, 255, .55); }
.aldv-more { margin-top: 14px !important; text-align: center; color: rgba(255, 255, 255, .6); font-size: .88rem; }
.aldv-mark { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; background: var(--aldv-ok); position: relative; }
.aldv-mark::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Bilan : contact */
.aldv-contact { margin-top: 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.aldv-contact .aldv-title { text-align: left; color: var(--aldv-ink); }
.aldv-contact-text > p { margin-top: 16px !important; font-size: 1.05rem; }
.aldv-contact-alt { display: flex; flex-wrap: wrap; gap: 6px; color: var(--aldv-muted); }
.aldv-link { font-family: var(--aldv-display-stack); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: var(--aldv-violet); text-decoration: none; }
.aldv-link:hover { text-decoration: underline; }
.aldv-contact-form .aldv-btn { justify-self: stretch; }
.aldv-done { display: flex; gap: 12px; align-items: flex-start; padding: 22px; border-radius: 18px; background: var(--aldv-violet-soft); color: var(--aldv-ink); }

/* Non évalué, actions */
.aldv-na { margin-top: 32px; padding: 14px 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .7); font-size: .88rem; }
.aldv-na summary { cursor: pointer; font-weight: 600; color: #fff; }
.aldv-na ul { margin-top: 10px; padding-left: 18px; }
.aldv-na li { margin: 4px 0; }
.aldv-na strong { color: #fff; }
.aldv-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 28px; }
.aldv-ghost { padding: 6px 0; border: 0; background: none; color: rgba(255, 255, 255, .75); font: inherit; font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.aldv-ghost:hover { color: #fff; }

@media (max-width: 640px) {
  .aldv-comp table { min-width: 0; }
  .aldv-comp thead { display: none; }
  .aldv-comp table, .aldv-comp tbody { display: block; }
  .aldv-comp tr { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 12px; padding: 14px 12px; border-bottom: 1px solid var(--aldv-line); }
  .aldv-comp tbody th { grid-column: 1 / -1; padding: 0; border: 0; }
  .aldv-comp td { padding: 0; border: 0; text-align: left !important; font-size: .88rem; }
  .aldv-comp td::before { content: attr(data-l); display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--aldv-muted); }
  .aldv-comp tr.is-self { background: var(--aldv-violet-soft); border-radius: 14px; border-bottom: 0; margin-top: 6px; }
  .aldv-comp tr.is-self th, .aldv-comp tr.is-self td { background: none; border-radius: 0; }
}
@media (max-width: 760px) {
  .aldv-bubble { max-width: 92%; }
  .aldv-maps-list li { grid-template-columns: 26px 1fr; }
  .aldv-maps-meta { grid-column: 2; }
  .aldv-duo, .aldv-contact { grid-template-columns: 1fr; }
  .aldv-track { grid-auto-columns: 86%; gap: 14px; }
  .aldv-face { min-height: 400px; padding: 26px 22px 24px; }
  .aldv-stage { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .aldv-g-fill, .aldv-meter span, .aldv-flip { transition: none; }
  .aldv-track { scroll-behavior: auto; }
  .aldv-step.is-running .aldv-dot { animation: none; }
  .aldv-seq { animation: none; }
}
@media print {
  .aldv-stage { background: #fff !important; color: var(--aldv-ink); border-radius: 0; }
  .aldv-title, .aldv-kicker, .aldv-kicker strong, .aldv-synth, .aldv-small-title, .aldv-strengths li, .aldv-na, .aldv-na summary, .aldv-na strong { color: var(--aldv-ink) !important; }
  .aldv-card, .aldv-face { border: 1px solid var(--aldv-line); }
  .aldv-nav, .aldv-face-foot, .aldv-actions, .aldv-contact-form, .aldv-more-wrap { display: none !important; }
  .aldv-hook, .aldv-verdict .aldv-title, .aldv-verdict-sub, .aldv-scene-label { color: var(--aldv-ink) !important; }
  .aldv-seq { animation: none; }
  .aldv-scene { border-color: var(--aldv-line); }
  .aldv-track { display: block; overflow: visible; padding: 0; }
  .aldv-slide { margin-top: 12px; break-inside: avoid; perspective: none; }
  .aldv-flip, .aldv-flip.is-turned { display: block; transform: none; }
  .aldv-face { min-height: 0; }
  .aldv-back { transform: none; margin-top: -18px; border-radius: 0 0 var(--aldv-r) var(--aldv-r); background: #F7F2FD; color: var(--aldv-ink); }
  .aldv-back .aldv-theme { color: var(--aldv-violet); }
  .aldv-g-fill { transition: none; }
  .aldv-strengths li { background: #F1EFF4; }
}

/* ==========================================================================
   Bouclier contre les styles globaux du thème / d'Elementor (Kit global)
   Le Kit Elementor applique ses couleurs de titres et son style de boutons
   avec une priorité supérieure aux classes de l'outil : on les neutralise
   ici sous #aldv-app (priorité d'un identifiant).
   ========================================================================== */
#aldv-app h2, #aldv-app h3, #aldv-app h4 { font-family: var(--aldv-display-stack); margin: 0; padding: 0; text-shadow: none; }
#aldv-app .aldv-title { color: #fff !important; font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: -0.03em; }
#aldv-app .aldv-title .aldv-v { color: var(--aldv-violet) !important; }
#aldv-app .aldv-small-title { color: rgba(255, 255, 255, .7) !important; font-weight: 800; font-size: .85rem; letter-spacing: .04em; line-height: 1.3; }
#aldv-app .aldv-card-title { color: var(--aldv-ink) !important; }

/* Remise à zéro commune des boutons */
#aldv-app button,
#aldv-app button:hover,
#aldv-app button:focus,
#aldv-app button:active {
  box-shadow: none !important; text-shadow: none !important; min-height: 0; min-width: 0; width: auto;
}

/* Bouton principal violet */
#aldv-app .aldv-btn, #aldv-app .aldv-btn:hover, #aldv-app .aldv-btn:focus {
  padding: 15px 28px !important; color: #fff !important; background: var(--aldv-violet) !important;
  border: 0 !important; border-radius: 999px !important; text-decoration: none !important;
  font-family: var(--aldv-display-stack) !important; font-weight: 800 !important; font-size: .95rem !important;
  line-height: 1 !important; letter-spacing: .02em !important; text-transform: uppercase !important;
}

/* « Voir l'impact >> » / « << Retour » : lien texte, sans fond */
#aldv-app .aldv-turn, #aldv-app .aldv-turn:hover, #aldv-app .aldv-turn:focus {
  padding: 0 !important; margin: 0; background: none !important; border: 0 !important; border-radius: 0 !important;
  color: var(--aldv-violet) !important; text-decoration: none !important;
  font-family: var(--aldv-display-stack) !important; font-weight: 800 !important; font-size: .95rem !important;
  line-height: 1.2 !important; letter-spacing: .02em !important; text-transform: uppercase !important;
}
#aldv-app .aldv-turn:hover { text-decoration: underline !important; text-underline-offset: 4px; }
#aldv-app .aldv-turn--back, #aldv-app .aldv-turn--back:hover, #aldv-app .aldv-turn--back:focus { color: #fff !important; }

/* « Imprimer le bilan », « Nouveau diagnostic », « Afficher les autres points » : lien discret */
#aldv-app .aldv-ghost, #aldv-app .aldv-ghost:hover, #aldv-app .aldv-ghost:focus {
  padding: 6px 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important;
  color: rgba(255, 255, 255, .75) !important; font-family: inherit !important; font-size: .9rem !important;
  font-weight: 600 !important; line-height: 1.4 !important; letter-spacing: 0 !important; text-transform: none !important;
  text-decoration: underline !important; text-underline-offset: 4px;
}
#aldv-app .aldv-ghost:hover { color: #fff !important; }

/* Flèches du carrousel */
#aldv-app .aldv-arrow {
  width: 46px !important; height: 46px !important; padding: 0 0 4px !important; border-radius: 50% !important;
  border: 2px solid rgba(255, 255, 255, .5) !important; background: transparent !important; color: #fff !important;
  font-size: 1.7rem !important; line-height: 1 !important;
}
#aldv-app .aldv-arrow:hover:not(:disabled) { background: var(--aldv-violet) !important; border-color: var(--aldv-violet) !important; }

/* Liens */
#aldv-app .aldv-link, #aldv-app .aldv-link:hover { color: var(--aldv-violet) !important; background: none !important; }

/* Impression : titres en noir */
@media print {
  #aldv-app .aldv-title, #aldv-app .aldv-small-title { color: var(--aldv-ink) !important; }
}
