/* ================================================================
   TopBeauty Theme – Footer Widget CSS
   SCIA Studio – v1.0.0
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500;600&display=swap');

.tbt-footer {
  --tb-bg:     #f8f8f8;
  --tb-bg2:    #eeece9;
  --tb-white:  #ffffff;
  --tb-black:  #000000;
  --tb-text:   #666666;
  --tb-muted:  #666666;
  --tb-line:   #e0ddd9;
  --tb-font-d: 'Butler', 'Georgia', serif;
  --tb-font-b: 'Poppins', sans-serif;

  background: var(--tb-bg);
  color: var(--tb-text);
  font-family: var(--tb-font-b);
  width: 100%;
}
/* RESET ISOLAMENTO */
.tbt-footer *, .tbt-footer *::before, .tbt-footer *::after { box-sizing: border-box; }
.tbt-footer a { text-decoration: none; color: inherit; }
.tbt-footer button { cursor: pointer; }


/* ── FEATURES ── */
.tbt-footer__features {
  background: var(--tb-white);
  border-top: 1px solid var(--tb-line);
  border-bottom: 1px solid var(--tb-line);
  padding: 32px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.tbt-feat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid var(--tb-line);
}
.tbt-feat:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.tbt-feat__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border: 1px solid var(--tb-line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--tb-bg);
}
.tbt-feat__icon svg {
  width: 17px; height: 17px;
  stroke: var(--tb-black); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.tbt-feat__title {
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.03em; color: var(--tb-black); margin-bottom: 3px;
}
.tbt-feat__sub {
  font-size: 0.66rem; font-weight: 300;
  color: var(--tb-muted); line-height: 1.5;
}

/* ── MAIN GRID ── */
.tbt-footer__main {
  padding: 56px 60px 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.5fr;
  gap: 48px;
  border-bottom: 1px solid var(--tb-line);
}

.tbt-col__brand-name {
  font-family: var(--tb-font-d);
  font-size: 1.9rem; font-weight: 500;
  letter-spacing: 0.07em; color: var(--tb-black);
  margin-bottom: 3px;
}
.tbt-col__brand-tag {
  font-size: 0.55rem; font-weight: 400;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--tb-muted); margin-bottom: 26px;
}
.tbt-col__divider {
  width: 26px; height: 1px;
  background: var(--tb-black); opacity: 0.2;
  margin: 22px 0;
}
.tbt-col__address {
  font-size: 0.72rem; font-weight: 300;
  color: var(--tb-muted); line-height: 2;
}
.tbt-col__address a {
  color: var(--tb-muted); text-decoration: none;
  transition: color 0.2s;
}
.tbt-col__address a:hover { color: var(--tb-black); }
.tbt-col__vat {
  font-size: 0.63rem; font-weight: 300;
  color: var(--tb-muted); line-height: 1.8;
}

