:root {
  color-scheme: dark;
  --obsidian: #0b0d10; --blue: #0077ff; --white: #f5f5f5; --graphite: #475569;
  --blue-text: #68adff; --muted: #b2bdcc; --line: #323a46; --surface: #11151c;
  --display: 'Space Grotesk', system-ui, sans-serif; --body: Inter, system-ui, sans-serif;
  --gutter: clamp(1.1rem, 5vw, 5.5rem); --section: clamp(3.75rem, 7vw, 7.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--obsidian); color: var(--white); font: 1rem/1.63 var(--body); }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, ol, ul { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 4px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 5; top: .8rem; left: .8rem; background: var(--white); color: var(--obsidian); padding: .7rem 1rem; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 85rem); margin-inline: auto; }
.section { padding-block: var(--section); }
.surface { background: var(--surface); border-block: 1px solid #292f39; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.044em; line-height: 1.05; }
h1 { font-size: clamp(3.25rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2.5rem, 4.9vw, 5.1rem); }
h3 { font-size: clamp(1.38rem, 2.1vw, 2.15rem); }
.eyebrow { color: var(--blue-text); text-transform: uppercase; letter-spacing: .115em; font-size: .77rem; line-height: 1.35; font-weight: 700; }
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3 { margin-top: .75rem; }
.lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.2rem; }
.button, .text-link { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; width: fit-content; max-width: 100%; padding: .62rem .95rem; font-size: .89rem; line-height: 1.35; text-align: center; text-decoration: none; font-weight: 700; border: 1px solid transparent; }
.button-primary { background: var(--blue); border-color: var(--blue); color: var(--obsidian); }
.button-primary:hover { background: var(--blue-text); border-color: var(--blue-text); }
.button-primary:disabled { opacity: .6; cursor: default; }
.button-outline { background: transparent; color: var(--white); border-color: #718198; }
.button-outline:hover { background: #202732; }
.text-link { padding-inline: 0; justify-content: start; text-align: left; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .27em; color: var(--white); }
.text-link:hover { color: var(--blue-text); }
.text-link span { color: var(--blue-text); }
.text-button { background: none; }
.fine { color: var(--muted); font-size: .86rem; }

.header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 5rem; }
.identity { display: inline-flex; align-items: center; min-height: 2.75rem; }
.identity img { width: clamp(9.2rem, 14vw, 11.25rem); height: auto; }
.header nav { display: flex; align-items: center; gap: clamp(.68rem, 1.65vw, 1.8rem); }
.header nav a:not(.button) { display: flex; align-items: center; min-height: 2.75rem; font-size: .89rem; white-space: nowrap; text-decoration: none; }
.header nav a:not(.button):hover { text-decoration: underline; text-underline-offset: .25rem; }
.header nav .button { white-space: nowrap; }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(1.4rem, 4vw, 5.2rem); align-items: center; padding-block: clamp(3.4rem, 6vw, 6.4rem) clamp(2.4rem, 5vw, 4.8rem); }
.hero h1 { max-width: 12ch; }
.hero em { color: var(--blue-text); font-style: normal; }
.hero .lead { margin-block: 1.25rem 1.4rem; }
.hero-work { position: relative; isolation: isolate; min-width: 0; aspect-ratio: 1.12; background-color: #11151c; background-image: linear-gradient(#28303d70 1px, transparent 1px), linear-gradient(90deg, #28303d70 1px, transparent 1px); background-size: 2.1rem 2.1rem; border: 1px solid var(--line); }
.browser { overflow: hidden; min-width: 0; border: 1px solid #4e5c70; background: #151a23; box-shadow: 0 .65rem 1.6rem #07090d80; }
.browser-bar { min-height: 1.65rem; display: flex; align-items: center; gap: .55rem; padding: .19rem .58rem; color: #d3dae5; font-size: clamp(.62rem, 1.1vw, .72rem); border-bottom: 1px solid #424d60; white-space: nowrap; }
.browser-bar > span:first-child { width: .32rem; height: .32rem; flex: 0 0 .32rem; border-radius: 50%; background: #9cabc1; box-shadow: .49rem 0 #74849b, .98rem 0 #5e6c82; margin-right: .95rem; }
.browser img, .phone img { width: 100%; height: auto; object-fit: cover; object-position: top; }
.phone { border: 4px solid #1c2430; box-shadow: 0 0 0 1px #637187, 0 .8rem 1.6rem #07090da3; border-radius: .65rem; overflow: hidden; background: #182030; }
.hero-main { position: absolute; inset: 7% 11% auto 6%; }
.hero-apex { position: absolute; inset: auto 38% 7% 10%; }
.hero-phone { position: absolute; inset: auto 4% 7% auto; width: 28%; }
.hero-bottom { border-block: 1px solid var(--line); }
.hero-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1.1rem; padding-block: .8rem; color: var(--muted); font-size: .86rem; }
.hero-bottom span:nth-child(2) { color: var(--white); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(1.6rem, 4vw, 3.75rem); }
.section-head > div { flex: 1; }
.section-head > p { max-width: 32ch; color: var(--muted); }
.work-list { display: grid; gap: clamp(2.4rem, 5vw, 5.5rem); }
.work { display: grid; grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr); align-items: center; gap: clamp(1.4rem, 4vw, 4.8rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }
.work h3 { font-size: clamp(2rem, 4.15vw, 4.1rem); }
.work-copy > p:not(.eyebrow) { margin-top: .85rem; color: var(--muted); max-width: 38ch; }
.work-features { list-style: none; padding: 0; margin-block: .85rem .45rem; color: var(--white); font-size: .88rem; }
.work-features li { padding-left: .85rem; position: relative; margin-block: .25rem; }
.work-features li::before { content: ''; position: absolute; top: .63em; left: 0; width: .29rem; height: .29rem; background: var(--blue-text); }
.work-media { display: flex; position: relative; justify-content: start; align-items: start; padding: clamp(.65rem, 2.65vw, 2.5rem); min-width: 0; min-height: clamp(13.8rem, 32vw, 30rem); background: #18212f; }
.work-media .browser { width: 87%; }
.work-media .phone { position: absolute; width: 22%; bottom: 6%; right: 4%; }
.distrito { grid-template-columns: minmax(0, 1.27fr) minmax(0, .73fr); }
.distrito .work-copy { grid-column: 2; grid-row: 1; }
.distrito .work-media { grid-column: 1; grid-row: 1; background: #302b23; justify-content: end; }
.distrito .work-media .phone { right: auto; left: 4%; }
.vertice .work-media { background: #35322c; }

.split { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(1.8rem, 5.6vw, 6.5rem); align-items: start; }
.split .lead { margin-top: 1rem; }
.service-list, .steps, .faq { border-top: 1px solid var(--line); }
.service-list article { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.service-list p, .steps p, .benefits-grid p { color: var(--muted); margin-top: .38rem; }
.benefits > h2 { max-width: 17ch; }
.benefits-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem clamp(1rem, 3vw, 3rem); margin-top: clamp(1.5rem, 3.2vw, 3rem); }
.benefits-grid article { padding-top: 1rem; border-top: 1px solid var(--line); }
.benefits-grid h3 { font-size: clamp(1.22rem, 1.85vw, 1.7rem); }
.steps { padding: 0; list-style: none; counter-reset: etapa; }
.steps li { position: relative; padding: 1rem 0 1rem 3rem; border-bottom: 1px solid var(--line); counter-increment: etapa; }
.steps li::before { content: counter(etapa, decimal-leading-zero); position: absolute; top: 1rem; left: 0; color: var(--blue-text); font: 700 .95rem/1.5 var(--display); }
.offer { border: 1px solid var(--line); border-left: 4px solid var(--blue); background: #101622; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: end; gap: clamp(1.5rem, 5vw, 5rem); padding: clamp(1.35rem, 4.3vw, 4rem); }
.offer strong { color: var(--blue-text); white-space: nowrap; }
.offer .fine { margin-block: .7rem .95rem; }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .83fr); gap: clamp(1.5rem, 7vw, 7rem); align-items: center; padding-top: 0; }
.about div:nth-child(2) p + p { margin-top: .9rem; }
.about div:nth-child(2) { color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; min-height: 3.45rem; align-items: center; justify-content: space-between; gap: .65rem; padding-block: .45rem; list-style: none; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue-text); font-size: 1.25rem; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); padding: .05rem 1.25rem 1rem 0; }

.contact-location { color: var(--blue-text); font-size: .88rem; margin-top: 1rem; }
.form-panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(1rem, 3.4vw, 2.6rem); min-width: 0; }
.form-panel h3 { margin-bottom: 1.05rem; }
.form-panel .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .85rem; }
.form-panel label { display: block; min-width: 0; font-size: .88rem; font-weight: 650; margin-bottom: .8rem; }
.form-panel input, .form-panel select, .form-panel textarea { display: block; width: 100%; min-width: 0; min-height: 2.86rem; margin-top: .23rem; padding: .55rem .64rem; border: 1px solid #718198; border-radius: 0; background: var(--obsidian); color: var(--white); }
.form-panel input::placeholder, .form-panel textarea::placeholder { color: #aab6c6; }
.form-panel textarea { resize: vertical; }
.form-panel .fine { margin-bottom: .8rem; }
#revisao .actions { margin-top: .8rem; }
#status-copia { margin-top: .55rem; color: var(--blue-text); font-size: .89rem; }

.footer { background: #11151c; border-top: 1px solid var(--line); padding-block: 2.7rem 1.4rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3,minmax(0,1fr)); gap: 1.3rem; }
.footer h2 { font: 700 .88rem/1.35 var(--body); letter-spacing: 0; margin: .23rem 0 .45rem; }
.footer-grid p { color: var(--muted); font-size: .9rem; max-width: 35ch; margin-top: .4rem; }
.footer nav a, .footer-social a { display: flex; width: fit-content; max-width: 100%; align-items: center; min-height: 2.75rem; color: var(--muted); text-decoration: none; font-size: .88rem; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .65rem 1rem; border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: .9rem; color: var(--muted); font-size: .84rem; }

@media (max-width: 1000px) {
  .header-inner { position: relative; }
  .header nav { flex-wrap: wrap; }
  .menu-toggle { display: flex; align-items: center; gap: .6rem; min-height: 2.75rem; border: 1px solid #718198; background: transparent; color: var(--white); padding-inline: .7rem; font-weight: 650; }
  .menu-toggle span { width: .85rem; height: .55rem; border-block: 1px solid; }
  .menu-toggle:not([hidden]) + nav:not(.is-open) { display: none; }
  .header nav.is-open { display: grid; position: absolute; z-index: 4; top: calc(100% - 1px); left: 0; right: 0; gap: .1rem; background: var(--surface); border: 1px solid var(--line); padding: .55rem 1rem .9rem; }
  .header nav .nav-cta { margin-top: .3rem; }
  .hero { gap: 1.35rem; }
  .split { gap: 2rem; }
}
@media (max-width: 730px) {
  .header-inner { min-height: 4.25rem; }
  .hero, .split, .about, .offer { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 2.65rem; gap: 1.5rem; }
  .hero h1 { max-width: 14ch; font-size: clamp(2.9rem, 10vw, 5rem); }
  .hero .lead { margin-block: .85rem .8rem; }
  .hero-work { max-width: 34rem; width: 100%; aspect-ratio: 1.26; }
  .hero-main { inset: 6% 13% auto 6%; }
  .hero-phone { width: 25%; }
  .hero-apex { inset: auto 43% 5% 11%; }
  .section-head { display: block; }
  .section-head > p { margin-top: .7rem; }
  .work, .distrito { grid-template-columns: minmax(0,1fr); gap: .85rem; }
  .work .work-media { grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 1.4; }
  .work .work-copy { grid-column: 1; grid-row: 2; }
  .work-media .phone { width: 23%; }
  .benefits-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 445px) {
  .hero .actions { gap: .25rem .75rem; }
  .hero .actions > a { font-size: .83rem; }
  .hero-bottom .wrap { display: block; }
  .hero-bottom span { display: block; }
  .hero-bottom span + span { margin-top: .19rem; }
  .form-panel .fields { grid-template-columns: minmax(0,1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
