:root {
  --hallu-bg: #070711;
  --hallu-panel: rgba(255, 255, 255, 0.08);
  --hallu-panel-strong: rgba(255, 255, 255, 0.13);
  --hallu-text: #f8f4ff;
  --hallu-muted: rgba(248, 244, 255, 0.72);
  --hallu-line: rgba(255, 255, 255, 0.16);
  --hallu-a: #8a5cff;
  --hallu-b: #00d4ff;
  --hallu-c: #ffb800;
  --hallu-d: #ff4fd8;
  --hallu-radius: 28px;
}

.hallu-wrap,
.hallu-wrap * {
  box-sizing: border-box;
}

.hallu-wrap {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0;
  color: var(--hallu-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hallu-wrap a {
  color: inherit;
  text-decoration: none;
}

.hallu-splash,
.hallu-learn,
.hallu-lab {
  background:
    radial-gradient(circle at 12% 10%, rgba(138, 92, 255, 0.32), transparent 34%),
    radial-gradient(circle at 83% 14%, rgba(0, 212, 255, 0.2), transparent 31%),
    radial-gradient(circle at 50% 95%, rgba(255, 79, 216, 0.18), transparent 35%),
    linear-gradient(180deg, #05050c 0%, #0b0b19 45%, #06060e 100%);
  min-height: 100vh;
  overflow: hidden;
  border-radius: 0;
}

.hallu-hero {
  position: relative;
  padding: clamp(54px, 7vw, 108px) clamp(20px, 5vw, 72px) clamp(36px, 6vw, 92px);
}

.hallu-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(30px, 5vw, 82px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hallu-kicker {
  margin: 0 0 14px;
  color: #d9c9ff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hallu-hero h1,
.hallu-course-hero h1,
.hallu-lab-hero h1 {
  margin: 0;
  max-width: 930px;
  font-size: clamp(3.2rem, 8.5vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
  font-weight: 950;
}

.hallu-hero h1 {
  background: linear-gradient(112deg, #fff 3%, #f6e8ff 24%, #84ecff 54%, #fff3bc 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hallu-lead,
.hallu-course-hero p,
.hallu-lab-hero p {
  margin: 24px 0 0;
  max-width: 760px;
  color: var(--hallu-muted);
  font-size: clamp(1.08rem, 1.45vw, 1.36rem);
  line-height: 1.62;
}

.hallu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hallu-btn,
.hallu-mini-btn {
  border: 1px solid var(--hallu-line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hallu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  font-size: 0.98rem;
}

.hallu-btn:hover,
.hallu-mini-btn:hover {
  transform: translateY(-2px);
}

.hallu-btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--hallu-a), var(--hallu-b));
  color: white;
  box-shadow: 0 18px 52px rgba(0, 212, 255, 0.18);
}

.hallu-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  backdrop-filter: blur(12px);
}

.hallu-mini-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--hallu-text);
  padding: 9px 13px;
  font-size: 0.82rem;
}

.hallu-fine {
  color: rgba(248, 244, 255, 0.55);
  font-size: 0.95rem;
  margin-top: 18px;
}

.hallu-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.hallu-stage-ring {
  position: absolute;
  width: min(86vw, 540px);
  height: min(86vw, 540px);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 0 18%, transparent 19%),
    conic-gradient(from 180deg, rgba(138, 92, 255, 0.12), rgba(0, 212, 255, 0.72), rgba(255, 184, 0, 0.58), rgba(255, 79, 216, 0.6), rgba(138, 92, 255, 0.12));
  filter: blur(0.2px);
  opacity: 0.8;
  animation: halluSpin 12s linear infinite;
}

.hallu-model-card,
.hallu-glass-card,
.hallu-proof-grid article,
.hallu-cards-5 article,
.hallu-module,
.hallu-lab-panel,
.hallu-course-hero,
.hallu-lab-hero,
.hallu-cta-panel {
  border: 1px solid var(--hallu-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.hallu-model-card {
  position: absolute;
  width: min(92%, 365px);
  min-height: 210px;
  border-radius: var(--hallu-radius);
  padding: 24px;
}

.hallu-card-gpt {
  top: 58px;
  left: 0;
  transform: rotate(-5deg);
}

.hallu-card-claude {
  right: 0;
  bottom: 64px;
  transform: rotate(5deg);
}

.hallu-model-tag {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff3bc;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hallu-model-card h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hallu-model-card p,
.hallu-section p,
.hallu-glass-card li,
.hallu-cards-5 p,
.hallu-module p,
.hallu-lesson p,
.hallu-exercise,
.hallu-quiz p {
  color: var(--hallu-muted);
  line-height: 1.58;
}

.hallu-center-badge {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  text-align: center;
  padding: 22px;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.95), rgba(255, 79, 216, 0.86));
  color: #111;
  font-weight: 950;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  box-shadow: 0 18px 70px rgba(255, 79, 216, 0.24);
}

.hallu-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.8;
  filter: blur(14px);
}

.hallu-orb-a {
  width: 220px;
  height: 220px;
  left: -70px;
  top: 90px;
  background: rgba(138, 92, 255, 0.42);
}

.hallu-orb-b {
  width: 260px;
  height: 260px;
  right: -90px;
  bottom: 40px;
  background: rgba(0, 212, 255, 0.25);
}

.hallu-section {
  padding: clamp(42px, 6vw, 82px) clamp(20px, 5vw, 72px);
}

.hallu-section-head {
  max-width: 950px;
  margin-bottom: 26px;
}

.hallu-section-head h2,
.hallu-cta-panel h2,
.hallu-module-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hallu-proof-grid,
.hallu-duel-grid,
.hallu-cards-5,
.hallu-lesson-grid,
.hallu-lab-panel {
  display: grid;
  gap: 18px;
}

.hallu-proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hallu-proof-grid article,
.hallu-cards-5 article,
.hallu-glass-card,
.hallu-lesson {
  border-radius: 24px;
  padding: 22px;
}

.hallu-proof-grid strong,
.hallu-proof-grid span {
  display: block;
}

.hallu-proof-grid strong {
  font-size: 1.24rem;
  margin-bottom: 10px;
}

.hallu-duel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hallu-glass-card h3,
.hallu-cards-5 h3,
.hallu-lesson h3,
.hallu-quiz h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.hallu-glass-card ul {
  margin: 0;
  padding-left: 20px;
}

.hallu-glass-card li + li {
  margin-top: 9px;
}

.hallu-cards-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hallu-cards-5 span {
  display: inline-flex;
  margin-bottom: 18px;
  color: #fff3bc;
  font-weight: 950;
}

.hallu-cta-panel {
  margin: clamp(38px, 6vw, 80px) clamp(20px, 5vw, 72px) clamp(48px, 7vw, 96px);
  padding: clamp(34px, 5vw, 62px);
  border-radius: calc(var(--hallu-radius) + 10px);
  text-align: center;
}

.hallu-cta-panel p {
  max-width: 820px;
  margin: 18px auto 0;
  color: var(--hallu-muted);
  font-size: 1.15rem;
}

.hallu-centered-actions {
  justify-content: center;
}

.hallu-course-hero,
.hallu-lab-hero {
  margin: clamp(18px, 4vw, 46px) clamp(16px, 5vw, 72px) 0;
  padding: clamp(30px, 5vw, 66px);
  border-radius: calc(var(--hallu-radius) + 10px);
}

.hallu-course-hero h1,
.hallu-lab-hero h1 {
  font-size: clamp(2.8rem, 6vw, 6.6rem);
  background: linear-gradient(112deg, #fff, #d9c9ff 40%, #84ecff 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hallu-progress-shell {
  margin: 28px 0;
  max-width: 640px;
}

.hallu-progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--hallu-muted);
}

.hallu-progress-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  overflow: hidden;
}

