/* =============================================================
   LiftFoils Footer Builder — CSS autonome
   Reproduction fidèle du footer liftfoils.com
   Scoped sous .lffb-footer — n'impacte pas le reste du site
   ============================================================= */

/* ─────────────────────────────────────────────────────────────
   CUSTOM PROPERTIES
───────────────────────────────────────────────────────────── */
.lffb-footer {
  --lffb-bg:             #121212;
  --lffb-accent:         #1dc6c8;
  --lffb-accent-hover:   #17aaac;
  --lffb-text:           rgba(255, 255, 255, 0.62);
  --lffb-text-muted:     rgba(255, 255, 255, 0.35);
  --lffb-white:          #ffffff;
  --lffb-border:         rgba(255, 255, 255, 0.07);
  --lffb-font:           'Assistant', sans-serif;
  --lffb-radius:         30px;
  --lffb-transition:     0.22s ease;
  --lffb-gap:            24px;
  --lffb-gap-lg:         48px;
  --lffb-container:      1200px;
}

/* ─────────────────────────────────────────────────────────────
   RESET SCOPED
───────────────────────────────────────────────────────────── */
.lffb-footer *,
.lffb-footer *::before,
.lffb-footer *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER WRAPPER
───────────────────────────────────────────────────────────── */
.lffb-footer {
  background-color: var(--lffb-bg);
  color: var(--lffb-text);
  font-family: var(--lffb-font);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  padding-top: 64px;
}

.lffb-container {
  width: 100%;
  max-width: var(--lffb-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ─────────────────────────────────────────────────────────────
   GRILLE PRINCIPALE — 5 colonnes
───────────────────────────────────────────────────────────── */
.lffb-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.6fr;
  gap: var(--lffb-gap);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--lffb-border);
  align-items: start;
}

/* ─────────────────────────────────────────────────────────────
   COLONNE BRAND — Logo + tagline
───────────────────────────────────────────────────────────── */
.lffb-col--brand {
  padding-right: 16px;
}

.lffb-logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 14px;
  transition: opacity var(--lffb-transition);
}

.lffb-logo:hover {
  opacity: 0.75;
}

.lffb-logo__img {
  display: block;
  /* max-height contrôlée via style inline depuis l'option logo_max_height */
  width: auto;
  height: auto;
}

.lffb-logo__text {
  font-family: var(--lffb-font);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lffb-white);
}

.lffb-tagline {
  font-size: 13px;
  color: var(--lffb-text-muted);
  line-height: 1.65;
  max-width: 210px;
}

/* ─────────────────────────────────────────────────────────────
   TITRES DE COLONNES
───────────────────────────────────────────────────────────── */
.lffb-heading {
  font-family: var(--lffb-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lffb-white);
  margin-bottom: 18px;
}

/* ─────────────────────────────────────────────────────────────
   LISTES DE LIENS
───────────────────────────────────────────────────────────── */
.lffb-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.lffb-nav a {
  color: var(--lffb-text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color var(--lffb-transition);
}

.lffb-nav a:hover {
  color: var(--lffb-accent);
}

/* ─────────────────────────────────────────────────────────────
   LIENS APP STORE (avec icône SVG)
───────────────────────────────────────────────────────────── */
.lffb-app-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--lffb-text);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--lffb-transition);
}

.lffb-app-link:hover {
  color: var(--lffb-accent);
}

.lffb-app-icon {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: 0.65;
}

.lffb-app-link:hover .lffb-app-icon {
  opacity: 1;
}

/* ─────────────────────────────────────────────────────────────
   COLONNE NEWSLETTER
───────────────────────────────────────────────────────────── */
.lffb-col--newsletter {
  padding-left: 8px;
}

.lffb-newsletter-desc {
  font-size: 13px;
  color: var(--lffb-text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.lffb-nl-row {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--lffb-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.lffb-nl-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 11px 16px;
  font-family: var(--lffb-font);
  font-size: 13px;
  color: var(--lffb-white);
}

.lffb-nl-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.lffb-nl-btn {
  background-color: var(--lffb-accent);
  border: none;
  padding: 11px 18px;
  cursor: pointer;
  color: var(--lffb-white);
  font-family: var(--lffb-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color var(--lffb-transition);
}

.lffb-nl-btn:hover {
  background-color: var(--lffb-accent-hover);
}

.lffb-nl-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.22);
  margin-top: 10px;
  line-height: 1.55;
}

/* Feedback newsletter */
.lffb-newsletter-msg,
.lffb-nl-msg {
  font-size: 13px;
  margin-bottom: 10px;
  min-height: 0;
}

.lffb-newsletter-msg:empty,
.lffb-nl-msg:empty {
  display: none;
}

.lffb-newsletter-msg.is-success,
.lffb-nl-msg.is-success {
  color: var(--lffb-accent);
}

.lffb-newsletter-msg.is-error,
.lffb-nl-msg.is-error {
  color: #f87171;
}

/* ─────────────────────────────────────────────────────────────
   BARRE DU BAS
───────────────────────────────────────────────────────────── */
.lffb-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 26px;
  gap: 24px;
}

.lffb-copyright {
  font-size: 13px;
  color: var(--lffb-text-muted);
}

/* ─────────────────────────────────────────────────────────────
   ICÔNES SOCIALES
───────────────────────────────────────────────────────────── */
.lffb-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lffb-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color var(--lffb-transition), transform var(--lffb-transition);
}

.lffb-social-link:hover {
  background-color: var(--lffb-accent);
  transform: translateY(-2px);
}

.lffb-social-link svg {
  width: 17px;
  height: 17px;
  fill: rgba(255, 255, 255, 0.72);
  transition: fill var(--lffb-transition);
}

.lffb-social-link:hover svg {
  fill: var(--lffb-white);
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — 1024px
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .lffb-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px 24px;
  }

  .lffb-col--brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    padding-right: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--lffb-border);
  }

  .lffb-tagline {
    max-width: 320px;
    margin-top: 6px;
  }

  .lffb-col--newsletter {
    grid-column: 1 / -1;
    padding-left: 0;
  }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — 768px (Tablet)
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .lffb-footer {
    padding-top: 48px;
  }

  .lffb-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lffb-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .lffb-col--brand {
    flex-direction: column;
    gap: 12px;
  }

  .lffb-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 32px;
  }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — 480px (Mobile)
───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .lffb-grid {
    grid-template-columns: 1fr;
  }

  .lffb-col--newsletter {
    grid-column: 1;
  }

  .lffb-nl-row {
    flex-direction: column;
    border-radius: 10px;
  }

  .lffb-nl-btn {
    border-radius: 0 0 10px 10px;
    padding: 13px;
    text-align: center;
  }

  .lffb-tagline {
    max-width: 100%;
  }
}
