/* Enel RJ Acesso Rápido — espelho pixel das folhas oficiais (forms + banner + header) */

@font-face {
  font-family: "Enel Roobert Light";
  src: url("assets/fonts/RoobertENEL-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Enel Roobert Regular";
  src: url("assets/fonts/RoobertENEL-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Enel Roobert Bold";
  src: url("assets/fonts/RoobertENEL-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
[hidden] { display: none !important; }

body.enel-acesso-page {
  font-family: "Enel Roobert Regular", Calibri, Myriad, Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #fff;
  color: #000;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ===== Header (oficial) ===== */
#header.header {
  display: block;
  width: 100%;
  height: 65px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  padding: 15px 20px;
  box-sizing: border-box;
  transition: background 0.15s linear;
}

#header .logo {
  display: inline-block;
  float: left;
  width: 80px;
  position: relative;
  z-index: 51;
}
#header .logo img { width: 100%; height: auto; display: block; }
#header .logo img.ontop { display: block; }
#header .logo img.onscroll { display: none; }

#header.is-scrolled {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
#header.is-scrolled .logo img.ontop { display: none; }
#header.is-scrolled .logo img.onscroll { display: block; }

#header .nav-wrapper {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  text-align: center;
  line-height: 65px;
}
#header .nav-wrapper .main-nav a {
  font-family: "Enel Roobert Bold", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  padding: 0 12px;
  letter-spacing: -0.01em;
}
#header.is-scrolled .nav-wrapper .main-nav a { color: #222; }

#header .nav-aux {
  float: right;
  height: 35px;
  display: flex;
  align-items: center;
}
.regiao-id {
  font-family: "Enel Roobert Bold", Helvetica, Arial, sans-serif;
  color: #fff;
  font-size: 14px;
  border-bottom: 3px solid #fff;
  padding: 2px 4px 0;
}
#header.is-scrolled .regiao-id {
  color: #222;
  border-bottom-color: #ff0f64;
}

@media (min-width: 768px) {
  #header .nav-wrapper { display: block; }
}

/* ===== Banner rosa oficial ===== */
.banner {
  padding: 125px 20px 45px;
  height: auto;
  box-sizing: border-box;
}
.banner.pink-bg { background: #ff0f64; }
.banner .title {
  width: 100%;
  text-align: center;
  color: #fff;
  font-family: "Enel Roobert Light", Calibri, Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 2.5rem;
  letter-spacing: -1.5px;
  margin: 0;
  line-height: 1.15;
}
@media (min-width: 768px) {
  .banner {
    padding: 230px 0 170px;
    height: 520px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  .banner .title {
    font-size: 4.25rem;
    letter-spacing: -2.72px;
    line-height: 1.05;
    margin-bottom: 10px;
  }
}

/* ===== Container / form (forms.css oficial) ===== */
.container.padding-top-banner {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px 15px 60px;
  flex: 1;
  position: relative;
  min-height: 420px;
}

.step-1.custom-offset-login {
  width: 100%;
  float: none;
  position: relative;
}
@media (min-width: 768px) {
  .step-1.custom-offset-login {
    width: 41.66666667%;
    margin-left: 29.16666667%;
  }
}

.grupo-field { margin-bottom: 15px; }
.form-group { margin-bottom: 0 !important; }
.form-group > span {
  display: block;
  line-height: 30px;
  font-size: 15px;
  font-family: "Enel Roobert Regular", Helvetica, Arial, sans-serif;
  color: #000;
}

.text-field {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: "Enel Roobert Light", Calibri, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 22px;
  color: #000;
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 0;
  padding: 12px 15px;
  min-height: 50px;
  height: 59px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}
.text-field:focus { border: 2px solid #000; }

.text-error-field {
  display: block;
  font-size: 15px;
  color: #ff0f64;
  margin-top: 4px;
}

.text-avisos {
  font-size: 14px;
  color: gray;
  line-height: 1.2;
  margin: 8px 0 0;
}

.link-login {
  display: inline-block;
  margin-top: 8px;
  background: none;
  border: 0;
  padding: 0;
  font-family: "Enel Roobert Bold", Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: #000;
  cursor: pointer;
  text-transform: uppercase;
}
.link-login:hover { text-decoration: underline; color: #000; }

.padding-top-20 { padding-top: 20px; }

.row-btn {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-left: -15px;
  margin-right: -15px;
}
.row-btn .col-btn {
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}
@media (min-width: 992px) {
  .row-btn .col-btn { width: 50%; }
}

.btn-base {
  font-family: "Enel Roobert Bold", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  text-transform: uppercase;
  height: 50px;
  width: 100%;
  min-width: 23%;
  margin: 15px 0 0;
  padding: 15px 0;
  cursor: pointer;
  box-sizing: border-box;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-send {
  letter-spacing: 0.6px;
  background-color: #ff0f64;
  color: #fff;
  border: 2px solid #ff0f64;
}
.btn-send:hover {
  background-color: #fff;
  color: #ff0f64;
}

.btn-cancel {
  letter-spacing: normal;
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
}
.btn-cancel:hover {
  background-color: #000;
  color: #fff;
}

/* Loader */
.loader-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  min-height: 240px;
}
.lds-spin {
  width: 44px;
  height: 44px;
  border: 3px solid #cecece;
  border-top-color: #ff0f64;
  border-radius: 50%;
  animation: enelSpin 0.75s linear infinite;
  margin-bottom: 14px;
}
@keyframes enelSpin { to { transform: rotate(360deg); } }

.alert-error {
  max-width: 560px;
  margin: 0 auto 18px;
  padding: 12px 14px;
  background: #fff0f5;
  border: 1px solid #ff0f64;
  color: #9f1143;
  font-size: 14px;
}
@media (min-width: 768px) {
  .alert-error { margin-left: 29.16666667%; max-width: 41.66666667%; }
}

/* Footer */
.enel-acesso-footer {
  background: #222;
  padding: 28px 20px;
  margin-top: auto;
}
.enel-acesso-footer .footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}
.enel-acesso-footer .copyright-text {
  margin: 0;
  color: #757575;
  font-size: 13px;
}
.enel-acesso-footer .footer-link {
  color: #41b9e6;
  font-size: 13px;
  font-family: "Enel Roobert Bold", Helvetica, Arial, sans-serif;
}
