/* ================================
   Footer Tipsters Pronostics (maquette)
   ================================ */

:root {
  --tp-footer-bg: #070707;
  --tp-footer-surface: #111111;
  --tp-footer-border: rgba(255, 255, 255, .08);
  --tp-footer-accent: #a6da07;
  --tp-footer-text: rgba(255, 255, 255, .78);
  --tp-footer-muted: rgba(255, 255, 255, .48);
}

#footer.tp-footer,
#footer.footer.tp-footer {
  background:
    radial-gradient(ellipse 80% 40% at 50% -10%, rgba(166, 218, 7, .14), transparent 60%),
    var(--tp-footer-bg) !important;
  color: var(--tp-footer-text);
  border-top: 1px solid rgba(166, 218, 7, .22);
  padding: 56px 0 0 !important;
  margin-top: 0 !important;
  position: relative;
  z-index: 5;
}

#footer.tp-footer .tp-footer-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

#footer.tp-footer .tp-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 1.25fr 1.05fr;
  gap: 36px 28px;
  padding-bottom: 42px;
}

#footer.tp-footer .tp-footer-col-title {
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
  padding: 0 0 10px;
  position: relative;
  display: inline-block;
}

#footer.tp-footer .tp-footer-col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--tp-footer-accent);
  box-shadow: 0 0 10px rgba(166, 218, 7, .45);
}

/* Brand */
#footer.tp-footer .tp-footer-brand-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: 260px;
  object-fit: contain;
  margin-bottom: 14px;
}

#footer.tp-footer .tp-footer-brand-text {
  margin: 0 0 18px;
  color: var(--tp-footer-text);
  font-size: 14px;
  line-height: 1.55;
  max-width: 320px;
}

#footer.tp-footer .tp-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer.tp-footer .tp-footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .85) !important;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--tp-footer-border);
  font-size: 14px;
  transition: color .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

#footer.tp-footer .tp-footer-socials a:hover {
  color: #0a0a0a !important;
  background: var(--tp-footer-accent);
  border-color: var(--tp-footer-accent);
  box-shadow: 0 0 18px rgba(166, 218, 7, .35);
}

/* Link lists */
#footer.tp-footer .tp-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#footer.tp-footer .tp-footer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: var(--tp-footer-text) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color .15s ease;
}

#footer.tp-footer .tp-footer-links a i {
  font-size: 11px;
  color: rgba(255, 255, 255, .28);
  transition: color .15s ease, transform .15s ease;
}

#footer.tp-footer .tp-footer-links a:hover {
  color: var(--tp-footer-accent) !important;
}

#footer.tp-footer .tp-footer-links a:hover i {
  color: var(--tp-footer-accent);
  transform: translateX(2px);
}

/* Newsletter */
#footer.tp-footer .tp-footer-nl-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--tp-footer-text);
}

#footer.tp-footer .tp-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

#footer.tp-footer .tp-nl-field {
  position: relative;
}

#footer.tp-footer .tp-nl-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .4);
  font-size: 13px;
  pointer-events: none;
}

#footer.tp-footer .nl-email,
#footer.tp-footer input.nl-email.form-control {
  width: 100%;
  height: 46px;
  border-radius: 999px !important;
  border: 1px solid var(--tp-footer-border) !important;
  background: #0d0d0d !important;
  color: #fff !important;
  padding: 0 16px 0 40px !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

#footer.tp-footer .nl-email::placeholder {
  color: rgba(255, 255, 255, .38);
}

#footer.tp-footer .nl-email:focus {
  border-color: rgba(166, 218, 7, .55) !important;
  box-shadow: 0 0 0 3px rgba(166, 218, 7, .12) !important;
  outline: none;
}

#footer.tp-footer .tp-nl-submit,
#footer.tp-footer input.nl-submit {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: Montserrat, "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #0a0a0a !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #d4ff4d 0%, #a6da07 48%, #7fb800 100%);
  box-shadow:
    0 0 0 1px rgba(166, 218, 7, .25),
    0 0 22px rgba(166, 218, 7, .4),
    inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

#footer.tp-footer .tp-nl-submit:hover,
#footer.tp-footer input.nl-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(166, 218, 7, .35),
    0 0 28px rgba(166, 218, 7, .55),
    inset 0 1px 0 rgba(255, 255, 255, .5);
}

#footer.tp-footer .tp-nl-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  width: 100%;
  margin-top: 2px;
}

#footer.tp-footer .tp-nl-actions .tp-nl-submit {
  flex: 0 0 auto;
  margin-right: 6px;
}

#footer.tp-footer .tp-footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  margin: 0;
}

#footer.tp-footer .tp-footer-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.2;
  color: var(--tp-footer-muted);
  white-space: nowrap;
}

#footer.tp-footer .tp-footer-trust i {
  color: var(--tp-footer-accent);
  font-size: 12px;
}

#footer.tp-footer .tp-newsletter-msg {
  min-height: 1.2em;
}

/* Contact card */
#footer.tp-footer .tp-footer-contact-card {
  background: var(--tp-footer-surface);
  border: 1px solid var(--tp-footer-border);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#footer.tp-footer .tp-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit !important;
  transition: background .15s ease;
}

#footer.tp-footer .tp-footer-contact-item:hover {
  background: rgba(166, 218, 7, .08);
}

#footer.tp-footer .tp-footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(166, 218, 7, .12);
  color: var(--tp-footer-accent);
  flex-shrink: 0;
}

#footer.tp-footer .tp-footer-contact-item strong {
  display: block;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

#footer.tp-footer .tp-footer-contact-item small {
  display: block;
  margin-top: 2px;
  color: var(--tp-footer-muted);
  font-size: 12px;
}

/* Bottom bar */
#footer.tp-footer .tp-footer-bottom {
  border-top: 1px solid var(--tp-footer-border);
  padding: 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

#footer.tp-footer .tp-footer-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: var(--tp-footer-muted);
}

#footer.tp-footer .tp-footer-copy a {
  color: var(--tp-footer-accent) !important;
  text-decoration: none !important;
}

/* ToTop (override thème) */
body #totop,
a#totop {
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
  background: var(--tp-footer-accent) !important;
  color: #0a0a0a !important;
  box-shadow: 0 0 20px rgba(166, 218, 7, .45) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0 !important;
  text-indent: 0 !important;
  border: 0 !important;
  right: 22px !important;
  bottom: 24px !important;
  opacity: 1 !important;
}

body #totop::before,
a#totop::before {
  content: "\f077";
  font-family: "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  font-size: 16px;
  color: #0a0a0a;
  line-height: 1;
}

@media (max-width: 1199.98px) {
  #footer.tp-footer .tp-footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  #footer.tp-footer .tp-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991.98px) {
  #footer.tp-footer .tp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
}

@media (max-width: 575.98px) {
  #footer.tp-footer {
    padding-top: 40px !important;
  }

  #footer.tp-footer .tp-footer-grid {
    grid-template-columns: 1fr;
  }

  #footer.tp-footer .tp-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
