/* ===================================
   VARIABLES CSS
   ===================================*/
:root {
  /* Couleurs de base */
  --bg: #ffffff;
  --text: #0f1430;
  --muted: #5c647a;
  --card: #f7f8fc;
  --border: #e8ebf7;
  
  /* Couleurs du thème */
  --primary-dark: #22113d;
  --primary-purple: #6d4d9a;
  --primary-light: #6a5a95;
  --accent-purple: #5d0cee;
  --accent-light: #e7dcf540;
  
  /* Dégradés */
  --gradient-brand: linear-gradient(186deg, #7a00ff, #240b6ee0);
  --gradient-bg: linear-gradient(135deg, #0a0e27 0%, #1a1f4d 50%, #2a3f7f 100%);
  --gradient-card: linear-gradient(135deg, rgba(99, 179, 237, 0.2), rgba(72, 187, 120, 0.2));
  
  /* Ombres */
  --shadow: 0 8px 24px rgba(15, 20, 48, 0.06);
  --shadow-hover: 0 20px 60px rgba(122, 99, 237, 0.3);
  --shadow-button: 0 10px 20px rgba(138, 54, 255, 0.25);
  
  /* Espacements */
  --radius: 18px;
  --gap: 25px;
}

/* ===================================
   RESET & BASE
   =================================== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
.page-wrapper {
  min-height: 100vh;            /* prend toute la hauteur de la fenêtre */
  display: flex;
  flex-direction: column;
}
/* ===================================
   LAYOUT
   =================================== */
.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}
/* ===================================
   page confirm email
   =================================== */
.banniere
{
  margin: auto;
  margin-top: 100px;
    text-align: center;
    color: rgb(55, 55, 55);
}
/* ===================================
   TYPOGRAPHIE
   =================================== */
.headerban h1 {
  font-size: 3.5em;
  color: #fff;
  margin: 0 0 15px 0;
  font-weight: 700;
  text-shadow: 0 0 20px rgb(147 0 255);
  font-family: "LtpEB";
}

h2 {
  font-size: 2.9rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-family: "LtpEB";
}

h2 span {
  color: #622ac7;
}

h3 {
  margin: 0.2em 0 0.4em;
}

/* ===================================
   BOUTONS
   =================================== */
.btn {
  appearance: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.primary {
    border-color: #121051c2;
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: var(--shadow-button);
    text-decoration: none;
}

.btn:hover {
  transform: scale(1.05);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  padding: 55px 0 0 0;
  text-align: center;
  position: relative;
}

.banner {
  position: relative;
  width: 100%;
  min-height: 30vh;
  background: var(--gradient-bg);
  overflow: hidden;
  padding: 60px 20px;
}

/* Particules */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: rise 15s infinite ease-in;
}

/* Contenu Hero */
.content {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
}

.logoBan {
  font-size: 80px;
  margin-bottom: 5px;
  animation: bounce 2s infinite;
}

#logo-ban {
  width: 80%;
  margin: auto;
}

.subtitle {
  font-size: 1.3em;
  color: #a8c5e0;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

.hero-cta {
  margin-top: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===================================
   CAROUSEL DE LOGOS
   =================================== */
.logos-wrap {
  margin: 26px 0 6px;
}

.logos-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.track {
  display: flex;
  gap: clamp(28px, 6vw, 60px);
  align-items: center;
  width: max-content;
  animation: scroll 28s linear infinite;
}

.track img {
  height: 32px;
  width: auto;
  object-fit: contain;
  border-radius: 7px;
}

.carousel-item {
  border: solid 1px silver;
  border-radius: 20px;
  padding: 10px 30px 10px 17px;
  background-color: white;
}

.carousel-item span {
  position: relative;
  top: -9px;
  left: 15px;
}

.logos-marquee:hover .track {
  animation-play-state: paused;
}

/* ===================================
   SECTION CONNEXION
   =================================== */
#connexion {
  margin: 10px auto 0 auto;
  max-width: 450px;
  padding: 10px 25px;
}

#connexion h2 {
  margin-bottom: 5px;
  font-size: 2.2em;
  font-family: "LtpR";
  color: var(--primary-dark);
}

