:root {
  --main: #663502;
  --green: #1b5a1f;
  --yellow: #ffd700;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "UniSansRegular", system-ui, sans-serif;
  background: var(--mag-white);
  color: #111;
}

h1,
h2 {
  font-family: "UniSansBold", system-ui, sans-serif;
  color: var(--main);
}

h3 {
  font-family: "UniSansBold", system-ui, sans-serif;
  color: #1b5a1f;
}

h4 {
  color: var(--main);
  font-family: "UniSansSemiBold", system-ui, sans-serif;
}

h5 {
  color: var(--main);
  font-family: "UniSansSemiBold", system-ui, sans-serif;
}

/* NAV */
.navbar-custom {
  background: var(--main);
  padding: 12px 0;
}

/* LOGO */
.brand-text {
  color: white;
  font-weight: 600;
  font-size: 15px;
}

/* MENU */
.navbar-custom .nav-link {
  color: white;
  font-size: 14px;
  margin-left: 18px;
  font-weight: 400;
  transition: 0.3s;
}

/* HOVER */
.navbar-custom .nav-link:hover {
  color: green;
}

/* ACTIVE */
.navbar-custom .nav-link.active {
  color: var(--yellow);
  font-weight: 700;
}

/* BUTTON */
.btn-main {
  background: var(--main);
  color: white;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
}

.btn-main:hover {
  background: var(--green);
}

/* ================= MOBILE ================= */

@media (max-width: 991px) {
  #nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #nav.active {
    right: 0;
  }

  .navbar-nav {
    text-align: center;
  }

  .nav-link {
    font-size: 18px !important;
    margin: 12px 0 !important;
    color: var(--green) !important;
  }

  .brand-text {
    color: white;
  }

  #menuToggle {
    border: none;
    font-size: 24px;
    background: none;
    color: white;
  }
}

/* ================= HERO ================= */
.hero {
  position: relative;
  width: 100%;
  height: 33vw;
  min-height: 420px;
  max-height: 560px;
  background-image: url("/jad/assets/img/kinshasa.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* slider container */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* slides */
.slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
  text-align: center;
  min-height: 160px;
}

.slide p {
  max-width: 600px;
  margin: auto;

  display: -webkit-box;
  -webkit-line-clamp: 2; /* limite à 2 lignes */
  -webkit-box-orient: vertical;

  overflow: hidden;

  line-height: 1.5;
  min-height: 3em; /* garde la même hauteur pour tous */
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
}

/* text */
.hero h1 {
  color: #ffd700;
  font-size: 3vw;
  font-weight: bold;
}

.hero p {
  color: white;
  max-width: 800px;
  margin: auto;
}

/* button */
.btn-main {
  background: #663502;
  color: white;
  border: none;
  padding: 8px 18px; /* taille normale */
  font-size: 14px;
  border-radius: 6px;
}

.btn-main:hover {
  background: #1b5a1f;
  color: white;
}

/* ================= ARROWS ================= */

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 10;
  padding: 10px;
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

.hero-arrow:hover {
  color: #ffd700;
}

/* ================= INDICATORS ================= */

.indicators {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.indicators span {
  display: inline-block;
  width: 50px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  margin: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.indicators span.active {
  background: var(--yellow);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .hero {
    height: 60vw;
    background-attachment: scroll;
  }
}

@media (max-width: 767.98px) {
  .hero {
    height: auto;
    min-height: 460px;
    padding: 80px 0 50px;
  }

  .hero-slider {
    min-height: 280px;
  }

  .slide {
    padding: 10px 12px;
  }

  .indicators span {
    width: 24px;
    height: 4px;
    margin: 0 3px;
  }
}
/* FOOTER */
/* FOOTER */

footer {
  background: var(--main);
  color: white;
}

footer a {
  color: white;
  text-decoration: none;
}

footer h5 {
  color: var(--yellow);
  font-family: "UniSansSemiBold", system-ui, sans-serif;
}

.copy {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--main);
  text-align: center;
  padding: 10px;
}

.mag-footer p {
  font-family: "UniSansLight";
  color: rgba(255, 255, 255, 0.88);
}

.mag-footer-links a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 6px 0;
}

.mag-footer-links a:hover {
  color: var(--mag-gray);
}

.mag-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  text-decoration: none;
}

.mag-social:hover {
  color: var(--mag-gray);
  border-color: rgba(255, 255, 255, 0.4);
}

.mag-qr {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
}

.mag-footer-hr {
  border-color: rgba(255, 255, 255, 0.35);
}

.mag-btn-whatsapp {
  border-radius: 14px;
  font-family: "UniSansSemiBold";
}

.mag-btn-whatsapp:hover {
  background-color: var(--green);
  color: white;
  font-family: "UniSansSemiBold";
}

/* ✅ Logo footer : taille maîtrisée */
.mag-footer-logo {
  max-width: 90px; /* taille desktop */
  width: 100%;
  height: auto;
  display: block;
}

/* Ligne de séparation légère dans le footer */
/* Items footer avec lignes haut/bas et centrage parfait */
.katikati {
  display: flex;
  flex-direction: column;
  align-items: left;
}
.mag-footer-divider {
  display: flex;
  width: 90%;
  padding-left: 3%;
  align-items: center; /* centrage vertical */
  min-height: 42px; /* espace équitable */
  border-top: 1px solid rgba(166, 166, 166, 0.18);
  border-bottom: 1px solid rgba(166, 166, 166, 0.18);
  min-height: 46px;
}

/* Lien à l'intérieur */
.mag-footer-divider a {
  color: #fff;
  text-decoration: none;
  width: 100%;
  padding: 0 4px; /* respiration horizontale */
}

/* Hover élégant */
.mag-footer-divider a:hover {
  color: yellow;
}
.suka {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: left;
}
/* Mobile : espace un peu plus lisible */
@media (max-width: 576px) {
  .mag-footer-divider {
    margin-top: 12px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .mag-footer-logo {
    max-width: 120px;
    margin: 0 auto; /* centre le logo sur mobile */
  }
}
