/* ===== Pages publiques : landing, connexion, inscription, test de niveau ===== */
html:has(body.site) {
  overflow-x: clip;
}

.site {
  background: var(--beige);
  overflow-x: clip;
}

.site .logo {
  color: var(--anthracite);
}

.site .logo span {
  color: var(--rouge);
}

.btn {
  gap: 8px;
}

.btn .hi {
  width: 20px;
  height: 20px;
}

.btn--quiet {
  background: transparent;
  color: var(--anthracite);
}

.btn--quiet:hover {
  background: rgba(32, 32, 32, 0.06);
}

.btn--white {
  background: var(--blanc);
  color: var(--rouge);
}

.btn--white:hover {
  background: var(--rose-pale);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rouge);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eyebrow .hi {
  width: 18px;
  height: 18px;
}

.icon-flame {
  color: var(--rouge);
}

.icon-flame * {
  fill: rgba(200, 25, 36, 0.12);
}

/* ===== Navigation ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(246, 241, 232, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 var(--ligne);
}

.site-nav .logo {
  font-size: 1.5rem;
}

.site-nav__links {
  display: none;
}

.site-nav__actions {
  display: flex;
  gap: 4px;
}

.site-nav__actions .btn--sm {
  padding: 8px 14px;
}

/* ===== Hero ===== */
.hero2 {
  display: grid;
  gap: 40px;
  padding: 28px 16px 56px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero2__text {
  display: grid;
  gap: 18px;
  align-content: center;
}

.hero2__title {
  font-size: clamp(2.4rem, 9vw, 4.4rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero2__title em {
  font-style: normal;
  color: var(--rouge);
  position: relative;
  white-space: nowrap;
}

.hero2__lead {
  font-size: 1.1rem;
  color: #4A4A4A;
  max-width: 34em;
}

.hero2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero2__actions .btn--primary {
  box-shadow: 0 10px 24px rgba(200, 25, 36, 0.25);
}

.hero2__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero2__facts li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--blanc);
  font-size: 0.92rem;
  color: var(--gris);
  box-shadow: var(--shadow-doux);
}

.hero2__facts strong {
  color: var(--anthracite);
}

/* Visuel : téléphone et bulles */
.hero2__visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
}

.blob--red {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 35% 35%, #E2414B, var(--rouge));
  top: 20px;
  right: 6%;
  opacity: 0.92;
}

.blob--gold {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at 40% 40%, #FFE070, var(--or));
  bottom: 30px;
  left: 8%;
}

.phone {
  position: relative;
  width: min(300px, 82vw);
  background: var(--blanc);
  border-radius: 34px;
  padding: 18px 18px 20px;
  box-shadow: 0 30px 60px rgba(32, 32, 32, 0.18), 0 0 0 8px rgba(255, 255, 255, 0.6);
  display: grid;
  gap: 12px;
}

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

.phone__close .hi {
  width: 18px;
  height: 18px;
  color: var(--gris);
}

.phone__bar {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: var(--gris-clair);
  overflow: hidden;
}

.phone__bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--rouge);
}

.phone__xp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  font-size: 0.85rem;
  color: #A87B00;
}

.phone__xp .hi {
  width: 16px;
  height: 16px;
}

.phone__kicker {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rouge);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone__prompt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
}

.phone__audio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--rose-pale);
  color: var(--rouge);
}

.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}

.wave b {
  display: block;
  width: 4px;
  height: 100%;
  border-radius: 4px;
  background: currentColor;
  transform-origin: center;
}

.wave b:nth-child(2n) {
  height: 60%;
}

.wave b:nth-child(3n) {
  height: 80%;
}

.phone__choices {
  list-style: none;
  display: grid;
  gap: 8px;
}

.phone__choices li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border: 2px solid var(--gris-clair);
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
}

.phone__choices .is-good {
  border-color: var(--vert);
  background: var(--vert-pale);
  color: var(--vert);
}

.phone__choices .hi {
  width: 18px;
  height: 18px;
}

.phone__feedback {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--vert);
  color: var(--blanc);
  font-weight: 700;
}

.phone__feedback span {
  font-weight: 500;
  opacity: 0.9;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--blanc);
  box-shadow: 0 14px 30px rgba(32, 32, 32, 0.12);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.float-chip .hi {
  width: 20px;
  height: 20px;
}

