/* Lavoro HRMS marketing site — plain CSS, no build step. */
:root {
  --primary: #be2a2a;
  --primary-dark: #a52323;
  --secondary: #ef7f1a;
  --ink: #1b1f2a;
  --muted: #5b6472;
  --line: #ece7e3;
  --soft: #fbf6f2;
  --white: #ffffff;
  --green: #16a34a;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(27, 31, 42, 0.08);
  --grad: linear-gradient(135deg, var(--primary), var(--secondary));
  --max: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section--soft { background: var(--soft); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 12px;
}
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 500; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(190, 42, 42, .28); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn--disabled { background: #f1ecea; color: var(--muted); cursor: default; }
.btn--disabled:hover { transform: none; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav a:hover { color: var(--primary); text-decoration: none; }
.nav .btn { padding: 10px 20px; color: #fff; }
.nav .btn:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 90px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(239, 127, 26, .16), transparent 60%),
  radial-gradient(700px 380px at 0% 0%, rgba(190, 42, 42, .10), transparent 60%), #fff; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__note { margin-top: 16px; font-size: .9rem; color: var(--muted); }

/* Phone mockup (pure CSS/HTML) */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 290px; background: #fff; border-radius: 38px; padding: 12px;
  border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(27, 31, 42, .18);
}
.phone__screen { border-radius: 28px; overflow: hidden; background: #f9f9f9; }
.phone__bar { background: var(--grad); color: #fff; padding: 22px 18px 16px; font-weight: 600; }
.phone__body { padding: 16px; display: grid; gap: 12px; }
.mini-label { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; font-weight: 500; }
.mini-card {
  background: #fff; border-radius: 16px; padding: 14px; display: flex; align-items: center;
  justify-content: space-between; gap: 8px; box-shadow: 0 4px 12px rgba(27, 31, 42, .06);
}
.status-in { color: var(--green); font-size: .68rem; font-weight: 500; white-space: nowrap; }
.timer { font-weight: 500; font-variant-numeric: tabular-nums; font-size: .9rem; white-space: nowrap; }
.pill { background: #dc2626; color: #fff; border-radius: 999px; padding: 8px 12px; font-size: .72rem; font-weight: 500; white-space: nowrap; }
.mini-row { background: #fff; border-radius: 14px; padding: 12px 14px; font-size: .78rem; display: flex; justify-content: space-between; }
.mini-row b { font-weight: 500; }
.mini-tabs { display: flex; justify-content: space-around; background: #fff; padding: 10px 6px 14px; font-size: .65rem; color: #8a93a3; }
.mini-tabs .on { color: var(--ink); font-weight: 500; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(190, 42, 42, .09); color: var(--primary); margin-bottom: 16px;
}
.icon svg { width: 24px; height: 24px; }
.icon--alt { background: rgba(239, 127, 26, .13); color: var(--secondary); }
.badge-soon {
  display: inline-block; font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: 999px;
  background: rgba(239, 127, 26, .15); color: #b45f0a; vertical-align: middle; margin-left: 6px;
}

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 30px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 24px;
  width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 600;
}
.step h3 { font-size: 1.1rem; margin-top: 8px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Mobile app block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: none; width: 22px; height: 22px; color: var(--green); margin-top: 2px; }

/* CTA band */
.cta { background: var(--grad); color: #fff; border-radius: 28px; padding: 56px 28px; text-align: center; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta p { opacity: .92; max-width: 560px; margin: 0 auto 26px; }
.cta .btn { background: #fff; color: var(--primary); }

/* Contact */
.contact-box { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-box a.big { font-size: 1.25rem; font-weight: 500; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer img { height: 32px; width: auto; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

/* Legal pages */
.legal { max-width: 820px; padding: 56px 20px 80px; margin: 0 auto; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: #3d4452; }
.legal .meta { color: var(--muted); font-size: .92rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero__grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 48px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 18px 20px 24px;
    flex-direction: column; align-items: stretch; gap: 16px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav .btn { text-align: center; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
