/**
 * Surcharge charte IBI Smart School — remplace l'orange Mentoria (#F59300) par le bleu ISS.
 */
:root {
  --iss-primary: #49c7ff;
  --iss-primary-hover: #006e94;
  --iss-surface: #e6f6fb;
  --iss-success: #2e9e5b;
}

.color-primary,
.hover-content:hover {
  color: var(--iss-primary) !important;
}

.bg-primary,
.cus-btn,
.header-top,
.contact-block,
.newlatter-block .cus-btn,
.preloader .left,
.preloader .middle,
.preloader .right {
  background-color: var(--iss-primary) !important;
}

.cus-btn:hover,
.cus-btn-2:hover {
  background-color: var(--iss-primary-hover) !important;
  border-color: var(--iss-primary-hover) !important;
}

.cus-btn-2 {
  border-color: var(--iss-primary) !important;
  color: var(--iss-primary) !important;
}

.cus-btn-2:hover .text {
  color: #fff !important;
}

.tagblock,
.contact-block .svg-icon rect,
.expert-block .img-icon,
.accordion-button:not(.collapsed) {
  background: var(--iss-surface) !important;
}

.header-logo img,
.logo-box img,
.footer-logo img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.hero-sec h1,
.heading h3,
.heading h2 {
  font-family: var(--font-bradley), "Bradley Hand ITC", "Bradley Hand", cursive;
  font-weight: 700 !important;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

.privacy-text .color-primary {
  color: var(--iss-primary) !important;
}

.back-to-top.show {
  background: var(--iss-primary) !important;
}

.testimonial-slider .slick-dots li.slick-active button {
  background: var(--iss-primary) !important;
}

.accordion-button:not(.collapsed) {
  color: var(--iss-primary) !important;
}

main.main-wrapper > section[id] {
  scroll-margin-top: 120px;
}

html {
  scroll-behavior: smooth;
}

.form-control:focus {
  border-color: var(--iss-primary) !important;
  box-shadow: 0 0 0 1px var(--iss-primary) !important;
}

/* Next.js — annuler le flex Tailwind du body racine sur la landing */
body.iss-home-page {
  display: block !important;
  flex-direction: unset !important;
}

body.iss-home-page > .fixed.bottom-2,
body.iss-home-page > .fixed.inset-0.-z-10 {
  display: none !important;
}
