/* Landing page do Escalleo (escalleo.com.br). Cores e fontes da marca. */
@font-face { font-family: "Bricolage"; font-weight: 800; font-display: swap; src: url(fonts/bricolage-800.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(fonts/inter-600.woff2) format("woff2"); }

:root {
  --navy: #0f1130;
  --navy-2: #1a1d4a;
  --indigo: #4848e1;
  --indigo-soft: #6b6bff;
  --lavender: #9da9f9;
  --amber: #ee9b13;
  --text: #1c1d2b;
  --muted: #5b5e73;
  --line: #e4e5ee;
  --bg: #ffffff;
  --bg-alt: #f6f6fb;
  --card: #ffffff;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8e9ec;
    --muted: #a3a6bd;
    --line: #2b2d4a;
    --bg: #0c0e28;
    --bg-alt: #121437;
    --card: #15183f;
    --indigo: #7b7bff;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; justify-content: center; }

/* ------------------------------------------------------------- marca */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; }
.word { font-family: Bricolage, Inter, sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.5px; color: #fff; }
.word .eo { color: var(--indigo-soft); }
.word .dot { color: var(--amber); }

/* ------------------------------------------------------------- botões */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--amber); color: #1b1300; }
.btn-primary:hover { background: #f5ab2e; }
.btn-light { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .25); padding: 8px 16px; font-size: 15px; }

/* ------------------------------------------------------------- topo */
.top { background: var(--navy); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.top-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: #c9ccf5; text-decoration: none; font-size: 15px; }
.nav a:hover { color: #fff; }

/* ------------------------------------------------------------- hero */
.hero {
  color: #fff;
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(72, 72, 225, .45), transparent 60%),
    radial-gradient(700px 400px at 95% 40%, rgba(238, 155, 19, .12), transparent 60%),
    var(--navy);
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 48px; align-items: center; }
.eyebrow { color: var(--lavender); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 0 0 14px; }
.hero h1 { font-family: Bricolage, Inter, sans-serif; font-weight: 800; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -1px; margin: 0 0 20px; }
.hero .hl { color: var(--lavender); }
.lead { font-size: 19px; color: #d6d8f3; margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; }
.hero .fine { color: #a9acd6; }

.hero-art { position: relative; height: 560px; }
.phone {
  background: #23265c; border-radius: 34px; padding: 9px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone img { border-radius: 26px; }
.hero-art .phone { position: absolute; width: 240px; }
.phone-front { right: 10px; top: 20px; transform: rotate(3deg); }
.phone-back { right: 200px; top: 70px; transform: rotate(-6deg); opacity: .9; }

/* ------------------------------------------------------------- dores */
.pains { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.pains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 34px; padding-bottom: 34px; }
.pains-grid div { display: flex; flex-direction: column; gap: 4px; }
.pains-grid strong { font-size: 17px; }
.pains-grid span { color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------- seções */
section { scroll-margin-top: 80px; }
.section-title { font-family: Bricolage, Inter, sans-serif; font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.5px; line-height: 1.15; text-align: center; margin: 0 0 12px; }
.section-sub { text-align: center; color: var(--muted); max-width: 40em; margin: 0 auto 48px; }

.features { padding: 88px 0 40px; }
.feature { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: center; margin: 0 auto 72px; max-width: 920px; }
.feature.flip { grid-template-columns: 300px 1fr; }
.feature.flip .feature-text { order: 2; }
.feature h3 { font-family: Bricolage, Inter, sans-serif; font-weight: 800; font-size: 28px; margin: 0 0 14px; }
.feature ul { margin: 0; padding: 0; list-style: none; }
.feature li { position: relative; padding-left: 28px; margin: 10px 0; color: var(--muted); }
.feature li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 14px; height: 6px; border-radius: 3px; background: var(--amber);
}
.feature-art .phone { width: 300px; transform: none; background: #e9eaf4; padding: 8px; box-shadow: 0 24px 50px rgba(15, 17, 48, .18); }
@media (prefers-color-scheme: dark) { .feature-art .phone { background: #23265c; } }

.steps { background: var(--bg-alt); padding: 80px 0; }
.steps-grid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps-grid li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.steps-grid .n { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 600; margin-bottom: 8px; }
.steps-grid strong { font-size: 18px; }
.steps-grid li > span:last-child { color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------- planos */
.pricing { padding: 88px 0; }
.period { display: flex; justify-content: center; gap: 6px; margin: -16px auto 36px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 5px; width: max-content; }
.period button { border: 0; background: none; color: var(--muted); font: 600 15px Inter, sans-serif; padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.period button.on { background: var(--navy); color: #fff; }
.period em { font-style: normal; color: var(--amber); font-size: 12px; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; position: relative; }
.plan.featured { border: 2px solid var(--indigo); box-shadow: 0 18px 40px rgba(72, 72, 225, .18); }
.plan .tag { position: absolute; top: -12px; left: 18px; margin: 0; background: var(--indigo); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.plan h3 { margin: 0 0 6px; font-size: 20px; }
.price { margin: 0 0 6px; }
.price .v { font-family: Bricolage, Inter, sans-serif; font-weight: 800; font-size: 28px; }
.price .per { color: var(--muted); font-size: 14px; margin-left: 2px; }
.limits { color: var(--muted); font-size: 13px; margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.plan ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.plan li { margin: 7px 0; padding-left: 22px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--indigo); font-weight: 600; }
.plan li.inc { padding-left: 0; color: var(--muted); font-size: 13px; }
.plan li.inc::before { content: none; }

/* ------------------------------------------------------------- dúvidas */
.faq { background: var(--bg-alt); padding: 80px 0; }
.faq .section-title { margin-bottom: 32px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--indigo); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--muted); }

/* ------------------------------------------------------------- final e rodapé */
.final { background: var(--navy); color: #fff; text-align: center; padding: 80px 0; }
.final h2 { font-family: Bricolage, Inter, sans-serif; font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 10px; }
.final p { color: #c9ccf5; margin: 0 0 28px; }
.foot { background: #0a0c24; color: #a3a6bd; font-size: 14px; }
.foot-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.foot a { color: #c9ccf5; }
.foot .brand-mark { width: 28px; height: 28px; }
.foot .word { font-size: 20px; }
.foot p { margin: 0; width: 100%; }

/* ------------------------------------------------------------- telas menores */
@media (max-width: 1000px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { order: -1; grid-column: span 2; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .top-row .btn-ghost { margin-left: auto; }
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 420px; }
  .hero-art { height: 400px; }
  .hero-art .phone { width: 180px; }
  .phone-front { right: 50%; margin-right: -165px; top: 10px; }
  .phone-back { right: 50%; margin-right: 5px; top: 40px; }
  .pains-grid, .steps-grid { grid-template-columns: 1fr; gap: 18px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .feature.flip .feature-text { order: 0; }
  .feature-art { display: flex; justify-content: center; }
  .feature-art .phone { width: 240px; }
}
@media (max-width: 520px) {
  .plans { grid-template-columns: 1fr; }
  .plan.featured { grid-column: auto; }
  .cta .btn { flex: 1 1 100%; justify-content: center; }
  .word { font-size: 22px; }
  .brand-mark { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
