/* FOOTER CUSTOM STYLE */

:root {
  --footer-bg:          #1a2332;
  --footer-bg-alt:      #141c29;
  --footer-border:      #2d3f52;
  --footer-gold:        #c9a84c;
  --footer-gold-light:  #e0c272;
  --footer-text:        #e8e0d0;
  --footer-muted:       #8a9ab0;
  --footer-btn-bg:      #c9a84c;
  --footer-btn-hover:   #e0c272;
  --footer-input-bg:    rgba(255,255,255,0.06);
  --footer-input-border:#3d5570;

  --font-display:       'Playfair Display', Georgia, serif;
  --font-body:          'Inter', system-ui, sans-serif;

  --radius-sm:          4px;
  --radius-md:          8px;
  --transition:         0.22s ease;
}

/* --- Reset scoped to footer --- */
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.site-footer a {
  text-decoration: none;
}

.site-footer ul {
  list-style: none;
}

/* --- Base --- */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* =============================================
   NEWSLETTER STRIP
   ============================================= */
.footer-newsletter {
  text-align: center;
  padding: 4rem 2rem 3.5rem;
  border-bottom: 1px solid var(--footer-border);
  background-color: var(--footer-bg-alt);
}

.footer-newsletter__tagline {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--footer-gold);
  margin-bottom: 0.75rem;
}

.footer-newsletter__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--footer-text);
  margin-bottom: 1rem;
}

.footer-newsletter__desc {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--footer-muted);
  font-size: 0.9rem;
}

.footer-newsletter__desc strong {
  color: var(--footer-gold);
}

.footer-newsletter__form {
  display: flex;
  max-width: 580px;
  margin: 0 auto;
  gap: 0;
}

.footer-newsletter__form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--footer-input-bg);
  border: 1px solid var(--footer-input-border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--footer-text);
  outline: none;
  transition: border-color var(--transition);
}

.footer-newsletter__form input::placeholder {
  color: var(--footer-muted);
}

.footer-newsletter__form input:focus {
  border-color: var(--footer-gold);
}

.footer-newsletter__form button {
  padding: 0.9rem 1.75rem;
  background: var(--footer-btn-bg);
  color: #1a2332;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.footer-newsletter__form button:hover {
  background: var(--footer-btn-hover);
}

/* =============================================
   FOOTER BODY (brand + nav)
   ============================================= */
.footer-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem 4rem;
  padding: 3.5rem 4rem;
  border-bottom: 1px solid var(--footer-border);
}

/* --- Brand column --- */
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-brand__icon {
  width: 28px;
  height: 28px;
  color: var(--footer-gold);
  flex-shrink: 0;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--footer-text);
  letter-spacing: 0.04em;
}

.footer-brand__divider {
  width: 48px;
  height: 2px;
  background: var(--footer-gold);
  margin-bottom: 1.25rem;
  border-radius: 2px;
}

.footer-brand__desc {
  color: var(--footer-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-brand__contact {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-brand__contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--footer-muted);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-brand__contact li:hover {
  color: var(--footer-gold);
}

.footer-brand__contact svg {
  width: 15px;
  height: 15px;
  color: var(--footer-gold);
  flex-shrink: 0;
}

/* --- Nav grid --- */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-nav__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--footer-gold);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--footer-border);
  position: relative;
}

.footer-nav__title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--footer-gold);
  transition: width 0.35s ease;
}

.footer-nav__col:hover .footer-nav__title::after {
  width: 100%;
}

.footer-nav__title--spaced {
  margin-top: 2rem;
}

.footer-nav__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-nav__col ul a {
  color: var(--footer-muted);
  font-size: 0.85rem;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer-nav__col ul a:hover {
  color: var(--footer-text);
  padding-left: 6px;
}

/* --- Région Hauts-de-France --- */
.footer-region {
  margin-top: 1.75rem;
  padding: 1rem;
  border: 1px solid var(--footer-border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  display: inline-flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 220px;
}

.footer-region img {
  width: 160px;
  height: auto;
  display: block;
}

.footer-region p {
  font-size: 0.75rem;
  color: var(--footer-muted);
  line-height: 1.5;
}


.footer-social {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--footer-border);
  border-radius: 50%;
  color: var(--footer-muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.footer-social a svg {
  width: 15px;
  height: 15px;
}

.footer-social a:hover {
  border-color: var(--footer-gold);
  color: var(--footer-gold);
  background: rgba(201, 168, 76, 0.08);
}

/* =============================================
   BOTTOM BAR
   ============================================= */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 4rem;
  background-color: var(--footer-bg-alt);
  flex-wrap: wrap;
}

.footer-bottom__copy {
  color: var(--footer-muted);
  font-size: 0.78rem;
}

.footer-bottom__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom__links a {
  color: var(--footer-muted);
  font-size: 0.78rem;
  transition: color var(--transition);
}

.footer-bottom__links a:hover {
  color: var(--footer-gold);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet – 1024px */
@media (max-width: 1024px) {
  .footer-body {
    grid-template-columns: 1fr;
    padding: 3rem 2.5rem;
    gap: 2.5rem;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    padding: 1.25rem 2.5rem;
  }
}

/* Mobile – 640px */
@media (max-width: 640px) {
  .footer-newsletter {
    padding: 3rem 1.25rem;
  }

  .footer-newsletter__form {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-newsletter__form input {
    border-right: 1px solid var(--footer-input-border);
    border-radius: var(--radius-sm);
  }

  .footer-newsletter__form button {
    border-radius: var(--radius-sm);
    padding: 0.9rem;
  }

  .footer-body {
    padding: 2.5rem 1.25rem;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    gap: 0.75rem;
  }

  .footer-bottom__links {
    gap: 1rem;
  }
}

/* Small mobile – 400px */
@media (max-width: 400px) {
  .footer-nav {
    grid-template-columns: 1fr;
  }
}