/* ORANGEA — feuille de style consolidée, identité originale de démonstration */
:root{--orange:#f36b0b;--orange-deep:#e85c00;--ink:#101010;--muted:#626575;--line:#d1d1d8;--surface:#fff;--soft:#f5f5f7;--focus:rgba(243,107,11,.18)}
*{box-sizing:border-box}
html{min-height:100%;background:#f7f7f8}
body{margin:0;min-height:100vh;color:var(--ink);font-family:Arial,Helvetica,sans-serif;background:linear-gradient(145deg,#fbfbfc 0%,#f3f3f5 100%);overflow-x:hidden}
.corner{position:fixed;z-index:0;pointer-events:none;background:var(--orange)}
.corner-top{top:0;left:0;width:min(29vw,340px);height:210px;clip-path:polygon(0 0,100% 0,0 100%)}
.corner-bottom{right:0;bottom:0;width:180px;height:245px;clip-path:polygon(100% 0,100% 100%,0 100%)}
.shell{position:relative;z-index:1;width:min(100% - 36px,1000px);margin:0 auto;padding:0 0 24px}
.brand{height:175px;display:flex;justify-content:center;align-items:center;gap:22px;margin:0 auto 10px}
.brand-symbol{width:78px;height:142px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}
.brand-symbol i{display:block;height:20px;border-radius:30px;background:var(--orange)}
.brand-symbol i:nth-child(1),.brand-symbol b{width:23px;height:23px;border-radius:50%;background:var(--orange)}
.brand-symbol i:nth-child(2){width:62px}.brand-symbol i:nth-child(3){width:43px}
.brand-title{font-size:clamp(43px,6vw,70px);font-weight:900;letter-spacing:-3.5px;line-height:.95}
.brand-sub{font-size:clamp(16px,2.1vw,25px);margin-top:9px;letter-spacing:-.5px}
.bank-card{position:relative;width:min(462px,88%);height:250px;margin:0 auto 8px;border-radius:17px;background:linear-gradient(125deg,#ff790d 0%,#f05d00 100%);box-shadow:0 9px 22px #00000014;overflow:hidden;color:#fff}
.card-stripe{position:absolute;top:29px;left:0;right:0;height:53px;background:#111}
.chip{position:absolute;left:20px;top:103px;width:72px;height:45px;border-radius:7px;background:linear-gradient(135deg,#fff2d9,#d9b77e);border:1px solid #fff9;display:grid;place-items:center}
.chip span{width:45px;height:27px;border:1px solid #a9895c;border-radius:5px;background:linear-gradient(90deg,transparent 32%,#a9895c 33%,transparent 35%,transparent 65%,#a9895c 67%,transparent 69%)}
.card-brand{position:absolute;right:23px;top:105px;font-weight:900;font-size:21px;letter-spacing:-.5px}
.card-number{position:absolute;left:20px;bottom:47px;font-size:20px;font-weight:700;letter-spacing:1px}
.card-orb{position:absolute;right:26px;bottom:58px;width:88px;height:54px;border-radius:35px;background:#fff;opacity:.94}
.panel{width:100%;background:var(--surface);border-radius:27px;padding:25px 30px 25px;box-shadow:0 8px 27px #11111112;border:1px solid #f0f0f2}
h1{text-align:center;font-size:clamp(30px,4.2vw,43px);line-height:1.12;letter-spacing:-1.5px;margin:0 0 10px;font-weight:750}
.lead{text-align:center;color:var(--muted);font-size:clamp(18px,2.8vw,26px);line-height:1.4;margin:0 auto 23px;max-width:760px}
form{max-width:100%;margin:0 auto}
.field{height:67px;border:1.5px solid var(--line);border-radius:16px;display:flex;align-items:center;position:relative;margin:0 0 13px;background:#fff;overflow:hidden;box-shadow:inset 0 1px 2px #00000005}
.field:focus-within{border-color:#ef873e;box-shadow:0 0 0 3px var(--focus)}
.field-icon{width:68px;height:100%;flex:0 0 68px;background:#f6f6f8;border-right:1px solid #e3e3e8;display:grid;place-items:center}
.field-icon svg{width:29px;height:29px;fill:#111;stroke:#111;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.field input{border:0;outline:0;background:transparent;width:100%;min-width:0;height:100%;font:400 clamp(16px,2.3vw,23px) Arial,Helvetica,sans-serif;color:#25252a;padding:0 18px}
.field input::placeholder{color:#686a76;opacity:1}
.eye,.help-dot{height:100%;flex:0 0 56px;border:0;background:transparent;cursor:pointer;display:grid;place-items:center;color:#555}
.eye svg{width:26px;height:26px;fill:none;stroke:#555;stroke-width:2;stroke-linecap:round}
.eye.shown{background:#fff5ed}
.help-dot{height:28px;flex-basis:28px;width:28px;margin:0 16px;border:2px solid #555;border-radius:50%;font-size:18px;font-weight:700;line-height:1}
.submit{height:70px;width:100%;border:0;border-radius:15px;margin-top:8px;background:var(--orange);color:white;font-size:clamp(21px,3vw,30px);font-weight:800;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:22px;text-decoration:none;transition:background .15s,transform .15s}
.submit:hover{background:var(--orange-deep)}.submit:active{transform:translateY(1px)}.submit span{font-size:35px;font-weight:400;line-height:1}
.security{display:flex;align-items:center;justify-content:center;gap:15px;margin:28px auto 0;color:#626574;font-size:16px}
.security svg{width:24px;height:24px;fill:#111;stroke:#111;stroke-width:1.5}.rule{height:1.5px;width:min(18%,150px);background:#d5d5db}
.alert{margin:0 0 15px;padding:12px 15px;border:1px solid #efb8b4;border-radius:10px;background:#fff1f0;color:#9a2d25;text-align:center;font-size:14px}
footer{text-align:center;color:#85858d;font-size:11px;margin:19px 0 0;letter-spacing:.2px}
@media(min-width:900px){.shell{max-width:1000px}.brand{height:175px}.bank-card{height:250px}.panel{padding:25px 30px}}
@media(max-width:600px){
 .shell{width:calc(100% - 24px);padding-top:4px}.corner-top{width:160px;height:115px}.corner-bottom{width:95px;height:140px}
 .brand{height:112px;gap:12px;margin-bottom:12px}.brand-symbol{height:94px;width:51px;gap:6px}.brand-symbol i:nth-child(2){width:43px;height:14px}.brand-symbol i:nth-child(3){width:32px;height:14px}.brand-symbol i:nth-child(1),.brand-symbol b{width:16px;height:16px}.brand-title{font-size:43px;letter-spacing:-2px}.brand-sub{font-size:14px;margin-top:5px}
 .bank-card{height:185px;width:min(390px,91%);border-radius:13px;margin-bottom:12px}.card-stripe{top:21px;height:40px}.chip{top:80px;left:16px;width:55px;height:35px}.chip span{width:36px;height:23px}.card-brand{top:82px;right:15px;font-size:16px}.card-number{left:16px;bottom:35px;font-size:16px}.card-orb{right:17px;bottom:42px;width:65px;height:39px}
 .panel{padding:20px 14px;border-radius:19px}h1{font-size:29px;letter-spacing:-.8px}.lead{font-size:20px;margin-bottom:19px}.field{height:58px;border-radius:12px;margin-bottom:11px}.field-icon{width:56px;flex-basis:56px}.field-icon svg{width:25px;height:25px}.field input{font-size:16px;padding:0 12px}.eye{flex-basis:44px}.help-dot{margin:0 10px 0 0;flex-basis:26px;width:26px;height:26px}.submit{height:59px;border-radius:12px;font-size:21px}.submit span{font-size:29px}.security{font-size:11px;gap:9px;margin-top:22px}.security svg{width:20px;height:20px}.rule{width:10%}footer{font-size:10px}
}
@media(max-width:380px){.brand-title{font-size:37px}.field input{font-size:14px}.panel{padding-inline:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}


/* ORANGEA demo card — revised layout based on the supplied reference */
.bank-card{
  height:250px;
  isolation:isolate;
  background:#f36508;
  border:1px solid #e65d05;
}
.card-stripe{
  top:28px;
  height:54px;
  background:#171d27;
}
.chip{
  top:114px;
  left:19px;
  width:294px;
  max-width:calc(100% - 175px);
  height:58px;
  border:1px solid #d5d5d5;
  border-radius:7px;
  background:#e8e8e8;
  box-shadow:inset 0 1px 2px #00000012;
}
.chip span{
  position:relative;
  width:78%;
  height:28px;
  border:0;
  border-radius:0;
  background:transparent;
}
.chip span::before{
  content:"";
  position:absolute;
  left:0;
  top:12px;
  width:100%;
  height:2px;
  background:#444;
  transform:rotate(-8deg);
  border-radius:50%;
  box-shadow:30px -5px 0 -0.3px #555;
}
.chip span::after{
  content:"";
  position:absolute;
  left:42%;
  top:2px;
  width:27px;
  height:22px;
  border:1.5px solid #555;
  border-top:0;
  border-radius:0 0 50% 50%;
  transform:rotate(-12deg);
}
.card-brand{
  top:127px;
  right:20px;
  display:flex;
  align-items:center;
  gap:7px;
  font-size:20px;
  letter-spacing:0;
}
.card-brand::before{
  content:"";
  width:15px;
  height:31px;
  display:inline-block;
  background:linear-gradient(to bottom,#fff 0 4px,transparent 4px 7px,#fff 7px 11px,transparent 11px 14px,#fff 14px 18px,transparent 18px 21px,#fff 21px 25px,transparent 25px 27px,#fff 27px 31px);
  opacity:.95;
}
.card-brand small{display:none}
.card-number{
  left:20px;
  bottom:44px;
  min-width:218px;
  padding:7px 12px 6px;
  border:4px solid #fff;
  border-radius:13px;
  color:#252525;
  background:#f36508;
  font-size:17px;
  font-weight:500;
  letter-spacing:1px;
  line-height:1.1;
  z-index:2;
}
.card-number::before{
  content:"";
  position:absolute;
  left:13px;
  right:7px;
  bottom:calc(100% + 4px);
  height:22px;
  background:repeating-linear-gradient(90deg,#171717 0 2px,transparent 2px 4px,#171717 4px 5px,transparent 5px 7px);
}
.card-holder{display:none}
.card-orb{
  right:24px;
  bottom:53px;
  width:88px;
  height:54px;
  border-radius:40px;
  background:#e8e8e8;
  opacity:1;
}
@media(max-width:600px){
  .bank-card{height:185px;width:min(390px,91%);border-radius:13px}
  .card-stripe{top:21px;height:40px}
  .chip{top:84px;left:13px;width:calc(100% - 130px);max-width:230px;height:43px}
  .chip span{height:22px}
  .card-brand{top:91px;right:12px;gap:5px;font-size:14px}
  .card-brand::before{width:11px;height:24px;background:linear-gradient(to bottom,#fff 0 3px,transparent 3px 5px,#fff 5px 9px,transparent 9px 11px,#fff 11px 15px,transparent 15px 17px,#fff 17px 20px,transparent 20px 21px,#fff 21px 24px)}
  .card-number{left:13px;bottom:31px;min-width:174px;padding:5px 8px 4px;border-width:3px;font-size:13px}
  .card-number::before{height:16px;left:9px;right:6px}
  .card-orb{right:14px;bottom:38px;width:65px;height:39px}
}
@media(max-width:360px){
  .card-brand{font-size:12px}
  .card-number{min-width:160px;font-size:12px}
}


/* ORANGEA CARD — styles isolated from legacy .bank-card rules */
.oa-card{
  --oa-orange:#f56508;
  position:relative;
  display:block;
  isolation:isolate;
  width:min(492px,92%);
  aspect-ratio:492 / 309;
  height:auto;
  margin:0 auto 14px;
  overflow:hidden;
  border:1px solid rgba(184,72,0,.22);
  border-radius:18px;
  background:var(--oa-orange);
  box-shadow:0 9px 24px rgba(20,20,20,.14);
  color:#fff;
}
.oa-card__top{
  position:absolute;
  z-index:0;
  inset:0 0 auto;
  height:11.3%;
  background:var(--oa-orange);
}
.oa-card__black-band{
  position:absolute;
  z-index:1;
  top:11.3%;
  left:0;
  width:100%;
  height:22.3%;
  background:#17191e;
}
.oa-card__signature{
  position:absolute;
  z-index:2;
  top:37.4%;
  left:4%;
  width:60%;
  height:18.8%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 3.2%;
  border:1px solid #d0d0d0;
  border-radius:6px;
  background:#e8e8e8;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.08);
}
.oa-card__signature-mark{
  position:relative;
  display:block;
  width:72%;
  height:62%;
}
.oa-card__signature-mark:before{
  content:"";
  position:absolute;
  left:0;
  top:52%;
  width:100%;
  height:2px;
  border-radius:50%;
  background:#505050;
  transform:rotate(-7deg);
}
.oa-card__signature-mark:after{
  content:"";
  position:absolute;
  left:37%;
  top:8%;
  width:13%;
  height:76%;
  border:1.5px solid #555;
  border-top:0;
  border-radius:0 0 55% 55%;
  transform:rotate(-9deg);
}
.oa-card__signature-code{
  color:#555;
  font:500 clamp(10px,2vw,17px)/1 Arial,Helvetica,sans-serif;
  letter-spacing:1px;
}

.oa-card__brand {
    position: absolute;
    z-index: 2;
    top: 41.5%;
    right: 4.5%;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: #fff;
    font: 900 clamp(13px, 3.8vw, 20px)/1 Arial, sans-serif;
    white-space: nowrap;
}
.oa-card__brand-symbol{
  width:15px;
  height:32px;
  flex:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
}
.oa-card__brand-symbol i{
  display:block;
  width:7px;
  height:4px;
  border-radius:3px;
  background:#fff;
}
.oa-card__brand-symbol i:nth-child(2){width:14px;height:5px}
.oa-card__brand-symbol i:nth-child(3){width:10px;height:4px}
.oa-card__brand-symbol b{
  display:block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#fff;
}
.oa-card__barcode{
  position:absolute;
  z-index:2;
  left:8%;
  top:59.2%;
  width:39%;
  height:11.4%;
  background:repeating-linear-gradient(
    90deg,
    #171717 0 2px,
    transparent 2px 4px,
    #171717 4px 5px,
    transparent 5px 7px
  );
}
.oa-card__number{
  position:absolute;
  z-index:3;
  left:4%;
  top:67.1%;
  width:48%;
  height:18.7%;
  display:flex;
  align-items:center;
  padding:0 3%;
  border:4px solid #fff;
  border-radius:13px;
  background:var(--oa-orange);
  color:#292929;
  font:500 clamp(10px,3.2vw,17px)/1 Arial,Helvetica,sans-serif;
  letter-spacing:.55px;
  white-space:nowrap;
}
.oa-card__oval{
  position:absolute;
  z-index:2;
  top:57.5%;
  right:5%;
  width:23.5%;
  height:24.5%;
  border-radius:999px;
  background:#e8e8e8;
}
@media(max-width:600px){
  .oa-card{
    width:min(492px,96%);
    border-radius:13px;
    margin-bottom:12px;
  }
  .oa-card__signature{border-radius:5px}
  .oa-card__number{border-width:3px;border-radius:10px}
  .oa-card__brand{gap:5px}
  .oa-card__brand-symbol{width:11px;height:25px}
}


/* Finition ORANGEA — ajustements ciblés, sans toucher aux anciennes classes */
.oa-card__signature{
  background:linear-gradient(180deg,#eeeeee 0%,#e4e4e4 100%);
  border-color:#c9c9c9;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.07),0 1px 1px rgba(255,255,255,.18);
}
.oa-card__signature-mark{
  display:block;
  width:76%;
  height:70%;
  overflow:visible;
}
.oa-card__signature-code{
  flex:0 0 auto;
  margin-left:2%;
  font-weight:600;
  letter-spacing:1.15px;
  color:#4d4d4d;
}
.oa-card__barcode{
  background:
    repeating-linear-gradient(90deg,
      #171717 0 1px,transparent 1px 3px,
      #171717 3px 5px,transparent 5px 6px,
      #171717 6px 7px,transparent 7px 10px,
      #171717 10px 12px,transparent 12px 14px,
      #171717 14px 15px,transparent 15px 17px);
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 94%,transparent 100%);
  mask-image:linear-gradient(90deg,#000 0%,#000 94%,transparent 100%);
}
.oa-card__brand{
  right:4.5%;
  gap:9px;
  font-size:clamp(14px,3.8vw,20px);
  letter-spacing:-.25px;
}
.oa-card__brand-symbol{
  width:16px;
  height:31px;
}
.oa-card__brand-symbol i{
  height:4px;
  border-radius:4px;
}
.oa-card__brand-symbol i:nth-child(2){width:15px;height:5px}
.oa-card__brand-symbol i:nth-child(3){width:11px;height:4px}
.oa-card__brand-symbol b{width:7px;height:7px}
.oa-card__number{
  border-width:3px;
  box-shadow:0 1px 2px rgba(0,0,0,.12);
  letter-spacing:.65px;
}
@media(max-width:600px){
  .oa-card__signature-mark{width:73%;height:66%}
  .oa-card__signature-code{font-size:clamp(9px,2.7vw,13px);letter-spacing:.8px}
.oa-card__brand{
    right:3.5%;
    width:31%;
    gap:5px;
    font-size:clamp(12px,3.5vw,17px);
}  .oa-card__brand-symbol{width:12px;height:25px}
  .oa-card__brand-symbol i:nth-child(2){width:12px;height:4px}
  .oa-card__brand-symbol i:nth-child(3){width:9px;height:3px}
  .oa-card__brand-symbol b{width:6px;height:6px}
  .oa-card__barcode{background:repeating-linear-gradient(90deg,#171717 0 1px,transparent 1px 2.5px,#171717 2.5px 4px,transparent 4px 5px,#171717 5px 6px,transparent 6px 8px)}
}
@media(max-width:360px){
  .oa-card__signature{width:61%}
  .oa-card__brand{font-size:11px;gap:4px}
  .oa-card__brand-symbol{width:10px}
}

/* Ajustement visible du numéro ORANGEA */
.oa-card .oa-card__number {
    width: 52%;
    height: 19%;
    border-width: 4px;
    box-sizing: border-box;
}