/* Infortipo — novo site */
:root {
  --ink: #12181f;
  --ink-soft: #2a3440;
  --paper: #f6f3ee;
  --paper-2: #ece7df;
  --line: #ddd6cb;
  --white: #ffffff;
  --accent: #d3541a;
  --accent-2: #1f6f8b;
  --ok: #1d7a4a;
  --shadow: 0 18px 50px rgba(18, 24, 31, 0.12);
  --radius: 18px;
  --max: 1180px;
  --nav: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 8px; background: #fff; padding: 8px 12px; z-index: 9; }

.nav {
  position: sticky; top: 0; z-index: 40;
  height: var(--nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px;
  background: rgba(18, 24, 31, 0.94);
  backdrop-filter: blur(10px);
  color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a {
  color: #e8e4dc; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
.nav-links a.active, .nav-links a:hover { color: #fff; }
.lang {
  display: flex; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; overflow: hidden;
}
.lang button {
  background: transparent; color: #fff; border: 0; padding: 6px 10px; cursor: pointer; font-weight: 700; font-size: 12px;
}
.lang button.on { background: var(--accent); }
.burger {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,.3);
  color: #fff; border-radius: 10px; padding: 8px 10px; cursor: pointer;
}

.hero {
  min-height: calc(100vh - var(--nav));
  background: #0d141b center/cover no-repeat;
  color: #fff;
  display: grid;
  align-items: end;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,20,27,.25) 0%, rgba(13,20,27,.78) 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 64px 22px 48px; width: 100%; }
.kicker {
  letter-spacing: .18em; text-transform: uppercase; font-size: 12px; font-weight: 700; color: #f0c7b2;
}
h1 { font-family: "Fraunces", Georgia, serif; font-weight: 560; font-size: clamp(36px, 6vw, 68px); line-height: 1.05; margin: 10px 0 14px; }
.lead { max-width: 640px; font-size: 18px; color: #efeae3; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border-radius: 999px; padding: 12px 18px; font-weight: 700; border: 0; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 64px 22px; }
.section-title { font-family: "Fraunces", Georgia, serif; font-size: clamp(28px, 4vw, 42px); margin: 0 0 8px; }
.muted { color: var(--ink-soft); }
.grid-3, .grid-4, .grid-2 { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(18,24,31,.04);
}
.card img { height: 190px; width: 100%; object-fit: cover; }
.card .pad, .pad { padding: 16px 16px 18px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.stat { background: var(--ink); color: #fff; border-radius: 16px; padding: 18px; }
.stat b { display: block; font-family: "Fraunces", serif; font-size: 28px; }
.stat span { font-size: 13px; color: #d7d1c8; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.filters button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; cursor: pointer;
}
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.work img { height: 220px; }
.work .pad { position: relative; }
.tag { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 700; }

.timeline { border-left: 2px solid var(--line); margin-left: 8px; }
.tl { padding: 0 0 22px 18px; position: relative; }
.tl::before {
  content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
}
.tl b { color: var(--accent-2); }

.form { display: grid; gap: 12px; }
.form label { font-size: 13px; font-weight: 700; display: grid; gap: 6px; }
.form input, .form textarea, .form select {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.note { font-size: 13px; color: var(--ink-soft); }
.okmsg { background: #e8f6ee; color: var(--ok); padding: 12px; border-radius: 12px; display: none; }

.legal { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.legal h2 { font-size: 22px; margin-top: 22px; }
.legal h3 { font-size: 17px; }
.footer {
  background: var(--ink); color: #e7e2da; padding: 36px 22px 22px;
}
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; }
.footer a { color: #f3efe8; }
.footer small { display: block; margin-top: 18px; color: #b7b1a8; }
.logo-foot { height: 46px; margin-bottom: 10px; }

.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px;
  display: none; gap: 12px; align-items: center; justify-content: space-between;
  max-width: 860px; margin: 0 auto;
}
.cookie.show { display: flex; }
.drawer {
  display: none; position: fixed; inset: var(--nav) 0 0 0; background: #101820; z-index: 39; padding: 18px;
}
.drawer.open { display: grid; align-content: start; gap: 14px; }
.drawer a { color: #fff; text-decoration: none; font-size: 20px; font-weight: 700; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .grid-3, .grid-4, .stats, .grid-2, .footer-grid, .form .row { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: stretch; }
}
