/* Cache TOUT le bloc tant que le JS n’a pas reçu le clic "Valider" */
.cta-accordion.is-hidden { 
  display: none !important; 
}

/* Couleur unifiée (PC = mobile) — remplace #a06d47 si besoin */
.cta-acc__toggle,
.cta-acc__toggle .cta-acc__label,
.cta-acc__indicator { 
  color: #a06d47 !important; 
}

/* En-tête neutre (pas de contour / pas de fond) */
.cta-acc__toggle{
  appearance: none;
  -webkit-appearance: none;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  width: 100%;
  display: flex; 
  align-items: center; 
  gap: 8px;
  padding: 12px 0;
  font: inherit; 
  color: inherit;
  text-align: left;
}

/* Neutraliser tout changement de couleur au survol/pression (desktop + mobile) */
.cta-acc__toggle,
.cta-acc__toggle:hover,
.cta-acc__toggle:focus,
.cta-acc__toggle:active {
  color: inherit !important;
  background: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent; /* iOS */
}

/* Indicateur d’ouverture (flèche) */
.cta-acc__indicator::before{
  content: '▸'; 
  display: inline-block; 
  transition: transform .2s ease; 
  transform-origin: center;
}
.cta-acc__toggle[aria-expanded="true"] .cta-acc__indicator::before{
  transform: rotate(90deg);
}

/* Panneau fermé */
.cta-acc__panel[hidden]{ 
  display: none !important; 
}

/* États d’affichage appliqués par le JS */
.cta-visible-block{ display: block !important; }
.cta-visible-flex{ display: flex !important; }
.cta-visible-grid{ display: grid !important; }
.cta-visible-inline-block{ display: inline-block !important; }

/* Petite marge interne du panneau */
.cta-acc__panel{ 
  padding: 8px 0; 
}

/* Focus clavier discret (accessibilité) */
.cta-acc__toggle:focus-visible{
  outline: 2px solid #a06d47;
  outline-offset: 2px;
}