.float-chip--streak {
  top: -6px;
  left: 0;
}

.float-chip--word {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  right: 0;
  top: 46%;
}

.float-chip--word small {
  font-weight: 500;
  color: var(--gris);
}

.float-chip--done {
  bottom: 0;
  right: 10%;
  color: #A87B00;
}

.float-chip--done .hi:last-child {
  color: var(--vert);
}

/* ===== Bandeau de mots ===== */
.marquee {
  overflow: hidden;
  background: var(--anthracite);
  color: var(--blanc);
  padding: 16px 0;
  transform: rotate(-1.5deg) scale(1.04);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
}

.marquee__track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  white-space: nowrap;
  padding: 0 22px;
}

.marquee__track span::after {
  content: '✦';
  color: var(--or);
  margin-left: 44px;
  font-size: 0.9rem;
  vertical-align: middle;
}

/* ===== Sections ===== */
.block {
  padding: 72px 16px;
}

.block > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.block--white {
  background: var(--blanc);
  border-radius: 36px;
  margin: 0 8px;
}

.block__head {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-items: center;
}

.block__title {
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1.08;
  font-weight: 800;
}

.block__lead {
  color: #4A4A4A;
  font-size: 1.05rem;
}

/* Journée */
.day-cards {
  display: grid;
  gap: 16px;
}

.day-card {
  background: var(--blanc);
  border-radius: 28px;
  padding: 28px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow-doux);
}

.day-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.day-card__icon .hi {
  width: 28px;
  height: 28px;
}

.day-card__icon--sun {
  background: #FFF6CC;
  color: #A87B00;
}

.day-card__icon--moon {
  background: #EDEBFA;
  color: #4B45A6;
}

.day-card__time {
  font-weight: 700;
  color: var(--gris);
  font-size: 0.9rem;
}

.day-card h3 {
  font-size: 1.5rem;
}

.day-card p:last-child {
  color: #4A4A4A;
}

/* Méthode */
.method {
  position: relative;
}

.method__steps {
  list-style: none;
  display: grid;
  gap: 28px;
  position: relative;
}

.method__line {
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 3px;
  background: var(--gris-clair);
  border-radius: 3px;
}

.method__line span {
  --grow: 1;
  display: block;
  width: 100%;
  height: 100%;
  background: var(--rouge);
  border-radius: inherit;
  transform: scaleY(var(--grow));
  transform-origin: top;
}

.method__step {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 18px;
  row-gap: 4px;
  position: relative;
}

.method__icon {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--rouge);
  color: var(--blanc);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px var(--blanc);
}

.method__icon .hi {
  width: 28px;
  height: 28px;
}

.method__step h3 {
  font-size: 1.3rem;
  align-self: end;
}

.method__step p {
  color: #4A4A4A;
}

/* Programme */
.counters {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 32px;
}

.counters li {
  background: var(--blanc);
  border-radius: 22px;
  padding: 18px 10px;
  text-align: center;
  display: grid;
  gap: 2px;
}

.counters strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--rouge);
}

.counters span {
  font-size: 0.85rem;
  color: var(--gris);
  font-weight: 600;
}

.roadmap {
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: road;
}

.roadmap__item {
  background: var(--blanc);
  border-radius: 24px;
  padding: 24px;
  display: grid;
  gap: 8px;
  border-left: 6px solid var(--rouge);
}

.roadmap__item:nth-child(2) {
  border-left-color: var(--or);
}

.roadmap__item:nth-child(3) {
  border-left-color: var(--anthracite);
}

.roadmap__tag {
  justify-self: start;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--beige);
  color: #6B5A3A;
}

.roadmap__item h3 {
  font-size: 1.35rem;
}

.roadmap__item p {
  color: #4A4A4A;
}

.note {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  font-weight: 600;
  text-align: left;
}

.note .hi {
  color: var(--rouge);
}

