:root {
  color-scheme: dark;
  --bg: #111111;
  --text: #f3f1e7;
  --muted: #aeb0b6;
  --accent: #df7b60;
  --line: #ffffff1e;
  --wrap: min(1180px, calc(100% - 64px));
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2.15rem, 4.65vw, 3.65rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { color: var(--muted); line-height: 1.55; }
em { color: var(--accent); font-family: "IBM Plex Serif", Georgia, serif; }
.skip { position: fixed; top: -6rem; left: 12px; z-index: 4; padding: 12px; background: var(--text); color: var(--bg); }
.skip:focus { top: 12px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding-block: 96px; }
.centered, .process h2 { text-align: center; }
.centered h2 { max-width: 970px; margin-inline: auto; }
.hero { position: relative; isolation: isolate; overflow: hidden; margin: 40px 32px 0; border: 1px solid var(--line); border-radius: 24px; background: #111 url("assets/fundo.webp") center/cover; }
.hero-video, .hero::after { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-video { object-fit: cover; }
.hero::after { content: ""; background: linear-gradient(#10101040, #10101028 45%, #0b0b0bc7); }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px clamp(20px, 4vw, 48px); }
nav { display: flex; gap: 18px; color: #d4d2cf; }
nav a:hover { color: var(--accent); }
.hero-content { padding: 69px 22px 106px; text-align: center; }
.clients { margin: 0 auto 31px; width: min(322px, 100%); height: auto; }
.hero h1 { max-width: 865px; margin: 0 auto; }
.hero p { max-width: 700px; margin: 32px auto 28px; font-size: clamp(1rem, 2vw, 1.25rem); }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 13px 25px; border-radius: 13px; background: var(--accent); color: #17100d; font-weight: 750; text-transform: uppercase; transition: background .18s ease; }
.cta:hover { background: #f79880; }
.cta span { font-size: 1.35em; line-height: 1; }
.ticker { overflow: hidden; margin-top: 72px; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.track { display: flex; width: max-content; animation: scroll-track 28s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.ticker ul { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0 14px 0 0; }
.ticker li { white-space: nowrap; padding: 14px 20px; border: 1px solid var(--line); border-radius: 14px; background: #09090a; }
.ticker li::before, .price-card li::before { content: "✓"; color: var(--accent); margin-right: 10px; font-weight: 800; }
@keyframes scroll-track { to { transform: translateX(-50%); } }
.intro { margin: 26px auto 0; font-size: 1.12rem; }
.intro p + p { margin-top: 5px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.projects figure, .price-card { border: 1px solid var(--line); border-radius: 18px; background: #171717; overflow: hidden; }
.benefit-section { width: min(1340px, calc(100% - 64px)); }
.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(186px, auto) minmax(285px, auto);
  grid-template-areas: "credibility contact contact" "credibility branding devices";
  gap: 20px;
  margin-top: 66px;
  text-align: left;
}
.benefits article {
  overflow: hidden;
  padding: 29px clamp(24px, 2.55vw, 38px);
  border: 1px solid #ffffff16;
  border-radius: 12px;
  background: linear-gradient(140deg, #171717, #101010);
}
.benefits h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.benefits p { margin-top: 15px; color: #b2b2b2; max-width: 320px; }
.credibility { grid-area: credibility; display: flex; flex-direction: column; gap: 54px; }
.credibility h3 { max-width: 270px; }
.credibility-art { width: calc(100% + 30px); max-width: none; margin-inline: -15px; height: 218px; object-fit: contain; }
.contact { grid-area: contact; position: relative; display: flex; align-items: center; min-height: 186px; }
.contact > div { width: 49%; position: relative; z-index: 1; }
.contact-art { position: absolute; width: min(43%, 355px); height: auto; right: 7%; top: 4px; }
.branding { grid-area: branding; display: grid; align-content: start; gap: 44px; }
.brand-art { display: flex; align-items: center; gap: 11px; }
.brand-art img { width: clamp(32px, 4vw, 55px); }
.benefits .devices { grid-area: devices; background: #cd6347; border-color: transparent; padding: 18px 29px 23px; }
.devices-art { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; min-height: 121px; }
.devices-art img:first-child { width: 150px; }
.devices-art img:last-child { width: 48px; align-self: flex-end; margin-bottom: 4px; }
.devices p { color: #f3ded7; }
.projects { padding-top: 58px; }
.projects img { width: 100%; height: auto; aspect-ratio: 1.456; object-fit: cover; }
figcaption { padding: 15px 9px; font: 1.1rem Georgia, serif; color: var(--muted); }
.process { background: #0c0c0c; border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 46px 0 32px; counter-reset: step; }
.steps li { padding: 18px 12px 0 0; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { display: block; content: "0" counter(step); margin-bottom: 17px; color: var(--accent); font-weight: 750; }
.steps p { margin-top: 10px; }
.audience ul { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; padding: 0; margin: 42px 0 0; list-style: none; color: var(--muted); font-size: .9rem; }
.audience span { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 12px; border-radius: 15px; background: var(--text); color: var(--bg); font-size: 1.75rem; }
.pricing { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(30px, 6vw, 75px); }
.pricing h2 { font-size: clamp(2.2rem, 4.2vw, 3.35rem); text-wrap: wrap; }
.pricing > div > p:last-child { margin-top: 24px; font-size: 1.13rem; }
.eyebrow { margin-bottom: 16px; color: var(--accent); font-weight: 700; }
.price-card { padding: 32px; background: radial-gradient(ellipse at top, #27211e, #151515 68%); }
.price-card h3 { margin-bottom: 10px; font-size: 1.8rem; }
.price-card ul { padding: 0; margin: 22px 0; list-style: none; }
.price-card li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.price { display: grid; gap: 6px; margin-bottom: 24px; color: var(--muted); }
.price strong { color: var(--text); font-size: clamp(2.6rem, 4.8vw, 3.9rem); line-height: 1; letter-spacing: -.045em; }
.price-card .cta { width: 100%; }
footer { display: grid; justify-items: center; gap: 12px; padding: 54px 20px; background: #1b1b1b; text-align: center; }
@media (max-width: 850px) {
  .grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing { grid-template-columns: 1fr; }
  .audience ul { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 520px) {
  :root { --wrap: calc(100% - 30px); }
  header { flex-wrap: wrap; justify-content: center; gap: 14px; padding: 15px 10px; }
  nav { gap: 14px; font-size: .86rem; }
  .hero { margin: 14px 12px 0; border-radius: 17px; }
  .hero-content { padding: 40px 15px 53px; }
  h1 { font-size: clamp(2.05rem, 9.2vw, 3rem); }
  .ticker { margin-top: 34px; }
  .ticker li { padding: 10px 14px; font-size: .82rem; }
  .section { padding-block: 58px; }
  .grid { grid-template-columns: 1fr; }
  .audience ul { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .price-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker { mask-image: none; }
  .track { width: auto; animation: none; }
  .ticker ul { flex-wrap: wrap; justify-content: center; padding: 0 14px; }
  .ticker ul[aria-hidden] { display: none; }
  .cta { transition: none; }
}

@media (max-width: 900px) {
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas: "contact contact" "credibility branding" "credibility devices";
  }
}
@media (max-width: 580px) {
  .benefit-section { width: calc(100% - 30px); }
  .benefits { grid-template-columns: 1fr; grid-template-areas: "credibility" "contact" "branding" "devices"; gap: 14px; margin-top: 38px; }
  .credibility, .branding { gap: 22px; }
  .credibility-art { height: 176px; }
  .contact { flex-direction: column; align-items: stretch; padding-bottom: 0 !important; }
  .contact > div { width: auto; }
  .contact-art { position: static; width: min(100%, 280px); align-self: center; margin-top: 15px; }
  .brand-art img { width: 45px; }
}

.lead-shell { width: min(510px, calc(100% - 32px)); margin: 40px auto; padding: clamp(20px, 5vw, 36px); background: #171717; border: 1px solid var(--line); border-radius: 22px; }
.lead-back { display: inline-block; margin-bottom: 24px; color: var(--accent); }
.lead-shell h1 { margin: 20px 0 12px; font-size: clamp(2rem, 7vw, 2.95rem); text-wrap: wrap; }
.lead-form { display: grid; gap: 16px; margin-top: 22px; }
.lead-form label { display: grid; gap: 6px; font-weight: 650; }
.lead-form input:not([type="hidden"]), .lead-form select { width: 100%; padding: 13px; background: #0c0c0c; border: 1px solid #ffffff36; border-radius: 10px; color: var(--text); font: inherit; font-weight: 400; }
.lead-form :is(input,select,button):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lead-form button { width: 100%; border: 0; cursor: pointer; font-family: inherit; font-size: .95rem; }
#lead-privacy { font-size: .85rem; }
.form-link { display: inline-block; margin-top: 14px; text-decoration: underline; text-underline-offset: 4px; }
.form-link:hover { color: var(--accent); }



.project-preview { display: block; width: 100%; padding: 0; color: inherit; background: #1d1d1d; border: 0; text-align: inherit; cursor: pointer; }
.project-preview:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.project-preview img { display: block; transition: filter .2s ease; }
.project-preview:hover img { filter: brightness(.82); }
.project-card-header { display: grid; text-align: left; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title icon" "action icon"; align-items: center; gap: 4px 14px; min-height: 67px; padding: 12px 17px; background: #171717; }
.project-card-title { grid-area: title; color: var(--muted); font: 1.03rem/1.3 "IBM Plex Serif", Georgia, serif; }
.project-card-action { grid-area: action; color: #a4a4aa; font: 400 .72rem/1.25 Inter, "Segoe UI", sans-serif; }
.project-card-icon { grid-area: icon; color: #a4a4aa; font-size: 1.3rem; line-height: 1; }
.project-preview:is(:hover, :focus-visible) :is(.project-card-action, .project-card-icon) { color: var(--accent); }
.projects .grid { align-items: start; }
.project-dialog { width: min(1140px, calc(100% - 28px)); height: calc(100dvh - 24px); max-height: none; padding: 0; border: 1px solid #4b4b4b; border-radius: 14px; color: var(--text); background: #171717; overflow: hidden; }
.project-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.project-dialog::backdrop { background: #000c; }
body:has(.project-dialog[open]) { overflow: hidden; }
.project-dialog header { padding: 12px 16px; gap: 12px; background: #171717; }
.project-dialog h2 { font-size: clamp(1rem, 2.3vw, 1.35rem); letter-spacing: 0; text-wrap: wrap; }
.project-dialog p { font-size: .82rem; margin-top: 4px; }
.project-dialog header button { flex: none; min-height: 42px; background: #292929; border: 1px solid #505050; border-radius: 8px; padding: 8px 12px; color: var(--text); font: inherit; cursor: pointer; }
.project-dialog header button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.project-dialog iframe { width: 100%; height: 100%; border: 0; background: #fff; }
@media (max-width: 520px) {
  .project-dialog { width: calc(100% - 12px); height: calc(100dvh - 12px); }
  .project-dialog header { flex-wrap: nowrap; justify-content: space-between; padding: 10px; }
}
