/* ============================================================
   FOOTER — Smart Expos & Events Morocco
   ============================================================ */

.sf-footer__logo-mobile { display: none; }

.sf-footer {
  position: relative;
  background-color: #05101f;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* ── Lignes diagonales dorées ── */
.sf-footer__geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sf-footer__geo span {
  position: absolute;
  display: block;
  width: 2px;
  height: 200%;
  background: linear-gradient(180deg, transparent 0%, rgba(212,175,55,0.18) 40%, rgba(212,175,55,0.08) 70%, transparent 100%);
  transform-origin: top center;
}

.sf-footer__geo span:nth-child(1) { left: 15%; transform: rotate(22deg); }
.sf-footer__geo span:nth-child(2) { left: 38%; transform: rotate(-18deg); }
.sf-footer__geo span:nth-child(3) { left: 62%; transform: rotate(15deg); }
.sf-footer__geo span:nth-child(4) { left: 82%; transform: rotate(-22deg); }

/* ── Container ── */
.sf-footer__container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Inner layout : 3 colonnes ── */
.sf-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1260px;
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 48px;
  align-items: start;
  border-bottom: 1px solid rgba(212,175,55,0.15);
}

/* ── Logo centré ── */
.sf-footer__logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.sf-footer__logo-img {
  height: 10rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(212,175,55,0.30));
}

.sf-footer__logo-sep {
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  margin: 0 auto 28px;
}

/* ── Follow Us + Links côte à côte ── */
.sf-footer__center-row {
  display: flex;
  margin-left: -8rem;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
}

.sf-footer__center-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.sf-footer__center-divider {
  width: 1px;
  min-height: 120px;
  background: rgba(212,175,55,0.2);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ── Col center ── */
.sf-footer__col--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── Headings ── */
.sf-footer__heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #d4af37;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212,175,55,0.2);
  position: relative;
}

.sf-footer__heading::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 36px;
  height: 2px;
  background: #d4af37;
  border-radius: 2px;
}

/* ── À propos ── */
.sf-footer__about-text {
  font-size: 0.90rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.70);
  margin-bottom: 24px;
}

.sf-footer__hours {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sf-footer__hours-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #d4af37;
}

.sf-footer__hours-val {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

/* ── Follow Us ── */
.sf-footer__follow-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #d4af37;
  margin-bottom: 0;
}

.sf-footer__socials {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.sf-social {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.sf-social img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}

.sf-social:hover {
  transform: translateY(-4px) scale(1.10);
  filter: brightness(1.15) drop-shadow(0 6px 16px rgba(0,0,0,0.4));
}

/* ── Links ── */
.sf-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sf-footer__links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 0.90rem;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.sf-footer__links li a i {
  font-size: 0.6rem;
  color: #d4af37;
  transition: transform 0.2s ease;
}

.sf-footer__links li a:hover { color: #d4af37; gap: 13px; }
.sf-footer__links li a:hover i { transform: translateX(3px); }

/* ── Contact ── */
.sf-footer__contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sf-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
}

.sf-footer__contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  padding: 7px;
}

.sf-footer__contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sf-footer__contact a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sf-footer__contact a:hover { color: #d4af37; }

/* ── Bottom bar ── */
.sf-footer__bottom {
  position: relative;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(212,175,55,0.35);
}

.sf-footer__bottom-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.sf-footer__copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.sf-footer__copy strong {
  color: #d4af37;
  font-weight: 700;
}

.sf-footer__legal {
  list-style: none;
  display: flex;
  gap: 24px;
}

.sf-footer__legal li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sf-footer__legal li a:hover { color: #d4af37; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sf-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
  .sf-footer__col--center { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .sf-footer { background-image: url('/assets/img/normal/backrund_image-footer_story.png') !important; background-attachment: scroll; background-size: cover; background-position: center; }
  .sf-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .sf-footer__inner            { display: flex; flex-direction: column; align-items: center; }
  .sf-footer__col--left        { order: 1; text-align: center; width: 100%; }
  .sf-footer__col--center      { order: 3; text-align: center; width: 100%; }
  .sf-footer__col--right       { order: 2; text-align: center; width: 100%; }
  .sf-footer__logo-wrap        { display: none; }
  .sf-footer__logo-sep         { display: none; }
  .sf-footer__logo-mobile      { display: flex; justify-content: center; margin-bottom: 24px; }
  .sf-footer__logo-mobile img  { max-width: 15rem; }
  .sf-footer__center-row       { flex-direction: column; align-items: center; }
  .sf-footer__center-row .sf-footer__center-block              { text-align: center; align-items: center; display: flex; flex-direction: column; }
  .sf-footer__center-row .sf-footer__center-block:first-child  { order: 2; }
  .sf-footer__center-row .sf-footer__center-block:last-child   { order: 1; }
  .sf-footer__center-row .sf-footer__center-divider            { display: none; }
  .sf-footer__links            { text-align: center; padding: 0; }
  .sf-footer__socials          { justify-content: center; }
  .sf-footer__center-row { flex-direction: column; margin: auto; justify-content: center; align-items: center; }
  .sf-footer__center-divider { width: 120px; min-height: 1px; margin: 4px 0; }
  .sf-footer__socials { justify-content: center; }
  .sf-footer__bottom-inner { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .sf-footer__container { padding: 0 16px; }
}

@media (max-width: 380px) {
  .sf-footer__container { padding: 0 12px; }
  .sf-footer__logo img  { max-width: 110px; }
}
