/* ==========================================================================
   FOOTER — Footer custom Délices de la Mer
   Navy avec wave divider (reproduit du prototype Footer.jsx).
   ========================================================================== */

.dm-footer {
  position: relative;
  overflow: hidden;
  width: 100%;
  color: rgba(255, 255, 255, 0.7);
  background-color: var(--navy);
}
@media (max-width: 1023px) {
  .dm-footer {
    padding-bottom: 4.25rem;
  }
}

/* Wave divider top — contours magifiques du prototype */
.dm-footer-wave {
  width: 100%;
  line-height: 0;
  margin-bottom: -1px;
}
.dm-footer-wave svg {
  width: 100%;
  height: 48px;
  display: block;
}
@media (min-width: 768px) {
  .dm-footer-wave svg {
    height: 64px;
  }
}

.dm-footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2rem 1.5rem 1.5rem;
}
@media (min-width: 1024px) {
  .dm-footer-inner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }
}

/* Grid 4 colonnes */
.dm-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .dm-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (min-width: 1024px) {
  .dm-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
  }
}

/* Marque */
.dm-footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  margin-bottom: 1rem;
}
.dm-footer-brand-img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.dm-footer-brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}
.dm-footer-brand-sub {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}
.dm-footer-brand-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1.25rem;
}

/* Réseaux sociaux */
.dm-footer-socials {
  display: flex;
  gap: 0.5rem;
}
.dm-footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.dm-footer-social svg {
  display: block;
  width: 18px;
  height: 18px;
}
.dm-footer-social:hover {
  background-color: var(--orange);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Titres colonnes */
.dm-footer-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Liens */
.dm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.dm-footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}
.dm-footer-link:hover {
  color: var(--orange);
}
.dm-footer-link svg {
  flex-shrink: 0;
  opacity: 0.5;
}

/* Contact */
.dm-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dm-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}
.dm-footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}
.dm-footer-contact a:hover {
  color: var(--orange);
}

/* Bouton WhatsApp footer */
.dm-footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background-color: var(--whatsapp);
  color: #fff;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.dm-footer-wa:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  color: #fff;
}
.dm-footer-wa svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.dm-footer-wa-label {
  font-size: 0.625rem;
  opacity: 0.8;
}
.dm-footer-wa-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
}

/* Bas de page */
.dm-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .dm-footer-bottom {
    flex-direction: row;
    justify-content: center;
    text-align: center;
  }
}
.dm-footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
