/* ===== Global ===== */
body {
  font-family: Arial, sans-serif;
  background-color: #d8d8e9;
  margin: 0;
  color: #333;
  text-align: center;
}

/* ===== Entête flexible ===== */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000D3D;
  color: white;
  padding: 10px 20px;
}

.top-bar-left {
  width: 50%;
  text-align: left;
}

.top-bar-left h1 {
  margin: 0;
  font-size: 1.2em;
}

.top-bar-left p {
  margin: 2px 0 0;
  font-size: 0.8em;
  color: #ccc;
}

.top-bar-right img {
  max-height: 50px;
  width: auto;
}

/* ===== Menu compte sous entête ===== */
.menu-bar {
  background-color: #f6f6fb;
  border-bottom: 1px solid #ccc;
  padding: 6px 20px;
  text-align: right;
}

.menu-compte {
  position: relative;
  display: inline-block;
}

.menu-compte button {
  background: none;
  border: none;
  color: #004080;
  font-size: 0.95em;
  cursor: pointer;
  font-weight: bold;
}

.menu-compte button img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
}

.menu-compte-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border-radius: 6px;
  overflow: hidden;
  text-align: left;
  z-index: 1000;
}

.menu-compte-content a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #004080;
  font-size: 0.9em;
}

.menu-compte-content a:hover {
  background-color: #f0f0f8;
}

.menu-compte:hover .menu-compte-content {
  display: block;
}

/* ===== Contenu ===== */
.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 30px 60px;
  text-align: center;
}

.page-title {
  font-size: 1.7em;
  color: #004080;
  margin: 0;
}

.image-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 360px;
  max-width: 100%;
  margin: 0 auto;
}

.image-stack img:first-child {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  transform: none;
  transition: none;
  pointer-events: auto;
}

.image-stack a img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-stack a img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(85, 61, 233, 0.4);
}

.center-img {
  width: 340px;
  max-width: 100%;
  margin: 10px auto;
}

.tagline {
  font-size: 1.3em;
  font-weight: bold;
  color: #5f5f6b;
  margin: 10px 0 20px;
}

/* ===== Boutons stylés ===== */
.btn {
  display: inline-block;
  width: 220px;
  padding: 12px 0;
  margin: 8px auto;
  border-radius: 30px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, #553DE9, #7B5DE9);
  box-shadow: 0 6px 15px rgba(85, 61, 233, 0.4);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 20px rgba(85, 61, 233, 0.5);
}

.btn.secondary {
  background: linear-gradient(135deg, #004080, #0066A0);
  box-shadow: 0 6px 15px rgba(0, 64, 128, 0.4);
}

.btn.secondary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 64, 128, 0.5);
}

.btn-info-drones {
  margin-top: 5px;
  padding: 8px 18px;
  font-size: 0.95em;
  background-color: #f6f6fb;
  color: #004080;
  border: 1px solid #004080;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-info-drones:hover {
  background-color: #e6e6f5;
  box-shadow: 0 4px 10px rgba(0, 64, 128, 0.25);
  transform: translateY(-1px);
}

.btn-info-drones:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(85, 61, 233, 0.3);
}

/* ===== Sections et boxed ===== */
.section {
  margin-top: 40px;
}

.boxed {
  border: 2px solid #004080;
  border-radius: 8px;
  padding: 20px;
  margin: 10px auto;
  max-width: 700px;
  background-color: #f6f6fb;
}


/* ===== Modales ===== */
#modalAssistant, #modalDrones {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 12px;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  z-index: 10001;
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#modalDrones {
  max-width: 700px;
  height: 50%;           /* réduit la hauteur globale à moitié de l'écran */
  padding: 15px;         /* optionnel : réduit un peu le padding */
}

/* ===== Assistant fixe à droite ===== */
.assistant-box {
  position: fixed;
  top: 150px;
  right: 30px;
  width: 120px;
  background: #f6f6fb;
  border: 1px solid #d0d0e0;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  text-align: center;
  z-index: 500;
}

.assistant-box img {
  max-width: 100%;
  height: auto;
  cursor: pointer;
}

.assistant-box .title {
  font-weight: bold;
  font-size: 0.75em;
  margin: 6px 0 4px;
  color: #004080;
}

.assistant-box .help-text {
  font-size: 0.7em;
  line-height: 1.3;
  color: #333;
  margin-bottom: 6px;
}

.assistant-box .avis-text {
  font-size: 0.6em;
  font-style: italic;
  color: #555;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .assistant-box {
    display: none;
  }
}
#footer-container {
  position: fixed; /* reste visible même en scroll */
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
/* ===== PAGE LE MANEX ===== */

