/* =========================================================
   ipediu — Landing page moderna
   Refatoração visual 2026
   ========================================================= */

:root {
  --roxo: #6B0099;
  --roxo-escuro: #4A0069;
  --roxo-claro: #8A2BE2;
  --ambar: #F7A600;
  --ambar-escuro: #E08A00;
  --tinta: #1e1633;
  --texto: #4a4458;
  --cinza: #6b7280;
  --cinza-claro: #f6f4fb;
  --linha: #ececf3;
  --branco: #ffffff;
  --sombra-sm: 0 2px 8px rgba(30, 22, 51, .06);
  --sombra-md: 0 12px 32px rgba(107, 0, 153, .10);
  --sombra-lg: 0 24px 60px rgba(107, 0, 153, .16);
  --raio: 18px;
  --raio-sm: 12px;
  --container: 1160px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body#page-top {
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.65;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: var(--tinta);
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; transition: all .2s ease; }
img { max-width: 100%; }

.lp-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.lp-section { padding: 96px 0; position: relative; }
/* Compensa a navbar fixa ao navegar por âncoras */
section[id], header[id], #cadastro { scroll-margin-top: 88px; }
.lp-section--tint { background: var(--cinza-claro); }

.lp-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--roxo);
  background: rgba(107, 0, 153, .08);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lp-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 0 0 16px;
  letter-spacing: -.02em;
}

.lp-title .hl { color: var(--roxo); }

.lp-lead {
  font-size: 1.12rem;
  color: var(--cinza);
  max-width: 640px;
  margin: 0 auto;
}

.lp-head-center { text-align: center; margin-bottom: 60px; }
.lp-head-center .lp-lead { margin-left: auto; margin-right: auto; }

/* ---------- Botões ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.lp-btn:hover { transform: translateY(-2px); }

.lp-btn--primary {
  background: var(--roxo);
  color: #fff;
  box-shadow: 0 10px 24px rgba(107, 0, 153, .28);
}
.lp-btn--primary:hover { background: var(--roxo-escuro); color: #fff; }

.lp-btn--accent {
  background: var(--ambar);
  color: #3a2600;
  box-shadow: 0 10px 24px rgba(247, 166, 0, .32);
}
.lp-btn--accent:hover { background: var(--ambar-escuro); color: #3a2600; }

.lp-btn--ghost {
  background: transparent;
  color: var(--roxo);
  border-color: rgba(107, 0, 153, .25);
}
.lp-btn--ghost:hover { border-color: var(--roxo); background: rgba(107,0,153,.05); color: var(--roxo); }

.lp-btn--light {
  background: #fff;
  color: var(--roxo);
}
.lp-btn--light:hover { color: var(--roxo-escuro); }

/* ---------- Navbar ---------- */
#mainNav.lp-nav {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--linha);
  padding: .55rem 0;
  transition: box-shadow .25s ease, padding .25s ease;
}
#mainNav.lp-nav.scrolled { box-shadow: var(--sombra-sm); }
#mainNav .navbar-brand img { height: 46px; width: auto; }

#mainNav .navbar-nav .nav-link {
  color: var(--tinta) !important;
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem .9rem !important;
  border-radius: 8px;
}
#mainNav .navbar-nav .nav-link:hover { color: var(--roxo) !important; }

/* Botões separados no header: Entrar (outline) + Criar minha loja (sólido âmbar),
   seguindo o modelo Login / Teste agora do cardapioweb */
#mainNav .nav-login {
  color: var(--roxo) !important;
  border: 2px solid rgba(107, 0, 153, .25);
  border-radius: 999px;
  padding: .45rem 1.25rem !important;
  margin-left: .5rem;
  font-weight: 600;
}
#mainNav .nav-login:hover { border-color: var(--roxo); background: rgba(107,0,153,.05); color: var(--roxo) !important; }

#mainNav .nav-cta {
  color: #3a2600 !important;
  background: var(--ambar);
  border-radius: 999px;
  padding: .5rem 1.4rem !important;
  margin-left: .5rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(247, 166, 0, .3);
}
#mainNav .nav-cta:hover { background: var(--ambar-escuro); color: #3a2600 !important; transform: translateY(-1px); }

