/* ============================================================
   Empalux LP Iluminação — scoped styles (.empalux-lp namespace)
   ============================================================
   NOTE: !important usado em cores críticas pra sobrescrever
   Storefront child theme (StoreBoot 5.2025) que define h1/h2/p
   colors com alta specificity via .entry-title etc.
   ============================================================ */

/* ---------- THEME RESET (Storefront override) ---------- */
.empalux-lp h1, .empalux-lp h2, .empalux-lp h3, .empalux-lp h4,
.empalux-lp p, .empalux-lp a, .empalux-lp span, .empalux-lp em {
  font-family: inherit;
}
.empalux-lp .entry-title,
.empalux-lp .page-title { display: none !important; } /* esconde título WP duplicado */


.empalux-lp {
  --elp-blue:        #0B5394;
  --elp-blue-dark:   #07335E;
  --elp-blue-deep:   #002F6C;
  --elp-yellow:      #F4C842;
  --elp-yellow-dark: #E5B82F;
  --elp-text:        #1a1a1a;
  --elp-muted:       #5a6068;
  --elp-bg:          #ffffff;
  --elp-bg-alt:      #F5F7FA;
  --elp-border:      #E3E7EC;
  --elp-radius:      10px;
  --elp-shadow:      0 6px 24px rgba(7, 51, 94, .08);
  --elp-max:         1180px;
  --elp-font:        "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif;

  font-family: var(--elp-font);
  color: var(--elp-text);
  line-height: 1.55;
  background: var(--elp-bg);
  font-size: 16px;
}
.empalux-lp *,
.empalux-lp *::before,
.empalux-lp *::after { box-sizing: border-box; }

.empalux-lp img { max-width: 100%; height: auto; display: block; }

.elp-container { max-width: var(--elp-max); margin: 0 auto; padding: 0 20px; }

.elp-section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: var(--elp-blue-dark) !important;
  margin: 0 0 28px;
  text-align: center;
  line-height: 1.2;
}

/* ---------- BUTTONS ---------- */
.elp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 14px 26px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-transform: uppercase;
  line-height: 1.2;
}
.elp-btn--accent {
  background: var(--elp-yellow);
  color: var(--elp-blue-dark);
  box-shadow: 0 4px 14px rgba(244, 200, 66, .35);
}
.elp-btn--accent:hover { background: var(--elp-yellow-dark); transform: translateY(-1px); }
.elp-btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 2px solid #fff;
}
.elp-btn--ghost:hover { background: rgba(255,255,255,.1); }

/* ghost variant pra fundo claro (Sobre, etc) */
.elp-sobre .elp-btn--ghost,
.elp-bg-light .elp-btn--ghost {
  color: var(--elp-blue-dark) !important;
  border-color: var(--elp-blue-dark);
}
.elp-sobre .elp-btn--ghost:hover,
.elp-bg-light .elp-btn--ghost:hover {
  background: var(--elp-blue-dark);
  color: #fff !important;
}

/* ---------- HERO ---------- */
.elp-hero {
  position: relative;
  background: var(--elp-blue-dark) center/cover no-repeat;
  color: #fff;
  padding: 90px 0 70px;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.elp-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,51,94,.35) 0%, rgba(7,51,94,.85) 100%);
}
.elp-hero__inner { position: relative; z-index: 1; text-align: center; }
.elp-hero__kicker {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--elp-yellow) !important;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(244,200,66,.5);
  border-radius: 999px;
}
.elp-hero__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0 0 28px;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
  color: #fff !important;
}
.elp-hero__seals {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}
.elp-seal {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .03em;
}

/* ---------- STATS ---------- */
.elp-stats { background: var(--elp-bg); padding: 32px 0; border-bottom: 1px solid var(--elp-border); }
.elp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.elp-stat__value {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 800;
  color: var(--elp-blue);
  line-height: 1;
}
.elp-stat__label {
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--elp-muted);
  margin-top: 6px;
}

/* ---------- CUSTO BENEFÍCIO ---------- */
.elp-cb { padding: 70px 0; background: var(--elp-bg); }
.elp-cb__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.elp-card {
  background: #fff;
  border: 1px solid var(--elp-border);
  border-radius: var(--elp-radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--elp-shadow);
  transition: transform .2s ease;
}
.elp-card:hover { transform: translateY(-4px); }
.elp-card__icon { width: 56px; height: 56px; margin: 0 auto 16px; object-fit: contain; }
.elp-card__title { color: var(--elp-blue); font-size: 1.25rem; margin: 0 0 10px; font-weight: 700; }
.elp-card__text  { color: var(--elp-muted); font-size: .92rem; margin: 0; }

