/* DevTribe — "Tribe" direction (option C of the redesign canvas). */
:root {
  --accent: #FF6B2C;
  --ink: #111111;
  --ink-soft: #444444;
  --paper: #FFFFFF;
  --muted-bg: #F2F2F2;
  --on-dark: #FFFFFF;
  --on-dark-soft: #D4D4D4;
  --line-dark: #3A3A3A;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: var(--ink); }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0; }

.skip {
  position: absolute; left: 16px; top: -64px;
  background: var(--ink); color: var(--on-dark);
  padding: 10px 16px; border-radius: 999px; z-index: 10; text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 80px; padding-bottom: 80px; }
.section-lg { padding-top: 112px; padding-bottom: 112px; }

/* Header */
.site-header {
  padding-top: 20px; padding-bottom: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 800; font-size: 24px; letter-spacing: -0.03em;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px; background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.nav a:not(.pill) { text-decoration: none; padding: 12px 14px; border-radius: 999px; }
.nav a:not(.pill):hover { background: var(--muted-bg); }

/* Buttons */
.pill {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 12px 20px; border-radius: 999px; min-height: 44px;
  transition: transform .15s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill-dark { background: var(--ink); color: var(--on-dark); }
.pill-dark:hover { color: var(--on-dark); }
.pill-lg { padding: 18px 30px; font-size: 18px; }
.pill-xl { padding: 20px 34px; font-size: 19px; overflow-wrap: anywhere; }

/* Hero */
.hero-wrap { padding-top: 48px; }
.hero {
  background: var(--accent); border-radius: 32px;
  padding: clamp(32px, 6vw, 88px);
  display: flex; flex-direction: column; gap: 32px;
}
.tag {
  align-self: flex-start; background: var(--ink); color: var(--on-dark);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
}
.hero h1 { font-size: clamp(48px, 8.5vw, 132px); line-height: .92; letter-spacing: -0.05em; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.hero-foot p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; max-width: 560px; }

/* Chips */
.chips-wrap { padding-top: 32px; padding-bottom: 32px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; font-weight: 600; }
.chips li { border: 2px solid var(--ink); border-radius: 999px; padding: 10px 20px; }

/* Headings */
.display { font-size: clamp(40px, 5.5vw, 80px); letter-spacing: -0.045em; line-height: .95; max-width: 900px; }
#servicos .display { margin-bottom: 48px; }
.accent { color: var(--accent); }
.kicker { font-weight: 600; font-size: 16px; margin-bottom: 16px; }
.lead { margin: 20px 0 56px; font-size: 20px; line-height: 1.5; color: var(--on-dark-soft); max-width: 600px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.card {
  background: var(--muted-bg); border-radius: 24px; padding: 36px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.card h3 { font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; }
.card p { color: var(--ink-soft); }
.card-dark { background: var(--ink); color: var(--on-dark); }
.card-dark p { color: var(--on-dark-soft); }
.card-accent { background: var(--accent); }
.card-accent p { color: var(--ink); }

/* Engagement models (dark band) */
.band-dark { background: var(--ink); color: var(--on-dark); }
.model { border: 2px solid var(--line-dark); border-radius: 24px; padding: 36px; }
.model-n { font-size: 56px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 24px; }
.model h3 { font-size: 26px; margin-bottom: 10px; }
.model p:last-child { color: var(--on-dark-soft); }

/* Product */
.product { background: var(--muted-bg); border-radius: 32px; padding: clamp(32px, 5vw, 64px); }
.product .display { font-size: clamp(40px, 5vw, 72px); margin-bottom: 20px; }
.product p { font-size: 20px; line-height: 1.5; color: var(--ink-soft); max-width: 560px; margin-bottom: 32px; }

/* Contact */
.contact-wrap { padding-bottom: 64px; }
.contact { background: var(--accent); border-radius: 32px; padding: clamp(40px, 7vw, 104px); text-align: center; }
.contact h2 {
  margin: 0 auto 32px; max-width: 1000px;
  font-size: clamp(44px, 7vw, 112px); letter-spacing: -0.05em; line-height: .92;
}

/* Footer */
.site-footer { padding-bottom: 40px; font-size: 15px; color: var(--ink-soft); }