.navbar-toggler {
  border-color: rgba(107, 0, 153, .3);
  padding: .3rem .5rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236B0099' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  background-color: transparent !important;
}

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  padding: 150px 0 90px;
  background:
    radial-gradient(1100px 520px at 85% -8%, rgba(247,166,0,.16), transparent 60%),
    radial-gradient(900px 500px at 5% 5%, rgba(138,43,226,.14), transparent 55%),
    linear-gradient(180deg, #fbf9ff 0%, #ffffff 100%);
  overflow: hidden;
}
.lp-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.lp-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  letter-spacing: -.025em;
  margin: 18px 0 20px;
}
.lp-hero h1 .hl { color: var(--roxo); }
.lp-hero__sub {
  font-size: 1.18rem;
  color: var(--texto);
  max-width: 540px;
  margin-bottom: 30px;
}
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.lp-hero__stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--linha);
}
.lp-hero__stats .num { font-size: 1.7rem; font-weight: 800; color: var(--roxo); line-height: 1; }
.lp-hero__stats .lbl { font-size: .88rem; color: var(--cinza); }

.lp-hero__art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lp-hero__card {
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--sombra-lg);
  padding: 26px;
  width: 100%;
  max-width: 380px;
  transform: rotate(-2deg);
}
.lp-hero__card:hover { transform: rotate(0deg); transition: transform .4s ease; }
.lp-hero__card .bar {
  height: 130px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--roxo), var(--roxo-claro));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 16px;
}
.lp-hero__row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 12px; background: var(--cinza-claro); margin-bottom: 10px;
}
.lp-hero__row .dot { width: 42px; height: 42px; border-radius: 12px; background: rgba(247,166,0,.18); display:flex; align-items:center; justify-content:center; color: var(--ambar-escuro); font-size: 1.2rem; }
.lp-hero__row .t { font-weight: 600; color: var(--tinta); font-size: .95rem; }
.lp-hero__row .p { font-size: .8rem; color: var(--cinza); }
.lp-hero__row .price { margin-left: auto; font-weight: 700; color: var(--roxo); }
.lp-hero__badge {
  position: absolute; top: 8px; right: 0;
  background: var(--ambar); color: #3a2600; font-weight: 700; font-size: .82rem;
  padding: 10px 16px; border-radius: 14px; box-shadow: var(--sombra-md);
  transform: rotate(4deg);
}

/* ---------- Marcas / segmentos ---------- */
.lp-segments { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.lp-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--linha); border-radius: 999px;
  padding: 10px 20px; font-weight: 600; color: var(--tinta); font-size: .95rem;
  box-shadow: var(--sombra-sm);
}
.lp-chip i { color: var(--ambar-escuro); }

/* ---------- Features grid ---------- */
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.lp-card {
  background: #fff;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  padding: 32px 28px;
  box-shadow: var(--sombra-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lp-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-md); border-color: rgba(107,0,153,.18); }