/* ---------- STRIP CTA ---------- */
.elp-strip {
  background: linear-gradient(135deg, var(--elp-blue) 0%, var(--elp-blue-deep) 100%);
  padding: 36px 0;
  color: #fff;
}
.elp-strip__inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 24px;
  text-align: center;
}
.elp-strip__title { font-size: clamp(1.4rem, 2.5vw, 2rem); margin: 0; font-weight: 700; color: #fff !important; }

/* ---------- SOBRE ---------- */
.elp-sobre { padding: 80px 0; background: var(--elp-bg-alt); }
.elp-sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.elp-sobre__lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--elp-blue-dark);
  margin: 0 0 20px;
}
.elp-sobre__body { color: var(--elp-text); margin-bottom: 28px; }
.elp-sobre__body p { margin: 0 0 14px; }
.elp-sobre__media img,
.elp-sobre__placeholder {
  border-radius: var(--elp-radius);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--elp-blue) 0%, var(--elp-blue-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4);
  font-style: italic;
}
.elp-sobre__copy .elp-section-title { text-align: left; }

/* ---------- POR QUE COMPRAR ---------- */
.elp-pq {
  background: linear-gradient(135deg, var(--elp-blue) 0%, var(--elp-blue-deep) 100%);
  padding: 70px 0;
  color: #fff;
}
.elp-pq__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 60px;
  align-items: center;
}
.elp-pq__lead { padding-right: 16px; }
.elp-pq__kicker {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  display: block;
  color: #fff !important;
  line-height: 1.2;
  text-wrap: balance;
}
.elp-pq__card {
  background: #fff;
  color: var(--elp-text);
  border-radius: var(--elp-radius);
  padding: 28px 32px;
  text-align: center;
  min-width: 280px;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.elp-pq__title { color: var(--elp-blue-dark); margin: 0 0 8px; font-size: 1.3rem; }
.elp-pq__text  { color: var(--elp-muted); margin: 0 0 18px; }

/* ---------- LINHAS ---------- */
.elp-linhas { padding: 80px 0; background: var(--elp-bg); }
.elp-linhas__title { color: var(--elp-blue-dark); }
.elp-linhas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.elp-linha {
  background: #fff;
  border: 1px solid var(--elp-border);
  border-radius: var(--elp-radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  text-align: center;
  box-shadow: var(--elp-shadow);
  transition: transform .2s ease;
}
.elp-linha:hover { transform: translateY(-4px); }
.elp-linha img,
.elp-linha__placeholder {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.elp-linha img { background: #fff; }
.elp-linha__placeholder { background: linear-gradient(135deg, #c8d3df 0%, #94a3b1 100%); }
.elp-linha__title { padding: 16px 14px 4px; font-size: 1rem; color: var(--elp-blue-dark); margin: 0; font-weight: 700; }
.elp-linha__sub { padding: 0 14px 12px; color: var(--elp-muted); font-size: .82rem; }
.elp-linha .elp-btn { margin: 12px auto 18px; }

/* ---------- MANUTENÇÃO CARROSSEL ---------- */
.elp-manut {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--elp-blue-deep) 0%, #001b3f 100%);
  color: #fff;
}
.elp-manut__carousel { position: relative; }
.elp-manut__track {
  display: flex; gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 4px;
  scrollbar-width: none;
}
.elp-manut__track::-webkit-scrollbar { display: none; }
.elp-manut__card {
  flex: 0 0 calc(100% / 3 - 14px);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--elp-radius);
  padding: 28px 22px;
  scroll-snap-align: start;
  text-align: center;
  min-width: 240px;
}
.elp-manut__card h3 { margin: 12px 0 8px; font-size: 1.1rem; color: #fff !important; }
.elp-manut__card p  { margin: 0; color: rgba(255,255,255,.92) !important; font-size: .92rem; }
.elp-manut__icon { font-size: 2rem; display: flex; justify-content: center; margin-bottom: 8px; }
.elp-manut__icon img { width: 72px; height: 72px; object-fit: contain; }
.elp-manut__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--elp-yellow); color: var(--elp-blue-dark);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  font-size: 1.5rem; font-weight: 700; line-height: 1;
  display: none; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.elp-manut__nav:hover { transform: translateY(-50%) scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,.45); }
@media (max-width: 768px) {
  .elp-manut__nav { display: flex; }
}
.elp-manut__nav--prev { left: -8px; }
.elp-manut__nav--next { right: -8px; }

/* ---------- FAÇA PARTE ---------- */
.elp-fp {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--elp-blue) 0%, var(--elp-blue-deep) 100%);
  color: #fff;
  text-align: center;
}
.elp-fp__title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); margin: 0 0 8px; color: #fff !important; }
.elp-fp__sub   { color: rgba(255,255,255,.85) !important; margin: 0 0 36px; }
.elp-fp__perfis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  max-width: 720px;
  margin: 0 auto 44px;
}
.elp-fp__perfil {
  background: #fff;
  color: var(--elp-blue-dark);
  border-radius: var(--elp-radius);
  padding: 18px 14px;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform .15s ease;
}
.elp-fp__perfil:hover { transform: translateY(-3px); }
.elp-fp__perfil img { width: 32px; height: 32px; object-fit: contain; }
.elp-fp__perfil em { font-size: .78rem; color: var(--elp-muted); font-style: normal; }
.elp-fp__benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto 36px;
}
.elp-fp__benefit {
  flex: 0 1 calc(25% - 11px);
  min-width: 200px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 14px 16px;
  border-radius: var(--elp-radius);
  font-size: .9rem;
}
.elp-fp__cta { margin-top: 20px; }

