/* Style général */
body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: #000;
  color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html{
  overflow-y:scroll;
}

/* Conteneur principal */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 40px;
  min-height: 100vh;
}

/* Colonne gauche */
.left-column {
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Logo et titre */
.logo-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logo {
  width: 30px;
  height: auto;
}

.orange {
  color:orange;
}

.phone {
  font-size: 1.6rem;
  margin-top: 15px;
  margin-bottom: 5px;
}

.email {
  font-size: 1.3rem;
  margin-bottom: 20px;
  white-space: nowrap;       /* Empêche le retour à la ligne */
  overflow-wrap: normal;     /* Désactive la césure au tiret */
  text-overflow: ellipsis;   /* (optionnel) ajoute … si c’est trop long */
}

/* Bouton téléphone */
.call-button {
  display: inline-block;
  background-color: orange;
  color: #fff;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 20px;
  text-decoration: none;
  margin-top: 40px;
  margin-bottom: 40px;
  transition: 0.3s;
}
.call-button:hover {
  background-color: orange;
}

/* Secteur d’intervention */
.section-title {
  color: orange;
  font-size: 1.4rem;
  font-weight: 100;
  margin-bottom: 8px;
}

.orange-line {
  width: 220px;
  height: 2px;
  background-color: orange;
  margin-bottom: 10px;
}

.zones {
  font-size: 1.6rem;
  font-weight:lighter;
  margin-bottom: 20px;
}

/* Carte */
.map-container img {
  width: 80%;
  border-radius: 8px;
}

/* Ligne verticale orange */
.divider {
  width: 2px;
  background-color: #ff7a00;
  margin: 0 40px;
  align-self: stretch; /* permet à la ligne de s’étendre verticalement */
}


/* Colonne droite */
.right-column {
  width: 40%;
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 5px;
  text-align: center;
}

.underline {
  width: 120px;
  height: 3px;
  background-color: #ff7a00;
  margin: 0 auto 20px auto; /* ← centre horizontalement */
}
/* Formulaire */
.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 6px;
  font-size: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background-color: #d9d9d9;
  border: none;
  border-radius: 6px;
  padding: 8px;
  font-size: 1rem;
  margin-bottom: 15px;
  width: 100%;
}
/*
.contact-form select {
  appearance: menulist;
}
*/

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: #d9d9d9;
  border: none;
  border-radius: 6px;
  padding: 8px;
  font-size: 1rem;
  margin-bottom: 15px;
  color: #000;
}



.contact-form textarea {
  height: 100px;
  resize: none;
}

/* Bouton envoyer */
.submit-button {
  background-color: orange;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  padding: 10px 25px;
  cursor: pointer;
  font-size: 1rem;
  align-self: flex-start;
  transition: background 0.3s;
  align-self: center;     /* centre dans la colonne du formulaire */
  margin-top: 20px;   
}

.submit-button:hover {
  background-color: #ff932e;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  .divider {
    display: none;
  }
  .left-column,
  .right-column {
    width: 90%;
  }
  .right-column {
    margin-top: 40px;
  }
}


/* ---------- MENU HAMBURGER ---------- */
#menu-toggle {
  position: absolute;
  top: 16px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  width: 24px;
  height: 3px;
  background-color: white;
  transition: 0.4s ease;
  border-radius: 4px;
}

.menu-label {
  font-size: 1.1rem;
  color: orange;
  font-weight: 500;
  margin-left: 15px;
  position: absolute;
  top: 0;
  left: 30px;
  transition: opacity 0.3s ease;
}

/* Effet croix */
#menu-toggle.active .top-bar {
  transform: rotate(42deg);
  transform-origin: left;
  background-color: orange;
}
#menu-toggle.active .middle-bar { opacity: 0; }
#menu-toggle.active .bottom-bar {
  transform: rotate(-42deg);
  transform-origin: left;
  background-color: orange;
}
#menu-toggle.active .menu-label {
  opacity: 0;
  pointer-events: none;
}