/* Objectifs */
.goals {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.goal {
  display: grid;
  gap: 4px;
  padding: 22px 18px;
  border-radius: 24px;
  background: var(--beige);
  transition: transform 0.2s ease, background 0.2s ease;
}

.goal:last-child {
  grid-column: span 2;
}

.goal:hover {
  transform: translateY(-4px);
  background: var(--rose-pale);
}

.goal .hi {
  width: 32px;
  height: 32px;
  color: var(--rouge);
  margin-bottom: 8px;
}

.goal strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.goal span {
  font-size: 0.9rem;
  color: var(--gris);
}

/* Examens */
.exam-band {
  display: grid;
  gap: 28px;
  background: var(--anthracite);
  color: var(--blanc);
  border-radius: 32px;
  padding: 36px 24px;
}

.exam-band .block__lead {
  color: #CFCFCF;
  margin-top: 10px;
}

.exam-band .eyebrow {
  color: var(--or);
  margin-bottom: 10px;
}

.exam-list {
  list-style: none;
  display: grid;
  gap: 10px;
  align-content: center;
}

.exam-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.exam-list .hi {
  width: 28px;
  height: 28px;
  color: var(--or);
}

.exam-list span {
  display: grid;
  color: #CFCFCF;
  font-size: 0.92rem;
}

.exam-list strong {
  color: var(--blanc);
  font-size: 1.05rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.faq details {
  background: var(--beige);
  border-radius: 20px;
  padding: 0 20px;
}

.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .hi {
  transition: transform 0.25s ease;
}

.faq details[open] summary .hi {
  transform: rotate(180deg);
}

.faq details p {
  padding-bottom: 18px;
  color: #4A4A4A;
}

/* Appel final */
.cta-band {
  padding: 24px 8px 56px;
}

.cta-band__inner {
  max-width: 1120px;
  margin: 0 auto;
  background: var(--rouge);
  color: var(--blanc);
  border-radius: 36px;
  padding: 56px 24px;
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
  position: relative;
  overflow: hidden;
}

.cta-band__inner::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -140px;
  right: -80px;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  line-height: 1.1;
  position: relative;
}

.cta-band p {
  opacity: 0.9;
  position: relative;
}

.cta-band .btn {
  margin-top: 8px;
  position: relative;
}

/* Pied de page */
.site-footer {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 32px 16px 48px;
  color: var(--gris);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a:not(.logo) {
  color: var(--anthracite);
  font-weight: 600;
  text-decoration: none;
}

/* ===== Tablette et plus ===== */
@media (min-width: 720px) {
  .day-cards {
    grid-template-columns: 1fr 1fr;
  }

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

  .goal:last-child {
    grid-column: auto;
  }

  .exam-band {
    grid-template-columns: 1.2fr 1fr;
    padding: 56px;
  }

  .counters li {
    padding: 26px 16px;
  }
}

@media (min-width: 960px) {
  .site-nav {
    padding: 16px 32px;
  }

  .site-nav__links {
    display: flex;
    gap: 28px;
  }

  .site-nav__links a {
    color: #4A4A4A;
    font-weight: 600;
    text-decoration: none;
  }

  .site-nav__links a:hover {
    color: var(--rouge);
  }

  .hero2 {
    grid-template-columns: 1.1fr 1fr;
    padding: 56px 32px 96px;
    min-height: calc(100vh - 72px);
  }

  .hero2__visual {
    min-height: 560px;
  }

  .blob--red {
    width: 420px;
    height: 420px;
  }

  .block {
    padding: 112px 32px;
  }

  .block--white {
    margin: 0 16px;
  }

  /* Méthode en ligne horizontale */
  .method__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .method__line {
    left: 28px;
    right: calc(25% - 24px);
    top: 27px;
    bottom: auto;
    width: auto;
    height: 3px;
  }

  .method__line span {
    transform: scaleX(var(--grow));
    transform-origin: left;
  }

  .method__step {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .method__icon {
    grid-row: auto;
    margin-bottom: 10px;
  }

  .roadmap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-band {
    padding: 40px 16px 80px;
  }

  .cta-band__inner {
    padding: 80px 40px;
  }
}

/* =====================================================
   Connexion, inscription, test de niveau
   ===================================================== */
.auth {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.auth-top .logo {
  font-size: 1.5rem;
}

.auth-top__link {
  font-weight: 600;
  color: var(--gris);
  font-size: 0.92rem;
}

.auth-top__link a {
  color: var(--rouge);
  font-weight: 700;
  text-decoration: none;
}

.auth-main {
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 8px 16px 40px;
}

.auth-card {
  width: 100%;
  max-width: 520px;
  background: var(--blanc);
  border-radius: 32px;
  padding: 28px 22px;
  box-shadow: var(--shadow-doux);
  display: grid;
  gap: 20px;
}

.auth-card__title {
  font-size: clamp(1.7rem, 6vw, 2.2rem);
  line-height: 1.1;
  font-weight: 800;
}

.auth-card__lead {
  color: var(--gris);
  margin-top: -10px;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.field input[type='text'],
.field input[type='email'],
.field input[type='password'] {
  border-color: var(--ligne);
  background: var(--beige);
  padding: 14px 16px;
  border-radius: 14px;
}

.field input:focus {
  border-color: var(--anthracite);
  background: var(--blanc);
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  width: 100%;
  padding-right: 52px !important;
}

.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  background: none;
  color: var(--gris);
  border-radius: 12px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.password-toggle:hover {
  background: var(--gris-clair);
}

.field__hint {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--gris);
}

.auth-note {
  font-size: 0.85rem;
  color: var(--gris);
  text-align: center;
}

/* ===== Assistant d'inscription ===== */
.wizard {
  width: 100%;
  max-width: 640px;
  display: grid;
  gap: 18px;
}

.wizard__progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wizard__back {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  border: none;
  background: var(--blanc);
  color: var(--anthracite);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-doux);
}

.wizard__back:disabled {
  opacity: 0;
  pointer-events: none;
}

.wizard__bar {
  flex: 1;
  height: 10px;
  border-radius: 99px;
  background: var(--beige-fonce);
  overflow: hidden;
}

.wizard__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--anthracite);
  transition: width 0.4s ease;
}

.wizard__count {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gris);
  min-width: 3.2em;
  text-align: right;
}

