/* Ozemplus — site
   Segue o design system do app: branco + verde, Inter, card raio 28,
   sombra quase invisível, hierarquia por tipografia (não por cor). */

:root {
  --green: #2E7D32;
  --green-dark: #246428;
  --green-subtle: #EDF7EE;
  --green-surface: #F2F7F2;
  --bg: #F8F9FA;
  --surface: #FFFFFF;
  --text: #1F2A24;
  --text-2: #6F7572;
  --text-3: #A2A8A4;
  --line: #E6E9E7;
  --sand: #C8A153;
  --sand-subtle: #FBF4E4;
  --danger: #C0524A;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 8px 24px rgba(31, 42, 36, 0.06);
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--text-2); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section + .section { padding-top: 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.lead { font-size: 1.2rem; color: var(--text-2); max-width: 56ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Navegação ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(248, 249, 250, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .container {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text-2); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang a { padding: 5px 11px; font-size: 0.8rem; font-weight: 600; color: var(--text-2); }
.lang a[aria-current="true"] { background: var(--green-subtle); color: var(--green); }
.lang a:hover { text-decoration: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: var(--surface); color: var(--green); border-color: #D5DAD7; }
.btn-outline:hover { border-color: var(--green); }
.btn svg { width: 20px; height: 20px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; }
.hero .container {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 28px; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--text-2); }
.hero-visual { display: flex; justify-content: center; }

/* ---------- Moldura de celular ---------- */
.phone {
  width: 272px; padding: 10px;
  background: #1F2A24; border-radius: 46px;
  box-shadow: 0 24px 48px rgba(31, 42, 36, 0.18);
  flex: none;
}
.phone img { border-radius: 36px; width: 100%; height: auto; background: var(--bg); }
.phone-sm { width: 216px; padding: 8px; border-radius: 38px; }
.phone-sm img { border-radius: 30px; }

/* ---------- Faixa de aviso ---------- */
.notice {
  background: var(--sand-subtle);
  border-top: 1px solid #F1E3C2; border-bottom: 1px solid #F1E3C2;
  padding: 16px 0; font-size: 0.95rem;
}
.notice .container { display: flex; gap: 12px; align-items: flex-start; }
.notice svg { width: 22px; height: 22px; flex: none; color: var(--sand); margin-top: 2px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.icon-tile {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--green-subtle); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.icon-tile svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 0.98rem; }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 0.9rem; color: var(--text-2); }
.footer .container { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 12px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--green); }
.footer .brand { margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; font-size: 0.82rem; color: var(--text-3); }

/* ---------- Páginas legais ---------- */
.legal { padding: 56px 0 80px; }
.legal article {
  max-width: 760px; margin: 0 auto;
  background: var(--surface); border-radius: var(--radius);
  padding: 48px clamp(20px, 6vw, 64px); box-shadow: var(--shadow);
}
.legal article h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 6px; }
.legal article > p:first-of-type em { color: var(--text-2); font-style: normal; font-size: 0.95rem; }
.legal article h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal article h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal article p, .legal article li { color: #3A453F; }
.legal article p { margin: 0 0 14px; }
.legal article ul, .legal article ol { padding-left: 22px; margin: 0 0 14px; }
.legal article li { margin-bottom: 6px; }
.legal article table { border-collapse: collapse; width: 100%; margin: 0 0 18px; font-size: 0.95rem; }
.legal article th, .legal article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal article th { color: var(--text-2); font-weight: 600; font-size: 0.85rem; }
.legal article code { font-size: 0.9em; background: var(--green-surface); padding: 1px 6px; border-radius: 6px; }
.legal article strong { color: var(--text); }
.legal-meta {
  max-width: 760px; margin: 0 auto 18px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; font-size: 0.9rem; color: var(--text-2); flex-wrap: wrap;
}
.legal-meta nav { display: flex; gap: 16px; flex-wrap: wrap; }
.legal-meta nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
mark.todo {
  background: #FFF1C2; color: #7A5A00; border-radius: 6px; padding: 1px 6px;
  font-size: 0.9em; font-weight: 500;
}
.todo-banner {
  max-width: 760px; margin: 0 auto 18px;
  background: #FFF7DD; border: 1px solid #F1E3C2; border-radius: 16px;
  padding: 12px 18px; font-size: 0.9rem; color: #7A5A00;
}

/* ---------- 404 ---------- */
.not-found { padding: 88px 0 104px; }
.not-found .card { max-width: 560px; margin: 0 auto; text-align: center; padding: 48px 28px; }
.not-found .icon-tile { margin: 0 auto 22px; }
.not-found h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 12px; }
.not-found .lead { font-size: 1.05rem; margin: 0 auto 28px; }
.not-found .btn-row { justify-content: center; }
.not-found-links { margin-top: 28px; font-size: 0.9rem; color: var(--text-2); display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer .container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .nav-links a:not(.btn):not(.lang a) { display: none; }
  .nav-links .lang a { display: inline-block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr; }
  .phone { width: 240px; }
  .legal article { padding: 32px 20px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
