/* ============================================================
   AUDIT SEO — styles (à intégrer dans style.css si validé)
   ============================================================ */

/* ---- Hero audit ---- */
.audit-hero .audit-hero-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}
/* V2 : le hero est passé en marine, les badges suivent */
.audit-hero .audit-hero-badges span {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .88rem;
  color: var(--blue-200);
  background: rgba(74,139,232,.13);
  border: 1px solid rgba(74,139,232,.3);
  padding: .35rem .85rem;
  border-radius: 50px;
  font-weight: 500;
}
.audit-hero .audit-hero-badges span i { color: var(--blue-400); }

/* ---- Wizard container ---- */
.audit-section { background: var(--slate-50); }

.audit-wizard {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 32px rgba(37,99,235,.08);
  padding: 2.5rem 2.5rem 2rem;
}

/* ---- Barre de progression ---- */
.audit-progress-bar {
  height: 6px;
  background: var(--slate-200);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: .6rem;
}
.audit-progress-fill {
  height: 100%;
  background: var(--blue-600);
  border-radius: 50px;
  width: 20%;
  transition: width .4s ease;
}
.audit-progress-label {
  text-align: right;
  font-size: .78rem;
  color: var(--slate-400);
  font-weight: 600;
  margin-bottom: 1.8rem;
  letter-spacing: .03em;
}

/* ---- Step ---- */
.audit-step { display: none; }
.audit-step.active { display: block; animation: fadeSlideIn .3s ease; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}

.audit-step-icon {
  width: 56px; height: 56px;
  background: var(--blue-50);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--blue-600);
  margin-bottom: 1.2rem;
}
.audit-step-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 .5rem;
}
.audit-step-desc {
  font-size: .92rem;
  color: var(--slate-500);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}
.audit-step-desc strong { color: var(--slate-900); }

/* ---- Options ---- */
.audit-options {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 1.5rem;
}
.audit-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .95rem 1.1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
  user-select: none;
}
.audit-option:hover {
  border-color: #93c5fd;
  background: #f0f7ff;
}
.audit-option.selected {
  border-color: var(--blue-600);
  background: var(--blue-50);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.audit-option input[type="radio"] { display: none; }

.audit-option-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--slate-400);
  transition: background .2s, color .2s;
}
.audit-option.selected .audit-option-icon {
  background: var(--blue-600);
  color: #ffffff;
}
.audit-option-text { display: flex; flex-direction: column; gap: .15rem; }
.audit-option-text strong { font-size: .92rem; color: var(--slate-900); font-weight: 600; }
.audit-option-text small  { font-size: .78rem; color: var(--slate-400); }
.audit-option.selected .audit-option-text strong { color: var(--blue-700); }

/* ---- Navigation boutons ---- */
.audit-step-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.audit-step-nav .audit-prev { min-width: 100px; }

/* ---- Résultat ---- */
.audit-result { animation: fadeSlideIn .4s ease; }

.audit-score-wrap {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.audit-score-circle {
  position: relative;
  width: 140px; height: 140px;
  flex-shrink: 0;
}
.audit-score-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.audit-score-bg   { fill: none; stroke: var(--slate-200); stroke-width: 10; }
.audit-score-ring {
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 10;
  transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1), stroke .4s;
}
.audit-score-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.audit-score-num {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  color: var(--slate-900); line-height: 1;
}
.audit-score-max { font-size: .78rem; color: var(--slate-400); font-weight: 600; }