.step-card {
  background: var(--blanc);
  border-radius: 32px;
  padding: 28px 20px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow-doux);
}

.step-card__kicker {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--anthracite);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.step-card__title {
  font-size: clamp(1.5rem, 5.5vw, 2rem);
  line-height: 1.12;
  font-weight: 800;
  margin-top: -10px;
}

.step-card__lead {
  color: var(--gris);
  margin-top: -8px;
}

.choices {
  display: grid;
  gap: 10px;
}

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

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice__box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 2px solid var(--ligne);
  border-radius: 20px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  min-height: 64px;
}

.choice__box:hover {
  border-color: #D9C9AE;
}

.choice__box:active {
  transform: scale(0.98);
}

.choice__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--beige);
  color: var(--anthracite);
  transition: background 0.15s ease, color 0.15s ease;
}

.choice__text {
  display: grid;
  gap: 2px;
  font-weight: 700;
  line-height: 1.25;
}

.choice__text small {
  font-weight: 500;
  color: var(--gris);
  font-size: 0.88rem;
}

.choice__check {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--ligne);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: transparent;
}

.choice__check .hi {
  width: 16px;
  height: 16px;
}

.choice input:checked + .choice__box {
  border-color: var(--anthracite);
  background: var(--rose-pale);
}

.choice input:checked + .choice__box .choice__icon {
  background: var(--anthracite);
  color: var(--blanc);
}

.choice input:checked + .choice__box .choice__check {
  background: var(--anthracite);
  border-color: var(--anthracite);
  color: var(--blanc);
}

.choice input:focus-visible + .choice__box {
  outline: 3px solid var(--or);
  outline-offset: 2px;
}

.choices--2 .choice__box {
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.choices--2 .choice__check {
  position: absolute;
  top: 14px;
  right: 14px;
}

.wizard__actions {
  display: flex;
  justify-content: flex-end;
}

.wizard__actions .btn {
  min-width: 180px;
}

/* Récapitulatif + écran de validation */
.recap {
  list-style: none;
  display: grid;
  gap: 8px;
}

.recap li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--beige);
  font-weight: 600;
}

.recap li span {
  color: var(--gris);
  font-weight: 500;
  font-size: 0.88rem;
  display: block;
}

.recap .hi {
  color: var(--anthracite);
}

.done-screen {
  text-align: center;
  justify-items: center;
}

