/* Lomess — site institucional. Sem fontes, scripts ou rastreadores externos. */
:root {
  --bg: #0a0a0c;
  --bg-2: #111115;
  --card: #15151a;
  --line: #24242c;
  --text: #f2f2f4;
  --muted: #a3a3ad;
  --accent: #024aad;      /* azul da marca (mesmo da English Mess) */
  --accent-2: #6f9bff;
  --radius: 16px;
  --max: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Cabeçalho */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10,10,12,.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: .18em; font-size: 15px; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #1b2f6b); display: grid; place-items: center; font-size: 14px; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0a5bd0; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--bg-2); }
.nav .btn { padding: 8px 16px; color: var(--text); }

/* Hero */
.hero { position: relative; padding: 120px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 640px;
  background: radial-gradient(60% 60% at 50% 40%, rgba(36,104,230,.22), transparent 70%);
  pointer-events: none;
}
.eyebrow { color: var(--accent-2); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px; }
.hero h1 { position: relative; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 24px; max-width: 14ch; }
.hero p.lead { position: relative; font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 58ch; margin: 0 0 36px; }
.actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }

/* Seções */
section { padding: 96px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.025em; line-height: 1.12; margin: 0 0 16px; }
.sub { color: var(--muted); max-width: 60ch; margin: 0 0 48px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(36,104,230,.14); color: var(--accent-2); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; }
.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.step { counter-increment: s; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-size: 44px; font-weight: 800; letter-spacing: -.04em; color: var(--accent); margin-bottom: 12px; }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.list li { padding-left: 30px; position: relative; color: var(--muted); }
.list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px; border-left: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(-45deg); }
.list strong { color: var(--text); font-weight: 600; }
.cta { text-align: center; padding: 72px 32px; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(80% 120% at 50% 0%, rgba(36,104,230,.18), var(--bg-2) 70%); }
.cta p { color: var(--muted); max-width: 52ch; margin: 0 auto 28px; }

/* Rodapé */
footer { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 14px; }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
footer .legal { line-height: 1.8; }
footer .legal strong { color: var(--text); }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer nav a { color: var(--muted); }
footer nav a:hover { color: var(--text); }

/* Páginas legais */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 8px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 0 0 40px; }
.doc h2 { font-size: 24px; margin: 44px 0 12px; letter-spacing: -.015em; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { color: #cfcfd6; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text); }
.doc td { color: #cfcfd6; }

@media (max-width: 860px) {
  .grid, .steps, .split { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 80px 0 64px; }
  section { padding: 72px 0; }
  .wrap { padding: 0 16px; }
  .doc table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Logo */
.brand img { height: 26px; width: auto; display: block; }
footer .logo { height: 24px; width: auto; display: block; margin-bottom: 14px; }

/* Landing (copy de resposta direta) */
.hero h1 { max-width: 16ch; }
.hero .proof { position: relative; margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.hero .proof strong { color: var(--text); }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.mess-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mess-list li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; color: #d6d6dd; }
.mess-list li:nth-child(odd) { transform: rotate(-1.2deg); }
.mess-list li:nth-child(even) { transform: rotate(1deg) translateX(10px); }
.mess-list li:nth-child(3n) { transform: rotate(-.4deg) translateX(-6px); }
.big-quote { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; margin: 0; max-width: 24ch; }
.big-quote em { font-style: normal; color: var(--accent-2); }
.stack { display: grid; gap: 14px; }
.stack .row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.stack .row h3 { margin: 0; font-size: 19px; }
.stack .row p { margin: 0; color: var(--muted); font-size: 16px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { background: var(--bg-2); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare td:first-child { color: var(--muted); }
.compare td:last-child { color: var(--text); background: rgba(36,104,230,.07); }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit .card h3 { margin-bottom: 14px; }
.fit ul { margin: 0; padding-left: 20px; color: var(--muted); }
.fit li { margin: 8px 0; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.cta h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.fine { font-size: 14px; color: var(--muted); margin-top: 18px !important; }
@media (max-width: 860px) {
  .stack .row, .fit { grid-template-columns: 1fr; gap: 8px; }
  .fit { gap: 16px; }
  .mess-list li:nth-child(n) { transform: none; }
  .compare th, .compare td { padding: 12px 14px; font-size: 15px; }
}
.badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); background: rgba(36,104,230,.14); border: 1px solid rgba(111,155,255,.3); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }
section, [id] { scroll-margin-top: 72px; }