.hallu-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hallu-a), var(--hallu-b), var(--hallu-c));
  transition: width 260ms ease;
}

.hallu-module-list {
  padding: clamp(28px, 5vw, 64px) clamp(16px, 5vw, 72px) clamp(54px, 6vw, 90px);
}

.hallu-module {
  border-radius: calc(var(--hallu-radius) + 4px);
  padding: clamp(24px, 4vw, 44px);
  margin-bottom: 22px;
}

.hallu-module-head span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #84ecff;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hallu-lesson-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.hallu-lesson {
  border: 1px solid var(--hallu-line);
  background: rgba(255, 255, 255, 0.055);
}

.hallu-lesson.is-complete {
  border-color: rgba(0, 212, 255, 0.55);
  background: rgba(0, 212, 255, 0.1);
}

.hallu-lesson-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hallu-exercise {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--hallu-line);
}

.hallu-exercise strong,
.hallu-exercise span {
  display: block;
}

.hallu-exercise strong {
  color: #fff3bc;
  margin-bottom: 5px;
}

.hallu-quiz {
  margin-top: 26px;
  border-top: 1px solid var(--hallu-line);
  padding-top: 22px;
}

.hallu-quiz details {
  border: 1px solid var(--hallu-line);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
}

.hallu-quiz details + details {
  margin-top: 10px;
}

.hallu-quiz summary {
  cursor: pointer;
  font-weight: 800;
}

.hallu-lab-panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  margin: clamp(22px, 4vw, 42px) clamp(16px, 5vw, 72px) clamp(54px, 6vw, 90px);
  padding: clamp(22px, 4vw, 38px);
  border-radius: calc(var(--hallu-radius) + 4px);
}

.hallu-lab-form,
.hallu-lab-output {
  min-width: 0;
}

.hallu-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hallu-lab label {
  display: block;
  margin-bottom: 16px;
}

.hallu-lab label span {
  display: block;
  margin-bottom: 8px;
  color: rgba(248, 244, 255, 0.82);
  font-weight: 800;
}

.hallu-lab select,
.hallu-lab input,
.hallu-lab textarea {
  width: 100%;
  border: 1px solid var(--hallu-line);
  border-radius: 16px;
  padding: 13px 14px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--hallu-text);
  outline: none;
}

.hallu-lab textarea {
  resize: vertical;
}