.lp-card__icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--roxo), var(--roxo-claro));
}
.lp-card--accent .lp-card__icon { background: linear-gradient(135deg, var(--ambar), var(--ambar-escuro)); color: #fff; }
.lp-card h3 { font-size: 1.2rem; margin: 0 0 10px; }
.lp-card p { margin: 0; color: var(--cinza); font-size: .98rem; }

/* ---------- Como funciona (passos) ---------- */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.lp-step { text-align: center; position: relative; }
.lp-step__num {
  width: 62px; height: 62px; margin: 0 auto 18px;
  border-radius: 50%; background: #fff; border: 2px solid rgba(107,0,153,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: var(--roxo);
  box-shadow: var(--sombra-sm);
}
.lp-step h4 { font-size: 1.08rem; margin: 0 0 8px; }
.lp-step p { font-size: .92rem; color: var(--cinza); margin: 0; }

/* ---------- Split (texto + midia) ---------- */
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lp-split ul { list-style: none; padding: 0; margin: 22px 0 0; }
.lp-split li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px; color: var(--texto); font-size: 1.02rem;
}
.lp-split li i { color: #16a34a; margin-top: 4px; flex-shrink: 0; }
.lp-media {
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra-md);
  background: #000;
}
.lp-video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-video {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-radius: var(--raio-sm); overflow: hidden; box-shadow: var(--sombra-md); background: #000;
}
.lp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Planos ---------- */
.lp-pricing { display: flex; justify-content: center; }
.lp-plan {
  background: #fff; border-radius: 24px; border: 1px solid var(--linha);
  box-shadow: var(--sombra-md); padding: 44px 40px; max-width: 440px; width: 100%;
  text-align: center; position: relative; overflow: hidden;
}
.lp-plan::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--roxo), var(--ambar));
}
.lp-plan__tag {
  display: inline-block; background: rgba(247,166,0,.16); color: var(--ambar-escuro);
  font-weight: 700; font-size: .82rem; padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.lp-plan__price { font-size: 3.4rem; font-weight: 800; color: var(--roxo); line-height: 1; }
.lp-plan__price small { font-size: 1.1rem; font-weight: 600; color: var(--cinza); }
.lp-plan__price .cents { font-size: 1.6rem; vertical-align: super; }
.lp-plan__period { color: var(--cinza); margin-bottom: 26px; }
.lp-plan ul { list-style: none; padding: 0; margin: 0 0 30px; text-align: left; }
.lp-plan li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--linha); color: var(--texto); }
.lp-plan li:last-child { border-bottom: 0; }
.lp-plan li i { color: #16a34a; }
.lp-plan .lp-btn { width: 100%; }

/* ---------- Download App ---------- */
.lp-app {
  background: linear-gradient(135deg, var(--roxo) 0%, var(--roxo-escuro) 100%);
  border-radius: 28px;
  padding: 60px 56px;
  color: #fff;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.lp-app::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(247,166,0,.35), transparent 70%); border-radius: 50%;
}
.lp-app h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 14px; }
.lp-app p { color: rgba(255,255,255,.85); font-size: 1.08rem; margin: 0 0 26px; }
.lp-app__stores { display: flex; flex-wrap: wrap; gap: 14px; }
.lp-app__stores img { height: 52px; width: auto; transition: transform .2s ease; }
.lp-app__stores a:hover img { transform: translateY(-3px); }
.lp-app__mock { text-align: center; position: relative; z-index: 1; }
.lp-app__mock .phone {
  display: inline-block; background: rgba(255,255,255,.1); border: 8px solid rgba(255,255,255,.18);
  border-radius: 34px; padding: 16px; backdrop-filter: blur(4px);
}

/* ---------- Revendedores CTA ---------- */
.lp-reseller {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.lp-reseller img { border-radius: var(--raio); box-shadow: var(--sombra-md); }

/* ---------- CTA final ---------- */
.lp-cta-final { text-align: center; }
.lp-cta-final .lp-btn { margin: 6px; }

/* ---------- Footer ---------- */
.lp-footer {
  background: var(--tinta);
  color: rgba(255,255,255,.72);
  padding: 60px 0 26px;
  position: static;
  margin: 0;
}
.lp-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.lp-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.lp-footer a { color: rgba(255,255,255,.72); }
.lp-footer a:hover { color: var(--ambar); }
.lp-footer ul { list-style: none; padding: 0; margin: 0; }
.lp-footer li { margin-bottom: 9px; }
.lp-footer .brand-blurb { max-width: 320px; font-size: .95rem; }
.lp-footer__social { display: flex; gap: 12px; margin-top: 18px; }
.lp-footer__social a {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.05rem;
}
.lp-footer__social a:hover { background: var(--roxo); color: #fff; transform: translateY(-2px); }
.lp-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px;
  font-size: .82rem; color: rgba(255,255,255,.5); text-align: center; line-height: 1.7;
}

/* ---------- Modais (refinamento leve) ---------- */
.modal-content { border: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--sombra-lg); }
.modal-header { border-bottom: 0; padding: 24px 28px 0; }
.modal-body { padding: 12px 28px; }
.modal-footer { border-top: 0; padding: 16px 28px 24px; }
.modal .btn-primary { background: var(--roxo); border-color: var(--roxo); border-radius: 999px; padding: 10px 26px; font-weight: 600; }
.modal .btn-primary:hover { background: var(--roxo-escuro); border-color: var(--roxo-escuro); }
.modal .btn-secondary { border-radius: 999px; padding: 10px 22px; }
.modal .form-control { border-radius: 10px; padding: .6rem .9rem; border-color: var(--linha); }
.modal .form-control:focus { border-color: var(--roxo-claro); box-shadow: 0 0 0 3px rgba(138,43,226,.15); }

/* ---------- Formulário de cadastro no hero ---------- */
.lp-form-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--sombra-lg);
  padding: 30px 28px;
  width: 100%;
  max-width: 430px;
  border: 1px solid var(--linha);
}
.lp-form-card__head { text-align: center; margin-bottom: 20px; }
.lp-form-card__head h3 { font-size: 1.35rem; margin: 0 0 6px; }
.lp-form-card__head p { margin: 0; color: var(--cinza); font-size: .92rem; }
.lp-form-card__head .tag {
  display: inline-block; background: rgba(247,166,0,.16); color: var(--ambar-escuro);
  font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}
