/* CORPS DE LA PAGE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Playfair Display', serif;
  background-color: #121212;
  color: #E0E0E0;
  width: 100%;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}







/* HEADER DE LA PAGE */
/* ------------------------------------------------------- */

/* bloc header */
.header {
  width: 100%;
  background-color: #0e0e0e;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid #00FFFF;
  margin-bottom: 10px;
}

/* bloc du haut dans le header */
.header-topbar {
  background-color: #111;
  color: #E0E0E0;
  font-size: 12px;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  border-bottom: 2px solid white;
}

/* partie droite du bloc du haut */
.topbar-right a {
  margin-left: 15px;
  color: #E0E0E0;
  text-decoration: none;
}

/* effet */
.topbar-right a:hover {
  color: #FFFFFF;
}

/* bloc du bas du header */
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  width: 100%;
}

/* logo */
.logo img {
  height: 50px;
  width: 50px;
  border: 2px solid #00FFFF;
}

/* navigation */
.nav {
  display: flex;
  align-items: center;
}

/* config navigation */
.nav-list {
  display: flex;
  gap: 45px;
  list-style: none;
}

/* texte */
.nav-link {
  color: #E0E0E0;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

/* effet */
.nav-link:hover {
  background-color: #00ffff22; /* léger fond cyan */
  color: #00FFFF;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
  transform: translateY(-1px);
}






/* BLOC DE LA PAGE */
/* ------------------------------------------------------- */

/* bloc central de la page */
.container {
  max-width: 1140px;
  margin: auto;
  padding: 40px 20px;
}

/* titre principal */
h1 {
  text-align: center;
  font-size: 65px;
  margin-bottom: 40px;
  border-bottom: 2px solid #00FFFF;
  padding-bottom: 10px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #E0E0E0;
}

/* titres secondaires */
.reseaux h2,
.professionnel h2,
.formulaire h2 {
  font-size: 35px;
  color: #E0E0E0;
  margin-top: 80px;
  margin-bottom: 30px;
}


/* espacement des sections */
.professionnel {
  margin-top: 40px;
}

.formulaire {
  margin-top: 30px;
}

/* blocs de contact */
.contact-block {
  background-color: #1a1a1a;
  border: 2px solid #00FFFF;
  border-radius: 5px;
  padding: 25px;
  margin-bottom: 25px;
  transition: transform 0.3s;
}

.contact-block:hover {
  transform: translateY(-3px);
}

/* disposition horizontale */
.flex-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* zone logo à gauche */
.logo-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

/* image agrandie et propre */
.logo-wrapper {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  border: 2px solid #00FFFF;
}

.logo-contact {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* texte sous le logo */
.logo-title {
  color: #E0E0E0;
  font-size: 0.9rem;
  margin-top: 12px;
  text-align: center;
}

/* zone du lien ou texte */
.contact-info {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #E0E0E0;
  font-size: 17px;
  text-align: center;
  word-break: break-word;
}

.contact-info a,
.contact-info p {
  color: #acb8fc;
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* zone de délai (à droite) */
.contact-meta {
  min-width: 50px;
  font-size: 17px;
  text-align: right;
  color: #E0E0E0;
}

/* formulaire */
.contact-form {
  padding: 30px;
  background-color: #1a1a1a;
  border: 2px solid #00FFFF;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  background-color: #2a2a2a;
  border: 2px solid #00FFFF;
  border-radius: 6px;
  color: #E0E0E0;
  font-size: 14px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  align-self: center;
  padding: 12px 24px;
  background-color: #00FFFF;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
  min-width: 160px;
}

.contact-form button:hover {
  background-color: #00FFFF;
}



 
/* FOOTER */
/* ------------------------------------------------------- */

/* bloc du footer */
.footer {
  background-color: #0e0e0e;
  color: #E0E0E0;
  padding: 40px 20px 10px;
  font-size: 14px;
  border-top: 2px solid #00FFFF;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* bloc du haut dans le footer */
.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

/* titre des categories */
.footer-section h4 {
  color: #E0E0E0;
  font-size: 15px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* texte categories */
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* texte categories */
.footer-section li {
  margin-bottom: 6px;
}

/* liens */
.footer-section a {
  color: #E0E0E0;
  text-decoration: none;
  transition: 0.2s ease;
}

/* effet sur les liens */
.footer-section a:hover {
  color: #E0E0E0;
}

/* bloc du bas du footer */
.footer-bottom {
  text-align: center;
  margin-top: 10px;
  font-size: 15px;
  color: #E0E0E0;
}

/* texte bloc du bas du footer/* texte categories */


/* separation blocs */
.footer-divider {
  width: 80%;
  max-width: 4000px;
  margin-top: 15px;
  border-top: 1px solid #00FFFF;
  width: 100%;
}

/* boouton pour remonter */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #00ffff;
  color: #000;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 999;
}

/* effet bouton */
.scroll-top:hover {
  opacity: 1;
  transform: scale(1.1);
}



@media (max-width: 768px) {

  h1 {
    font-size: 38px;
  }

  .nav-list {
    flex-direction: column;
    gap: 10px;
  }

  .header-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .flex-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-info {
    justify-content: center;
    text-align: center;
    font-size: 15px;
  }

  .contact-meta {
    text-align: center;
    font-size: 14px;
  }

  .logo-wrapper {
    width: 80px;
    height: 80px;
  }

  .logo-title {
    font-size: 0.8rem;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-form h4 {
    font-size: 16px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  .contact-form button {
    font-size: 15px;
    padding: 10px 18px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    font-size: 16px;
    padding: 6px 10px;
  }
}