/*
 * Empresa Ofertas — site institucional
 * Direção visual "Engenharia" (canvas: Empresa Ofertas — Marca e Landing).
 * Desktop desenhado em 1440px, celular em 390px; entre os dois os tamanhos
 * interpolam com clamp(). Fontes servidas pelo próprio site (sem Google Fonts
 * em tempo de execução — a política de privacidade promete zero terceiros).
 */

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/space-grotesk-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0B0F14;
  --surface: #11171F;
  --surface-2: #0E141B;
  --grid-line: #131A23;
  --line: #1B2430;
  --line-row: #171F29;
  --line-2: #263140;
  --line-3: #2C3A4B;
  --ink: #FFFFFF;
  --text: #D5DEE9;
  --text-legal: #B8C6D6;
  --muted: #8FA3B8;
  --subtle: #7C93AB;
  --accent: #4C82F7;

  --light-bg: #E7EBF0;
  --light-ink: #0B0F14;
  --light-text: #46586E;
  --light-label: #4A5C72;
  --light-line: #C3CCD7;

  --sans: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

  --gutter: clamp(20px, 8.34vw, 120px);
  --section-y: clamp(44px, 6.95vw, 100px);
}

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

html { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p { margin: 0; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
svg { display: block; flex-shrink: 0; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 14px; border-radius: 3px;
  background: var(--accent); color: #08090C; font-weight: 600;
}
.skip:focus { top: 12px; color: #08090C; }

.label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
}
.eyebrow {
  font-family: var(--mono);
  font-size: clamp(11.5px, 0.87vw, 12.5px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Cabeçalho ─────────────────────────────────────────── */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand svg { width: 30px; height: 30px; }
.brand span { font-size: 16px; font-weight: 600; letter-spacing: -0.03em; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 14.5px; }
.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--ink); }

/* ── Hero ──────────────────────────────────────────────── */
.grid-bg {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero { border-bottom: 1px solid var(--line); }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center;
  padding-block: clamp(40px, 6.95vw, 100px) clamp(44px, 6.67vw, 96px);
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero h1 {
  font-size: clamp(42px, 4.86vw, 70px); font-weight: 700; line-height: 1.02;
  letter-spacing: -0.04em; color: var(--ink); text-wrap: balance;
}
.hero-copy p {
  max-width: 520px; font-size: clamp(16px, 1.29vw, 18.5px); line-height: 1.6;
  color: var(--muted); text-wrap: pretty;
}

.product-list {
  list-style: none; margin: 0; padding: 0;
  border: 1px solid var(--line); border-radius: 4px; background: var(--surface);
  overflow: hidden; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
}
.product-list li { display: flex; align-items: center; gap: 18px; padding: 24px 26px; }
.product-list li + li { border-top: 1px solid var(--line-row); }
.logo-box {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-2);
}
.product-list .name { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.product-list .label { display: block; margin-top: 6px; }

/* ── Seções ────────────────────────────────────────────── */
.section { border-bottom: 1px solid var(--line); }
.section > .wrap { padding-block: var(--section-y); }
.section h2 {
  font-size: clamp(32px, 3.2vw, 46px); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.035em; color: var(--ink); text-wrap: balance;
}

.positioning .wrap { display: flex; flex-direction: column; gap: clamp(26px, 3.9vw, 56px); }
.positioning .intro { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.positioning .intro p { font-size: clamp(15.5px, 1.18vw, 17px); line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.pillar { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.pillar:first-child { border-top-color: var(--accent); }
.pillar .num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--subtle); }
.pillar:first-child .num { color: var(--accent); }
.pillar h3 { font-size: clamp(18px, 1.32vw, 19px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.pillar p { font-size: clamp(15px, 1.08vw, 15.5px); line-height: 1.65; color: var(--muted); }

.products .wrap { display: flex; flex-direction: column; gap: clamp(18px, 2.78vw, 40px); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 1.95vw, 28px);
  border: 1px solid var(--line); border-radius: 4px; background: var(--surface);
}
.card .card-logo { height: 26px; display: flex; align-items: center; }
.card .card-title { display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: clamp(19px, 1.46vw, 21px); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.card p { font-size: clamp(14.5px, 1.04vw, 15px); line-height: 1.6; color: var(--muted); }

/* Método — a única seção clara da página */
.method { background: var(--light-bg); color: #161C24; }
.method .wrap {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px;
  padding-block: var(--section-y);
}
.method-intro { display: flex; flex-direction: column; gap: 18px; }
.method-intro .eyebrow { color: var(--light-label); font-size: clamp(11.5px, 0.83vw, 12px); }
.method h2 {
  font-size: clamp(30px, 3.06vw, 44px); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.035em; color: var(--light-ink); text-wrap: balance;
}
.method-intro p { font-size: 16.5px; line-height: 1.65; color: var(--light-text); }
.steps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--light-line); }
.steps li { display: flex; gap: 24px; padding: 26px 0; border-top: 1px solid var(--light-line); }
.steps .num { min-width: 34px; font-family: var(--mono); font-size: 13px; color: var(--light-label); }
.steps .step { display: flex; flex-direction: column; gap: 7px; }
.steps h3 { font-size: clamp(17px, 1.25vw, 18px); font-weight: 600; letter-spacing: -0.02em; color: var(--light-ink); }
.steps p { font-size: clamp(14.5px, 1.04vw, 15px); line-height: 1.6; color: var(--light-text); }

/* Contato */
.contact .wrap { padding-block: clamp(48px, 6.4vw, 92px); }
.contact-box {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  padding: 64px 80px; border: 1px solid var(--line-2); border-radius: 4px;
  background: var(--surface); text-align: center;
}
.contact h2 { font-size: clamp(34px, 3.34vw, 48px); line-height: 1.05; letter-spacing: -0.04em; }
.contact-box p { max-width: 560px; font-size: clamp(15.5px, 1.18vw, 17px); line-height: 1.6; color: var(--muted); }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border: 1px solid var(--line-3); border-radius: 3px;
  color: var(--text); font-family: var(--mono); font-size: 14px;
}
.button:hover { border-color: var(--muted); }
.contact-box .button { margin-top: 6px; }

/* ── Rodapé ────────────────────────────────────────────── */
.site-footer .wrap { display: flex; flex-direction: column; gap: 40px; padding-block: 60px 48px; }
.footer-grid { display: grid; grid-template-columns: 2.4fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand svg { width: 28px; height: 28px; }
.footer-brand p { max-width: 300px; font-size: 14px; line-height: 1.6; color: var(--subtle); }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--muted); }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.footer-legal {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--subtle);
}
.footer-legal a {
  color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px;
}
.footer-legal a:hover { color: var(--ink); }

/* ── Páginas legais ────────────────────────────────────── */
.doc-header { border-bottom: 1px solid var(--line); }
.doc-header .wrap { display: flex; flex-direction: column; gap: 22px; padding-block: clamp(44px, 6.1vw, 88px) clamp(36px, 4.45vw, 64px); }
.doc-header h1 { font-size: clamp(38px, 3.9vw, 56px); font-weight: 700; line-height: 1.04; letter-spacing: -0.04em; color: var(--ink); }
.doc-header p { max-width: 680px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.doc-header .meta { font-family: var(--mono); font-size: 12.5px; color: var(--subtle); }

.doc { border-bottom: 1px solid var(--line); }
.doc .wrap {
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 96px; align-items: start;
  padding-block: clamp(40px, 5.56vw, 80px) clamp(56px, 7.64vw, 110px);
}
.toc { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 14px; }
.toc .label { padding-bottom: 6px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.toc a { display: flex; gap: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.toc a:hover { color: var(--ink); }
.toc .n { min-width: 22px; font-family: var(--mono); font-size: 12px; line-height: 1.75; color: var(--subtle); }

.doc-body { display: flex; flex-direction: column; gap: 48px; max-width: 760px; }
.doc-body section { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.doc-body section:first-child { border-top-color: var(--accent); }
.doc-body .n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--subtle); }
.doc-body section:first-child .n { color: var(--accent); }
.doc-body h2 { font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -0.025em; color: var(--ink); }
.doc-body p, .doc-body ul { font-size: 16px; line-height: 1.7; color: var(--text-legal); text-wrap: pretty; }
.doc-body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.doc-body strong { font-weight: 600; color: var(--ink); }
.doc-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }

.legal-table { display: flex; flex-direction: column; }
.legal-table .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.legal-table .head { padding: 0 0 12px; border-bottom-color: var(--line-2); }
.legal-table .row > :first-child { font-size: 15.5px; line-height: 1.6; color: var(--text); }
.legal-table .row > :last-child { font-family: var(--mono); font-size: 13px; line-height: 1.65; color: var(--muted); }
.legal-table .row.head > * { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }

/* 404 */
.not-found .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-block: 120px; }
.not-found h1 { font-size: clamp(38px, 3.9vw, 56px); font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
.not-found p { font-size: 17px; line-height: 1.6; color: var(--muted); }

/* ── Responsivo ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .product-list { max-width: 620px; }
  .method .wrap { grid-template-columns: 1fr; gap: 32px; }
  .doc .wrap { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
}

@media (max-width: 860px) {
  .pillars, .cards { grid-template-columns: 1fr; }
  .pillars { gap: 26px; }
  .cards { gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .doc .wrap { grid-template-columns: 1fr; gap: 40px; }
  .toc { position: static; padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }

  .site-header .wrap { padding-block: 14px; }
  .brand { gap: 10px; }
  .brand svg { width: 26px; height: 26px; }
  .brand span { font-size: 15px; }
  .site-nav { gap: 20px; }
  .site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }

  .grid-bg { background-size: 44px 44px; }
  .hero-copy { gap: 22px; }
  .product-list { box-shadow: 0 20px 46px -32px rgba(0, 0, 0, 0.9); }
  .product-list li { gap: 14px; padding: 16px; }
  .logo-box { width: 44px; height: 44px; }
  .logo-box svg { transform: scale(0.84); }
  .product-list .name { font-size: 16px; }
  .product-list .label { margin-top: 5px; font-size: 10.5px; }

  .pillar { gap: 12px; padding-top: 20px; }
  .card { gap: 14px; }

  .method .wrap { gap: 22px; }
  .method-intro { gap: 22px; }
  .method-intro p { font-size: 15.5px; }
  .steps li { gap: 18px; padding: 20px 0; }
  .steps .num { min-width: 26px; font-size: 12.5px; }

  .contact-box { align-items: stretch; gap: 18px; padding: 0; border: 0; background: none; text-align: left; }
  .contact-box .button { margin-top: 0; font-size: 13.5px; }

  .site-footer .wrap { gap: 28px; padding-block: 36px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }

  .doc-body { gap: 36px; }
  .doc-body h2 { font-size: 21px; }
  .doc-body p, .doc-body ul { font-size: 15.5px; }
  .legal-table .row { grid-template-columns: 1fr; gap: 6px; }
  .legal-table .head { display: none; }
}
