/* Lot 10.41.41.25 — Parcours public harmonisé avec Goodbye 10.41.41.24.
   Cette feuille surcharge seulement les styles d'accès et ne change aucun traitement serveur. */
:root{
  --af-bg:#fcf8f6;
  --af-surface:#fffdfb;
  --af-text:#3a2b2b;
  --af-muted:#79635b;
  --af-line:#edddd2;
  --af-primary:#98516b;
  --af-primary-dark:#7f4059;
  --af-primary-soft:#fae9f0;
  --af-pink:#fbf0f4;
  --af-blue:#f7f1f2;
  --af-green:#edf5eb;
  --af-orange:#fff7ef;
  --af-violet:#f8eff5;
  --af-danger:#b33d53;
  --af-danger-soft:#fff0f1;
  --af-success:#497052;
  --af-success-soft:#eaf3e8;
  --af-warning:#875e2c;
  --af-warning-soft:#fff4e4;
  --af-shadow:0 12px 35px rgba(96,57,48,.06);
  --af-radius-xl:20px;
  --af-radius-lg:17px;
  --af-radius-md:12px;
}
html{background:#fcf8f6}
body.access-page{
  padding-top:0 !important;
  color:var(--af-text);
  background:radial-gradient(ellipse 68% 32% at 92% 5%,rgba(182,117,139,.12),transparent 78%),radial-gradient(ellipse 50% 45% at 0 18%,rgba(233,180,148,.14),transparent 75%),linear-gradient(180deg,#fcf8f6 0%,#fbf6f6 62%,#fbf8f3 100%) !important;
  background-attachment:scroll !important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.ca25-topbar{
  background:rgba(255,251,248,.94);
  border-bottom:1px solid #f0ddd2;
  min-height:62px;
}
.ca25-topbar__inner{max-width:1180px;margin:0 auto;min-height:62px;padding:9px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.ca25-brand{font-size:1.12rem;font-weight:850;letter-spacing:-.045em;color:#382829;text-decoration:none;white-space:nowrap}
.ca25-brand span{color:#9a4f6e}
.ca25-brand:hover{color:#382829}
.ca25-nav{display:flex;align-items:center;gap:9px}
.ca25-nav a{min-height:40px;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;text-decoration:none;color:#84405d;font-size:.89rem;font-weight:700}
.ca25-nav a:hover,.ca25-nav a[aria-current="page"]{background:#f9eaf0;color:#773651}
.ca25-nav .ca25-nav__primary{background:#98516b;color:#fff;border:1px solid #98516b}
.ca25-nav .ca25-nav__primary:hover,.ca25-nav .ca25-nav__primary[aria-current="page"]{background:#7f4059;color:#fff}
.ca25-nav a:focus-visible,.ca25-brand:focus-visible{outline:3px solid #a85b7c;outline-offset:3px}
.af-main{padding-top:clamp(28px,5vh,60px);padding-bottom:48px}
.af-main--auth{width:min(620px,calc(100% - 32px))}
.af-main--signup{width:min(690px,calc(100% - 32px))}
.af-main--narrow{width:min(750px,calc(100% - 32px))}
.af-panel{background:rgba(255,253,251,.97);border:1px solid #edddd2;border-radius:20px;box-shadow:var(--af-shadow);padding:clamp(24px,4vw,40px)}
.af-title,.af-title--small{color:#4b3730;line-height:1.15;letter-spacing:-.035em}
.af-title--small{font-size:clamp(1.65rem,3vw,2.15rem)}
.af-subtitle{color:#6d554d;line-height:1.55}
.af-eyebrow{color:#a16c53;font-size:.76rem}
.af-btn{border-radius:11px;border-color:#e8cdbf;background:#fff9f6;color:#82536a;box-shadow:none;min-height:46px}
.af-btn:hover{background:#faebea;border-color:#d9b9ae;color:#71415a}
.af-btn--primary{border-color:#98516b;background:#98516b;color:#fff;box-shadow:none}
.af-btn--primary:hover{border-color:#7f4059;background:#7f4059;color:#fff}
.af-btn--danger{background:#b33d53;border-color:#b33d53;color:#fff}
.af-btn--danger:hover{color:#fff}
.af-link,.af-entry-public-link{color:#84405d}
.af-link:hover,.af-entry-public-link:hover{color:#6d314d}
.af-input,.af-select,.af-textarea{background:#fff;border:1px solid #e2cfc7;border-radius:11px;color:#3a2b2b;min-height:48px}
.af-input:focus,.af-select:focus,.af-textarea:focus{border-color:#ae7790;box-shadow:0 0 0 3px rgba(152,81,107,.12)}
.af-input::placeholder,.af-textarea::placeholder{color:#99877f}
.af-toggle-password{background-color:#f9eeec;border-radius:9px}
.af-toggle-password:hover{background-color:#f3e2e2}
.af-checkbox{color:#5d4940}
.af-checkbox input{accent-color:#98516b}
.af-alert,.af-inline-help,.af-inline-note span,.af-captcha{border-radius:12px}
.af-inline-help{background:#fdf4f2;color:#76584e;border-color:#efddd6}
.af-captcha{background:#fff8f2;border:1px solid #ead8c9}
.af-pill--primary{background:#fae9f0;border-color:#e7c4d3;color:#84405d}
.af-age-badge,.af-age-badge--prominent{background:#fff9f6;border-color:#efcfcd;color:#9c4856;box-shadow:none}
.af-trust-chip{background:rgba(255,253,251,.85);border-color:#ecd9d2;color:#66514a}
.af-entry-hero{background:linear-gradient(135deg,#fff9f6 0%,#f9eaf0 100%);border:1px solid #ecd8d7;border-radius:20px;box-shadow:var(--af-shadow);padding:clamp(26px,4.5vw,54px)}
.af-entry-cta{border-color:#edddd2;border-radius:17px;background:#fffdfb;box-shadow:0 6px 22px rgba(96,57,48,.055)}
.af-entry-content .af-title{font-size:clamp(2.25rem,4.4vw,3.65rem)}
.af-adult-note{background:rgba(255,253,251,.9);border-color:#edddd2;border-radius:16px}
.af-adult-note__icon{background:#f9e5e9;color:#9c4856;border-radius:12px}
.af-auth-topline{margin-bottom:17px}
.af-form{margin-top:24px;gap:17px}
.af-label{color:#4b3730}
.af-auth-separator{color:#8b756e}
.af-status{text-align:center;padding-top:clamp(34px,5vw,52px);padding-bottom:clamp(34px,5vw,52px);max-width:690px;margin:0 auto}
.af-status .af-status-icon{width:62px;height:62px;margin:0 auto 22px;border-radius:50%;display:grid;place-items:center;background:#f9edf1;color:#98516b;font-size:1.8rem}
.af-status.is-success .af-status-icon{background:#eaf3e8;color:#497052}
.af-status.is-warning .af-status-icon{background:#fff3df;color:#966423}
.af-status.is-error .af-status-icon{background:#fae7eb;color:#a43a50}
.af-status .af-actions{justify-content:center;gap:12px;margin-top:26px}
.af-status .af-help{margin-top:15px;font-size:.86rem}
.af-modal-card,.af-ban-card{background:#fffdfb;border:1px solid #edddd2;border-radius:20px}
.af-security-box{background:#f8eaf0;border:1px solid #ebd0dc;border-radius:13px;color:#5f3f4d}
.af-security-box p{color:#755665}
.af-footer{color:#806a63}
.af-footer-inner{border-top-color:#eadbd5}
.af-footer a{color:#806a63}
.af-footer a:hover{color:#84405d}
.af-footer strong{color:#934b57}
body.access-page :is(a,button,input,select,textarea):focus-visible{outline:3px solid rgba(152,81,107,.7);outline-offset:3px}
@media(max-width:720px){
  .af-main,.af-main--auth,.af-main--signup,.af-main--narrow{width:calc(100% - 24px);padding-top:25px}
  .af-panel{padding:24px 20px;border-radius:17px}
  .af-entry-hero{padding:24px 21px}
  .af-entry-hero .af-entry-cta{margin-top:4px}
  .af-status .af-actions{flex-direction:column;align-items:stretch}
  .af-status .af-actions .af-btn{width:100%}
}
@media(max-width:600px){
  .ca25-topbar__inner{padding:9px 13px;gap:10px}
  .ca25-brand{font-size:.92rem}
  .ca25-nav{gap:3px}
  .ca25-nav .ca25-nav__home{display:none}
  .ca25-nav a{font-size:.8rem;padding:9px 9px;min-height:38px}
  .af-entry-content .af-title{font-size:2.2rem}
}
@media(max-width:380px){
  .ca25-brand{font-size:.83rem}
  .ca25-nav a{font-size:.76rem;padding:7px}
}
@media(prefers-reduced-motion:reduce){body.access-page a{transition:none}}

/* Le formulaire de connexion n'a pas besoin de répéter ses fonctions. */
body.access-login .af-panel--auth > .af-subtitle,
body.access-login .af-panel--auth > .af-help--center{display:none}
