/* Accès abonné réel SUN RENOV CSA, unifié visuellement avec l'accueil officiel.
   Les pages restent autonomes : aucune feuille de style ou script de dashboard admin requis. */
:root{--ac-navy:#06194b;--ac-blue:#0864ef;--ac-purple:#703fef;--ac-ink:#142d5d;--ac-muted:#61799b}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Nunito Sans","Segoe UI",Arial,sans-serif;background:#eff5ff;color:var(--ac-ink)}
.csa-auth{position:relative;isolation:isolate;min-height:calc(100vh - 118px);padding:54px 18px 94px;background:radial-gradient(circle at 12% 15%,#d3e7ff 0,transparent 42%),radial-gradient(circle at 88% 85%,#f0e9ff 0,transparent 40%),linear-gradient(125deg,#f8fbff,#edf5ff)}
.csa-auth *{box-sizing:border-box}
.csa-auth a{color:#0959cb;text-underline-offset:3px}
.csa-auth .ac-wrap{width:min(1190px,100%);margin:auto}
.csa-auth .ac-intro{max-width:800px;margin:0 auto 27px;text-align:center}
.csa-auth .ac-eyebrow{display:inline-flex;gap:8px;align-items:center;padding:8px 12px;background:#e6efff;color:#124fb4;border:1px solid #cadcff;border-radius:100px;font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.csa-auth h1{margin:14px 0 10px;font-size:clamp(30px,4.2vw,50px);font-weight:950;letter-spacing:-.045em;line-height:1.1;color:#09275a}
.csa-auth h1 em{font-style:normal;color:#1168ec}
.csa-auth .ac-intro p{margin:0 auto;max-width:660px;color:#54709d;font-size:14px;line-height:1.6}
.csa-auth .ac-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(270px,.65fr);gap:22px;align-items:start}
.csa-auth .ac-card,.csa-auth .ac-side{border-radius:22px;border:1px solid #dce7fa;background:#fff;box-shadow:0 22px 68px #183e7915;min-width:0}
.csa-auth .ac-card{padding:30px}
.csa-auth .ac-card-header{display:flex;gap:13px;align-items:center;margin:0 0 24px}
.csa-auth .ac-card-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:13px;font-size:21px;color:white;background:linear-gradient(135deg,#0759e1,#8754fa);box-shadow:0 10px 18px #2259db44}
.csa-auth .ac-card-header h2{font-size:20px;line-height:1.15;color:#0a2a63;margin:0 0 4px}
.csa-auth .ac-card-header small{font-size:11px;color:#6d82a7}
.csa-auth .ac-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.csa-auth .ac-fields>.ac-full{grid-column:1/-1}
.csa-auth label.ac-field{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#28446f;font-weight:800}
.csa-auth .ac-field input,.csa-auth .ac-field select{font:inherit;font-size:13px;background:#f8fbff;min-width:0;border:1px solid #cad8ef;padding:12px 13px;border-radius:10px;color:#15305e;height:45px}
.csa-auth .ac-field input::placeholder{color:#8599bb}
.csa-auth .ac-field :is(input,select):focus-visible{outline:3px solid #b4d1ff;border-color:#397eee;outline-offset:1px}
.csa-auth .ac-consent{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;background:#f3f7ff;border:1px solid #e3ecf9;border-radius:11px;font-size:12px;line-height:1.6;font-weight:600;color:#425d86}
.csa-auth .ac-consent input{margin:3px 0 0;width:18px;height:18px;accent-color:#0e63ec;flex:0 0 18px}
.csa-auth .ac-primary{width:100%;display:flex;justify-content:center;align-items:center;gap:8px;background:linear-gradient(115deg,#0668f8,#124fcf 63%,#643ae8);border:0;border-radius:11px;padding:14px 16px;min-height:46px;color:white;font-size:14px;font-weight:900;cursor:pointer;box-shadow:0 9px 17px #2854d52a;text-decoration:none}
.csa-auth .ac-primary:hover{filter:brightness(1.09)}
.csa-auth .ac-primary:disabled{opacity:.65;cursor:progress}
.csa-auth .ac-alternative{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:19px;padding-top:18px;border-top:1px solid #e5ecf8;font-size:12px;color:#5d739a}
.csa-auth .ac-status{padding:12px 14px;border-radius:10px;margin:14px 0 0;font-size:12px;font-weight:750;line-height:1.55;display:none}
.csa-auth .ac-status.is-error{display:block;background:#fff0f1;border:1px solid #f5b8c4;color:#a72248}
.csa-auth .ac-status.is-success{display:block;background:#eafaf2;border:1px solid #a7e3c1;color:#0a764e}
.csa-auth .ac-status.is-info{display:block;background:#eaf3ff;border:1px solid #b6d7ff;color:#1450a7}
.csa-auth .ac-side{padding:25px}
.csa-auth .ac-side h2{margin:0 0 15px;font-size:18px;color:#0e2d64}
.csa-auth .ac-side .ac-benefit{display:flex;align-items:flex-start;gap:10px;background:#f5f9ff;padding:12px 10px;margin:9px 0;border:1px solid #e7edfb;border-radius:10px;font-size:12px;line-height:1.5;color:#516c96}
.csa-auth .ac-side .ac-benefit>strong{color:#0a9c72;font-size:17px;line-height:1}
.csa-auth .ac-side .ac-benefit b{display:block;color:#203f70;margin-bottom:2px}
.csa-auth .ac-aside-note{margin-top:17px;padding:12px 14px;background:#fff9e9;color:#82571d;border:1px solid #f5dba3;border-radius:10px;font-size:11px;line-height:1.6}
.csa-auth .ac-disclosure{margin:17px 0 0;color:#617796;font-size:11px;line-height:1.6}
.csa-auth .ac-site-logo{width:84px;height:64px;object-fit:contain}
.csa-auth .ac-password-row{display:flex;gap:5px}
.csa-auth .ac-password-row input{flex:1;width:0}
.csa-auth .ac-password-row button{flex:0 0 auto;border:1px solid #d0dcf0;background:#edf4ff;border-radius:9px;color:#1759b8;font-size:11px;font-weight:750;padding:0 10px;cursor:pointer}
.csa-auth [hidden]{display:none!important}
.csa-auth .ac-actions{margin-top:20px}
.csa-auth .ac-subscription-callout{display:none;padding:11px 14px;margin:0 0 18px;background:#f5f0ff;border:1px solid #ddceff;border-radius:11px;color:#4d2b96;font-size:12px}
.csa-auth .ac-subscription-callout.is-visible{display:block}
@media(max-width:880px){.csa-auth{padding:30px 15px 60px}.csa-auth .ac-layout{grid-template-columns:1fr}.csa-auth .ac-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.csa-auth .ac-side h2,.csa-auth .ac-side .ac-aside-note{grid-column:1/-1}.csa-auth .ac-side .ac-benefit{margin:0}}
@media(max-width:550px){.csa-auth .ac-card{padding:18px}.csa-auth .ac-fields{grid-template-columns:1fr}.csa-auth .ac-fields>.ac-full{grid-column:auto}.csa-auth .ac-side{display:block}.csa-auth .ac-side .ac-benefit{margin:8px 0}.csa-auth .ac-eyebrow{font-size:10px}.csa-auth .ac-card-header h2{font-size:17px}}

/* Parcours commercial officiel : Profil -> Domaine -> Offre.
   Tous les univers sont visibles à l'abonné dans leur propre catégorie. */
.csa-auth .ac-journey{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0 0 4px}
.csa-auth .ac-journey span{display:inline-flex;align-items:center;gap:8px;flex:1 1 138px;padding:9px 12px;border:1px solid #d9e5ff;border-radius:10px;background:linear-gradient(135deg,#f2f7ff,#fbfcff);color:#294b85;font-size:11px;font-weight:850}
.csa-auth .ac-journey span b{width:25px;height:25px;display:grid;place-items:center;flex:none;border-radius:8px;background:linear-gradient(120deg,#1373ed,#6649e8);color:white}
.csa-auth .ac-field textarea{width:100%;min-height:74px;resize:vertical;padding:12px 13px;border:1px solid #cad8ef;border-radius:10px;font:inherit;font-size:13px;color:#15305e;background:#f8fbff}
.csa-auth .ac-field textarea:focus-visible{outline:3px solid #b4d1ff;border-color:#397eee;outline-offset:1px}
.csa-auth .ac-field textarea::placeholder{color:#8599bb}
.csa-auth .ac-field-tip{font-size:11px;font-weight:600;color:#627da1;line-height:1.5}
.csa-auth .ac-field select:disabled{opacity:.75;cursor:progress}
.csa-auth .ac-fields{gap:16px}
@media(max-width:550px){.csa-auth .ac-journey span{flex:1 1 100%}}