.lp-field { margin-bottom: 14px; }
.lp-field label { display: block; font-size: .82rem; font-weight: 600; color: var(--tinta); margin-bottom: 6px; }
.lp-field input,
.lp-field select {
  width: 100%;
  border: 1px solid var(--linha);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--tinta);
  background: #fbfaff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.lp-field input:focus,
.lp-field select:focus {
  outline: 0;
  border-color: var(--roxo-claro);
  box-shadow: 0 0 0 3px rgba(138,43,226,.14);
  background: #fff;
}
.lp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-form-check { display: flex; gap: 9px; align-items: flex-start; margin: 4px 0 18px; }
.lp-form-check input { margin-top: 3px; }
.lp-form-check label { font-size: .82rem; color: var(--cinza); line-height: 1.4; }
.lp-form-card .lp-btn { width: 100%; }
.lp-form-card__foot { text-align: center; margin: 14px 0 0; font-size: .88rem; color: var(--cinza); }
.lp-form-card__foot a { color: var(--roxo); font-weight: 600; }

/* ---------- Seção de contato inline ---------- */
.lp-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.lp-contact__info h2 { margin-bottom: 14px; }
.lp-contact__list { list-style: none; padding: 0; margin: 26px 0 0; }
.lp-contact__list li { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; color: var(--texto); }
.lp-contact__list .ic {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(107,0,153,.08); color: var(--roxo); font-size: 1.2rem;
}

/* ---------- Página de Login dedicada ---------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(900px 480px at 100% 0%, rgba(247,166,0,.14), transparent 55%),
    radial-gradient(800px 460px at 0% 100%, rgba(138,43,226,.16), transparent 55%),
    linear-gradient(160deg, #faf7ff 0%, #ffffff 60%);
}
.auth-card {
  background: #fff;
  width: 100%;
  max-width: 440px;
  border-radius: 24px;
  box-shadow: var(--sombra-lg);
  border: 1px solid var(--linha);
  padding: 44px 40px;
}
.auth-card__logo { text-align: center; margin-bottom: 22px; }
.auth-card__logo img { height: 52px; width: auto; }
.auth-card h1 { text-align: center; font-size: 1.55rem; margin: 0 0 6px; }
.auth-card__sub { text-align: center; color: var(--cinza); margin: 0 0 26px; font-size: .95rem; }
.auth-card .lp-field input { padding: 13px 15px; }
.auth-card__opts { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 20px; font-size: .88rem; }
.auth-card__opts label { color: var(--texto); display: flex; gap: 7px; align-items: center; }
.auth-card__opts a { color: var(--roxo); font-weight: 600; }
.auth-card .lp-btn { width: 100%; }
.auth-card__foot { text-align: center; margin: 22px 0 0; font-size: .92rem; color: var(--cinza); }
.auth-card__foot a { color: var(--roxo); font-weight: 700; }
.auth-back { text-align: center; margin-top: 22px; }
.auth-back a { color: var(--cinza); font-size: .9rem; }
.auth-back a:hover { color: var(--roxo); }

/* ---------- Responsivo ---------- */
@media (max-width: 991px) {
  .lp-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero__art { order: -1; }
  .lp-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-steps { grid-template-columns: repeat(2, 1fr); }
  .lp-split, .lp-app, .lp-reseller, .lp-contact { grid-template-columns: 1fr; gap: 32px; }
  .lp-form-card { max-width: 480px; margin: 0 auto; }
  .lp-footer__top { grid-template-columns: 1fr 1fr; }
  #mainNav .navbar-collapse { background:#fff; border-radius: 14px; padding: 14px; margin-top: 10px; box-shadow: var(--sombra-md); }
  #mainNav .nav-cta { display: inline-block; margin-top: 6px; }
}
@media (max-width: 575px) {
  .lp-section { padding: 64px 0; }
  .lp-grid, .lp-steps { grid-template-columns: 1fr; }
  .lp-video-grid { grid-template-columns: 1fr; }
  .lp-app { padding: 40px 26px; }
  .lp-footer__top { grid-template-columns: 1fr; }
  .lp-hero__stats { gap: 22px; }
}
