/* client-d3 (03/12/2026) — thème D : connexion, inscription, mot de passe oublié / nouveau, 2FA, e-mail à confirmer / confirmé.
   Portée : body.td-au (posé par layouts.auth-v4 seulement si App\Refonte\ThemeD::on() et sur ces routes) + aside .td-au-vis.
   Chargée sur toutes les pages du thème D (glob theme-d-*.css) : aucune règle hors de ces deux portées. */

/* ---------- commun (mobile d'abord) ---------- */
body.td-au{background:var(--bg)}
/* finitions 03/12 : cases et boutons radio au violet du thème (plus de bleu du navigateur), clair comme sombre */
.td-au,.td-au input[type=radio],.td-au input[type=checkbox]{accent-color:var(--accent)}
.td-au a:focus-visible,.td-au button:focus-visible,.td-au input:focus-visible,.td-au summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.td-au .v-au__top{padding:10px 16px;border-bottom:1px solid var(--line)}
.td-au .v-au__top .v-brand img,.td-au .v-au__top .v-brand .v-side__lg{width:28px;height:28px}
.td-au .v-au__top .v-brand b{font-size:14px;font-weight:600;letter-spacing:-.01em}
.td-au .v-au__main{justify-content:flex-start;padding:24px 16px 20px}
.td-au .v-au__card,.td-au .v-au__card--wide{max-width:440px;background:transparent;border:0;border-radius:0;padding:0;overflow:visible}
.td-au .v-au__card::before{display:none}
.td-au .v-au__h{font-size:24px;font-weight:600;letter-spacing:-.025em}
.td-au .v-au__sub{font-size:14px}
.td-au .v-au__form{gap:16px}
.td-au .v-label{font-size:13px;color:var(--muted)}
/* champs 16 px (pas de zoom automatique sur iPhone), boutons 48 px */
.td-au .v-au__form .v-input,.td-au .v-au__card .v-input{height:48px;min-height:48px;font-size:16px;border-radius:10px}
.td-au .v-au__form .v-au__otp{height:52px!important;font-size:22px!important}
.td-au .v-au__form .v-btn--lg,.td-au .v-au__card>.v-btn--lg,.td-au .v-au__pk .v-btn--lg,.td-au .v-au__social .v-btn--lg,.td-au .v-au__card .v-btn--block{height:48px;min-height:48px;font-size:15px;border-radius:10px}
.td-au .v-au__social{gap:10px}
.td-au .v-au__social .v-btn{background:var(--raised);border-color:var(--line)}
.td-au .v-au__social .v-btn:hover{border-color:color-mix(in srgb,var(--text) 22%,var(--line))}
.td-au .v-au__or{margin:20px 0}
.td-au .v-au__eye{width:40px;height:40px}
.td-au .v-au__foot{margin-top:28px}
/* connexion / inscription : le lien vers l'autre page passe sous le bouton principal, la clé d'accès en dernier (ordre visuel seulement) */
.td-au--login .v-au__card,.td-au--register .v-au__card{display:flex;flex-direction:column}
.td-au--login .v-au__h,.td-au--register .v-au__h{margin-bottom:22px}
.td-au--login .v-au__sub,.td-au--register .v-au__sub{order:5;margin:18px 0 0;text-align:center}
.td-au--login .v-au__pk{order:6}
.td-au--login .v-au__pk .v-au__or{margin:22px 0 16px}
.td-au .v-au__card .v-alert{margin-bottom:18px}
@media (max-width:560px){
 .td-au .v-au__top .v-brand small{display:none}
 .td-au .v-au__main{padding:22px 16px 16px}
 .td-au .v-au__h{font-size:22px}
}

/* ---------- panneau visuel (PC seulement) ---------- */
.td-au-vis{display:none}
@media (min-width:1024px){
 /* la marge basse réservée au bandeau cookies (v4.css, 120 px) créait un défilement inutile et décrochait le panneau collant */
 html body.td-au.v-au-body{padding-bottom:0!important}
 .td-au-vis{align-self:start}
 body.td-au{display:grid;grid-template-columns:minmax(520px,44%) minmax(0,1fr);min-height:100vh;min-height:100dvh}
 .td-au .v-au{min-width:0;min-height:100vh;min-height:100dvh}
 .td-au .v-au__top{padding:20px 40px;border-bottom:0}
 .td-au .v-au__top .v-brand img,.td-au .v-au__top .v-brand .v-side__lg{width:32px;height:32px}
 .td-au .v-au__main{justify-content:center;padding:16px 40px 28px}
 .td-au .v-au__form .v-input,.td-au .v-au__card .v-input{height:46px;min-height:46px;font-size:15px}
 .td-au .v-au__form .v-btn--lg,.td-au .v-au__card>.v-btn--lg,.td-au .v-au__pk .v-btn--lg,.td-au .v-au__social .v-btn--lg,.td-au .v-au__card .v-btn--block{height:46px;min-height:46px}
 body.td-au:not(:has(.v-side.is-mini)) .v-cookie{left:auto;right:24px;bottom:24px;width:auto;max-width:380px}/* bandeau cookies sur le panneau visuel, pas sur le formulaire */
 .td-au-vis{display:block;position:sticky;top:0;height:100vh;height:100dvh;overflow:hidden;background:#111113;border-left:1px solid #29292e;color:#eeecf1}
 .td-au-vis__grid{position:absolute;top:-70px;left:-60px;right:-60px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;transform:rotate(-5deg);opacity:.5;filter:saturate(.8)}
 .td-au-vis__grid img{display:block;width:100%;height:auto;aspect-ratio:12/5;object-fit:cover;border-radius:10px;background:#1d1d21}
 .td-au-vis::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,17,19,.35) 0%,rgba(17,17,19,.55) 35%,rgba(17,17,19,.93) 66%,#111113 88%),radial-gradient(70% 50% at 20% 100%,rgba(124,77,219,.22),transparent 70%)}
 .td-au-vis__txt{position:absolute;left:56px;right:56px;bottom:64px;z-index:1;max-width:560px}
 .td-au-vis__h{margin:0 0 24px;font-size:30px;line-height:1.2;font-weight:600;letter-spacing:-.025em;color:#eeecf1}
 .td-au-vis__l{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
 .td-au-vis__l li{display:flex;align-items:center;gap:12px;font-size:15px;color:#d4d1da}
 .td-au-vis__l li::before{content:"";flex:none;width:24px;height:24px;border-radius:7px;background:rgba(124,77,219,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a98bff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat}
}
@media (min-width:1600px){
 .td-au-vis__h{font-size:34px}
 .td-au-vis__txt{left:72px;bottom:80px}
}
