/* =============================================
   POMMECAN BIJOUX — Footer
   Style GAS Bijoux : fond crème, minimal, 4 colonnes
   ============================================= */

/* ── Barre Réassurance ── */
.pom-reassurance {
  background-color: #FFFFFF;
  padding-block: 2.5rem;
  border-top: 1px solid #EFF6F7;
  border-bottom: 1px solid #EFF6F7;
}

.pom-reassurance__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.pom-reassurance__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.pom-reassurance__icon {
  width: 32px;
  height: 32px;
  color: #1B6B77;
}

.pom-reassurance__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
}

.pom-reassurance__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0D1B1E;
}

.pom-reassurance__text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #7A9499;
  max-width: 160px;
  line-height: 1.6;
}

@media (min-width: 600px) {
  .pom-reassurance__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pom-reassurance__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Footer Principal — full width ── */
.pom-footer {
  background-color: #FFFFFF;
  color: #0D1B1E;
  padding-top: 4rem;
  padding-bottom: 0;
  border-top: 1px solid #EFF6F7;
}

/* Annule le max-width du container uniquement dans le footer */
.pom-footer .pom-container {
  max-width: 100%;
  padding-inline: clamp(2rem, 5vw, 5rem);
}

/* ── Grille 4 colonnes ── */
.pom-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-bottom: 0;
  border-bottom: 1px solid #EFF6F7;
}

/* Chaque colonne : padding interne + bordure gauche (sauf la 1ère) */
.pom-footer__grid > div {
  padding: 2.5rem 2rem 3rem;
}

.pom-footer__grid > div + div {
  border-left: 1px solid #fff;
}

@media (max-width: 767px) {
  .pom-footer__grid > div + div {
    border-left: none;
    border-top: 1px solid #fff;
  }
}

@media (min-width: 768px) {
  .pom-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Sur tablette : reset bordures, seulement col 2 */
  .pom-footer__grid > div:nth-child(3) {
    border-top: 1px solid #fff;
    border-left: none;
  }
  .pom-footer__grid > div:nth-child(4) {
    border-top: 1px solid #fff;
  }
}

@media (min-width: 1024px) {
  .pom-footer__grid {
    grid-template-columns: 1.4fr 1.2fr 1fr 1fr;
  }
  /* Desktop : uniquement bordures verticales */
  .pom-footer__grid > div:nth-child(3),
  .pom-footer__grid > div:nth-child(4) {
    border-top: none;
    border-left: 1px solid #fff;
  }
}

/* ── Colonne Marque ── */
/* Logo footer : c'est .pom-footer__brand-name qui porte le nom de boutique
   (pas .edv-logo-name, réservé au header). */
.pom-footer__brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0D1B1E;
  margin-bottom: 1.25rem;
}

.pom-footer__brand-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #7A9499;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

/* ── Réseaux sociaux ── */
.pom-footer__social {
  display: flex;
  gap: 0.75rem;
}

.pom-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #D4C5B8;
  color: #7A9499;
  transition: border-color 0.2s, color 0.2s;
  border-radius: 50%;
}

.pom-footer__social-link:hover {
  border-color: #1B6B77;
  color: #1B6B77;
}

/* ── Titre de colonne ── */
.pom-footer__col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0D1B1E;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #EFF6F7;
}

/* ── Liens de colonne ── */
.pom-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pom-footer__link {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #7A9499;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.pom-footer__link:hover {
  color: #0D1B1E;
}

/* ── Newsletter : description ── */
.pom-footer__newsletter-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #7A9499;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

