/* ─────────────── L'atelier du client ─────────────── */
.at-main { max-width: 1040px; margin: 0 auto; padding: 8px 16px 120px; }
.at .r-top { max-width: 1040px; }

/* En-tête : score, objectif, progression */
.at-hero { padding-top: 8px; }
.at-hero-grille { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-top: 22px; padding: 22px; border-radius: 22px; background: var(--bg-1); border: 1px solid var(--line-2); }
.at-score { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.at-score .gauge { width: 132px; height: 132px; }
.at-score .gauge-n { font-size: 40px; }
.at-score-l { font-size: 12.5px; color: var(--text-3); text-align: center; }
.at-hero-infos { display: grid; gap: 14px; }
.at-objectif { display: flex; flex-direction: column; gap: 2px; }
.at-objectif span, .at-progress span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.at-objectif b { font-size: 18px; color: var(--scan); }
.at-progress p { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.at-progress b { font-size: 14px; font-variant-numeric: tabular-nums; }
.at-barre { height: 8px; border-radius: 8px; background: rgba(255,255,255,.07); overflow: hidden; }
.at-barre i { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--scan); transition: width .5s var(--ease); }
.at-rescan { height: 50px; width: 100%; }

/* Onglets */
.at-onglets { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; gap: 6px; margin: 22px -16px 0; padding: 10px 16px; overflow-x: auto; scrollbar-width: none; background: rgba(6, 7, 11, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.at-onglets::-webkit-scrollbar { display: none; }
.at-onglets button { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.at-onglets button[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.at-pastille { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 11.5px; }
.at-panneau { padding-top: 22px; }

.at-h3 { margin: 30px 0 12px; font-size: 18px; letter-spacing: -.01em; }
.at-h3 span { font-weight: 500; color: var(--text-3); font-size: 14px; }
.at-mini-l { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.at-note { margin-top: 10px; font-size: 13px; color: var(--text-3); }
.at-num { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bad); color: #fff; font-size: 13px; font-weight: 700; }
.at-num.hors { background: var(--bg-2); color: var(--text-2); border: 1px solid var(--line-2); }
.at-petit { height: 34px; padding: 0 12px; font-size: 13px; }

/* Radiographie : le téléphone et ses pastilles */
.at-radio { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.at-tel-zone { display: flex; flex-direction: column; align-items: center; }
.at-tel { width: 290px; padding: 10px; border-radius: 44px; background: linear-gradient(150deg, #2c303a, #0d0f15 45%, #1b1e26); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 100px -40px rgba(49, 227, 129, .35); }
.at-ecran { position: relative; height: 580px; border-radius: 36px; overflow: hidden auto; scrollbar-width: none; background: #fff; }
.at-ecran::-webkit-scrollbar { display: none; }
.at-tel-l { margin-top: 12px; font-size: 13px; color: var(--text-3); text-align: center; }

/* L'impact en tête de la radiographie */
.at-impact { padding: 20px; border-radius: 22px; background: linear-gradient(160deg, rgba(255, 90, 100, .1), rgba(255, 90, 100, .02)); border: 1px solid rgba(255, 90, 100, .3); }
.at-impact .at-mini-l { color: var(--bad); }
.at-impact-chiffres { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 10px; margin-top: 12px; }
.at-impact-chiffres div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(6, 7, 11, .5); }
.at-impact-chiffres b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.at-impact-chiffres .rouge b { color: var(--bad); }
.at-impact-chiffres span { font-size: 13px; color: var(--text-2); }
.at-impact > p:last-child { margin-top: 12px; font-size: 15px; color: var(--text-2); }
.at-radio { margin-top: 22px; }

/* Les pages passées au scanner */
.at-pages { display: flex; gap: 6px; margin-bottom: 12px; }
.at-pages button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.at-pages button span { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 11px; }
.at-pages button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Les pages du client (maquette) : volontairement « boutique thème par défaut » */
.mq { color: #222; font-family: ui-sans-serif, system-ui, -apple-system, sans-serif; padding-top: 30px; min-height: 100%; }
.mq [data-zone] { position: relative; transition: box-shadow .25s, background .25s; }
.mq .vise { box-shadow: inset 0 0 0 2px var(--bad); background-color: rgba(255, 90, 100, .06); }
.mq-manque { margin: 0 12px; padding: 8px 40px 8px 10px; border: 1.5px dashed rgba(255, 90, 100, .7); border-radius: 6px; color: #d4434d; font-size: 10.5px; font-weight: 600; line-height: 1.3; }
.mq > .mq-manque { margin: 0 0 4px; border-radius: 0; border-inline: 0; text-align: center; padding-inline: 40px; }
.mq-bandeau { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid #eee; }
.mq-logo { font-weight: 800; letter-spacing: .2em; font-size: 14px; }
.mq-menu { width: 18px; height: 12px; border-block: 2px solid #222; position: relative; }
.mq-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid #222; }
.mq-sac { width: 15px; height: 15px; border: 2px solid #222; border-radius: 2px 2px 4px 4px; }
.mq-image { height: 230px; background: #fff; }
.mq-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mq-compte { position: absolute; left: 10px; bottom: 8px; padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 10px; }
.mq-points { display: flex; justify-content: center; gap: 5px; padding: 8px 0; }
.mq-points i { width: 6px; height: 6px; border-radius: 50%; background: #ddd; }
.mq-points i.on { background: #222; }
.mq-corps { padding: 2px 16px 16px; display: grid; gap: 8px; }
.mq-titre { font-size: 16px; font-weight: 600; line-height: 1.3; padding-right: 26px; }
.mq-avis { font-size: 11px; color: #bbb; padding: 3px 6px; border: 1px dashed #ddd; border-radius: 4px; justify-self: start; }
.mq-prix { font-size: 15px; font-weight: 600; justify-self: start; padding-right: 34px; }
.mq-variantes { display: flex; gap: 6px; }
.mq-variantes span { padding: 5px 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 11px; }
.mq-variantes span.on { border-color: #222; }
.mq-desc { display: grid; gap: 6px; padding: 4px 0; }
.mq-desc b { font-size: 12px; }
.mq-desc i { height: 6px; border-radius: 3px; background: #e7e7e7; }
.mq-desc i:nth-child(3n) { width: 82%; }
.mq-btn { padding: 12px; border-radius: 4px; background: #2563eb; color: #fff; text-align: center; font-size: 13px; font-weight: 600; }
.mq-corps .mq-manque { margin: 0; }
.mq-suite { padding-top: 8px; }
.mq-suite p { font-size: 13px; font-weight: 600; }
.mq-suite div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.mq-suite i, .mq-grille i { aspect-ratio: 1; border-radius: 4px; background: #f1f1f1; }
.mq-pied { margin-top: 8px; padding: 18px 16px 26px; border-top: 1px solid #eee; font-size: 11px; color: #999; }
.mq-hero { display: grid; place-items: center; align-content: center; gap: 12px; height: 260px; padding: 20px; background: #e9e9e9; text-align: center; }
.mq-hero p { font-size: 19px; font-weight: 600; color: #555; }
.mq-hero span { padding: 9px 18px; border: 1px solid #555; font-size: 12px; }
.mq-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mq-article { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-block: 1px solid #eee; }
.mq-article img { width: 64px; height: 64px; object-fit: contain; border: 1px solid #eee; border-radius: 4px; }
.mq-article p { font-size: 12.5px; }
.mq-total { display: grid; gap: 6px; padding: 6px 0; }
.mq-total p:first-child { display: flex; justify-content: space-between; font-size: 14px; }
.mq-gris { font-size: 11.5px; color: #888; padding: 6px 36px 6px 6px; }
.mq-capture { position: relative; padding: 0; }
.mq-capture img { width: 100%; display: block; }
.mq-capture .at-pin { transform: translate(-50%, -50%); right: auto; }

.at-pin {
  position: absolute; right: -4px; top: 50%; transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff;
  background: var(--bad); color: #fff; font: 800 14px var(--font); cursor: pointer;
  box-shadow: 0 0 0 0 rgba(255, 90, 100, .6), 0 4px 10px rgba(0,0,0,.25); animation: at-pouls 2.2s ease-out infinite;
}
.mq-manque .at-pin { right: 6px; }
.mq-bandeau .at-pin { right: auto; left: calc(50% + 50px); }
.mq-image .at-pin + .at-pin { top: 64%; }
.mq-image .at-pin { top: 28%; right: 24px; }
.mq-titre .at-pin, .mq-prix .at-pin { right: -6px; }
.mq-avis .at-pin { right: -38px; }
.mq-btn .at-pin { right: 8px; }
.mq-hero .at-pin { top: 22%; right: 20px; }
.mq-gris .at-pin { right: 2px; }
.at-pin.actif { background: #fff; color: var(--bad); border-color: var(--bad); animation: none; transform: translateY(-50%) scale(1.15); }
.mq-capture .at-pin.actif { transform: translate(-50%, -50%) scale(1.15); }
@keyframes at-pouls { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 100, .6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255, 90, 100, 0); } }

/* Le problème choisi */
.at-detail { scroll-margin-top: 70px; }
.at-pb { padding: 22px; border-radius: 22px; background: var(--bg-1); border: 1px solid rgba(255, 90, 100, .3); }
.at-pb-tete { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.at-perte { margin-left: auto; font-size: 13px; color: var(--bad); }
.at-pb h3 { margin-top: 12px; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.at-quoi { margin-top: 8px; color: var(--text-2); font-size: 15.5px; }
.at-principe { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 181, 71, .07); border: 1px solid rgba(255, 181, 71, .25); }
.at-principe-l { font-size: 13px; font-weight: 700; color: var(--warn); }
.at-principe p:last-child { margin-top: 4px; font-size: 15px; }
.at-aller { margin-top: 16px; width: 100%; height: 48px; }
.at-corrige-ok { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--scan); }

.at-liste { display: grid; gap: 8px; }
.at-ligne { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-1); color: var(--text); text-align: left; cursor: pointer; transition: border-color .2s; }
.at-ligne:hover, .at-ligne.actif { border-color: var(--line-2); }
.at-ligne.actif { border-color: rgba(255, 90, 100, .5); }
.at-ligne.corrige .at-ligne-t { text-decoration: line-through; color: var(--text-3); }
.at-ligne-t { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 500; }
.at-ligne .sev { flex: none; }

/* Le contrôle complet */
.at-controle-bilan { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.at-controle-bilan span { padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid currentColor; }
.v-ok { color: var(--scan); } .v-moyen { color: var(--warn); } .v-non { color: var(--bad); }
.at-controle { margin-top: 14px; }
.at-controle .at-mini-l { margin-bottom: 6px; }
.at-ctrl { padding: 12px 14px; margin-top: 6px; border-radius: 14px; background: var(--bg-1); border: 1px solid var(--line); border-left: 3px solid currentColor; }
.at-ctrl-tete { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.at-ctrl-tete b { color: var(--text); font-size: 14.5px; }
.at-ctrl-tete span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.at-ctrl p { margin-top: 3px; font-size: 14px; color: var(--text-2); }
.at-ctrl .at-ctrl-conseil { color: var(--text); }

/* Plan d'attaque */
.at-source { padding: 16px 18px; border-radius: 18px; background: rgba(49, 227, 129, .06); border: 1px solid rgba(49, 227, 129, .24); }
.at-source .at-mini-l { color: var(--scan); }
.at-source p:last-child { margin-top: 6px; font-size: 15px; }
.at-tache { display: flex; align-items: center; gap: 14px; padding: 14px; margin-top: 8px; border-radius: 16px; background: var(--bg-1); border: 1px solid var(--line); }
.at-coche { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line-2); background: transparent; cursor: pointer; }
.at-coche[aria-checked="true"] { border-color: var(--scan); background: var(--scan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306070b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/15px no-repeat; }
.at-tache-txt { flex: 1; min-width: 0; }
.at-tache-txt > p:first-child { font-weight: 600; font-size: 15px; }
.at-tache.faite .at-tache-txt > p:first-child { text-decoration: line-through; color: var(--text-3); }
.at-tache-meta { margin-top: 2px; font-size: 13px; color: var(--text-3); }
.at-tache-meta b { color: var(--scan); font-weight: 600; }
.at-faire { flex: none; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.at-tache { align-items: flex-start; }
.at-tache .at-coche, .at-tache .at-faire { margin-top: 1px; }
.at-etapes { margin-top: 8px; }
.at-etapes summary { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--scan); cursor: pointer; list-style: none; }
.at-etapes summary::-webkit-details-marker { display: none; }
.at-etapes summary::after { content: "+"; font-size: 15px; line-height: 1; }
.at-etapes[open] summary::after { content: "−"; }
.at-etapes ol, .at-etapes-liste { display: grid; gap: 6px; margin-top: 8px; padding-left: 20px; list-style: decimal; font-size: 14px; color: var(--text-2); }
.at-etapes-liste { font-size: 15px; gap: 8px; }
.at-etapes li::marker, .at-etapes-liste li::marker { color: var(--scan); font-weight: 700; }
.at-verrou { margin-top: 22px; padding: 16px 18px; border-radius: 18px; border: 1px dashed var(--line-2); background: rgba(255,255,255,.02); }
.at-verrou > p:not(.at-mini-l) { margin-top: 6px; font-size: 14.5px; color: var(--text-2); }
.at-verrou ul { display: grid; gap: 6px; margin-top: 10px; }
.at-verrou li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--text-3); }
.at-verrou li::before { content: ""; flex: none; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f98' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/contain no-repeat; }
.at-verrou.ouvert { margin-top: 14px; border-style: solid; border-color: rgba(49, 227, 129, .35); background: rgba(49, 227, 129, .05); }
.at-verrou.ouvert .at-mini-l { color: var(--scan); }
.at-verrou.ouvert li { color: var(--text); }
.at-verrou.ouvert li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2331e381' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }

/* Sections */
.at-charte { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.at-charte > div { padding: 18px; border-radius: 18px; background: var(--bg-1); border: 1px solid var(--line); }
.at-charte > div:last-child { border-color: rgba(49, 227, 129, .35); }
.at-charte p { margin-top: 8px; font-size: 14px; color: var(--text-2); }
.at-charte p b { color: var(--text); }
.at-couleurs { display: flex; gap: 8px; margin-top: 10px; }
.at-couleur { width: 34px; height: 34px; border-radius: 10px; background: var(--c); border: 1px solid var(--line-2); }
.at-video { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px 16px; border-radius: 18px; border: 1px dashed var(--line-2); }
.at-video p { font-size: 14.5px; color: var(--text-2); }
.at-video p b { color: var(--text); }
.at-play { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--text); }
.at-play svg { width: 18px; height: 18px; fill: var(--bg); margin-left: 2px; }
.at-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.at-section, .at-texte { min-width: 0; padding: 18px; border-radius: 18px; background: var(--bg-1); border: 1px solid var(--line); scroll-margin-top: 80px; transition: border-color .3s, box-shadow .3s; }
.at-section > p { margin-top: 6px; font-size: 14.5px; color: var(--text-2); }
.at-section-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.at-section-tete h3 { font-size: 17px; }
.at-fichier { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at-type { flex: none; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.at-section > .at-ou { font-size: 13px; color: var(--text-3); }
.at-corrige-l { font-weight: 600; color: var(--bad) !important; font-size: 13px !important; }
.at-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.at-btns .btn { height: 40px; }
.at-code { margin-top: 12px; max-height: 320px; overflow: auto; padding: 14px; border-radius: 12px; background: #000; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; line-height: 1.5; color: #cfd6d2; white-space: pre; }
.eclaire { border-color: var(--scan) !important; box-shadow: 0 0 0 4px rgba(49, 227, 129, .15); }

/* Logo et police proposés, dans la charte du client */
.at-marque { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.at-marque-carte { padding: 18px; border-radius: 18px; background: var(--bg-1); border: 1px solid var(--line); }
.at-marque-carte > p:last-child { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.at-logos { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.at-logos .aa-fleche { flex: none; width: 30px; height: 30px; font-size: 16px; transform: none; margin: 0; }
.at-logo-avant, .at-logo-apres { flex: 1; display: grid; place-items: center; height: 64px; border-radius: 12px; }
.at-logo-avant { background: #fff; color: #222; font: 800 15px/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: .2em; }
.at-logo-apres { background: var(--f); color: var(--t); font: 600 28px/1 'Fraunces', Georgia, serif; letter-spacing: -.01em; }
.at-police-titre { margin-top: 12px; font: 600 24px/1.2 'Fraunces', Georgia, serif; color: var(--text); }
.at-police-texte { margin-top: 6px; font: 400 15px/1.5 'Montserrat', system-ui, sans-serif; color: var(--text-2); }

/* Textes */
.at-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.at-carte-mini { padding: 18px; border-radius: 18px; background: var(--bg-1); border: 1px solid var(--line); }
.at-carte-mini h3 { margin-top: 6px; font-size: 18px; }
.at-carte-mini p { margin-top: 6px; font-size: 14.5px; color: var(--text-2); }
.at-carte-mini p b { color: var(--text); }
.at-texte { margin-top: 12px; }
.at-avant { margin-top: 10px; font-size: 14px; color: var(--text-3); text-decoration: line-through; }
.at-apres { margin-top: 10px; font-size: 16px; line-height: 1.55; white-space: pre-line; }

/* Offre */
.at-panier { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 20px; background: var(--bg-1); border: 1px solid var(--line-2); }
.at-gros { margin-top: 4px; font-size: 30px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.at-gros.gris { color: var(--text-2); }
.at-gros.vert { color: var(--scan); }
.at-table-zone { margin-top: 14px; overflow-x: auto; }
.at-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.at-table th, .at-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; font-variant-numeric: tabular-nums; }
.at-table th { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.at-tag { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--scan); background: rgba(49, 227, 129, .1); border: 1px solid rgba(49, 227, 129, .3); }

/* Offre */
.at-offre-reco { padding: 20px; margin-bottom: 14px; border-radius: 20px; background: linear-gradient(160deg, rgba(49, 227, 129, .1), rgba(49, 227, 129, .02)); border: 1px solid rgba(49, 227, 129, .35); }
.at-offre-reco h3 { margin-top: 10px; font-size: 26px; letter-spacing: -.02em; }
.at-offre-reco .at-offre-phrase { margin-top: 4px; font-size: 17px; font-weight: 600; color: var(--scan); }
.at-offre-reco p:last-child { margin-top: 8px; font-size: 15px; color: var(--text-2); }
/* L'aperçu dans la charte du client (couleurs --a, --f, --t) */
.at-apercu-offre { max-width: 420px; padding: 18px; border-radius: 18px; background: #fff; color: var(--t); font-family: ui-sans-serif, system-ui, -apple-system, sans-serif; }
.at-apercu-offre b, .mq b { color: inherit; }
.at-panier .aa-fleche { flex: none; margin: 0; transform: none; }
.at-panier .at-gros { white-space: nowrap; }
.ao-prix { display: flex; align-items: baseline; gap: 10px; }
.ao-prix b { font-size: 26px; color: var(--a); }
.ao-prix s { font-size: 15px; color: #999; }
.ao-prix span { padding: 2px 8px; border-radius: 999px; background: var(--a); color: #fff; font-size: 12px; font-weight: 700; }
.ao-options { display: grid; gap: 8px; margin-top: 12px; }
.ao-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px; border-radius: 12px; border: 2px solid rgba(0,0,0,.1); background: #fff; color: var(--t); text-align: left; font: inherit; cursor: pointer; }
.ao-option[aria-pressed="true"] { border-color: var(--a); background: var(--f); }
.ao-radio { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(0,0,0,.25); }
.ao-option[aria-pressed="true"] .ao-radio { border: 5px solid var(--a); }
.ao-nom { flex: 1; font-size: 14px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ao-nom em { padding: 2px 8px; border-radius: 999px; background: var(--a); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; }
.ao-op-prix { display: grid; justify-items: end; font-size: 14px; }
.ao-op-prix s { font-size: 12px; color: #999; }
.ao-btn { margin-top: 12px; padding: 15px; border-radius: 999px; background: var(--a); color: #fff; text-align: center; font-weight: 700; font-size: 15px; }
.ao-rea { margin-top: 10px; font-size: 12px; color: #777; text-align: center; }
.at-offre-autres { display: grid; gap: 10px; }

/* Carrousel produit */
.at-car { position: relative; max-width: 420px; margin-top: 14px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-1); }
.at-car-piste { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.at-car-piste::-webkit-scrollbar { display: none; }
.at-car-slide { flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: start; }
.at-car-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.at-car-fl { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(6, 7, 11, .6); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.at-car-fl.gauche { left: 10px; } .at-car-fl.droite { right: 10px; }
.at-car-compte { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(6, 7, 11, .7); color: #fff; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.at-car-legende { max-width: 420px; margin-top: 10px; font-size: 14.5px; color: var(--text-2); }
.at-car-legende b { color: var(--text); }
.at-images { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 12px; }
.at-image { min-width: 0; }
.at-image h3 { margin-top: 10px; font-size: 15px; }
.at-image p { margin: 4px 0 8px; font-size: 13px; color: var(--text-2); }
.at-image .at-role { margin-bottom: 0; font-weight: 600; color: var(--scan); }
.at-image-vue { position: relative; width: 100%; aspect-ratio: 1; padding: 0; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: var(--bg-1); border: 1px solid var(--line); cursor: pointer; }
.at-image-vue img { width: 100%; height: 100%; object-fit: cover; display: block; }
.at-image-num { position: absolute; left: 8px; top: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--scan); color: var(--bg); font-size: 12px; font-weight: 800; }
.at-image-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.at-telecharger { font-size: 12.5px; font-weight: 600; color: var(--scan); text-decoration: none; }
.at-telecharger:hover { text-decoration: underline; }
.at-tag.gris { color: var(--text-3); background: transparent; border-color: var(--line-2); }
.at-images + .at-source { margin-top: 18px; }
/* La place du vrai avis : vide tant qu'il n'y a pas de vrai client */
.at-avis-vide { display: grid; place-items: center; align-content: center; gap: 6px; width: 100%; height: 100%; padding: 14px; border: 2px dashed var(--line-2); text-align: center; background: var(--bg-1); }
.at-car .at-avis-vide { border-radius: 0; }
.at-image-vue .at-avis-vide { border: 0; }
.at-avis-vide p { font-size: 13px; color: var(--text-3); line-height: 1.35; }
.at-avis-vide p b { color: var(--text); font-size: 15px; }
.at-image-vue .at-avis-vide p:last-child { display: none; }
.at-cases { display: inline-flex; gap: 2px; }
.at-cases svg { width: 22px; height: 22px; padding: 3px; background: #00B67A; fill: #fff; opacity: .35; }

/* Playbook */
.at-plan-page { display: grid; align-content: start; gap: 5px; padding: 34px 12px 14px; background: var(--bg-2); }
.pp-bloc { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; border-radius: 10px; border: 1px dashed rgba(49, 227, 129, .45); background: rgba(49, 227, 129, .05); color: var(--text-2); font: inherit; font-size: 11.5px; text-align: left; cursor: pointer; }
.pp-bloc span { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--scan); color: var(--bg); font-size: 11px; font-weight: 700; }
.pp-1 { min-height: 24px; padding-block: 3px; background: rgba(49, 227, 129, .14); }
.pp-2 { min-height: 150px; align-items: flex-end; }
.pp-5 { min-height: 64px; background: rgba(49, 227, 129, .14); }
.pp-6 { background: rgba(49, 227, 129, .28); border-style: solid; color: var(--text); }
.pp-7, .pp-8, .pp-9, .pp-10 { min-height: 40px; }
.at-playbook { display: grid; gap: 10px; }
.at-playbook li { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: var(--bg-1); border: 1px solid var(--line); scroll-margin-top: 80px; transition: border-color .3s, box-shadow .3s; }
.at-playbook .at-num { background: var(--scan); color: var(--bg); }
.at-playbook h3 { font-size: 15.5px; }
.at-playbook p { margin-top: 3px; font-size: 14px; color: var(--text-2); }
.at-playbook .at-faire { margin-top: 10px; }

/* Audit vidéo */
.at-expert { margin-top: 48px; padding: 26px 22px; border-radius: 22px; background: var(--bg-1); border: 1px solid rgba(49, 227, 129, .3); }
.at-expert .btn { margin-top: 16px; height: 48px; }

/* Re-scan */
.at-modal-in { max-width: 520px; max-height: calc(100svh - 32px); overflow-y: auto; }
.at-modifs { display: grid; gap: 8px; margin-top: 16px; }
.at-modif { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 14.5px; cursor: pointer; }
.at-modif input { width: 20px; height: 20px; accent-color: var(--scan); flex: none; }
.at-autre { display: grid; gap: 6px; margin-top: 14px; font-size: 14px; color: var(--text-2); }
.at-autre textarea { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text); font: inherit; resize: vertical; }
.at-lancer { width: 100%; height: 50px; margin-top: 16px; }
.at-verif { display: grid; gap: 6px; margin-top: 18px; }
.at-verif-l { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--text-3); }
.at-verif-l .etat { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; }
.at-verif-l.encours { color: var(--text); }
.at-verif-l.encours .etat { border-color: rgba(49, 227, 129, .25); border-top-color: var(--scan); animation: at-tourne .7s linear infinite; }
.at-verif-l.fait { color: var(--text); }
.at-verif-l.fait .etat { border-color: var(--scan); background: var(--scan); }
@keyframes at-tourne { to { transform: rotate(360deg); } }
.at-gain-total { margin-top: 8px; font-size: 18px; font-weight: 700; color: var(--scan) !important; }
.at-resultats { display: grid; gap: 10px; margin-top: 16px; }
.at-resultats li { display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.at-resultats li > span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-weight: 700; font-size: 13px; }
.at-resultats li.ok > span { background: var(--scan); color: var(--bg); }
.at-resultats li.ko > span { background: var(--bad); color: #fff; }
.at-resultats p { margin-top: 2px !important; font-size: 13.5px; }

@media (max-width: 900px) {
  .at-radio { grid-template-columns: 1fr; }
  .at-sections, .at-images { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .at-hero-grille { grid-template-columns: 1fr; justify-items: stretch; padding: 18px; }
  .at-charte, .at-duo, .at-sections, .at-marque { grid-template-columns: 1fr; }
  .at-images { grid-template-columns: 1fr 1fr; }
  .at-tel { width: 272px; }
  .at-ecran { height: 548px; }
  .at-impact { padding: 16px; }
  .at-impact-chiffres { grid-template-columns: 1fr 1fr; }
  .at-impact-chiffres .rouge { grid-column: 1 / -1; }
  .at-impact-chiffres b { font-size: 26px; }
  .at-offre-reco h3 { font-size: 22px; }
  .at-panier { gap: 10px; padding: 16px; }
  .at-gros { font-size: 22px; }
  .at-panier .aa-fleche { width: 34px; height: 34px; font-size: 18px; }
  .at-pb { padding: 18px; }
  .at-perte { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .at-pin, .at-image-vue { animation: none; }
}
