/* CORPS DE LA PAGE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: #0A0A0A;
  color: #E6ECEF;
  width: 100%;
}





/* HEADER */
/* ------------------------------------------------------------------ */

.header {
  width: 100%;
  background-color: #0A0A0A;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 2px solid #CCCCCC;
}

/* topbar */
.header-topbar {
  background-color: #111111;
  color: #FFFFFF;
  font-size: 12px;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 2px solid #CCCCCC;
}

.topbar-right a {
  margin-left: 15px;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.3s ease;
}

.topbar-right a:hover {
  background-color: #FFFFFF;
  color: #000000;
  padding: 2px 6px;
  border-radius: 4px;
}

/* barre principale */
.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 #CCCCCC;
  border-radius: 8px;
}

/* navigation (menu) */
.nav {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-list {
  display: flex;
  gap: 45px;
  list-style: none;
}

.nav-link {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 14px;   
  line-height: 1;
  border-radius: 6px;
}
.nav-link:hover {
  background-color: #E6ECEF;
  color: #000000;
  box-shadow: 0 0 8px rgba(255,255,255,0.2);
}

.nav-toggle {
  display: none;      
  position: relative; 
  z-index: 1001;      
}






/* CONTENU */
/* ------------------------------------------------------------------ */

.container {
  max-width: 1140px;
  margin: auto;
  padding: 20px 20px 40px;
  width: 100%;
}

/* titre */
.page-title{
  text-align: center;
  font-size: 80px;
  line-height: 1.05;
  margin: 12px auto 16px;
  font-weight: 800;
  color: #E6ECEF;
}

.page-title::after{
  content: '';
  display: block;
  width: min(100%, 1140px);
  height: 2px;
  margin: 12px auto 0;
  background: #BFDFFF;
}

.title {
  font-size: 35px;
  color: #E6ECEF;
  margin-top: 80px;
  margin-bottom: 30px;
}

/* espacement des sections */
.professionnel { 
  margin-top: 50px; 
}

.formulaire { 
  margin-top: 30px; 
}

/* blocs de contact */
.contact-block {
  background-color: #0A0A0A;
  border: 2px solid #BFDFFF;
  border-radius: 12px;
  padding: 26px;
  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;
  border: 2px solid #E6ECEF;
  border-radius: 12px;
}

.logo-contact { 
  width: 100%; 
  height: 100%; 
  object-fit: contain; 
  border-radius: 10px;
}

/* texte sous le logo */
.logo-title { 
  color: #E6ECEF; 
  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: #E6ECEF;
  font-size: 20px;
  text-align: center;
  word-break: break-word;
}

.contact-info a,
.contact-info p {
  color: #E6ECEF;
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-info a:hover {
  color: #E6ECEF;
  text-decoration: underline;
}

.contact-meta {
  min-width: 50px;
  font-size: 20px;
  text-align: right;
  color: #E6ECEF;
}

/* formulaire */
.contact-form {
  padding: 30px;
  background-color: #2A2A2A;
  border: 2px solid #BFDFFF;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 26px;
  background-color: #0A0A0A;
  border: 2px solid #E6ECEF;
  border-radius: 12px;
  color: #E6ECEF;
  font-size: 14px;
  width: 100%;
}

.contact-form textarea { 
  resize: vertical; 
  min-height: 120px; 
}

.contact-form button {
  align-self: center;
  padding: 26px;
  background-color: #000000;
  color: #E6ECEF;
  font-weight: bold;
  border: 2px solid #E6ECEF;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 160px;
}

.contact-form button:hover {
  color: #E6ECEF;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
}







/* FOOTER */
/* ------------------------------------------------------- */

.footer {
  background-color: #0e0e0e;
  color: #E6ECEF;
  padding: 40px 20px 10px;
  font-size: 14px;
  border-top: 2px solid #CCCCCC;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-section h4 {
  color: #E6ECEF;
  font-size: 15px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 6px;
}

.footer-section a {
  color: #E6ECEF;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-section a:hover {
  color: #CCCCCC;
}

.footer-bottom {
  text-align: center;
  margin-top: 10px;
  font-size: 15px;
  color: #E6ECEF;
}

.footer-divider {
  width: 80%;
  max-width: 4000px;
  margin-top: 15px;
  border-top: 1px solid #CCCCCC;
  width: 100%;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #CCCCCC;
  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;
}

.scroll-top:hover {
  opacity: 1;
  transform: scale(1.1);
}


/* RESPONSIVE */
/* ------------------------------------------------------- */

@media (max-width: 768px) {

  .header { 
    z-index: 9990; 
  }

  .header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
  }

  .logo img { 
    width: 40px; 
    height: 40px; 
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 26px;
    cursor: pointer;
    margin-left: auto;
    position: relative;
    z-index: 10001;
  }

  .nav-toggle span {
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 2px;
    display: block;
  }

  .nav-list { 
    display: none; 
  }

  .nav-list.active {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: fixed;
    top: 64px;                 
    left: 0; 
    right: 0; 
    bottom: 0;
    padding: 16px;
    background-color: #0A0A0A;
    border-top: 1px solid #CCCCCC;
    z-index: 10000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-list li { 
    margin: 0; 
    text-align: left; 
  }

  .nav-link { 
    display: block; 
    padding: 14px 10px; 
  }

  .page-title{
    font-size: 36px;
    margin: 16px auto;
  }

  .title {
    font-size: 24px;
    margin: 16px auto;
  }

  .flex-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .logo-wrapper { 
    width: 80px; 
    height: 80px; 
  }

  .logo-title { 
    font-size: 0.85rem; 
  }

  .contact-info {
    justify-content: center;
    text-align: center;
    font-size: 16px;
  }

  .contact-info a, .contact-info p { 
    font-size: 0.95rem; 
  }

  .contact-meta { 
    text-align: center; 
    font-size: 14px; 
  }

  .contact-form { 
    padding: 16px; 
    gap: 16px; 
  }

  .contact-form h4 { 
    font-size: 16px; 
    margin: 0; 
  }

  .contact-form input,
  .contact-form textarea { 
    font-size: 14px; 
    padding: 14px; 
  }

  .contact-form textarea { 
    min-height: 120px; 
  }

  .contact-form button { 
    font-size: 15px; 
    padding: 10px 18px; 
    min-width: 140px; 
  }

  .container { 
    padding: 24px 16px; 
  }

  .footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scroll-top {
    bottom: 18px; 
    right: 18px;
    font-size: 18px; 
    padding: 8px 10px;
  }

}