:root{
  --blue:#0A1F44;
  --blue-light:#132F6B;
  --accent:#00E0FF;
  --accent-soft:#5BFFFF;
  --bg:#f5f7fb;
  --card-bg: rgba(0,0,0,0.05);
  --text:#0b233f;
  --radius:14px;
}

*{
  box-sizing:border-box;
  -webkit-tap-highlight-color: transparent;
}

body{
  margin:0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100vh;
  padding:16px;
}

/* CONTAINER */
.form-container{
  width:100%;
  max-width:780px;
  background:#fff;
  border-radius:var(--radius);
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
  overflow:hidden;
  display:flex;
  transition:0.3s;
}

/* ASIDE */
.aside{
  display:none;
  width:40%;
  background: radial-gradient(circle at top, var(--blue-light), var(--blue));
  color:white;
  padding:30px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  position:relative;
}

/* ❌ suppression cercle bleu */
.aside::before{
  display:none !important;
}

/* LOGO */
.aside img{
  width:140px;
  margin-bottom:16px;
  z-index:2;
}

/* MAIN */
.main{
  flex:1;
  padding:24px;
  min-height:460px;
}

.logo{
  width:90px;
  display:block;
  margin:0 auto 10px;
}

/* TITRES */
.title{
  text-align:center;
  margin:6px 0 10px;
  font-size:20px;
  color:var(--blue);
  font-weight:700;
}

.sub{
  font-size:14px;
  text-align:center;
  color:#666;
  margin-bottom:20px;
  line-height:1.4;
}

/* PROGRESS */
.progress-bar{
  height:8px;
  background:var(--card-bg);
  border-radius:999px;
  overflow:hidden;
  margin-bottom:20px;
}

.progress{
  height:100%;
  width:0;
  background: linear-gradient(90deg,var(--accent),var(--accent-soft));
  transition:width .4s ease;
}

/* FORM */
.form-step{
  display:none;
  animation:fade .3s ease;
}
.form-step.active{display:block;}

@keyframes fade{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:none}
}

label{
  display:block;
  font-size:14px;
  margin:14px 0 5px;
  font-weight:500;
}

input,select,textarea{
  width:100%;
  padding:14px;
  border-radius:10px;
  border:1px solid #ddd;
  font-size:15px;
  background:#fff;
  transition:0.2s;
}

/* FOCUS PREMIUM */
input:focus,
select:focus,
textarea:focus{
  border-color:var(--accent);
  outline:none;
  box-shadow:0 0 0 2px rgba(0,224,255,0.15);
}

textarea{
  min-height:100px;
  resize:none;
}

/* GRID */
.row{
  display:flex;
  gap:10px;
}

.col{flex:1;}

/* BUTTONS */
.actions{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:20px;
}

.btn{
  padding:14px;
  border-radius:10px;
  border:0;
  cursor:pointer;
  font-weight:600;
  font-size:14px;
  transition:0.2s;
}

.btn.primary{
  background: linear-gradient(135deg,var(--accent),var(--accent-soft));
  color:#001018;
}

.btn.secondary{
  background: linear-gradient(135deg,var(--blue),var(--blue-light));
  color:#fff;
}

.btn.ghost{
  background:#eee;
  color:var(--text);
}

/* HOVER */
.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 15px rgba(0,0,0,0.08);
}

/* ERROR */
.error{
  border-color:#ff6b6b;
  background:#fff4f4;
}

.hint{
  color:#ff6b6b;
  font-size:13px;
  margin-top:6px;
  display:none;
}

/* LOADER */
.loader{
  width:48px;
  height:48px;
  border-radius:50%;
  border:5px solid #ddd;
  border-top-color:var(--accent);
  animation:spin 1s linear infinite;
  margin:20px auto;
}

@keyframes spin{
  to{transform:rotate(360deg)}
}

/* ===== TELEPHONE (Brain style) ===== */
.iti{
  width:100%;
}

.iti input{
  width:100%;
  padding:14px;
  border-radius:10px;
  border:1px solid #ddd;
  font-size:15px;
}

.iti__flag-container{
  border-radius:10px 0 0 10px;
}

.iti__country-list{
  border-radius:10px;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
  font-size:14px;
}

/* TABLET */
@media (min-width:768px){
  .main{
    padding:28px;
  }
}

/* DESKTOP */
@media(min-width:960px){
  .aside{
    display:flex;
  }
}

/* MOBILE */
@media(max-width:600px){

  body{
    padding:10px;
  }

  .form-container{
    flex-direction:column;
    border-radius:10px;
  }

  .main{
    padding:18px;
  }

  .title{
    font-size:18px;
  }

  input,select,textarea{
    font-size:16px;
  }

  .actions{
    flex-direction:column;
  }

  .btn{
    width:100%;
  }

}