/* Breadcrumb (fil d'Ariane) pages internes */
.tm-breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 500;
  color: #6b6b7a;
}

.tm-breadcrumb a {
  color: #6b6b7a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tm-breadcrumb a:hover {
  color: #8b1bb3;
}

.tm-breadcrumb__sep {
  opacity: 0.6;
}

.tm-breadcrumb [aria-current="page"] {
  color: #1a1a1a;
  font-weight: 600;
}

/* Commentaires articles */
.tm-comments {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e7e7ef;
}

.tm-comments__title {
  margin-bottom: 16px;
  font-size: 24px;
}

.tm-comments__list li {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #efeff5;
}

.tm-comments .comment-form textarea,
.tm-comments .comment-form input[type="text"],
.tm-comments .comment-form input[type="email"],
.tm-comments .comment-form input[type="url"] {
  width: 100%;
  border: 1px solid #d9d9e8;
  border-radius: 10px;
  padding: 10px 12px;
}

/* Single artiste: titre lisible et bien découpé */
.page-header--single-artiste .page-header__title {
  font-size: clamp(42px, 9vw, 128px);
  line-height: 0.9;
  margin-bottom: 20px;
  word-break: break-word;
}

/* Bouton menu mobile (toggle) — cercle rose, icône hamburger noire */
.main-header .mobile-nav__btn {
  width: 52px;
  height: 52px;
  min-width: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e8a4d4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(142, 14, 131, 0.22);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.main-header .mobile-nav__btn span {
  display: block;
  width: 20px;
  height: 3px;
  margin: 0 !important;
  border-radius: 2px;
  background-color: #0c0610;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.main-header .mobile-nav__btn:hover,
.main-header .mobile-nav__btn:focus-visible {
  background: #f0b8e4;
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(142, 14, 131, 0.28);
}

.main-header .mobile-nav__btn:hover span,
.main-header .mobile-nav__btn:focus-visible span {
  background-color: #0c0610;
  transform: none;
}

/* Menu ouvert : icône en croix */
body.mobile-nav-open .main-header .mobile-nav__btn span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.mobile-nav-open .main-header .mobile-nav__btn span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.mobile-nav-open .main-header .mobile-nav__btn span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Le bouton menu hamburger ne doit apparaître que sur mobile/tablette */
@media (min-width: 1200px) {
  .main-header .mobile-nav__btn {
    display: none !important;
  }
}

/* Page Contact — cartes coordonnées */
.contact-info--modern {
  padding: 40px 0 20px;
}

.tm-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tm-contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(12, 6, 16, 0.06);
  box-shadow: 0 12px 40px rgba(12, 6, 16, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tm-contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 14, 131, 0.18);
  box-shadow: 0 20px 48px rgba(142, 14, 131, 0.12);
}

.tm-contact-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8e0e83 0%, #e8a4d4 100%);
  color: #fff;
  font-size: 26px;
}

.tm-contact-card__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: #0c0610;
}

.tm-contact-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #717171;
}

.tm-contact-card__text a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.tm-contact-card__text a:hover {
  color: #8e0e83;
}

/* Page Contact — bloc présences moderne */
.tm-presence {
  position: relative;
  padding: 50px 0 80px;
  overflow: hidden;
}

.tm-presence__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(232, 164, 212, 0.35), transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(142, 14, 131, 0.2), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.tm-presence .container {
  position: relative;
  z-index: 1;
}

.tm-presence__header {
  max-width: 640px;
  margin-bottom: 40px;
}

.tm-presence__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(142, 14, 131, 0.08);
  color: #8e0e83;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tm-presence__title {
  margin: 0 0 14px;
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: #0c0610;
}

.tm-presence__lead {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.6;
  color: #696767;
}

.tm-presence__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tm-presence__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 100px;
  padding: 14px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(12, 6, 16, 0.06);
  box-shadow: 0 8px 24px rgba(12, 6, 16, 0.05);
}

.tm-presence__stat-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #8e0e83;
}

.tm-presence__stat-label {
  font-size: 13px;
  font-weight: 500;
  color: #717171;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Carte interactive présences */
.tm-presence-map-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: stretch;
}

.tm-presence-map {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 24px 64px rgba(12, 6, 16, 0.18);
  min-height: 460px;
}

.tm-presence-map__svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 460px;
}

.tm-presence-map__bg {
  opacity: 0.92;
}

.tm-map-pin {
  cursor: pointer;
  outline: none;
}

.tm-map-pin__ring {
  fill: rgba(232, 164, 212, 0.12);
  stroke: rgba(232, 164, 212, 0.35);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  transition: r 0.35s ease, fill 0.35s ease;
}

.tm-map-pin__pulse {
  fill: rgba(232, 164, 212, 0.45);
  transform-box: fill-box;
  transform-origin: center;
  animation: tm-map-pulse 2.4s ease-out infinite;
}

.tm-map-pin__dot {
  fill: #e8a4d4;
  stroke: #0c0610;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.3s ease, fill 0.3s ease;
}

.tm-map-pin--afrique .tm-map-pin__dot {
  fill: #d48ec8;
}

.tm-map-pin--amerique .tm-map-pin__dot {
  fill: #b96bb0;
}

.tm-map-pin__label {
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tm-map-pin__tooltip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12, 6, 16, 0.92);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.tm-map-pin__flag {
  font-size: 14px;
  line-height: 1;
}

.tm-map-pin:hover .tm-map-pin__ring,
.tm-map-pin:focus-visible .tm-map-pin__ring,
.tm-map-pin.is-active .tm-map-pin__ring {
  r: 18;
  fill: rgba(232, 164, 212, 0.28);
}

.tm-map-pin:hover .tm-map-pin__dot,
.tm-map-pin:focus-visible .tm-map-pin__dot,
.tm-map-pin.is-active .tm-map-pin__dot {
  transform: scale(1.25);
  fill: #fff;
}

.tm-map-pin:hover .tm-map-pin__label,
.tm-map-pin:focus-visible .tm-map-pin__label,
.tm-map-pin.is-active .tm-map-pin__label {
  opacity: 1;
  transform: translateY(0);
}

.tm-presence-map.has-active .tm-map-pin:not(.is-active) {
  opacity: 0.45;
}

@keyframes tm-map-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Légende carte */
.tm-presence-map__legend {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(12, 6, 16, 0.06);
  box-shadow: 0 16px 48px rgba(12, 6, 16, 0.07);
}

.tm-presence-legend__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #0c0610;
}

.tm-presence-legend__count {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8a4d4;
  color: #0c0610;
  font-size: 13px;
  font-weight: 700;
}

.tm-presence-legend__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tm-presence-legend__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f8f8fa;
  color: #0c0610;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.tm-presence-legend__item:hover,
.tm-presence-legend__item.is-active {
  background: #faf0f8;
  border-color: rgba(142, 14, 131, 0.2);
  transform: translateX(4px);
}

.tm-presence-legend__flag {
  font-size: 20px;
  line-height: 1;
}

.tm-presence-legend__name {
  flex: 1;
}

.tm-presence-legend__code {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8e0e83;
  opacity: 0.65;
}

.tm-presence-legend__group--europe,
.tm-presence-legend__group--afrique {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(12, 6, 16, 0.06);
}

@media (max-width: 991px) {
  .tm-contact-cards {
    grid-template-columns: 1fr;
  }

  .tm-presence-map-layout {
    grid-template-columns: 1fr;
  }

  .tm-presence-map {
    min-height: 260px;
  }

  .tm-presence-map__svg {
    min-height: 260px;
  }
}
