/* ====== Overrides & custom styles BenjiSoft ====== */

/* Header */
.brand-accent { color: #FE7BE5; }

.header-lead {
  font-size: 1.25rem;
  font-weight: 500;
}

.header-bullets {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 0 1rem 0;
}

.header-cta {
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

/* Nouvelle row pour social + langue */
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  /* Ajoute un peu d'espace au top si besoin */
  padding-top: 18px;
  padding-bottom: 0;
}

/* Reseaux sociaux - style conservé et responsive */
.social-icons {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  gap: 1.3rem;
  max-width: 200px;
  margin: 0;
}

.social-icons .social-link {
  font-size: 18px;
  color: #fff;
  transition: color 0.2s;
}

.social-icons .social-link:hover, .social-icons .social-link:focus {
  color: #FE7BE5;
  outline: none;
}

/* Sélecteur de langue à droite */
#lang-switcher {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-right: 0.5rem;
}

#lang-switcher .btn-lang {
  background: none;
  border: none;
  color: #FE7BE5;
  cursor: pointer;
  padding: 2px 8px;
  font-size: 1rem;
  border-radius: 3px;
  transition: background-color 0.2s;
}

#lang-switcher .btn-lang.active,
#lang-switcher .btn-lang:disabled {
  text-decoration: underline;
  color: #FE7BE5;
  background-color: transparent;
  cursor: default;
}

#lang-switcher .btn-lang:not(.active):hover {
  background-color: rgba(252, 123, 207, 0.12);
  color: #FE7BE5;
}

#lang-switcher .divider {
  color: #aaa;
  user-select: none;
  font-weight: 400;
}

/* Header image */
.header-image {
  max-width: 360px;
  height: auto;
}

/* Sticky card offset handled by JS; default spacing fallback */
#summarySticky {
  top: 72px;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  padding: 15px;
  z-index: 100;
  font-size: 24px;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
.whatsapp-float .my-float {
  display: inline-block;
  line-height: 1;
}

/* Accessibility focus styles */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px dashed #fe7be5;
  outline-offset: 2px;
}

/* Cards */
.card .subtitle { margin-bottom: 0; }

/* Footer */
.footer { background: #111; }

/* Minor utilities */
img { height: auto; }

/* Responsive : centrer les icônes sociaux sur mobile */
@media (max-width: 767.98px) {
  .header-row {
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }
  .social-icons {
    justify-content: center;
    margin-bottom: 10px;
  }
  #lang-switcher {
    justify-content: flex-end;
  }
}