/* ---------- SIDEBAR ---------- */
#sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100vh;
  background-color: #111;
  padding-top: 4rem;
  transition: left 0.3s ease;
  z-index: 1000;
}

#sidebar.active { left: 0; }
#sidebar ul { list-style-type: none; padding: 0; }
#sidebar li {
  padding: 1rem;
  border-bottom: 1px solid #333;
  cursor: pointer;
}
#sidebar li:hover { background-color: #222; }
#sidebar a {
  color: white;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}
#sidebar li:hover a { color: orange; }

/* ---------- OVERLAY ---------- */
#overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
}
#overlay.active {
  opacity: 1;
  visibility: visible;
}
/*------------honeypot----------------*/
.honeypot {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ===============================
   PIED DE PAGE
================================ */
.footer{
  background:#000;
  padding:18px 20px;
  position:relative;
  z-index:2;
}

.footer-container{
  max-width:1200px;
  margin:0 auto;
}

/* Liens */
.footer a{
  text-decoration:none;
  color:inherit;
}

/* ===============================
   LIGNE PRINCIPALE (4 BLOCS)
   social | brand | liens | crédit
================================ */
.footer-top{
  display:grid;
  grid-template-columns: auto 1fr auto auto;
  align-items:center;
  column-gap:28px;          /* ESPACE IDENTIQUE ENTRE BLOCS */
}

/* ---- Bloc 1 : Réseaux sociaux ---- */
.footer-social{
  display:flex;
  gap:12px;
  justify-self:start;
}

.footer-social a{
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#111;
  color:#ff7a00;
  border:2px solid #ff7a00;
  font-size:15px;
  transition:background .2s ease, transform .2s ease;
}

.footer-social a:hover{
  background:#ff7a00;
  color:#000;
  transform:translateY(-2px);
}

/* ---- Bloc 2 : Brand (centre réel) ---- */
.footer-brand{
  justify-self:center;
  text-align:center;
  white-space:nowrap;
  font-size:14px;
  opacity:.55;
}

/* ---- Bloc 3 : Liens légaux ---- */
.footer-links{
  display:flex;
  gap:14px;
  justify-self:end;
  white-space:nowrap;
}

.footer-links a{
  font-size:14px;
  opacity:.9;
}

.footer-links a:hover{
  color:#ff7a00;
}

/* ---- Bloc 4 : Crédit ---- */
.footer-credit{
  justify-self:end;
  white-space:nowrap;
  font-size:13px;
  color:#9a9a9a;
}

.footer-credit a{
  color:#ffffff;
  font-weight:600;
}

.footer-credit a:hover{
  color:#ff7a00;
}

/* ===============================
   MODE COMPACT
   (petits laptops / scaling Windows)
================================ */
@media (max-width:1100px){
  .footer-top{
    column-gap:18px;
  }

  .footer-links a{
    font-size:13px;
  }

  .footer-brand{
    font-size:13px;
  }

  .footer-credit{
    font-size:12px;
  }
}

/* ===============================
   MOBILE UNIQUEMENT
================================ */
/* Empilement + centrage global */
  .footer-top{
    grid-template-columns: 1fr !important;
    row-gap: 12px;
    justify-items: center !important;
    text-align: center !important;
  }

  /* Social centré */
  .footer-social{
    justify-self: center !important;
    justify-content: center !important;
  }

  /* Brand centré */
  .footer-brand{
    justify-self: center !important;
    white-space: normal !important;
    text-align: center !important;
  }

  /* Liens : colonne centrée */
  .footer-links{
    justify-self: center !important;      /* clé : annule le "end" desktop */
    width: 100% !important;               /* clé : prend toute la largeur */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    white-space: normal !important;       /* annule nowrap desktop */
  }

  .footer-links a{
    display: block;
    width: 100%;
    text-align: center;
  }

  /* Crédit développeur masqué */
  .footer-credit{
    display: none !important;
  }