.audit-score-meta { flex: 1; min-width: 200px; }
.audit-score-level {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .3rem .85rem;
  border-radius: 50px;
  margin-bottom: .8rem;
}
.level--critical { background: #fee2e2; color: #dc2626; }
.level--weak     { background: #fef3c7; color: #d97706; }
.level--medium   { background: #dbeafe; color: var(--blue-700); }
.level--good     { background: #dcfce7; color: #16a34a; }

.audit-score-sentence {
  font-size: 1rem; color: var(--slate-700);
  line-height: 1.55; margin: 0 0 .8rem;
}
.audit-score-improve {
  font-size: .88rem; font-weight: 700;
  color: var(--blue-600);
  background: var(--blue-50);
  border-radius: 8px;
  padding: .5rem .85rem;
  display: inline-block;
}

/* ---- Axes détail ---- */
.audit-axes {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 2rem;
}
.audit-axis {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.audit-axis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.audit-axis-label {
  display: flex; align-items: center; gap: .5rem;
  font-size: .88rem; font-weight: 600; color: var(--slate-700);
}
.audit-axis-label i { font-size: .85rem; color: var(--blue-600); width: 16px; }
.audit-axis-score {
  font-size: .82rem; font-weight: 700;
  padding: .15rem .55rem;
  border-radius: 50px;
}
.axis--ok   .audit-axis-score { background: #dcfce7; color: #16a34a; }
.axis--mid  .audit-axis-score { background: #fef3c7; color: #d97706; }
.axis--bad  .audit-axis-score { background: #fee2e2; color: #dc2626; }
.audit-axis-bar {
  height: 7px; background: var(--slate-200); border-radius: 50px; overflow: hidden;
}
.audit-axis-fill {
  height: 100%; border-radius: 50px;
  transition: width 1s ease .3s;
  width: 0;
}
.axis--ok  .audit-axis-fill { background: #22c55e; }
.axis--mid .audit-axis-fill { background: #f59e0b; }
.axis--bad .audit-axis-fill { background: #ef4444; }
.audit-axis-tip {
  font-size: .8rem; color: var(--slate-500); line-height: 1.4;
  margin: 0;
}
.audit-axis-tip strong { color: var(--slate-900); }

/* ---- CTA box ---- */
.audit-cta-box {
  background: linear-gradient(135deg, var(--blue-50), #f0f4ff);
  border: 1.5px solid #93c5fd;
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.audit-cta-icon {
  width: 48px; height: 48px;
  background: var(--blue-600); color: white;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.audit-cta-box h3 {
  font-size: 1.1rem; font-weight: 800;
  color: var(--slate-900); margin: 0 0 .4rem;
}
.audit-cta-box p { font-size: .88rem; color: var(--slate-600); line-height: 1.55; margin: 0; }
/* `.btn` global impose white-space: nowrap : sur mobile un libellé long
   (« Discutons de votre projet ») sortait de la pilule au lieu de passer
   à la ligne. On centre et on autorise le retour à la ligne. */
.audit-cta-box .btn {
  align-self: stretch;
  text-align: center;
  justify-content: center;
  white-space: normal;
}

.audit-restart {
  width: 100%;
  justify-content: center;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .audit-wizard { padding: 1.5rem 1.2rem; }
  .audit-score-wrap { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .audit-score-circle { width: 110px; height: 110px; }
  .audit-score-num { font-size: 2rem; }
  .audit-step-nav { flex-direction: column-reverse; }
  .audit-step-nav .btn { width: 100%; text-align: center; justify-content: center; }
}

/* ============================================================
   NOUVEAUX STYLES v2 — URL input, loading, vitals, erreur
   ============================================================ */

/* ---- Champ URL ---- */
.audit-url-wrap { margin-bottom: 1.5rem; }
/* Voir aussi la définition complète (bordure, fond, padding) plus bas. */
.audit-url-field {
  display: flex;
  align-items: center;
}
.audit-url-icon {
  flex: 0 0 auto;
  color: var(--slate-400);
  font-size: .95rem;
  pointer-events: none;
}
.audit-url-input {
  width: 100%;
  padding: .85rem 1rem .85rem 2.7rem;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  background: var(--slate-50);
  color: var(--slate-900);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.audit-url-input:focus {
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.audit-url-input--error { border-color: #ef4444; }
.audit-url-hint {
  font-size: .8rem;
  color: #ef4444;
  margin: .4rem 0 0 .2rem;
  min-height: 1rem;
}

/* ---- Ce qu'on analyse ---- */
.audit-what-wrap {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.audit-what-title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 .75rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.audit-what-title i { color: var(--blue-600); }
.audit-what-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .45rem .75rem;
}
.audit-what-grid span {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: var(--slate-600);
}
.audit-what-grid span i { color: var(--blue-600); font-size: .75rem; width: 14px; }

/* ---- Loading ---- */
.audit-loading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 0;
}
.audit-spinner {
  width: 64px; height: 64px;
}
.spinner-svg { width: 100%; height: 100%; animation: spinnerRotate 1.4s linear infinite; }
.spinner-track { fill: none; stroke: var(--slate-200); stroke-width: 4; }
.spinner-ring  {
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 80 46;
}
@keyframes spinnerRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.audit-loading-steps {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  width: 100%;
  max-width: 320px;
}
.loading-step {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  color: var(--slate-700);
  font-weight: 500;
}
.loading-step--wait { color: var(--slate-400); }
.loading-step i.fa-circle-check { color: #22c55e; }
.loading-step i.fa-circle-notch { color: var(--blue-600); }
.loading-step i.fa-circle       { color: #cbd5e1; }

/* ---- En-tête résultat (URL analysée) ---- */
.audit-result-url {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--slate-600);
  background: var(--slate-100);
  border-radius: 8px;
  padding: .5rem .85rem;
  margin-bottom: 1.5rem;
  word-break: break-all;
}
.audit-result-url i { color: var(--blue-600); flex-shrink: 0; }

/* ---- Métriques vitales ---- */
.audit-vitals {
  margin-bottom: 1.75rem;
}
.audit-vitals-title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .85rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.audit-vitals-title i { color: var(--blue-600); }
.audit-vitals-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .6rem;
}
.vital-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: .85rem .5rem;
  border-radius: 12px;
  border: 1.5px solid;
  text-align: center;
}
.vital-card--ok  { background: #f0fdf4; border-color: #86efac; }
.vital-card--mid { background: #fffbeb; border-color: #fcd34d; }
.vital-card--bad { background: #fef2f2; border-color: #fca5a5; }
.vital-card i { font-size: 1.1rem; }
.vital-card--ok  i { color: #16a34a; }
.vital-card--mid i { color: #d97706; }
.vital-card--bad i { color: #dc2626; }
.vital-value {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
}
.vital-label  { font-size: .7rem;  font-weight: 600; color: var(--slate-500); }
.vital-status { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.vital-card--ok  .vital-status { color: #16a34a; }
.vital-card--mid .vital-status { color: #d97706; }
.vital-card--bad .vital-status { color: #dc2626; }

/* ---- Titre axes ---- */
.audit-axes-title {
  font-size: .82rem;
  font-weight: 700;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .85rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.audit-axes-title i { color: var(--blue-600); }

/* ---- Questions qualitatives ---- */
.audit-q-label {
  font-size: .95rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 .85rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.audit-q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: var(--blue-600);
  color: white;
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ---- Erreur ---- */
.audit-error-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 1rem 0;
}
.audit-error-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fef2f2;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #dc2626;
}
.audit-error-reasons {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  text-align: left;
  max-width: 420px;
  width: 100%;
}
.audit-error-reasons p  { font-size: .88rem; color: var(--slate-700); margin: 0 0 .5rem; }
.audit-error-reasons ul { margin: 0; padding-left: 1.2rem; }
.audit-error-reasons li { font-size: .85rem; color: var(--slate-500); margin-bottom: .3rem; line-height: 1.5; }

/* ---- Responsive v2 ---- */
@media (max-width: 768px) {
  .audit-vitals-grid { grid-template-columns: repeat(3, 1fr); }
  .audit-what-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .audit-vitals-grid { grid-template-columns: repeat(2, 1fr); }
  .audit-step-nav    { flex-direction: column-reverse; }
  .audit-step-nav .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   NOUVEAUX ÉLÉMENTS — flow client v3
   ============================================================ */

/* ---- URL field (v2 — sans classe -input, l'input est natif) ---- */
.audit-url-field {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  background: var(--slate-50);
  padding: .6rem 1rem;
  gap: .65rem;
  transition: border-color .2s, box-shadow .2s;
}
.audit-url-field:focus-within,
.audit-url-field--error { border-color: var(--blue-600); background: #fff; }
.audit-url-field--error  { border-color: #ef4444 !important; }
.audit-url-field input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 1rem; font-family: 'Inter', sans-serif; color: var(--slate-900);
}
.audit-url-field input::placeholder { color: var(--slate-400); }

/* ---- Scope cards ---- */
.audit-scope-wrap   { margin-bottom: 1.5rem; }
.audit-scope-label  { font-size: .8rem; font-weight: 700; color: var(--slate-600); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .7rem; }
.audit-scope-grid   { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }

.audit-scope-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: .3rem;
  padding: .9rem 1rem;
  border: 1.5px solid var(--slate-200); border-radius: 12px;
  background: var(--slate-50); cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
  user-select: none;
}
.audit-scope-card input { display: none; }
.audit-scope-card:hover { border-color: #93c5fd; background: #f0f7ff; }
.audit-scope-card.active {
  border-color: var(--blue-600); background: var(--blue-50);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.scope-icon { font-size: 1.1rem; color: var(--blue-600); margin-bottom: .2rem; display: flex; gap: .3rem; }
.audit-scope-card strong { font-size: .85rem; color: var(--slate-900); font-weight: 700; }
.audit-scope-card small  { font-size: .75rem; color: var(--slate-500); line-height: 1.35; }
.audit-scope-card em     { color: var(--blue-600); font-style: normal; }

/* ---- Bouton pleine largeur ---- */
.btn-block { width: 100%; justify-content: center; margin-top: .5rem; }

/* ---- Formulaire email ---- */
.audit-form-fields { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.2rem; }

.audit-field-wrap { display: flex; flex-direction: column; gap: .4rem; }
.audit-field-label { font-size: .8rem; font-weight: 700; color: var(--slate-700); }
/* Les autres champs de cette étape ne portent pas d'astérisque : on signale
   donc le caractère facultatif en toutes lettres, en retrait typographique. */
.audit-field-optional { font-weight: 500; color: var(--slate-400); }
.audit-field-inner {
  display: flex; align-items: center; gap: .65rem;
  border: 1.5px solid var(--slate-200); border-radius: 10px;
  background: var(--slate-50); padding: .65rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.audit-field-inner:focus-within { border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.audit-field-inner i { color: var(--slate-400); font-size: .9rem; flex-shrink: 0; }
.audit-field-inner input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: .95rem; font-family: 'Inter', sans-serif; color: var(--slate-900);
}
.audit-field-inner input::placeholder { color: var(--slate-400); }
.audit-field-hint { font-size: .75rem; color: var(--slate-400); }

/* ---- Consentement ---- */
.audit-consent { margin-bottom: 1.25rem; }
.audit-consent-label {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: .8rem; color: var(--slate-500); line-height: 1.5; cursor: pointer;
}
.audit-consent-label input[type="checkbox"] { margin-top: .15rem; flex-shrink: 0; accent-color: var(--blue-600); }
.audit-consent-label a { color: var(--blue-600); text-decoration: underline; }

/* ---- Bouton back ---- */
.audit-back { min-width: 100px; }

/* ---- Score cards (résultats) ---- */
/* `minmax(200px, 1fr)` : auto-fit ne descend jamais sous le minimum, donc
   deux cartes SEO+GEO réclamaient 200+200+gap ≈ 412px alors que le wizard
   n'en offre que ~288 sur un écran de 375. D'où le débordement à droite.
   `min(200px, 100%)` laisse la colonne se réduire quand la place manque. */
.audit-scores-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: .75rem;
  margin-bottom: 1.25rem;
}

/* Rappel du perimetre : discret, informatif — surtout pas une alerte. */
.audit-scope-note {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .8rem;
  line-height: 1.5;
  color: #64748b;
  margin: -.5rem 0 1.25rem;
}

.audit-scope-note i { color: var(--blue-600); margin-top: .2rem; flex-shrink: 0; }
.audit-score-card {
  background: white;
  border: 1.5px solid var(--slate-200);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.asc-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .65rem;
}
.asc-type  { font-size: .72rem; font-weight: 700; color: var(--slate-400); text-transform: uppercase; letter-spacing: .07em; display: flex; align-items: center; gap: .35rem; }
.asc-level { font-size: .75rem; font-weight: 700; }
.asc-num   { font-family: 'Sora', sans-serif; font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: .5rem; }
.asc-num sup { font-size: .9rem; opacity: .4; vertical-align: super; margin-left: .08rem; }
.asc-bar   { height: 5px; background: var(--slate-200); border-radius: 50px; overflow: hidden; }
.asc-bar-fill { height: 100%; border-radius: 50px; transition: width 1.1s cubic-bezier(.34,1.56,.64,1); }

/* ---- Axes d'amelioration (items) ---- */
#auditAxesWrap    { margin-bottom: 1.5rem; }
.audit-axes-title {
  font-size: .78rem; font-weight: 700; color: var(--slate-600);
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: .85rem; display: flex; align-items: center; gap: .45rem;
}
.audit-axes-title i { color: var(--blue-600); }

.audit-axis-item {
  display: grid; grid-template-columns: 38px 1fr; gap: .75rem;
  align-items: start; background: white;
  border: 1px solid var(--slate-200); border-radius: 10px;
  padding: .85rem 1rem; margin-bottom: .55rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.aai-icon {
  width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: .88rem;
  flex-shrink: 0;
}
.aai-title { font-size: .88rem; font-weight: 700; color: var(--slate-900); margin-bottom: .2rem; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.aai-desc  { font-size: .8rem; color: var(--slate-500); line-height: 1.5; }

.badge-qw  { font-size: .65rem; font-weight: 700; background: #dcfce7; color: #16a34a; padding: .12rem .45rem; border-radius: 50px; }
.badge-src { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .12rem .45rem; border-radius: 50px; }
.badge-src--seo { background: #dbeafe; color: var(--blue-600); }
.badge-src--geo { background: #f5f3ff; color: #7c3aed; }

/* ---- Email envoyé ---- */
.audit-email-sent {
  display: flex; align-items: center; gap: .65rem;
  background: #f0fdf4; border: 1px solid #86efac; border-radius: 10px;
  padding: .75rem 1rem; margin-bottom: 1.25rem;
  font-size: .85rem; font-weight: 600; color: #16a34a;
  opacity: 0; transform: translateY(-5px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.audit-email-sent.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.audit-email-sent i { font-size: 1rem; }
.audit-email-sent span { font-weight: 400; color: #15803d; margin-left: .25rem; }

/* ---- Responsive scope grid ---- */
@media (max-width: 560px) {
  .audit-scope-grid { grid-template-columns: 1fr; }
}