.contentLeft {
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 40px 40px;
  box-sizing: border-box;
  text-align: left;
}

.page-title {
  font-size: 2.2em;
  color: #004080;
  margin-bottom: 0.5em;
}

.intro {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.intro img {
  width: 200px;
  height: auto;
}

.bottom-image {
  display: block;
  margin: 40px auto;
  width: 180px;
  height: auto;
}

/* ==================================================
   FIXED HOME BUTTON (version unique propre)
================================================== */

.fixed-home-button {
  position: fixed;
  top: 100px;
  right: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1100;
}

.fixed-home-button svg {
  width: 18px;
  height: 18px;
  fill: #004080;   /* même couleur que le titre */
}

.fixed-home-button:hover {
  transform: scale(1.15);
  transition: transform 0.2s ease;
}

/* ===== FAQ ===== */

.faq-item {
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}

.faq-question {
  cursor: pointer;
  font-weight: bold;
  color: #004080;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
}

.faq-question.active::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  margin-top: 8px;
  color: #333;
}

.faq-answer.open {
  max-height: 500px;
}

/* ===== Responsive spécifique ===== */

@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .intro img {
    max-width: 80%;
    margin-bottom: 15px;
  }
  .intro-tarifs {
    flex-direction: column;
    text-align: center;
  }
  .intro-tarifs img {
    margin-bottom: 15px;
  }
}

/* ===== PAGE TARIFS ===== */

.contentTarifs {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 40px 80px 40px;
  box-sizing: border-box;
  text-align: left;
}

.page-title-large {
  color: #004080;
  font-size: 2.2em;
  margin-bottom: 1em;
}

.intro-tarifs {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.intro-tarifs img {
  width: 220px;
  height: auto;
}

.pricing {
  margin-top: 60px;
  text-align: center;
}

.pricing-item {
  margin-bottom: 35px;
}

.pricing-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #004080;
}

.pricing-price {
  font-size: 1.3em;
  margin-top: 5px;
}

.pricing-desc {
  max-width: 700px;
  margin: 8px auto 0 auto;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .intro-tarifs {
    flex-direction: column;
    text-align: center;
  }

  .intro-tarifs img {
    margin: 0 auto 15px auto;
  }
}
/* ===== PAGE A PROPOS ===== */

.contentApropos {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px 60px 40px; /* espace réduit sous le header */
  box-sizing: border-box;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: #000D3D;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  color: white;
  z-index: 1000;
}


.content-row {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.left-col {
  flex: 0 0 250px;   /* largeur fixe plus propre */
  max-width: 250px;
  display: flex;
  align-items: flex-start; /* image alignée en haut */
  justify-content: flex-start;
}

.left-col img {
  max-width: 100%;
  height: auto;
}

.right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 15px;
  line-height: 1.6;
  color: #222;
}.logos-adresses {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-block {
  flex: 1 1 45%;
  text-align: center;
}

.logo-block img {
  max-width: 120px;
  height: auto;
  margin-bottom: 10px;
}

.address {
  font-size: 13px;
  color: #333;
  line-height: 1.4;
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.staggered-image {
  width: 30%;
  max-width: 220px;
}

.staggered-image.left {
  transform: translateY(10px);
}

.staggered-image.center {
  transform: translateY(-15px);
}

.staggered-image.right {
  transform: translateY(10px);
}

.white-divider {
  border: none;
  border-top: 2px solid white;
  width: 80%;
  margin: 40px auto 20px auto;
}
/* =========================
   FOOTER GLOBAL
========================= */

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;

  background-color: #49536f;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 11px;

  border-top: 1px solid #333;
  box-sizing: border-box;
  padding: 0 8px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  z-index: 9999;
}

.footer-left,
.footer-right {
  flex: 1;
  white-space: nowrap;
}

.footer-right {
  text-align: right;
}

.footer-center {
  flex: 3;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.footer-center a {
  color: white;
  text-decoration: none;
  border: 1px solid #888;
  padding: 4px 8px;
}

.footer-contact {
  font-weight: bold;
}

.site-footer a:hover {
  color: #66ccff;
}

.site-footer img {
  height: 28px;
  cursor: pointer;
  transition: transform 0.3s;
}

.site-footer img:hover {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .contentRow,
  .logos-adresses,
  .image-row {
    flex-direction: column;
    align-items: center;
  }

  .left-col,
  .right-col,
  .logo-block {
    max-width: 100%;
    flex: none;
  }

  .footer-center {
    display: none;
  }
}
