/* ============================================
   FuseIoT — Footer
   White section with 3-column grid, newsletter,
   copyright bar
   Ref: 07-footer-section.md
   ============================================ */

/* --- Section --- */
.footer {
  background: #FFF;
  position: relative;
}

/* --- Main Content --- */
.footer__main {
  padding-top: 60px;
  padding-bottom: 30px;
}

/* --- 3-Column Grid --- */
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 40px;
}

/* --- Columns --- */
.footer__col {
  display: flex;
  flex-direction: column;
}

/* --- Logo Watermark --- */
.footer__logo {
  display: block;
  margin-bottom: 24px;
}

.footer__logo img {
  height: 60px;
  width: auto;
  opacity: 0.15;
}

/* --- Address --- */
.footer__address {
  font-style: normal;
}

.footer__address p {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Column Title --- */
.footer__col-title {
  margin-bottom: 20px;
}

/* --- Links List --- */
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__link-item {
  list-style: none;
}

.footer__link {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--red);
}

/* --- Newsletter --- */
.footer__newsletter-text {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* --- Newsletter Input Pill --- */
.footer__newsletter-input-wrap {
  position: relative;
  width: 100%;
}

.footer__newsletter-input {
  width: 100%;
  height: 52px;
  background: var(--bg-input-light, #F0F0F8);
  border: none;
  border-radius: 9999px;
  padding: 0 52px 0 24px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: box-shadow 0.3s ease;
}

.footer__newsletter-input::placeholder {
  color: var(--text-placeholder, #999);
}

.footer__newsletter-input:focus {
  box-shadow: 0 0 0 2px var(--blue);
}

/* --- Arrow Submit Button --- */
.footer__newsletter-submit {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer__newsletter-submit:hover {
  color: var(--text-primary);
  transform: translateY(-50%) translateX(2px);
}

/* ============================================
   Copyright Bar
   ============================================ */
.footer__copyright {
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid #EDEDF0;
}

.footer__copyright-text {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-align: center;
}

/* Confirmacao da newsletter (contact-form.js) — assume o lugar do input */
.footer__newsletter-done {
  margin: 0.35rem 0 0;
  opacity: 0.7;
  letter-spacing: 0.08em;
}
