/* ================= POPUP CALL ================= */
.call-btn {
  background-color: red;
  padding: 0.7rem;
  border-radius: 50px;
}

/* ================= POPUP CONTACT PRO ================= */
.call-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: 0.3s;

  z-index: 2000;
}

.call-popup.active {
  opacity: 1;
  pointer-events: all;
}

/* BOX */
.call-box-pro {
  display: flex;
  width: 90%;
  max-width: 850px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

/* ================= LEFT (MAP + INFOS) ================= */
.call-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* MAP */
.call-left iframe {
  width: 100%;
  height: 220px;
  border: none;
}

/* INFOS */
.call-info {
  padding: 20px;
  background: linear-gradient(135deg, #111, #222);
  color: white;
  font-size: 0.9rem;
  line-height: 1.5;
  height:59%;
}

.call-info h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.call-info p {
  margin-bottom: 6px;
}

.call-info .siret {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #bbb;
}

.call-info .activity {
  margin-top: 10px;
  font-weight: 500;
}

/* ================= RIGHT ================= */
.call-right {
  flex: 1;
  padding: 25px;
}

/* HEADER */
.call-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.call-header span {
  cursor: pointer;
  font-size: 20px;
}

/* CONTACT LIST */
.call-content a {
  display: block;
  padding: 15px;
  margin-bottom: 12px;

  background: #f5f5f5;
  border-radius: 8px;

  text-decoration: none;
  color: black;

  transition: 0.3s;
}

.call-content strong {
  display: block;
  font-size: 1rem;
}

.call-content span {
  font-size: 0.9rem;
  color: #555;
}

/* HOVER */
.call-content a:hover {
  background: #e60000;
  color: white;
}

.call-content a:hover span {
  color: white;
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 768px) {

  .call-box-pro {
    flex-direction: column;
  }

  .call-left iframe {
    height: 180px;
  }

  .call-right {
    padding: 20px;
  }
}

/* MOBILE */
@media (max-width: 480px) {

  .call-popup {
    align-items: flex-end;
  }

  .call-box-pro {
    width: 100%;
    border-radius: 12px 12px 0 0;
  }

  .call-left iframe {
    height: 150px;
  }

  .call-info {
    font-size: 0.85rem;
    text-align: center;
    
  }

  .call-right {
    padding: 15px;
  }

  .call-content a {
    padding: 14px;
    font-size: 0.95rem;
  }
}

.call-hook {
  font-weight: 600;
  margin: 10px 0;
}

.call-sub {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.call-benefits {
  display: flex;
  padding:1rem;
  gap: 5px;
  font-size: 0.7rem;
  margin-bottom: 20px;
}

.call-main-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #ff1a1a, #b30000);
  color: white;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
}

.call-main-btn:hover {
  transform: translateY(-2px);
}

/* ================= POPUP DEVIS ================= */
.devis-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 3000;
}

.devis-popup.active {
  opacity: 1;
  pointer-events: all;
}

.devis-box {
  display: flex;
  width: 90%;
  max-width: 800px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

/* LEFT */
.devis-left {
  flex: 1;
  background: linear-gradient(135deg, #111, #222);
  color: white;
  padding: 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.devis-left h3 {
  margin-bottom: 10px;
}

.devis-images {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.devis-images img {
  width: 50%;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  transition: 0.3s;
}

.devis-images img:hover {
  transform: scale(1.05);
}

/* RIGHT */
.devis-right {
  flex: 1;
  padding: 25px;
}

.devis-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.devis-header span {
  cursor: pointer;
}

/* FORM */
.devis-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.devis-form input,
.devis-form select,
.devis-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.devis-form input:focus,
.devis-form select:focus,
.devis-form textarea:focus {
  border-color: #e60000;
  outline: none;
}

.devis-form button {
  margin-top: 10px;
  padding: 14px;
  background: linear-gradient(135deg, #ff1a1a, #b30000);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.devis-form button:hover {
  transform: translateY(-2px);
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: 0.3s;

  z-index: 4000;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

.lightbox span {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  .devis-box {
    flex-direction: column;
  }

  .devis-left {
    display: none;
  }

  .call-box {
    width: 95%;
  }
}

@media (max-width: 480px) {

  .call-popup {
    align-items: flex-end;
  }

  .call-box {
    transform: translateY(100%);
    width: 100%;
    border-radius: 0;
  }

  .call-popup.active .call-box {
    transform: translateY(0);
  }
}


/* ================= SLIDER SOUS CARTE ================= */

.call-slider {
  margin-top: 20px;
}

.call-slides {
  position: relative;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
}

.call-slides img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: 0.5s;
}

.call-slides img.active {
  opacity: 1;
}

/* BULLETS */
.call-bullets {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 8px 0;
}

.call-bullets span {
  width: 6px;
  height: 6px;
  background: #ccc;
  border-radius: 50%;
}

.call-bullets span.active {
  background: red;
}

/* THUMBS */
.call-thumbs {
  display: flex;
  gap: 8px;
}

.call-thumbs img {
  width: 33%;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.6;
}

.call-thumbs img.active {
  opacity: 1;
  border: 2px solid red;
}

/* MOBILE */
@media (max-width: 768px) {

  .call-slides {
    height: 140px;
  }

  .call-thumbs img {
    height: 50px;
  }

}


/* MOBILE FIX */
@media (max-width: 768px) {

  .call-box-pro {
    display: flex;
    flex-direction: column; /* 🔥 met en colonne */
    height: 90vh;
    overflow-y: auto; /* 🔥 permet le scroll */
  }

  /* 🔥 INVERSE L’ORDRE */
  .call-right {
    order: 1; /* contact en haut */
  }

  .call-left {
    order: 2; /* carte en bas */
  }

  /* carte taille propre */
  .call-left iframe {
    width: 100%;
    height: 200px;
  }

}