@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f4eb;
  --ink: #14211d;
  --blue: #213bd8;
  --night: #111c66;
  --lime: #e3ff38;
  --line: #bdbfb4;
  --gutter: clamp(1.2rem, 5vw, 5.2rem);
  --section: clamp(3rem, 7vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 12px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.52 "Space Grotesk", Arial, sans-serif; }
a { color: inherit; text-underline-offset: .19em; }
img { display: block; max-width: 100%; }
img, a { -webkit-user-drag: none; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 650; line-height: 1.02; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(3.4rem, 6.4vw, 6.9rem); letter-spacing: -.072em; }
h2 { font-size: clamp(2.1rem, 3.7vw, 4rem); letter-spacing: -.058em; }
h3 { font-size: clamp(1.45rem, 2.1vw, 2.2rem); letter-spacing: -.044em; }
em { font-style: normal; }
.mast, .foot, .hero-blue, .proof { --focus: var(--lime); }
:focus-visible { outline: 3px solid var(--focus, var(--blue)); outline-offset: 4px; }
main:focus { outline: none; }
.skip { position: fixed; top: -100px; left: var(--gutter); z-index: 12; padding: .75rem 1rem; color: var(--ink); background: var(--lime); }
.skip:focus { top: 8px; }
.frame { max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }
.mast { position: relative; z-index: 5; background: var(--night); color: white; }
.mast-line, .foot-line { display: flex; align-items: center; gap: clamp(.7rem, 2.5vw, 3rem); }
.mast-line { min-height: 76px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 144px; height: auto; }
.desk-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.9rem); }
.desk-nav a, .mob-nav nav a, .foot nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 560; text-decoration: none; }
.desk-nav a:hover, .foot a:hover, .mob-nav nav a:hover, .desk-nav a[aria-current], .mob-nav a[aria-current] { text-decoration: underline; text-underline-offset: .34em; }
.mob-nav { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 46px; padding: .75rem 1.2rem; border-radius: 3rem; border: 1px solid transparent; font: 650 .98rem/1.15 "Space Grotesk", Arial, sans-serif; text-align: center; text-decoration: none; cursor: pointer; }
.button::after { content: "→" / ""; font: 650 1.09em/1 Arial, sans-serif; }
.button-lime { background: var(--lime); color: #11201a; border-color: #cce82c; }
.button-blue { background: var(--blue); color: white; }
.button:hover { box-shadow: inset 0 0 0 2px currentColor; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.text-link::after { content: "→" / ""; margin-left: .45rem; text-decoration: none; }
.hero { background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.75rem, 5vw, 6rem); padding-block: clamp(2rem, 4vw, 4.5rem); }
.hero-copy { padding-block: .7rem; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: clamp(1rem, 2vw, 1.8rem); font-size: .88rem; font-weight: 650; }
.eyebrow::before { content: ""; display: inline-block; width: .62rem; height: .62rem; background: currentColor; clip-path: polygon(0 45%, 45% 45%, 45% 0,100% 0,100% 100%,0 100%); }
.hero h1 { max-width: 11ch; }
.hero h1 em, .hero-paper .eyebrow { color: var(--blue); }
.hero .lead { margin-top: clamp(1rem, 2vw, 1.8rem); font-size: clamp(1.05rem, 1.3vw, 1.4rem); line-height: 1.45; max-width: 40ch; }
.hero .button, .hero .text-link { margin: 1.25rem .5rem 0 0; }
.hero-art { overflow: hidden; background: #e7e5d9; aspect-ratio: 5 / 4; }
.hero-art img, .proof-grid figure img { height: 100%; width: 100%; object-fit: cover; }
.hero-blue { color: var(--paper); background: var(--blue); }
.hero-blue h1 em, .hero-blue .eyebrow, .hero-blue .text-link { color: var(--lime); }
.hero-contact { background: #e9eddb; }
.hero-quiet { background: #e9eadd; }
.hero-map { background: #dce6ff; }
.hero-contact .hero-art, .hero-quiet .hero-art, .hero-map .hero-art { aspect-ratio: 1.55; }
.hero-state .hero-grid { min-height: min(68svh, 50rem); }
.offer-list, .split-reading, .contact-sheet, .directory, .policy { padding-block: var(--section); }
.offer-list, .split-reading, .contact-sheet, .directory { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(2rem, 8vw, 9rem); align-items: start; }
.offer-list, .contact-sheet, .directory, .policy { border-top: 1px solid var(--line); }
.deliveries { border-top: 2px solid var(--ink); }
.deliveries article { padding-block: 1.4rem 1.65rem; }
.deliveries article + article { border-top: 1px solid var(--line); }
.deliveries p, .contact-sheet p, .policy p, .accordions details > div p, .profile p, .proof-copy p { max-width: 54ch; line-height: 1.53; font-size: clamp(1.03rem, 1.16vw, 1.25rem); }
.deliveries p, .contact-sheet h2 + p, .policy p { margin-top: .75rem; }
.proof { background: var(--blue); color: var(--paper); }
.proof-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: clamp(2rem, 4.5vw, 5rem); }
.proof-grid figure { overflow: hidden; aspect-ratio: 1.35; }
.proof-copy h2 { max-width: 13ch; }
.proof-copy p { margin-top: 1.2rem; max-width: 35ch; }
.proof-copy .text-link { margin-top: .8rem; }
.proof h2 em, .proof .text-link { color: var(--lime); }
.scene-band { background: #e6e9d9; }
.scene-band .proof-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.scene-band .proof-grid figure { aspect-ratio: 1.63; }
.split-reading h2 { max-width: 13ch; }
.split-reading .button { margin-top: 1.5rem; }
.accordions { border-top: 2px solid var(--ink); }
.accordions details { border-bottom: 1px solid var(--line); }
.accordions summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.08rem 0; font-size: clamp(1rem, 1.45vw, 1.42rem); font-weight: 600; line-height: 1.23; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.accordions summary::after { content: "+"; font-size: 1.35em; color: var(--blue); flex-shrink: 0; }
.accordions details[open] summary::after { content: "−"; }
.accordions details > div { padding: 0 1.5rem 1.25rem 0; }
.accordions .text-link { margin-top: .5rem; }
.profile .body-lead { font-size: clamp(1.35rem, 2vw, 2.1rem); line-height: 1.27; letter-spacing: -.03em; margin-bottom: 1rem; }
.profile .text-link { margin-top: .8rem; }
/* An invitation from the team pairs its promise with the working contact route. */
.contact-band { background: var(--blue); color: var(--paper); --focus: var(--lime); }
.contact-invite {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;
  max-width:76rem;gap:clamp(1.5rem,5vw,5rem);padding-block:clamp(2.5rem,5.7vw,5.5rem);
}
.contact-invite h2 { font-size:clamp(2.55rem,5vw,5.6rem); max-width:12ch; }
.contact-invite h2 em { display:block;color:var(--lime); }
.invite-action { justify-self:start; }
.invite-faces { display:flex;align-items:center;margin-bottom:.65rem; }
.invite-faces img { width:2.25rem;height:2.25rem;border:2px solid var(--blue);border-radius:.35rem;image-rendering:pixelated; }
.invite-faces img + img { margin-left:-.28rem; }
.contact-band p { font-size:clamp(1rem,1.4vw,1.32rem);line-height:1.4;font-weight:520; }
.contact-band .button { margin-top:1rem; }
.contact-sheet > div p { max-width: 30ch; }
.contact-sheet form { display: grid; align-items: start; }
.contact-sheet form > label { font-weight: 650; margin: 1.1rem 0 .35rem; }
.contact-sheet form > label:first-of-type { margin-top: 0; }
.contact-sheet input:not([type=hidden]), .contact-sheet textarea { width: 100%; border: 1px solid #777c73; border-radius: 4px; background: #fffefa; color: var(--ink); font: inherit; font-size: 1.03rem; padding: .72rem .85rem; }
.contact-sheet textarea { resize: vertical; min-height: 130px; }
.contact-sheet form .button { justify-self: start; margin-top: 1.1rem; }
.contact-sheet .form-note { font-size: .88rem; }
.form-note a { display: inline-flex; align-items: center; min-height: 44px; }
#send-status:not(:empty) { padding-block: .6rem; font-weight: 650; }
.policy { padding-top: 0; }
.policy > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: .25rem clamp(2rem, 8vw, 9rem); align-items: start; padding-block: clamp(1.8rem, 4vw, 4rem); border-bottom: 1px solid var(--line); }
.policy h2 { max-width: 16ch; font-size: clamp(1.55rem, 2.7vw, 2.7rem); }
.policy p { margin: 0; }
.policy .text-link { grid-column: 2; justify-self: start; }
.directory { padding-block: clamp(2rem, 5vw, 5.2rem); }
.directory h2 { max-width: 13ch; }
.directory ul { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.directory li { border-bottom: 1px solid var(--line); }
.map-link { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem .15rem; text-decoration: none; }
.map-link strong, .map-link small { display: block; }
.map-link strong { font-size: clamp(1.18rem, 1.6vw, 1.55rem); line-height: 1.25; }
.map-link small { font-size: .96rem; margin-top: .2rem; }
.map-link .arrow { color: var(--blue); font-size: 1.5rem; }
.map-link:hover strong { color: var(--blue); text-decoration: underline; }
.foot { background: var(--night); color: white; }
.foot-line { justify-content: space-between; padding-block: 1.8rem; }
.foot nav { display: flex; flex-wrap: wrap; column-gap: clamp(.9rem, 2.1vw, 2.5rem); }
.foot nav a { font-size: .94rem; }
@media (max-width: 820px) {
  .mast-line { min-height: 64px; gap: .65rem; }
  .mast .brand img { width: clamp(102px, 20vw, 140px); }
  .desk-nav { display: none; }
  .mob-nav { display: block; margin-left: auto; }
  .mob-nav summary { display: grid; place-content: center; gap: 5px; list-style: none; width: 44px; height: 44px; cursor: pointer; }
  .mob-nav summary span { width: 20px; height: 2px; background: currentColor; }
  .mob-nav[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .mob-nav[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mob-nav nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: .5rem var(--gutter) .85rem; background: var(--night); border-top: 1px solid #6770a1; }
  .mast .button { font-size: .88rem; min-height: 44px; padding: .7rem .9rem; }
  .foot-line { align-items: flex-start; }
}
@media (max-width: 670px) {
  .hero-grid, .proof-grid, .scene-band .proof-grid, .offer-list, .split-reading, .contact-sheet, .directory, .policy > div { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 1.4rem; padding-block: 1.7rem 1.3rem; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(2.65rem, 10.1vw, 4.25rem); }
  .hero h1 { max-width: 13ch; }
  .hero .lead { margin-top: .85rem; max-width: 38ch; }
  .hero .button, .hero .text-link { margin-top: .7rem; }
  .eyebrow { margin-bottom: .75rem; }
  .hero-art { aspect-ratio: 1.3; }
  .hero-contact .hero-art, .hero-quiet .hero-art, .hero-map .hero-art { aspect-ratio: 1.62; }
  .hero-state .hero-grid { min-height: 0; }
  .proof-grid { gap: 1.5rem; }
  .proof-copy p { margin-top: .85rem; }
  .offer-list, .split-reading, .contact-sheet, .directory { gap: 1.5rem; }
  .policy > div { gap: .75rem; }
  .policy .text-link { grid-column: 1; }
  .proof-copy h2, .contact-sheet h2, .split-reading h2, .directory h2, .policy h2 { max-width: 19ch; }
  .foot-line { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .foot nav { gap: 0 1.1rem; }
  .foot .brand img { width: 120px; }
}
@media (max-width: 350px) {
  .mast-line { gap: .22rem; padding-inline: .65rem; }
  .mast .brand img { width: 96px; }
  .mast .button { padding-inline: .7rem; font-size: .8rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .map-link strong { transition: color 140ms, box-shadow 140ms; }
}
@media (forced-colors: active) {
  .button { border: 2px solid ButtonText; }
  .mob-nav summary span { background: ButtonText; }
}

/* The four illustrated signs are links. The route belongs to the printed map. */
.route-map { background: #dce6ff; }
.route-map > .frame { padding-block: clamp(2rem, 4vw, 4.5rem); }
.map-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.4rem; margin-bottom: clamp(1.4rem, 2.5vw, 2.7rem); }
.map-heading h1 { font-size: clamp(3.2rem, 5.4vw, 5.65rem); max-width: 16ch; }
.map-heading em { color: var(--blue); }
.map-heading .lead { max-width: 24ch; margin-bottom: .35rem; font-size: clamp(1.03rem, 1.3vw, 1.3rem); }
.map-exploration { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(2.4rem,6vw,7rem); align-items: center; }
.map-board { background: #172453; position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1; }
.map-board > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.map-pins { position: absolute; inset: 0; }
.pin { position: absolute; display: grid; align-content: end; justify-items: center; min-height: max(44px,13%); text-decoration: none; transform: translate(-50%,-60%); z-index: 2; }
.pin-inicio { left: 71%; top: 74%; }
.pin-servico { left: 27%; top: 31%; }
.pin-portfolio { left: 70%; top: 39%; }
.pin-orcamento { left: 24%; top: 64%; }
.pin-dot { display: none; }
.pin-label { padding: .45rem .62rem; background: var(--night); color: white; border: 1px solid #a8aff7; font-size: clamp(.8rem,1.16vw,1.1rem); font-weight: 620; line-height: 1.1; }
.pin:hover .pin-label, .pin:focus-visible .pin-label { background: var(--lime); color: var(--night); }
.map-exploration .directory { padding: 0; display: block; border-top: 0; }
.map-exploration .directory ul { margin-top: 1.45rem; }
.map-exploration .directory li { border-color: #94a0ba; }
@media (min-width: 671px) {
  .sobre .hero-grid { grid-template-columns: 1.08fr .92fr; }
  .sobre .hero-art { grid-column: 1; grid-row: 1; }
  .sobre .hero-copy { grid-column: 2; grid-row: 1; }
  .sobre .scene-band .proof-copy { grid-column: 1; grid-row: 1; }
  .sobre .scene-band figure { grid-column: 2; grid-row: 1; }
  .sobre .scene-band .proof-grid { grid-template-columns: .72fr 1.28fr; }
  .privacidade .hero-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .privacidade .hero-art { aspect-ratio: 1.25; }
  .privacidade .hero h1 { max-width: 14ch; }
  .contato .hero-grid { grid-template-columns: 1fr .78fr; }
  .contato .hero h1 { max-width: 12ch; }
  .contato .hero .lead { max-width: 43ch; }
  .recebido .hero-art { grid-column: 1; grid-row: 1; }
  .recebido .hero-copy { grid-column: 2; grid-row: 1; }
}
@media (max-width: 670px) {
  .map-heading { display: block; }
  .map-heading h1 { font-size: clamp(2.65rem, 10vw, 4.25rem); }
  .map-heading .lead { max-width: 32ch; margin-top: .85rem; }
  .map-exploration { grid-template-columns: minmax(0,1fr); gap: 2.4rem; }
  .pin-label { padding: .4rem .5rem; }
}
.mast .button { white-space: nowrap; }
@media (max-width: 820px) {
  .mast .brand, .mast .button, .mob-nav { flex-shrink: 0; }
  .mast .button { gap: .35rem; }
}
@media (max-width: 389px) {
  .mast .button::after { content: none; }
  .mast .button { padding-inline: .55rem; font-size: .81rem; }
}


/* Nonbreaking units are limited to short names and the e-mail label. */
.unidade { white-space:nowrap; }
h3, main .lead, main .body-lead, main summary, .map-link strong, .map-link small { text-wrap:balance; }
main p { text-wrap:pretty; }
.hero .lead { max-width:min(43ch,100%); }
.policy p, .deliveries p { max-width:53ch; }
.profile .body-lead { max-width:33ch; }
.hero h1 em, .proof-copy h2 em { display:inline-block;max-width:100%; }
@media (max-width:670px) {
  .contact-invite { grid-template-columns:1fr;gap:1.25rem; }
  .contact-invite h2 { max-width:none; }
  .invite-faces { margin-bottom:.35rem; }
  .contact-band .button { margin-top:.75rem; }
}

/* Keep each phrase readable as the desktop grids first come into view. */
@media (min-width:671px) and (max-width:860px) {
  .hero-grid { column-gap: clamp(1.5rem, 3vw, 2rem); }
  .hero h1, .map-heading h1 { font-size: clamp(2.4rem, 5.25vw, 3rem); max-width: 100%; }
  .offer-list, .split-reading, .contact-sheet, .directory { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 4vw; }
  .map-exploration { column-gap: 1.5rem; }
  .map-exploration .directory h2 { font-size: 1.95rem; }
  .split-reading h2 { max-width: 100%; font-size: clamp(1.75rem,3.6vw,2.1rem); }
  .sobre .scene-band .proof-grid { grid-template-columns: .9fr 1.1fr; gap: 2rem; }
}
.contato .hero h1 { max-width: 100%; }
@media (max-width:350px) {
  .contato .hero h1 { font-size: 2.5rem; }
}
.profile p, .proof-copy p, .policy p, .deliveries p, .accordions p, .contact-sheet p { text-wrap: balance; }

a[href^="#"].text-link::after, a[href^="#"].button::after {content:"↓" / ""}
a[href^="https://"].text-link::after {content:"↗" / ""}
button[type="submit"].button::after {content:none}
