/* =============================================
   style_2.css – Garnier Ultra Doux Grape Moisture
   Palette :
     • Fond général     : #fee7ef  (rose clair poudré)
     • Carte formulaire : #ffffff
     • Bandeau titre    : #6f1e3f  (violet prune)
     • Bouton           : #6f1e3f  (magenta foncé)
     • Accent / hover   : #e8427c  (rose vif)
     • Texte sombre     : #3a0d35
     • Texte doux       : #7a5f74
   ============================================= */

body {
  font-family: 'Paytone One', sans-serif !important;
  background-color: #fee7ef !important;
  padding-top: 20px;
}

#titleMdema {
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  text-align: center;
  padding: 14px 20px;
  margin-top: -55px;
  background: linear-gradient(180deg, #6b1b5a 0%, #6f1e3f 60%, #3a0d35 100%);
  border-radius: 20px 20px 20px 20px;
  box-shadow: 0 4px 12px rgba(74,18,72,.45), inset 0 2px 4px rgba(255,255,255,.15);
  position: relative;
}

#titleMdema::after {
  content: "";
  position: absolute;
  top: 6px; left: 12px; right: 12px;
  height: 30%;
  border-radius: 30px 30px 10px 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.3), transparent);
  pointer-events: none;
}

.form-control {
  border: 1.5px solid #dba8cc;
  border-radius: 8px;
  color: #3a0d35;
  background: #fff9fc;
  transition: border-color .25s, box-shadow .25s;
}

.form-control:focus {
  border-color: #6f1e3f;
  box-shadow: 0 0 0 3px rgba(123,21,101,.18);
  outline: none;
}

.form-control::placeholder { color: #b88fb0; }

.input-group-addon {
  background-color: #f7e8f3;
  border-color: #dba8cc;
  color: #6f1e3f;
}

.radio label, .checkbox label {
  font-weight: normal;
  color: #6f1e3f;
}

a { color: #6f1e3f; text-decoration: none; }
a:hover { color: #e8427c; text-decoration: underline; }

#btnParticiper {
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 18px 25px;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: background .4s, box-shadow .4s;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #6f1e3f 0%, #6f1e3f 100%);
  border-radius: 6px;
  cursor: pointer;
  border: none;
}

#btnParticiper:hover {
  background: linear-gradient(135deg, #e8427c 0%, #6f1e3f 100%);
  color: #fff;
  box-shadow: 0 0 8px #e8427c, 0 0 20px rgba(232,66,124,.4);
}

#btnParticiper span { position: absolute; display: block; }

#btnParticiper span:nth-child(1) {
  top:0; left:0; width:100%; height:2px;
  background: linear-gradient(90deg, transparent, #fee7ef);
  animation: animate1 1s linear infinite;
}
#btnParticiper span:nth-child(2) {
  top:-100%; right:0; width:2px; height:100%;
  background: linear-gradient(180deg, transparent, #fee7ef);
  animation: animate2 1s linear infinite; animation-delay:.25s;
}
#btnParticiper span:nth-child(3) {
  bottom:0; right:-100%; width:100%; height:2px;
  background: linear-gradient(270deg, transparent, #fee7ef);
  animation: animate3 1s linear infinite; animation-delay:.5s;
}
#btnParticiper span:nth-child(4) {
  bottom:-100%; left:0; width:2px; height:100%;
  background: linear-gradient(360deg, transparent, #fee7ef);
  animation: animate4 1s linear infinite; animation-delay:.75s;
}

@keyframes animate1 { 0%{left:-100%}   50%,100%{left:100%}   }
@keyframes animate2 { 0%{top:-100%}    50%,100%{top:100%}    }
@keyframes animate3 { 0%{right:-100%}  50%,100%{right:100%}  }
@keyframes animate4 { 0%{bottom:-100%} 50%,100%{bottom:100%} }

.loader {
  position: fixed; z-index:9999;
  background: radial-gradient(circle, #fee7ef 49%, #f9d6e8 91%);
  top:0; left:0; height:100%; width:100%;
}

#loading {
  position: absolute;
  left:50%; top:50%;
  width:120px; height:120px;
  margin:-60px 0 0 -60px;
  border: 14px solid rgba(74,18,72,.15);
  border-top: 14px solid #6f1e3f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }

.showSuccess { padding-top: 70px; }
.showSuccess h2 { color: #6f1e3f; }
.showSuccess img { max-width: 90%; }

.text-justify  { text-align: justify; }
.blacktext     { color: #7a5f74; }
.is-error      { border-color: #e8427c !important; }

.container::-webkit-scrollbar { display: none; }
.container { -ms-overflow-style: none; scrollbar-width: none; }

@media screen and (max-width:600px) {
  body { background: #fee7ef; padding-top: 10px; }
}

.animate-bottom { position:relative; animation: animatebottom 1s; }
@keyframes animatebottom {
  from { bottom:-100px; opacity:0; }
  to   { bottom:0;      opacity:1; }
}

.image-clignote { animation: clignoter .9s infinite; }
@keyframes clignoter {
  0%  { opacity:1; }
  40% { opacity:0; }
  100%{ opacity:1; }
}