/* ---------- WHATSAPP FAB ---------- */
.elp-wa-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  z-index: 999;
  transition: transform .2s ease;
  text-decoration: none;
}
.elp-wa-fab:hover { transform: scale(1.08); }

/* ---------- MODAL FORM ---------- */
.elp-modal {
  position: fixed; inset: 0;
  display: none;
  z-index: 9999;
}
.elp-modal[aria-hidden="false"] { display: flex; align-items: center; justify-content: center; }
.elp-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 51, 94, .65);
  backdrop-filter: blur(4px);
}
.elp-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 36px 32px 28px;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
  animation: elpFadeIn .25s ease;
}
@keyframes elpFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.elp-modal__close {
  position: absolute; top: 12px; right: 14px;
  background: transparent; border: 0;
  font-size: 1.6rem; line-height: 1;
  cursor: pointer; color: var(--elp-muted);
}
.elp-modal__header { text-align: center; margin-bottom: 18px; }
.elp-modal__header h2 { margin: 0; color: var(--elp-blue-dark); font-size: 1.5rem; }
.elp-modal__header p  { margin: 4px 0 0; color: var(--elp-muted); }

.elp-form label { display: block; margin-bottom: 12px; }
.elp-form label > span {
  display: block;
  font-size: .82rem;
  color: var(--elp-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.elp-form input,
.elp-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--elp-border);
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--elp-text);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.elp-form input:focus,
.elp-form select:focus {
  outline: 0;
  border-color: var(--elp-blue);
  box-shadow: 0 0 0 3px rgba(11, 83, 148, .15);
}
.elp-form__submit {
  width: 100%; margin-top: 8px;
  background: #F4C842 !important;
  color: #07335E !important;
  border: 0 !important;
  box-shadow: 0 4px 14px rgba(244, 200, 66, .45) !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}
.elp-form__submit:hover { background: #E5B82F !important; transform: translateY(-1px); }
.elp-form__submit:disabled { opacity: .7; cursor: wait; }
.elp-form__wa {
  width: 100%;
  margin-top: 10px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .3);
}
.elp-form__wa:hover { background: #1ebe5a; }
.elp-form__seals {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 16px;
  font-size: .76rem;
  color: var(--elp-muted);
  text-align: center;
}
.elp-form__msg {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .9rem;
  display: none;
}
.elp-form__msg.is-success {
  display: block;
  background: #e6f7ed;
  color: #157a3a;
  border: 1px solid #a3dcb8;
  font-weight: 600;
  text-align: center;
}
.elp-form__msg.is-success::before { content: "✓ "; }
.elp-form__msg.is-error {
  display: block;
  background: #fdecec;
  color: #b32525;
  border: 1px solid #f1b3b3;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .elp-stats__grid       { grid-template-columns: repeat(2, 1fr); }
  .elp-sobre__grid       { grid-template-columns: 1fr; }
  .elp-sobre__copy .elp-section-title { text-align: center; }
  .elp-pq__inner         { grid-template-columns: 1fr; }
  .elp-manut__card       { flex: 0 0 calc(100% - 8px); }
  .elp-strip__inner      { flex-direction: column; }
}
