/* ═══════════════════════════════════════════════════════════════════════
   FOOTER — Modern App-Like Design
   Mobile-first, cohérent avec home.css
═══════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────
   Tokens
───────────────────────────────────────────────────────────────────── */
.site-footer {
  --f-bg: transparent;
  --f-surface: rgba(0, 0, 0, .04);
  --f-ink: #111827;
  --f-muted: #6b7280;
  --f-subtle: #9ca3af;
  --f-border: rgba(0, 0, 0, .08);
  --f-gold: #c9a227;
  --f-gold-light: #f5e6c8;
  --f-gold-dark: #a88b1f;
  --f-radius: 16px;
  --f-radius-full: 9999px;
  --f-transition: .2s cubic-bezier(.4, 0, .2, 1);
}


/* ─────────────────────────────────────────────────────────────────────
   Newsletter Band
───────────────────────────────────────────────────────────────────── */
.newsletter-band {
  background: #f8f9fa;
  border-top: 1px solid rgba(0, 0, 0, .06);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  padding: 10px 10px 10px;
}

.newsletter-inner {
  max-width: 700px;
  margin: 10px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.newsletter-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.newsletter-headline {
  font-family: 'Bebas Neue', 'Oswald', system-ui, sans-serif;
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 400;
  letter-spacing: .02em;
  color: #111827;
  margin: 0;
  line-height: 1.2;
}

.newsletter-headline span {
  color: #fff;
  background: linear-gradient(135deg, #c9a227 0%, #a88b1f 100%);
  padding: 2px 12px;
  border-radius: 6px;
}

.newsletter-subline {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 420px;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 10px 60px;
  font-size: 12px;
  font-family: inherit;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 12px;
  background: #fff;
  color: #111;
  text-align: center;
  outline: none;
  transition: all .2s ease;
}

.newsletter-form input[type="email"]:focus {
  border-color: #c9a227;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .15);
}

.newsletter-form input[type="email"]::placeholder {
  color: #9ca3af;
}

.newsletter-form button {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #c9a227 0%, #a88b1f 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, .3);
}

.newsletter-form button:active {
  transform: translateY(0);
}

.newsletter-msg {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  min-height: 1px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-msg.success {
  color: #059669;
}

.newsletter-msg.error {
  color: #dc2626;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
    max-width: none;
    width: 100%;
  }

  .newsletter-form input[type="email"] {
    flex: 1;
    text-align: left;
  }

  .newsletter-form button {
    white-space: nowrap;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   Main Footer
───────────────────────────────────────────────────────────────────── */
.site-footer {
  background: transparent;
  padding: 10px 20px 10px;
  border-top: 1px solid var(--f-border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}


/* ─────────────────────────────────────────────────────────────────────
   Footer Grid (columns)
───────────────────────────────────────────────────────────────────── */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0px;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
  }
}


/* ─────────────────────────────────────────────────────────────────────
   Brand Column
───────────────────────────────────────────────────────────────────── */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

@media (min-width: 640px) {
  .footer-brand {
    align-items: flex-start;
  }
}

.footer-logo {
  display: block;
  max-width: 200px;
  height: auto;
}

.footer-tagline {
  font-size: 14px;
  color: var(--f-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--f-surface);
  border: 1px solid var(--f-border);
  border-radius: 12px;
  color: var(--f-muted);
  transition: all var(--f-transition);
}

.footer-social-link:hover {
  background: var(--f-gold);
  border-color: var(--f-gold);
  color: #fff;
  transform: translateY(-3px);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}


/* ─────────────────────────────────────────────────────────────────────
   Link Columns
───────────────────────────────────────────────────────────────────── */
.footer-col h4 {
  font-family: 'Bebas Neue', 'Oswald', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--f-gold-dark);
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--f-muted);
  text-decoration: none;
  transition: color var(--f-transition);
}

.footer-col a:hover {
  color: var(--f-gold-dark);
}


/* ─────────────────────────────────────────────────────────────────────
   Language Selector
───────────────────────────────────────────────────────────────────── */
.footer-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--f-border);
}

@media (min-width: 640px) {
  .footer-lang {
    justify-content: flex-start;
  }
}

.footer-lang-icon {
  font-size: 18px;
}

.footer-lang select {
  padding: 8px 32px 8px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--f-ink);
  background: #fff;
  border: 1px solid var(--f-border);
  border-radius: 8px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all var(--f-transition);
}

.footer-lang select:hover,
.footer-lang select:focus {
  border-color: var(--f-gold);
  outline: none;
}


/* ─────────────────────────────────────────────────────────────────────
   Footer Bottom (copyright)
───────────────────────────────────────────────────────────────────── */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--f-border);
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 13px;
  color: var(--f-subtle);
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-legal a {
  font-size: 13px;
  color: var(--f-subtle);
  text-decoration: none;
  transition: color var(--f-transition);
}

.footer-legal a:hover {
  color: var(--f-gold-dark);
}


/* ─────────────────────────────────────────────────────────────────────
   Safe Area (iPhone notch)
───────────────────────────────────────────────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer-bottom {
    padding-bottom: env(safe-area-inset-bottom);
  }
}


/* ─────────────────────────────────────────────────────────────────────
   Reduced Motion
───────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .footer-social-link,
  .newsletter-form button,
  .footer-col a,
  .footer-legal a,
  .footer-lang select {
    transition: none;
  }

  .footer-social-link:hover,
  .newsletter-form button:hover {
    transform: none;
  }
}
