/* ============================================================
 * Footer — Ateliers des Eaux Bleues
 * ============================================================ */

.aeb-footer {
  background: #003750;
  color: #ffffff;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  border-radius: 24px;
  overflow: hidden;
  margin: 40px auto;
  max-width: 1320px;
}
.aeb-footer a { color: inherit; text-decoration: none; }
.aeb-footer__nav a:hover,
.aeb-footer__list a:hover,
.aeb-footer__legal a:hover,
.aeb-footer__copy a:hover { color: #1aa8e0; }

/* --- Grille 3 colonnes --- */
.aeb-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 48px;
  padding: 56px 64px 40px;
  align-items: start;
}

/* --- Colonne 1 : logo + CTA --- */
.aeb-footer__col--brand { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.aeb-footer__logo img { display: block; max-width: 220px; height: auto; margin-bottom: 16px; }

.aeb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 340px;
  padding: 6px 4px 6px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.aeb-btn__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  flex-shrink: 0;
  transition: background-color .2s, color .2s;
}
.aeb-btn__arrow svg { display: block; }

/* --- Bouton Contactez-nous : fond blanc par défaut, transparent au hover --- */
.aeb-footer a.aeb-btn--light {
  background: #ffffff;
  color: #003750;
  border-color: #ffffff;
}
.aeb-btn--light .aeb-btn__arrow { background: #003750; color: #ffffff; }
.aeb-footer a.aeb-btn--light:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.aeb-btn--light:hover .aeb-btn__arrow { background: #ffffff; color: #003750; }

/* --- Bouton primary (Configurer) : bleu, inverse au hover --- */
.aeb-footer a.aeb-btn--primary {
  background: #1aa8e0;
  color: #ffffff;
  border-color: #1aa8e0;
}
.aeb-btn--primary .aeb-btn__arrow { background: #ffffff; color: #1aa8e0; }
.aeb-footer a.aeb-btn--primary:hover {
  background: #ffffff;
  color: #1aa8e0;
  border-color: #1aa8e0;
}
.aeb-btn--primary:hover .aeb-btn__arrow { background: #1aa8e0; color: #ffffff; }

/* --- Colonne 2 : nav + contact --- */
.aeb-footer__nav { list-style: none; padding: 0; margin: 0 0 28px; }
.aeb-footer__nav li { margin-bottom: 18px; }
.aeb-footer__nav a { font-weight: 700; text-transform: uppercase; font-size: 15px; letter-spacing: .5px; }

.aeb-footer__contact { font-size: 14px; line-height: 1.6; }
.aeb-footer__phone { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 600; }
.aeb-footer__phone .aeb-ico-phone { display: inline-flex; color: #ffffff; }
.aeb-footer__contact address { font-style: normal; color: #c7d2e0; }

/* --- Colonne 3 : produits --- */
.aeb-footer__title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 20px; }
.aeb-footer__list { list-style: none; padding: 0; margin: 0; }
.aeb-footer__list li { margin-bottom: 14px; }
.aeb-footer__list a { font-size: 15px; color: #c7d2e0; display: inline-flex; align-items: center; gap: 6px; }
.aeb-footer__list a:hover { color: #ffffff; opacity: 1; }
.aeb-ico-pdf { display: inline-flex; color: #ffffff; }

/* --- Bandeau paiement --- */
.aeb-footer__payment {
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 18px 64px;
}
.aeb-footer__payment-inner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.aeb-ps-lock { width: 30px !important; height: 30px !important; flex: 0 0 auto; }
.aeb-ps-text { display: flex; flex-direction: column; padding-right: 20px; border-right: 1px solid rgba(255,255,255,.15); }
.aeb-ps-title { font-size: 15px; font-weight: 700; color: #ffffff; }
.aeb-ps-sub { font-size: 12px; color: #a8b8ca; margin-top: 2px; }
.aeb-footer .aeb-ps-cards,
.aeb-footer__payment .aeb-ps-cards,
img.aeb-ps-cards { height: 34px !important; width: auto !important; max-height: 36px !important; max-width: 222px !important; display: block !important; flex: 0 0 auto; }

/* --- Barre du bas --- */
.aeb-footer__bar { padding: 16px 64px; }
.aeb-footer__bar-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap; font-size: 13px; color: #a8b8ca;
}
.aeb-footer__copy { margin: 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.aeb-footer__copy a strong { color: #ffffff; text-decoration: underline; }
.aeb-footer__legal { list-style: none; display: flex; gap: 28px; padding: 0; margin: 0; }

/* ============================================================
 * Boutons formulaires Elementor — pastille flèche à droite
 * ============================================================ */
.elementor-form button.elementor-button,
.elementor-form button[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-right: 6px !important;
  padding-left: 28px !important;
  border-radius: 999px !important;
  transition: background-color .2s, color .2s, border-color .2s;
}
.elementor-form button.elementor-button .elementor-button-content-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 14px;
}
.elementor-form button.elementor-button .elementor-button-text {
  flex: 1;
  text-align: left;
}
.elementor-form button.elementor-button::after,
.elementor-form button[type="submit"]:not(.elementor-button)::after {
  content: "";
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231aa8e0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M12 5l7 7-7 7'/></svg>") center / 14px no-repeat;
  flex-shrink: 0;
  transition: background-color .2s;
}
.elementor-form button.elementor-button:hover {
  background: #ffffff !important;
  color: #1aa8e0 !important;
}
.elementor-form button.elementor-button:hover::after {
  background: #1aa8e0 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M12 5l7 7-7 7'/></svg>") center / 14px no-repeat;
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .aeb-footer__inner { grid-template-columns: 1fr; gap: 40px; padding: 40px 32px; }
  .aeb-footer__payment, .aeb-footer__bar { padding-left: 32px; padding-right: 32px; }
  .aeb-btn { min-width: 0; width: 100%; }
  .aeb-footer__bar-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .aeb-footer__payment-inner { justify-content: center; text-align: center; }
  .aeb-ps-text { border-right: none; padding-right: 0; }
  .aeb-footer__legal { flex-wrap: wrap; gap: 12px 20px; }
}
