/* ==========================================================
   WeddingPart – footer.css
   Footer 4 colonnes · Navigation · Legal · Ornements
   ========================================================== */

.site-footer {
  background: var(--wp-ink);
  color: rgba(255,255,255,.75);
  font-size: var(--text-sm);
}

/* ==========================================================
   FOOTER MAIN — 4 colonnes
   ========================================================== */
.footer-main {
  padding-block: var(--space-16) var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: var(--space-10);
  align-items: start;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* --- Col 1 : Marque --- */
.footer-brand {}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  margin-bottom: var(--space-5);
}
.footer-logo img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .9; }

.footer-brand__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}
.footer-brand__tagline {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wp-brand);
  display: block;
  line-height: 1;
}

.footer-brand__desc {
  line-height: 1.75;
  color: rgba(255,255,255,.60);
  margin-bottom: var(--space-6);
  max-width: 32ch;
}

/* Réseaux sociaux */
.footer-socials {
  display: flex;
  gap: var(--space-3);
}
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.60);
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}
.footer-social:hover {
  background: var(--wp-brand-soft);
  border-color: var(--wp-brand-border);
  color: var(--wp-brand);
}
.footer-social svg { width: 16px; height: 16px; }

/* --- Cols nav --- */
.footer-col__title {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.40);
  margin-bottom: var(--space-5);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav a {
  color: rgba(255,255,255,.65);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.footer-nav a:hover { color: #fff; }
.footer-nav a .badge { font-size: .6rem; padding: .15rem .5rem; }

/* --- Col newsletter --- */
.footer-newsletter__desc {
  color: rgba(255,255,255,.60);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-newsletter-form input[type="email"] {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  padding: .7rem 1rem;
  color: #fff;
  font-size: var(--text-sm);
  min-height: auto;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.footer-newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--wp-brand-border);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(181,99,122,.15);
}
.footer-newsletter-form .btn { width: 100%; justify-content: center; }

.footer-newsletter__notice {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.35);
  line-height: 1.6;
}

/* ==========================================================
   FOOTER BOTTOM — légal
   ========================================================== */
.footer-bottom {
  padding-block: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-bottom__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.35);
}
.footer-bottom__copy strong { color: rgba(255,255,255,.55); font-weight: 600; }

.footer-legal-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-legal-nav a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.40);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
.footer-legal-nav a:hover { color: rgba(255,255,255,.75); }

/* Ornement entre les liens légaux */
.footer-legal-nav li + li::before {
  content: '·';
  margin-right: var(--space-5);
  color: rgba(255,255,255,.20);
}

/* ==========================================================
   ADMIN BAR COMPAT
   ========================================================== */
body.admin-bar .site-footer { margin-top: 0; }
