/* style-boutique.css */
/* ========== STYLES POUR DREAMWEAVER ========== */
/* Cette classe rend les panneaux visibles dans Dreamweaver */
.dreamweaver-mode .panel {
    display: block;
}


/* ====== Accordion ====== */
.accordion {
  background: #576D88;
  color: #fff;
  cursor: pointer;
  padding: 15px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 5px;
  border-radius: 5px;
  transition: background 0.3s;
}
.accordion:hover { background: #0056b3; }
.accordion.active { background: #003f7f; }

.panel {
  max-height: 0;
  overflow: hidden;
  background-color: #f1f1f1;
  border-radius: 5px;
  margin-bottom: 15px;
  transition: max-height 0.35s ease;
  padding: 0 15px;
}
.panel.open { padding: 15px; }

/* Section visible après le titre */
.intro-accordion {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  background: #e6e6e6;
  padding: 10px;
  border-radius: 5px;
}
.intro-accordion img {
  flex-shrink: 0;
  width: 150px;
  height: auto;
  border-radius: 5px;
}
.intro-accordion p {
  margin: 0;
}
.intro-text {
  display: flex;
  flex-direction: column; /* empile les paragraphes verticalement */
  gap: 5px; /* optionnel pour l'espacement entre paragraphes */
}
.accordion-icon {
  float: right;
  transition: transform 0.3s;
}
.accordion.active .accordion-icon {
  transform: rotate(180deg);
}
.click-hint {
  font-size: 0.85rem;
  color: #333;
  font-style: italic;
}
.cta-accordion a {
  font-weight: 600;
  text-decoration: underline;
}

/* Quand le panel est ouvert, on ajoute une classe "open" via JS */
.panel.open {
  padding: 15px;
}



/* ========== CORRECTIONS POUR ÉVITER LE DÉCALAGE DU FOOTER ========== */
main {
  min-height: calc(100vh - 180px); /* Ajuste 180px selon la hauteur de ton header + footer */
  padding-bottom: 2rem;
}

.accordion-section {
  margin-top: 30px;
  margin-bottom: 2rem;
  overflow: hidden; /* Empêche le contenu de l'accordion de "pousser" le footer */
}

/* Optionnel : Footer collant UNIQUEMENT sur la page Boutique */
footer {
  position: relative;
  bottom: 0;
  width: 100%;
  z-index: 10;
}