.done-screen__badge {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--vert);
  color: var(--blanc);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 12px var(--vert-pale);
  margin: 8px 0;
}

.done-screen__badge .hi {
  width: 52px;
  height: 52px;
}

.done-screen .recap {
  width: 100%;
  text-align: left;
}

/* ===== Test de niveau ===== */
.test-intro__list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.test-intro__list li {
  display: flex;
  gap: 12px;
  align-items: center;
}

.test-intro__list .hi {
  color: var(--anthracite);
}

.test-q__prompt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.25;
}

.test-q__prompt [lang='de'] {
  color: var(--anthracite);
}

.test-q__options {
  display: grid;
  gap: 10px;
}

.test-option {
  text-align: left;
  font: inherit;
  font-weight: 600;
  padding: 15px 16px;
  border-radius: 18px;
  border: 2px solid var(--ligne);
  background: var(--blanc);
  color: var(--anthracite);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.test-option:hover:not(:disabled) {
  border-color: #D9C9AE;
}

.test-option:disabled {
  cursor: default;
}

.test-option.is-good {
  border-color: var(--vert);
  background: var(--vert-pale);
  color: var(--vert);
}

.test-option.is-bad {
  border-color: var(--rouge);
  background: var(--rose-pale);
  color: var(--rouge);
}

.test-score {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--anthracite);
}

.test-section-tag {
  justify-self: start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--beige);
  font-weight: 700;
  font-size: 0.8rem;
  color: #6B5A3A;
}

@media (min-width: 720px) {
  .auth-top {
    padding: 20px 32px;
  }

  .auth-main {
    padding: 24px 32px 64px;
    align-content: center;
  }

  .auth-card,
  .step-card {
    padding: 40px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .wizard__bar span,
  .goal,
  .faq summary .hi {
    transition: none;
  }
}

.auth-note a {
  color: var(--anthracite);
  font-weight: 700;
}

.notice-ok {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--vert-pale);
  color: var(--vert);
  font-weight: 600;
}

/* Pages légales */
.legal {
  width: 100%;
  max-width: 760px;
  background: var(--blanc);
  border-radius: 32px;
  padding: 28px 22px;
  display: grid;
  gap: 14px;
}

.legal h1 {
  font-size: clamp(1.7rem, 6vw, 2.2rem);
  line-height: 1.1;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 10px;
}

.legal p,
.legal li {
  color: #3A3A3A;
}

.legal ul {
  padding-left: 20px;
  display: grid;
  gap: 4px;
}

.legal a {
  color: var(--anthracite);
  font-weight: 600;
}

.legal .todo {
  background: #FFF6CC;
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 700;
}

.legal__date {
  color: var(--gris);
  font-size: 0.9rem;
}

@media (min-width: 720px) {
  .legal {
    padding: 44px;
  }
}

.consent {
  font-size: 0.85rem;
  color: var(--gris);
}

.consent a {
  color: var(--anthracite);
  font-weight: 600;
}

.site-footer nav + nav a {
  font-weight: 500;
  color: var(--gris);
}

/* ===== Connexion / inscription : panneau visuel sur ordinateur ===== */
.auth-aside {
  display: none;
}

.auth .logo {
  font-size: 1.45rem;
}

@media (min-width: 1000px) {
  .auth--split .auth-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: stretch;
    justify-items: stretch;
    gap: 32px;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 12px 32px 40px;
  }

  .auth--split .auth-card,
  .auth--split .wizard {
    justify-self: center;
    align-self: center;
  }

  .auth-aside {
    position: relative;
    display: block;
    min-height: 620px;
    border-radius: 36px;
    overflow: hidden;
  }

  .auth-aside__photo {
    position: absolute;
    inset: 0;
  }

  .auth-aside__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 8, 8, 0) 30%, rgba(120, 10, 18, 0.92) 100%);
  }

  .auth-aside__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px;
    color: var(--blanc);
    display: grid;
    gap: 16px;
  }

  .auth-aside__quote {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  .auth-aside__quote em {
    font-style: normal;
    color: var(--or);
  }

  .auth-aside ul {
    list-style: none;
    display: grid;
    gap: 6px;
    font-weight: 600;
  }

  .auth-aside li {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .auth-aside .hi {
    width: 18px;
    height: 18px;
    color: var(--or);
  }
}
