/* Styles de la maquette Claude Design, regroupés en classes. Valeurs reprises à l'identique. */
html, body { margin: 0; padding: 0; background: #F3F0E9; }
* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
a { color: #9C3A2B; }
a:hover { color: #B94532; }
input::placeholder, textarea::placeholder { color: #847761; opacity: 1; }
@keyframes shp-spin { to { transform: rotate(360deg); } }
@keyframes shp-pulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

.page { min-height: 100vh; font-family: var(--font-body); color: var(--fuji-night); background: var(--kome); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* En-têtes */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(243,240,233,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(30,38,41,.08); }
.bar.dark { background: rgba(30,38,41,.96); border-bottom-color: rgba(229,223,211,.08); }
.bar-in { max-width: 720px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.bar-in img { height: 22px; width: auto; display: block; }
.progress { display: flex; align-items: center; gap: 10px; }
.progress span.lbl { font-size: 13px; color: var(--ink-warm); font-variant-numeric: tabular-nums; }
.progress .bars { display: flex; gap: 4px; }
.progress .bars i { display: block; width: 18px; height: 4px; border-radius: 2px; background: rgba(30,38,41,.14); }
.progress .bars i.on { background: var(--brick); }
.bar-domain { font-size: 13px; color: var(--hikari-frost); }

/* Titres */
.h-display { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; text-wrap: balance; }
.h-block { margin: 28px 0 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 18px; }
.lead { font-size: 17px; line-height: 1.55; color: var(--ink-warm); text-wrap: pretty; }
.micro { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }

/* Champs */
.field { width: 100%; font-family: var(--font-body); color: var(--fuji-night); background: #fff; border: 1px solid rgba(30,38,41,.18); outline: none; }
.field:focus { border-color: #B94532; box-shadow: 0 0 0 3px rgba(185,69,50,.12); }
.field.bad { border: 1.5px solid var(--brick); box-shadow: 0 0 0 3px rgba(185,69,50,.12); }
.field-url { height: 58px; padding: 0 18px; font-size: 18px; border-radius: 14px; }
.field-area { padding: 16px 18px; font-size: 17px; line-height: 1.5; border-radius: 14px; resize: vertical; }
.field-email { margin-top: 10px; height: 56px; padding: 0 16px; font-size: 17px; border-radius: 12px; }
.alert { margin: 0; font-size: 14px; line-height: 1.45; color: var(--brick); }

/* Boutons */
.btn { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 14px; width: 100%; min-height: 58px; padding: 5px 5px 5px 24px; border: none; border-radius: 99rem; background: var(--brick); color: #fff; font-family: var(--font-body); font-size: 17px; font-weight: 500; cursor: pointer; text-align: left; }
.btn:hover { background: #8A311F; box-shadow: 0 12px 30px -18px rgba(156,58,43,.4); }
.btn .dot { width: 48px; height: 48px; flex-shrink: 0; border-radius: 99rem; background: #fff; color: var(--brick); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.btn[disabled], .btn.off { background: rgba(30,38,41,.1); color: var(--ink-soft); cursor: default; box-shadow: none; }
.btn[disabled] .dot, .btn.off .dot { background: rgba(255,255,255,.7); color: var(--ink-soft); }
.btn-link { width: 100%; min-height: 48px; background: transparent; border: none; font-family: var(--font-body); font-size: 15px; color: var(--ink-warm); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn-link.light { color: var(--hikari-frost); }
.btn-ghost { min-height: 48px; padding: 0 22px; border-radius: 99rem; border: 1.5px solid var(--fuji-night); background: transparent; color: var(--fuji-night); font-family: var(--font-body); font-size: 15px; font-weight: 500; cursor: pointer; }
.btn-ghost:hover { background: #1E2629; color: #F3F0E9; }

/* Choix */
.choices { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { min-height: 56px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(30,38,41,.14); background: #fff; color: var(--fuji-night); font-family: var(--font-body); font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; line-height: 1.25; }
.choice:hover { border-color: rgba(185,69,50,.4); }
.choice.pill { min-height: 52px; border-radius: 99rem; text-align: center; line-height: normal; }
.choice[aria-checked="true"] { border: 1.5px solid var(--fuji-night); background: var(--fuji-night); color: var(--kome); }

.status { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-warm); min-height: 24px; }
.status .pulse { width: 8px; height: 8px; border-radius: 99px; background: #B94532; display: inline-block; animation: shp-pulse 1.2s ease-in-out infinite; }
.status .ok { width: 8px; height: 8px; border-radius: 99px; background: var(--olive); }

/* Analyse */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(229,223,211,.1); }
.steps .ic { width: 20px; height: 20px; border-radius: 99px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.steps .done { background: var(--olive-soft); color: var(--fuji-night); }
.steps .failed { background: var(--brick-soft); color: #fff; }
.steps .pending { border: 1.5px solid rgba(229,223,211,.25); }
.steps .spin { border-radius: 50%; border: 2px solid rgba(229,223,211,.2); border-top-color: #E2A597; animation: shp-spin .9s linear infinite; }
.steps .lbl { font-size: 17px; font-weight: 500; color: var(--kome); }
.steps .det { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--hikari-frost); }
.tag-dark { background: rgba(229,223,211,.06); border-color: rgba(229,223,211,.14); color: var(--hikari-frost); }

/* Verrou */
.sk { display: block; border-radius: 6px; background: rgba(30,38,41,.1); height: 10px; }
.card { padding: 20px; border-radius: 18px; background: var(--bone); border: 1px solid rgba(30,38,41,.08); }
.chip { padding: 6px 12px; border-radius: 99rem; font-size: 13px; font-weight: 500; }
.chip-brick { padding: 5px 11px; border-radius: 99rem; background: rgba(185,69,50,.1); color: var(--brick); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* Résultat */
.opp { background: var(--bone); border: 1px solid rgba(30,38,41,.08); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(30,38,41,.04), 0 12px 32px -20px rgba(30,38,41,.15); }
.check { margin-top: 14px; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; width: 100%; min-height: 44px; padding: 4px 0; background: transparent; border: none; text-align: left; cursor: pointer; font-family: var(--font-body); }
.check .box { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 7px; background: #fff; border: 1.5px solid rgba(30,38,41,.3); color: #fff; font-size: 14px; font-weight: 700; }
.check[aria-checked="true"] .box { background: var(--brick); border-color: var(--brick); }

/* Logos clients : même gris pour tous, pour une bande calme */
.logos { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; align-items: center; justify-items: center; }
.logos img { max-width: 100%; max-height: 34px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .6; mix-blend-mode: multiply; }
