@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
  --color-blue:    #1A4FB3;
  --color-blue-dk: #1f4177;
  --color-red:     #c0392b;
  --color-red-dk:  #a93226;
  --color-dark:    #051040;
  --color-grey:    #f6f6f7;
  --top-h:         58px;
  --nav-h:         48px;
}

/* ══ PAGE LAYOUT ══ */
.path-product-and-companies #block-sakyran-bootstrap5-content,
.page-annuaire #block-sakyran-bootstrap5-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.ev-page-header img{
    width: 100%;
}
.ev-page-title{
  margin-top: 20px;
}
/* ══ SIDEBAR ══ */
.form-filters {
  width: 360px !important;
  min-width: 360px;
  flex-shrink: 0;
  background: #fff !important;
  border-radius: 8px !important;
  padding: 14px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  float: none !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

.form-filters form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Champ recherche — agrandi */
.form-filters input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 36px 10px 12px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--color-dark);
  outline: none;
  margin-bottom: 10px;
  height: 40px;
}
.form-filters input[type="text"]:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 2px rgba(26,79,179,0.12);
}

/* Bouton Clear filters */
.ann-clear-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 0.8rem;
  color: #555;
  cursor: pointer;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}
.ann-clear-btn:hover { background: #f0f0f0; }

/* Bouton Rechercher — caché */
.ann-submit-btn {
  display: none;
}

/* ══ ACCORDÉON ══ */
#domaine {
  display: flex;
  flex-direction: column;
}

.ann-cat-group {
  border: 1px solid #dce3ed;
  border-radius: 4px;
  margin-bottom: 7px;
  overflow: hidden;
}

.ann-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  cursor: pointer;
  background: #fff;
  user-select: none;
}

.ann-cat-main-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size:17px;
  font-weight: 500;
  color: var(--color-dark);
  cursor: pointer;
}

.ann-cat-main-label input[type="checkbox"] {
  margin: 0;
  accent-color: var(--color-blue);
  flex-shrink: 0;
}
.ann-cat-arrow {
  font-size: 15px;  /* un peu plus grand que le ▼ texte */
  color: #888;
  transition: transform 0.2s;
  display: inline-block;
}
.ann-cat-arrow {
  font-size: 0.55rem;
  color: #888;
  transition: transform 0.2s;
  display: inline-block;
}
.ann-cat-group.open .ann-cat-arrow {
  transform: rotate(180deg);
}

/* Sous-catégories */
.ann-cat-subs {
  display: none;
  padding: 6px 10px 10px 24px;
  background: #fafbfc;
  border-top: 1px solid #eee;
}
.ann-cat-group:first-child .ann-cat-subs {
  display: block;
}
.ann-cat-group.open .ann-cat-subs {
  display: block;
}

.ann-sub-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  color: #555;
  padding: 3px 0;
  cursor: pointer;
}
.ann-sub-label input[type="checkbox"] {
  margin: 0;
  accent-color: var(--color-blue);
}

/* ══ RIGHT COLUMN ══ */
#annuaire-entreprises-col-right {
  flex: 1;
  min-width: 0;
  width: auto !important;
  float: none !important;
}

.annuaire-entreprises .results-info {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* ══ ALPHABET FILTER ══ */
.filter-section {
  margin-bottom: 18px;
}

.abc-filters-label {
  font-size: 0.82rem;
  color: #555;
  margin-bottom: 8px !important;
}

.alphabet-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.letter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  background: var(--color-blue);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none !important;
}
.letter-btn:hover,
.letter-btn.active {
  background: var(--color-blue-dk);
}
.letter-btn.off {
  background: #b0bec5;
  pointer-events: none;
}

/* ══ CARD LIST ══ */
.ann-liste {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ann-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--color-grey);
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  text-decoration: none !important;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ann-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.13);
  transform: translateY(-2px);
}

.ann-card > div {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

/* Logo */
.ann-card-logo-wrap {
  flex-shrink: 0;
  width: 110px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ann-card-logo img {
  max-width: 110px !important;
  max-height: 68px;
  width: auto !important;
  height: auto;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: none !important;
}

/* Initiale */
.ann-card-initiale {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--color-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
}

/* Infos */
.ann-card-info {
  flex: 1;
  min-width: 0;
}
.ann-card-name {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--color-dark);
  margin-bottom: 5px;
}
.ann-card-meta {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.6;
}
.ann-card-meta b {
  color: var(--color-dark);
}

/* Flèche */
.ann-card-arrow-wrap {
  flex-shrink: 0;
}
.ann-card-arrow {
  width: 28px;
  height: 28px;
  background: var(--color-blue);
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

/* Empty state */
.ann-empty {
  color: #888;
  font-size: 0.9rem;
  padding: 20px 0;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 700px) {
  #block-sakyran-bootstrap5-content {
    flex-direction: column;
  }
  .form-filters {
    width: 100% !important;
    min-width: unset;
  }
  #annuaire-entreprises-col-right {
    width: 100% !important;
  }
}
/* ══ HOVER ACCORDÉON ══ */
.ann-cat-header:hover {
  background: var(--color-blue);
  transition: background 0.2s;
}

.ann-cat-header:hover .ann-cat-main-label,
.ann-cat-header:hover .ann-cat-main-label input[type="checkbox"] + * {
  color: #fff;
}

.ann-cat-header:hover .ann-cat-arrow {
  color: #fff;
}

.ann-sub-label:hover {
  background: var(--color-blue);
  color: #fff;
  border-radius: 4px;
  padding-left: 4px;
  transition: background 0.2s;
}

.ann-sub-label:hover input[type="checkbox"] {
  accent-color: #fff;
}
.ann-clear-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-blue);
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.2s;
}
.ann-clear-btn:hover {
  background: var(--color-blue-dk);
}

/******image gauche droite****/
/* Conteneur principal */
.image-text-container {
  display: flex;
  align-items: flex-start; /* Alignement en haut pour le texte */
  gap: 20px;
  margin: 50px 0;
	align-items: center;
	align-content: stretch;
}

/* Position gauche (par défaut) */
.image-text-container.gauche {
  flex-direction: row;
}

/* Position droite */
.image-text-container.droite {
  flex-direction: row-reverse;
}

/* Style de l'image */
.positionned-image {
  width: 429px;
  height: 340px;
  object-fit: cover; /* Conserve les proportions en recadrant si nécessaire */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Style du texte */
.text-content {
  flex: 1; /* Prend l'espace restant */
}

.text-content h4 {
  margin-top: 0; /* Supprime la marge par défaut */
  margin-bottom: 10px; /* Espace entre le titre et le texte */
  font-weight: bold;
  color:var(--color-blue);
  font-size: 18px!important;
   /* Exemple de couleur (à adapter) */
}

.lead {
  margin: 0;
  line-height: 1.6;
}