/* ── Style du module ps_emailsubscription ── */
.pom-footer__newsletter-wrap .email_subscription,
.pom-footer__newsletter-wrap .block_newsletter {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.pom-footer__newsletter-wrap h4,
.pom-footer__newsletter-wrap .email_subscription h4 {
  display: none !important;
}

.pom-footer__newsletter-wrap form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pom-footer__newsletter-wrap input[type="email"] {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #0D1B1E;
  background: transparent;
  border: none;
  border-bottom: 1px solid #B8A99A;
  padding: 0.5rem 2rem 0.5rem 0;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  letter-spacing: 0.05em;
}

.pom-footer__newsletter-wrap input[type="email"]::placeholder {
  color: #B8A99A;
  font-weight: 300;
}

.pom-footer__newsletter-wrap input[type="email"]:focus {
  border-bottom-color: #0D1B1E;
}

.pom-footer__newsletter-wrap input[type="submit"] {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #0D1B1E;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s;
}

.pom-footer__newsletter-wrap input[type="submit"]:hover {
  color: #1B6B77;
}

.pom-footer__newsletter-wrap .input-wrapper,
.pom-footer__newsletter-wrap .newsletter-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

/* Wrapper relatif pour positionner le bouton submit à droite */
.pom-footer__newsletter-wrap form {
  position: relative;
}

/* Faire apparaître le submit comme une flèche → */
.pom-footer__newsletter-wrap input[type="submit"] {
  font-size: 0;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='1.5'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  position: static;
  transform: none;
  margin-top: 0.75rem;
  align-self: flex-end;
  transition: opacity 0.2s;
  cursor: pointer;
}

.pom-footer__newsletter-wrap input[type="submit"]:hover {
  opacity: 0.6;
}

.pom-footer__newsletter-wrap p {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #B8A99A;
  line-height: 1.5;
  margin-top: 0.75rem;
  font-weight: 300;
}

/* ── Barre de bas de page ── */
.pom-footer__bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.pom-footer__copyright {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #B8A99A;
  text-transform: uppercase;
}

/* ── Sélecteurs langue/devise ── */
.pom-footer__selectors {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pom-footer__selectors a,
.pom-footer__selectors select,
.pom-footer__selectors button,
.pom-footer__selectors span {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #B8A99A;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.pom-footer__selectors a:hover {
  color: #0D1B1E;
}

.pom-footer__selectors ul {
  display: none !important;
}

.pom-footer__selectors li:hover ul {
  display: block !important;
  position: absolute;
  bottom: 100%;
  background: #FFFFFF;
  border: 1px solid #EFF6F7;
  padding: 0.5rem 0;
  list-style: none;
  min-width: 80px;
  z-index: 10;
}

/* Masquer modules non désirés injectés par displayNav2 */
.pom-footer__selectors .user-info,
.pom-footer__selectors #blockcart-wrapper,
.pom-footer__selectors .blockcart,
.pom-footer__selectors #_desktop_contact_link,
.pom-footer__selectors .block-contact {
  display: none !important;
}

/* ============================================================
   ÉCLAT DE VIVIE — Footer sombre (dégradé teal de marque, texte clair)
   ============================================================ */
.pom-footer {
  /* Le dégradé remplace l'ancien aplat #0D1B1E. Le background-color vient
     APRÈS la shorthand : celle-ci remet sinon la couleur à `transparent` et
     le dégradé (0.95/0.98 d'opacité) se composerait sur le blanc de la page. */
  background: linear-gradient(
    135deg,
    rgba(27, 107, 119, 0.95) 0%,
    rgba(19, 79, 89, 0.98) 100%
  ) !important;
  background-color: #134F59 !important;
  color: #FFFFFF;
  border-top-color: rgba(255, 255, 255, 0.10);
}
.pom-footer__grid { border-bottom-color: rgba(255, 255, 255, 0.10); }
.pom-footer__grid > div,
.pom-footer__grid > div + div { border-color: rgba(255, 255, 255, 0.10) !important; }
.pom-footer__brand-name,
.pom-footer__col-title { color: #FFFFFF; }
.pom-footer__col-title { border-bottom-color: rgba(255, 255, 255, 0.15); }
.pom-footer__brand-desc,
.pom-footer__newsletter-desc,
.pom-footer__link,
.pom-footer__social-link,
.pom-footer__copyright { color: rgba(255, 255, 255, 0.65); }
.pom-footer__link:hover,
.pom-footer__social-link:hover { color: #C5DDE0; }
.pom-footer__social-link { border-color: rgba(255, 255, 255, 0.25); }
.pom-footer__social-link:hover { border-color: #C5DDE0; }
.pom-footer input[type="email"],
.pom-footer input[type="text"] {
  color: #FFFFFF;
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.30);
}
.pom-footer ::placeholder { color: rgba(255, 255, 255, 0.40); }

/* Correction cosmétique — newsletter footer masquée (gardée en SECTION 7 de l'accueil) */
.pom-footer__grid > div.pom-footer__newsletter { display: none !important; }
@media (min-width: 1024px) {
  .pom-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

/* ── FOOTER MOBILE : un peu plus d'air ── */
@media (max-width: 640px) {
  .pom-footer { padding: 2.5rem 1.25rem 1.5rem !important; }
  .pom-footer__col-title { margin-top: 1.5rem !important; }
}

/* ── Marque + réseaux sociaux sur mobile (agrandissement uniquement) ── */
@media (max-width: 768px) {
  .pom-footer__brand-name {
    font-size: 22px !important;
    letter-spacing: 0.16em !important;
  }

  .pom-footer__brand-desc {
    font-size: 13px !important;
    line-height: 1.7 !important;
    margin-bottom: 1.25rem !important;
  }

  .pom-footer__social {
    gap: 1.25rem !important;
  }

  .pom-footer__social-link {
    width: 38px !important;
    height: 38px !important;
  }

  .pom-footer__social-link svg {
    width: 16px !important;
    height: 16px !important;
  }
}

/* ============================================================
   Texte du footer entièrement en blanc (fond teal dégradé)
   Corrige : liens/copyright/desc en blanc 65 %, titre « Lettre
   d'informations » en ink (#0D1B1E), mentions et sélecteurs
   langue/devise en beige pommecan (#B8A99A), bouton « S'inscrire »
   en ink — tous illisibles ou ternes sur le nouveau fond.
   ============================================================ */
.pom-footer,
.pom-footer p,
.pom-footer a,
.pom-footer span,
.pom-footer li,
.pom-footer label,
.pom-footer h1,
.pom-footer h2,
.pom-footer h3,
.pom-footer h4,
.pom-footer h5,
.pom-footer h6,
.pom-footer input[type="email"],
.pom-footer input[type="submit"],
.pom-footer button {
  color: #FFFFFF !important;
}

.pom-footer ::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* Survol : bleu glacé, pour garder un retour visuel sur les liens */
.pom-footer a:hover,
.pom-footer input[type="submit"]:hover,
.pom-footer button:hover {
  color: #C5DDE0 !important;
}

/* Flèche d'envoi newsletter : le SVG inline du bouton est dessiné en #1A1A1A
   (invisible sur le fond teal) → on le repasse en blanc. */
.pom-footer .pom-footer__newsletter-wrap input[type="submit"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.5'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") !important;
}

/* Icônes sociales : cercle et glyphe en blanc, teal glacé au survol */
.pom-footer .pom-footer__social-link {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #FFFFFF !important;
}

.pom-footer .pom-footer__social-link:hover {
  border-color: #C5DDE0 !important;
  color: #C5DDE0 !important;
}

/* Souligné du champ e-mail sur fond teal */
.pom-footer .pom-footer__newsletter-wrap input[type="email"] {
  border-bottom-color: rgba(255, 255, 255, 0.35) !important;
}

.pom-footer .pom-footer__newsletter-wrap input[type="email"]:focus {
  border-bottom-color: #FFFFFF !important;
}

/* Liens de colonne : blanc pur au repos ET au survol (le survol passait en
   #C5DDE0). Le retour visuel est assuré par le souligné, pas par la couleur. */
.pom-footer .pom-footer__link,
.pom-footer .pom-footer__link:hover,
.pom-footer .pom-footer__link:focus,
.pom-footer .pom-footer__link:focus-visible {
  color: #FFFFFF !important;
}

.pom-footer .pom-footer__link:hover,
.pom-footer .pom-footer__link:focus-visible {
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
  text-decoration-thickness: 0.5px !important;
}
