/* Home Agência Virtual — responsivo PC / notebook / mobile */

.enel-home-page {
  overflow-x: hidden;
}

.enel-home-page .home-main {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 16px 40px;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  padding-bottom: max(40px, env(safe-area-inset-bottom));
  flex: 1;
}

.home-intro {
  max-width: 560px;
  margin: 0 0 28px;
}

.home-lead {
  margin: 0 0 10px;
  font-family: "Enel Roobert Bold", Helvetica, Arial, sans-serif;
  font-size: clamp(1.15rem, 2.4vw + 0.7rem, 1.5rem);
  line-height: 1.3;
  color: #000;
}

.home-sub {
  margin: 0 0 20px;
  font-size: clamp(0.92rem, 0.4vw + 0.85rem, 1rem);
  line-height: 1.45;
  color: #333;
}

.home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 50px;
  text-align: center;
  text-decoration: none;
}

.home-cta-hint {
  margin: 14px 0 0;
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.home-cta-hint .link-login {
  margin-top: 0;
  font-size: 14px;
  word-break: break-word;
}

.home-services-title {
  margin: 0 0 14px;
  font-family: "Enel Roobert Bold", Helvetica, Arial, sans-serif;
  font-size: clamp(1.05rem, 1vw + 0.9rem, 1.2rem);
  color: #000;
}

.home-services {
  margin-bottom: 28px;
}

.home-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.home-service {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 14px;
  border: 2px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  color: #000;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: rgba(255, 15, 100, 0.12);
}

.home-service:hover,
.home-service:focus {
  border-color: #ff0f64;
  outline: none;
}

.home-service img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.home-service span {
  font-family: "Enel Roobert Bold", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

.home-atendimento {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 24px;
}

.home-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-channels li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 14px;
}

.home-channels strong {
  font-family: "Enel Roobert Bold", Helvetica, Arial, sans-serif;
  color: #000;
}

.home-channels span {
  color: #ff0f64;
  font-family: "Enel Roobert Bold", Helvetica, Arial, sans-serif;
  font-size: 15px;
}

/* Phones landscape / small tablets: 2 col cards */
@media (min-width: 480px) {
  .home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .home-service {
    flex-direction: column;
    align-items: flex-start;
    min-height: 110px;
    padding: 16px 14px;
  }
  .home-cta {
    width: auto;
    min-width: 240px;
  }
  .home-channels li {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px 16px;
  }
}

/* Tablets / notebooks */
@media (min-width: 768px) {
  .enel-home-page .home-main {
    padding: 28px 24px 48px;
  }
  .home-intro {
    margin-bottom: 36px;
  }
  .home-services {
    margin-bottom: 36px;
  }
  .home-services-grid {
    gap: 14px;
  }
}

/* Desktop wide */
@media (min-width: 1024px) {
  .home-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .enel-home-page .home-main {
    padding: 32px 20px 56px;
  }
}

/* Very small phones */
@media (max-width: 359px) {
  .home-service span {
    font-size: 13px;
  }
  .home-lead {
    font-size: 1.05rem;
  }
}