.hallu-lab select:focus,
.hallu-lab input:focus,
.hallu-lab textarea:focus {
  border-color: rgba(0, 212, 255, 0.72);
}

.hallu-output-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hallu-lab-output pre {
  min-height: 430px;
  max-height: 620px;
  overflow: auto;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--hallu-line);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.32);
  color: #f8f4ff;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  line-height: 1.55;
}

@keyframes halluSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 1080px) {
  .hallu-hero-grid,
  .hallu-lab-panel {
    grid-template-columns: 1fr;
  }
  .hallu-stage {
    min-height: 520px;
  }
  .hallu-proof-grid,
  .hallu-cards-5,
  .hallu-lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hallu-hero h1,
  .hallu-course-hero h1,
  .hallu-lab-hero h1 {
    letter-spacing: -0.06em;
  }
  .hallu-stage {
    min-height: 610px;
  }
  .hallu-model-card {
    position: relative;
    width: 100%;
    transform: none;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 10px 0;
  }
  .hallu-stage-ring,
  .hallu-center-badge {
    position: absolute;
  }
  .hallu-card-gpt {
    align-self: start;
  }
  .hallu-card-claude {
    align-self: end;
  }
  .hallu-proof-grid,
  .hallu-duel-grid,
  .hallu-cards-5,
  .hallu-lesson-grid,
  .hallu-form-row {
    grid-template-columns: 1fr;
  }
  .hallu-actions,
  .hallu-btn {
    width: 100%;
  }
}

.hallu-notice,
.hallu-access-wall,
.hallu-credit-panel,
.hallu-access-tools {
  margin: 22px clamp(20px, 5vw, 72px);
  border: 1px solid var(--hallu-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  border-radius: var(--hallu-radius);
}

.hallu-notice {
  padding: 18px 22px;
  font-weight: 800;
}

.hallu-notice.success {
  border-color: rgba(0, 212, 255, 0.38);
}

.hallu-notice.error {
  border-color: rgba(255, 79, 216, 0.42);
}

.hallu-access-wall {
  padding: clamp(24px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.hallu-access-wall-compact {
  display: block;
}

.hallu-access-wall h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hallu-access-wall p,
.hallu-stripe-off,
.hallu-credit-panel small {
  color: var(--hallu-muted);
  line-height: 1.55;
}

.hallu-credit-panel {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hallu-credit-panel article {
  border: 1px solid var(--hallu-line);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.hallu-credit-panel span,
.hallu-access-tools label span {
  display: block;
  margin-bottom: 8px;
  color: rgba(248, 244, 255, 0.72);
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hallu-credit-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1;
}

.hallu-access-tools {
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 16px;
  align-items: end;
}

.hallu-license-form,
.hallu-buy-form {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}

.hallu-license-form label {
  flex: 1 1 260px;
}

.hallu-license-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--hallu-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--hallu-text);
  padding: 0 14px;
}

@media (max-width: 840px) {
  .hallu-access-wall,
  .hallu-credit-panel,
  .hallu-access-tools {
    grid-template-columns: 1fr;
  }
}

/* Mode plein écran Hallucine ; contourne l'en-tête et le pied de page du thème WordPress. */
body.hallu-standalone-body {
  margin: 0;
  padding: 0;
  background: #05050c;
  color: var(--hallu-text);
  overflow-x: hidden;
}

body.hallu-standalone-body #hallu-standalone-root {
  min-height: 100vh;
  background: #05050c;
}

body.hallu-standalone-body .hallu-wrap {
  width: 100%;
  max-width: none;
}

body.hallu-standalone-body .site-header,
body.hallu-standalone-body .site-footer,
body.hallu-standalone-body .wp-site-blocks > header,
body.hallu-standalone-body .wp-site-blocks > footer {
  display: none !important;
}


.hallu-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 6vw, 80px);
}

.hallu-auth-card {
  width: min(680px, 100%);
  border: 1px solid var(--hallu-line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 0%, rgba(126, 87, 255, 0.25), transparent 32%),
    radial-gradient(circle at 90% 15%, rgba(52, 211, 153, 0.16), transparent 28%),
    rgba(12, 13, 24, 0.92);
  box-shadow: var(--hallu-shadow);
  padding: clamp(24px, 5vw, 48px);
}

.hallu-auth-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 0.95;
}

.hallu-auth-card p {
  color: var(--hallu-muted);
}

.hallu-auth-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.hallu-auth-form label span,
.hallu-checkline span {
  display: block;
  margin-bottom: 8px;
  color: rgba(248, 244, 255, 0.76);
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hallu-auth-form input[type="text"],
.hallu-auth-form input[type="email"],
.hallu-auth-form input[type="password"] {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--hallu-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--hallu-text);
  padding: 0 16px;
  outline: none;
}

.hallu-auth-form input:focus {
  border-color: rgba(178, 149, 255, 0.78);
  box-shadow: 0 0 0 4px rgba(126, 87, 255, 0.16);
}

.hallu-checkline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hallu-checkline span {
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.95rem;
}

.hallu-auth-switch {
  margin-top: 22px;
}

.hallu-auth-switch a {
  color: #d8ccff;
  font-weight: 900;
}