#connexion form {
  display: flex;
  flex-direction: column;
}

#connexion label {
  margin: 10px 0 5px;
  text-align: left;
  color: var(--primary-dark);
}

#connexion input[type="text"],
#connexion input[type="password"],
#connexion input[type="email"] {
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#connexion input[type="submit"],
#submitBtn {
  padding: 10px;
  background-color: var(--primary-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

#connexion input[type="submit"]:hover {
  background-color: #612a9b;
}

.btn_3 {
  margin: 20px 0;
}

#Link_1,
#Link_1:visited {
  color: black;
}

/* Champ mot de passe avec toggle */
.pwd-field input[type="password"],
.pwd-field input[type="text"] {
  width: 100%;
  padding-right: 44px;
}

.pwd-toggle {
  position: relative;
  left: 100%;
  top: -32px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 6px;
  line-height: 0;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.15s ease;
}

.pwd-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.pwd-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

.field-hint {
  font-size: 0.875rem;
  opacity: 0.75;
  margin-top: 0.25rem;
}

/* ===================================
   SECTION VISION
   =================================== */
.vision-section {
  max-width: 80%;
  margin: 0 auto;
  background: #fff;
  color: #000;
  font-family: "Inter", Arial, sans-serif;
  text-align: left;
}

.vision-section p {
  line-height: 1.7;
  font-size: 1.15rem;
  white-space: pre-line;
  max-width: 80%;
}

/* ===================================
   GRILLE DE FONCTIONNALITÉS
   =================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap);
  width: 85%;
  margin: auto;
}

.feature-card {
  background: var(--accent-light);
  backdrop-filter: blur(10px);
  border: 1px solid rgb(93 12 238 / 30%);
  border-radius: 20px;
  padding: 15px 5px;
  transition: all 0.4s ease;
  animation: fadeInUp 1s ease-out backwards;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 179, 237, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }
.feature-card:nth-child(4) { animation-delay: 0.8s; }

.feature-icon {
  font-size: 3em;
  margin-bottom: 20px;
  display: block;
  text-align: center;
}

.feature-card h3 {
  color: var(--primary-purple);
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
}

.feature-card ul {
  list-style: none;
  color: var(--primary-light);
  line-height: 2;
  padding-left: 0;
  text-align: left;
}

.feature-card li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}

/* ===================================
   SECTION SÉCURITÉ
   =================================== */
.security-section {
  background: var(--accent-light);
  border: 1px solid rgb(93 12 238 / 30%);
  border-radius: 20px;
  padding: 30px 40px;
  margin-bottom: 80px;
  margin-top: 50px;
  animation: fadeInUp 1s ease-out 1.8s backwards;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.security-section h3 {
  color: var(--primary-purple);
  font-size: 2em;
  margin: 0 auto 25px auto;
  text-align: center;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap);
}

.security-item {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--primary-purple);
  font-size: 1.1em;
  padding: 10px;
  border: dashed 1px #8a36ff;
  border-radius: 10px;
}

.security-item span {
  font-size: 1.5em;
  flex-shrink: 0;
  padding: 5px;
}



/* ===================================
   CTA BAND
   =================================== */
.cta-band {
  margin: 50px auto;
  background: linear-gradient(135deg, rgba(42, 63, 199, 0.1), rgba(138, 54, 255, 0.1));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cta-band h3 {
  margin: 0;
  font-size: clamp(18px, 2.6vw, 24px);
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(100px, -50px) scale(1.1); }
  50% { transform: translate(200px, 20px) scale(0.9); }
  75% { transform: translate(100px, 50px) scale(1.05); }
}

@keyframes rise {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2em;
  }
  
  .subtitle {
    font-size: 1em;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .logoBan {
    font-size: 50px;
  }
}