:root {
  --main-color: #1a1b3a;         /* Bleu foncé/mauve */
  --accent-color: #2cd4d9;       /* Bleu clair (garde-le) */
  --text-color: #f0f0f0;
  --bg-color: #0a0a0a;           /* Fond noir */
  --bg-gradient-dark: linear-gradient(to bottom right, #0a0a0a, #1a1b3a);
  --highlight-color: #5bc0de;    /* Bleu pâle accent */
}


body {
  background: var(--bg-gradient-dark);
  color: var(--text-color);
}

    a {
  color: rgb(135, 135, 241) !important;
}

    h2 {
      color: var(--main-color);
    }

    .custom-text {
      color: var(--text-color);
    }

/* Alignement général du texte dans le corps */
p, ul, ol, li, strong {
  text-align: left; /* Force le texte à être à gauche pour la lisibilité */
}

/* Alignement titres */

h1, h2, h3 {
  background: linear-gradient(to right, #2cd4d9, #7f8ff4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

h4 {
  text-align: left;
}

main {
  background-color: #1f1f2f;
  color: var(--text-color);
}

/* Alignement listes */

ul, ol {
  max-width: 700px;
  margin: 0 auto 1.5rem auto; /* Centré horizontalement avec marge en bas */
  padding-left: 1.5rem; /* Indentation standard des listes */
}

/* Liste secondaire avec marge et indentation */

.segundo-ul {
  padding-left: 2rem;
  margin-top: 1rem;
}

/* Liens et textes en gras */

strong {
  color: var(--main-color);
  font-weight: 600;
}

/* Navbar (inchangé sauf ajout léger pour mobile) */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #101c86, #1a1b3a);
  padding: 1rem 2rem;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.navbar:hover {
  background-color: rgb(0, 162, 219);
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
}

nav {
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--accent-color);
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Titres et introduction */

.titre {
  text-align: center;
  font-family: 'Georgia', serif;
  font-size: 2.2rem;
  margin-top: 2rem;
}

.intro {
  text-align: left;
  max-width: 600px;
  margin: 0.2rem auto 2rem;
  font-size: 1.1rem;
  color: #e23e0d;
  font-weight: bold;
}

/* Sections info */

.info-section {
  text-align: center;
  padding: 2.5rem 1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  background-color: #ffffff10;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

.contact-form .form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 0.4rem;
  font-weight: bold;
  color: white;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.6rem;
  border-radius: 5px;
  border: solid 1px rgb(225, 143, 241);
  font-size: 0.95rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 2px solid var(--main-color);
}

/* Ton style de bouton personnalisé */
.contact-form button {
  background-color: var(--accent-color);
  color: white;
  max-width: 500px;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #1bb3b6;
}


.footer {
  background-color: var(--main-color);
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

#account {
  display: flex;
  gap: 2rem;           /* espace entre les blocs */
  flex-wrap: wrap;     /* pour que ça s’adapte sur petits écrans */
  justify-content: center;
}

.form-block {
  flex: 1 1 300px;     /* largeur flexible minimum 300px */
  background-color: #f9f9f9;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}



/* Responsive (améliorations) */

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  
  body {
  font-size: 1rem;
  line-height: 1.6;
  padding: 1rem;
}


  .nav-links {
    display: none;
    flex-direction: column;
    background-color: var(--main-color);
    position: absolute;
    top: 100%; /* juste sous le nav */
    right: 0;
    width: 200px;
    padding: 1rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
  }

  .nav-links li {
    margin: 0.5rem 0;
  }

  .nav-links a {
    color: white;
    text-decoration: none;
  }

  .nav-links.show-menu {
    display: flex;
  }
}

:root {
  --main-color: #1a1b3a;
  --accent-color: #2cd4d9;
  --text-color: #f0f0f0;
  --bg-color: #0a0a0a;
  --bg-gradient-dark: linear-gradient(to bottom right, #0a0a0a, #1a1b3a);
  --highlight-color: #5bc0de;
  --border-color: rgba(44, 212, 217, 0.08);
  --shadow-color: rgba(44, 212, 217, 0.25);
  --shadow-hover-color: rgba(44, 212, 217, 0.45);
}

body {
  background: var(--bg-gradient-dark);
  color: var(--text-color);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

/* Responsive grid pour les cartes */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Style des cartes */
.card-v2 {
  background: var(--main-color);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px var(--shadow-hover-color);
}

/* Titre optionnel dans une carte (si tu en ajoutes un jour) */
.card-title-v2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--accent-color), #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Texte dans la carte */
.card-v2 p {
  color: #d1d5db;
  line-height: 1.7;
  font-size: 1.05rem;
}