.tbt-col__heading {
  font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--tb-black);
  margin-bottom: 18px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--tb-line);
}
.tbt-col__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tbt-col__links a {
  font-size: 0.77rem; font-weight: 300;
  color: var(--tb-muted); text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.tbt-col__links a:hover { color: var(--tb-black); padding-left: 5px; }

/* Second heading inside column */
.tbt-col__heading--secondary { margin-top: 26px; }

/* Newsletter */
.tbt-col__nl-text {
  font-size: 0.72rem; font-weight: 300;
  color: var(--tb-muted); line-height: 1.8;
  margin-bottom: 18px;
}
.tbt-col__nl-form { display: flex; flex-direction: column; gap: 8px; }

.tbt-col__nl-input {
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--tb-font-b);
  font-size: 0.72rem; font-weight: 300;
  color: var(--tb-black); outline: none;
  transition: border-color 0.2s; width: 100%;
}
.tbt-col__nl-input::placeholder { color: #bbb; }
.tbt-col__nl-input:focus { border-color: var(--tb-black); }

.tbt-col__nl-btn {
  background: var(--tb-black); color: #fff;
  border: none; border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--tb-font-b);
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer; width: 100%;
  transition: opacity 0.2s, transform 0.18s;
  display: block; text-decoration: none; text-align: center;
  box-sizing: border-box;
}
.tbt-col__nl-btn:hover { opacity: 0.75; transform: translateY(-1px); color: #fff; text-decoration: none; }

/* ── BRANDS BAR ── */
.tbt-footer__brands {
  background: var(--tb-bg2);
  padding: 26px 60px;
  border-bottom: 1px solid var(--tb-line);
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.tbt-footer__brands-label {
  font-size: 0.54rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--tb-muted); flex-shrink: 0;
}
.tbt-footer__brands-list {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.tbt-brand-name {
  font-family: var(--tb-font-d);
  font-size: 1rem; font-weight: 500;
  letter-spacing: 0.06em; color: #bbb;
  text-decoration: none; transition: color 0.2s;
}
.tbt-brand-name:hover { color: var(--tb-black); }

/* ── BOTTOM BAR ── */
.tbt-footer__bottom {
  padding: 20px 60px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

.tbt-payments { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tbt-pay-label {
  font-size: 0.57rem; font-weight: 400;
  letter-spacing: 0.08em; color: var(--tb-muted); margin-right: 4px;
}
.tbt-pay-pill {
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: 10px;
  padding: 4px 9px;
  font-size: 0.58rem; font-weight: 500;
  color: var(--tb-muted); white-space: nowrap;
}

.tbt-legal {
  font-size: 0.59rem; font-weight: 300;
  color: var(--tb-muted); text-align: center; line-height: 1.7;
}
.tbt-legal a {
  color: var(--tb-black); text-decoration: none;
  border-bottom: 1px solid var(--tb-line);
  padding-bottom: 1px; transition: border-color 0.2s;
}
.tbt-legal a:hover { border-color: var(--tb-black); }

.tbt-social { display: flex; gap: 9px; }
.tbt-social a {
  width: 33px; height: 33px;
  border: 1px solid var(--tb-line);
  border-radius: 50%; background: var(--tb-white);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: border-color 0.2s, background 0.2s;
}
.tbt-social a:hover { border-color: var(--tb-black); background: var(--tb-black); }
.tbt-social svg {
  width: 13px; height: 13px;
  stroke: var(--tb-muted); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.2s;
}
.tbt-social a:hover svg { stroke: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .tbt-footer__features {
    grid-template-columns: repeat(2, 1fr);
    padding: 28px 32px;
  }
  .tbt-feat {
    border-right: none;
    border-bottom: 1px solid var(--tb-line);
    padding: 0 0 20px; margin: 0 0 20px;
  }
  .tbt-feat:nth-child(odd) {
    border-right: 1px solid var(--tb-line);
    padding-right: 20px; margin-right: 20px;
    border-bottom: none;
  }
  .tbt-footer__main { grid-template-columns: 1fr 1fr; padding: 44px 32px; }
  .tbt-footer__brands,
  .tbt-footer__bottom { padding-left: 32px; padding-right: 32px; }
}

@media (max-width: 600px) {
  .tbt-footer__features { grid-template-columns: 1fr; padding: 24px 20px; }
  .tbt-feat,
  .tbt-feat:nth-child(odd) {
    border-right: none; padding-right: 0; margin-right: 0;
    border-bottom: 1px solid var(--tb-line);
    padding-bottom: 18px; margin-bottom: 18px;
  }
  .tbt-feat:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  .tbt-footer__main { grid-template-columns: 1fr; padding: 36px 20px; }
  .tbt-footer__brands { flex-direction: column; align-items: flex-start; padding: 20px; }
  .tbt-footer__bottom { flex-direction: column; align-items: center; text-align: center; padding: 20px; }
  .tbt-payments { flex-wrap: wrap; justify-content: center; }
}

/* ── Logo brand ── */
.tbt-col__brand-logo-link {
  display: inline-block;
  margin-bottom: 8px;
  line-height: 0;
  text-decoration: none;
}
.tbt-col__brand-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}
