/*
 * Borel Royal — Pied de page
 * Meme charte que le menu (bordeaux + vert + Poppins). Classes prefixees
 * "brvtc-ft-", variables scopees sur .brvtc-footer : zero conflit.
 */

.brvtc-footer,
.brvtc-footer *,
.brvtc-footer *::before,
.brvtc-footer *::after {
  box-sizing: border-box;
}

.brvtc-footer {
  --brvtc-wine: #5c0f1a;
  --brvtc-wine-2: #470b12;
  --brvtc-green: #84bd3f;
  --brvtc-green-2: #6a9e2c;
  --brvtc-cream: #faf6f2;
  --brvtc-ink: #2f2b2c;
  --brvtc-muted: #6f6768;
  --brvtc-line: #ece2df;
  --brvtc-font: "Poppins", "Trebuchet MS", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --brvtc-maxw: 1280px;

  width: 100%;
  font-family: var(--brvtc-font);
  color: var(--brvtc-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.brvtc-footer a {
  color: inherit;
  text-decoration: none;
}

/* Masque l'ancien en-tete et l'ancien pied de page du theme (Beaver Builder)
   pour ne garder que le nouveau menu et le nouveau footer.
   Reversible : desactiver l'extension les fait revenir. */
.fl-page-header-wrap,
.fl-page-footer-wrap {
  display: none !important;
}

/* ---------- Bandeau d'appel a l'action ---------- */
.brvtc-ft-cta {
  background: var(--brvtc-wine);
  color: #fff;
}
.brvtc-ft-cta__inner {
  max-width: var(--brvtc-maxw);
  margin: 0 auto;
  padding: 30px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brvtc-ft-cta__title {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 700;
  margin: 0 0 4px;
}
.brvtc-ft-cta__sub {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
}
.brvtc-ft-cta__actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.brvtc-ft-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--brvtc-green) !important;
  color: #23340f !important;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.brvtc-ft-cta__btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.6;
}
.brvtc-ft-cta__btn:hover {
  background: #93cc4c !important;
  transform: translateY(-1px);
}
.brvtc-ft-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff !important;
}
.brvtc-ft-cta__phone svg {
  width: 17px;
  height: 17px;
  fill: var(--brvtc-green);
}

/* ---------- Corps ---------- */
.brvtc-ft-main {
  background: #ffffff;
}
.brvtc-ft-main__inner {
  max-width: var(--brvtc-maxw);
  margin: 0 auto;
  padding: 56px 24px 48px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.2fr;
  gap: 42px 34px;
}
.brvtc-ft-col {
  min-width: 0;
}

/* Bloc marque */
.brvtc-ft-logo {
  display: block;
  height: 66px;
  width: auto;
  max-width: 240px;
  margin-bottom: 18px;
}
.brvtc-ft-about {
  font-size: 15px !important;
  line-height: 1.6;
  color: var(--brvtc-muted);
  margin: 0 0 22px;
  max-width: 34ch;
}
.brvtc-ft-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brvtc-ft-social {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--brvtc-line);
  color: var(--brvtc-wine) !important;
  background: #fff;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.brvtc-ft-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.brvtc-ft-social:hover {
  background: var(--brvtc-green) !important;
  border-color: var(--brvtc-green);
  color: #fff !important;
  transform: translateY(-2px);
}

/* Titres de colonne */
.brvtc-ft-title {
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brvtc-green-2);
  margin: 6px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--brvtc-line);
}

/* Listes de liens */
.brvtc-ft-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.brvtc-ft-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px !important;
  line-height: 1.3 !important;
  color: var(--brvtc-ink) !important;
  width: fit-content;
  transition: color 0.16s ease, transform 0.16s ease;
}
.brvtc-ft-link::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--brvtc-green);
  border-bottom: 2px solid var(--brvtc-green);
  transform: rotate(-45deg);
  opacity: 0;
  margin-left: -14px;
  transition: opacity 0.16s ease, margin 0.16s ease;
}
.brvtc-ft-link:hover {
  color: var(--brvtc-wine) !important;
  transform: translateX(2px);
}
.brvtc-ft-link:hover::before {
  opacity: 1;
  margin-left: 0;
}

/* Bloc contact */
.brvtc-ft-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.brvtc-ft-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px !important;
  color: var(--brvtc-ink);
}
.brvtc-ft-contact__ico {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--brvtc-line);
}
.brvtc-ft-contact__ico svg {
  width: 16px;
  height: 16px;
  fill: var(--brvtc-green);
}
.brvtc-ft-contact__k {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brvtc-muted);
  margin-bottom: 2px;
}
.brvtc-ft-contact__v {
  color: var(--brvtc-ink) !important;
  font-weight: 400;
}
a.brvtc-ft-contact__v:hover {
  color: var(--brvtc-wine) !important;
}

/* ---------- Barre legale ---------- */
.brvtc-ft-legal {
  background: var(--brvtc-wine-2);
  color: rgba(255, 255, 255, 0.85);
}
.brvtc-ft-legal__inner {
  max-width: var(--brvtc-maxw);
  margin: 0 auto;
  padding: 17px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 0.93rem;
}
.brvtc-ft-legal__copy strong {
  color: #fff;
  font-weight: 600;
}
.brvtc-ft-legal__links {
  display: inline-flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
}
.brvtc-ft-legal__links a {
  color: rgba(255, 255, 255, 0.85) !important;
  transition: color 0.16s ease;
}
.brvtc-ft-legal__links a:hover {
  color: var(--brvtc-green) !important;
}
.brvtc-ft-legal__sep {
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .brvtc-ft-main__inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px 28px;
  }
  .brvtc-ft-col--brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 680px) {
  .brvtc-ft-main__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding: 44px 20px 36px;
  }
  .brvtc-ft-cta__inner {
    padding: 26px 20px;
  }
}
@media (max-width: 460px) {
  .brvtc-ft-main__inner {
    grid-template-columns: 1fr;
  }
  .brvtc-ft-legal__inner {
    justify-content: center;
    text-align: center;
  }
}

.brvtc-footer a:focus-visible {
  outline: 2px solid var(--brvtc-green-2);
  outline-offset: 2px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  .brvtc-footer,
  .brvtc-footer * {
    transition-duration: 0.01ms !important;
  }
}
