.home-b { --heading: "IBM Plex Sans", Arial, sans-serif; --body: "IBM Plex Sans", Arial, sans-serif; }
:root { --data: var(--body); --photo-filter: grayscale(1); --photo-blend: luminosity; }
.home-b { --data: "IBM Plex Mono", Consolas, monospace; }

body { font-size: 17px; }
h1, h2, h3 { font-weight: 500; letter-spacing: normal; line-height: 1.12; }
.hero h1 { font-size: clamp(47px, 4.15vw, 64px); }
.home-b .hero h1 { font-size: clamp(46px, 4.4vw, 64px); }
h2 { font-size: clamp(35px, 3.5vw, 53px); }
h3 { font-size: clamp(23px, 2.1vw, 29px); }
.button, .text-link, .card-link, .nav a { font-weight: 600; }
.section-heading > p { font-size: 17px; }
.foot-main h2 { font-size: 16px; }
.nav [aria-current="location"] { color: var(--deep); text-decoration: underline; text-underline-offset: 6px; }
.nav { gap: 22px; }
.nav .internal-link { display: inline-flex; gap: 6px; align-items: center; padding-left: 14px; border-left: 1px solid var(--line); color: var(--deep); }
.internal-link svg { flex: none; }
.header { position: sticky; top: 0; }
.footer address { font: inherit; color: var(--wash); font-size: 15px; }
.foot-main a:not(.brand), .foot-main p { font-size: 15px; }
.foot-main > div { min-width: 0; }
.footer a, .ready-mail a { overflow-wrap: anywhere; }
.hero:not(.hero-alt) .hero-copy > p:not(.location) { color: var(--wash); }
.hero-alt .hero-copy > p:not(.location) { color: var(--muted); }
.hero-copy { max-width: 620px; }
.hero-alt .location { color: var(--deep); }
.hero-image { background: var(--ink); }
.hero-alt .hero-image { background: var(--ink); }
.home-b .hero-alt .hero-image img { object-position: center 35%; }
.photo-tone { background: var(--ink); isolation: isolate; }
.photo-tone img { filter: var(--photo-filter); mix-blend-mode: var(--photo-blend); }
.coverage-cta { color: var(--deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.service-grid { grid-auto-rows: 1fr; align-items: stretch; }
.service-grid:has(.service-details[open]) { grid-auto-rows: auto; }
.service-details { display: block; min-height: 0; padding: 0; }
.service-details summary { display: grid; grid-template-rows: auto auto 1fr auto; align-items: start; min-height: 228px; list-style: none; cursor: pointer; padding: 21px 21px 15px; }
.service-details:not([open]) summary { height: 100%; }
.service-details summary::-webkit-details-marker { display: none; }
.service-title { font: 500 26px/1.13 var(--heading); }
.service-intro { font-size: 16px; color: var(--muted); margin-top: 9px; }
.service-details .card-link { margin: 4px 0 0; align-self: end; padding-top: 0; }
.service-expand { border-top: 1px solid var(--line); padding: 13px 21px 16px; }
.service-expand p { color: var(--muted); font-size: 16px; margin: 0; }
.service-expand p + p { margin-top: 8px; }
.plus { width: 13px; height: 13px; flex: none; position: relative; }
.plus::before, .plus::after { content: ""; position: absolute; inset: 6px 0 auto; height: 1.5px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
.service-details[open] .plus::after { display: none; }
.service-details summary:focus-visible { outline-offset: -5px; }

.project-grid { align-items: start; }
.project-image { position: relative; margin: 0; }
.simulado { position: absolute; right: 8px; bottom: 8px; padding: 4px 8px; color: var(--paper); background: var(--ink); font: 600 12px/1.35 var(--body); }
.project-copy { padding-bottom: 16px; }
.project-copy details p { font-size: 16px; color: var(--muted); }
.project-copy details summary { min-height: 44px; }
.project-copy .eyebrow { color: var(--deep); }
.home-b .portfolio .project-copy .eyebrow { color: var(--deep); }
.home-b .portfolio .filters :focus-visible { outline-color: var(--wash); }
.home-b .portfolio .section-action .outline { background: transparent; color: var(--paper); border-color: var(--wash); }
.home-b .portfolio .section-action .outline:hover { background: var(--wash); color: var(--ink); }
.works-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 30px; margin-bottom: 18px; align-items: center; }
.works-title .eyebrow { color: var(--wash); }
.works-title > p:last-child { color: var(--wash); margin-top: 11px; font-size: 18px; }
.works-header .filters { grid-column: 1; margin-bottom: 0; }
.works-total { grid-column: 2; grid-row: 1 / 3; width: max-content; border: 1px solid var(--border); border-left: 4px solid var(--wash); border-radius: 4px; padding: 12px 22px 14px; background: var(--hover); color: var(--wash); font-weight: 600; line-height: 1.15; }
.works-total span { display: block; }
.works-total .works-total-number { display: flex; align-items: baseline; gap: 7px; margin-bottom: 3px; color: var(--paper); }
.works-total-number strong { font: 600 clamp(31px, 5vw, 58px)/1 var(--heading); }
.catalog-hero { padding-block: 22px 14px; }
.catalog-hero .crumb { margin-bottom: 14px; }
.catalog-hero h1 { font-size: clamp(36px, 5vw, 66px); }
.catalog-intro { color: var(--wash); font-size: 18px; margin-top: 9px; }
.catalog { padding-top: 12px; border-top: 0; }
.catalog-controls { display: flex; gap: 12px 25px; align-items: end; flex-wrap: wrap; }
.catalog-controls .busca-obras { display: block; flex: 1 1 250px; font-weight: 600; max-width: 440px; }
.catalog-controls #busca-obras { width: 100%; }
.catalog-controls .filters { margin-bottom: 18px; }
.catalog #status-obras { margin-bottom: 11px; font-size: 15px; }
.home-b .catalog .busca-obras { color: var(--wash); }
.home-b .catalog :focus-visible { outline-color: var(--wash); }
.home-b .catalog .project-card :focus-visible { outline-color: var(--brand); }
.case-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 5px 0 10px; border-top: 1px solid var(--line); }
.case-facts > div { padding: 6px 4px; border-bottom: 1px solid var(--line); min-width: 0; }
.case-facts dt { font-weight: 600; font-size: 15px; }
.case-facts dd { font: 400 14px/1.4 var(--data); color: var(--muted); overflow-wrap: anywhere; }
.case-facts .wide { grid-column: 1 / -1; }
.project-copy .case-caption { margin-top: 14px; font-size: 14px; }

.team-section { background: var(--neutral); border-block: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.team-grid article { background: rgb(252 252 252 / .42); border: 1px solid var(--line); padding: 17px 13px; }
.team-grid h3 { font-size: 17px; line-height: 1.25; }
.team-grid article p { margin-top: 8px; }
.team-role { color: var(--deep); font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.training { display: grid; grid-template-columns: .95fr 1.25fr; gap: 36px; padding-top: 31px; }
.training > div > p { margin-top: 8px; }
.training-photo { margin-top: 15px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.training-photo img { width: 100%; height: auto; aspect-ratio: 8 / 5; }
.training dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 19px; }
.training dl > div { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border-top: 1px solid var(--line); padding: 11px 6px; }
.training dt { color: var(--deep); font: 600 16px/1.35 var(--body); }
.training dd { color: var(--muted); margin-top: 2px; font-size: 16px; }
.home-b .training dt { font: 400 15px/1.4 var(--data); }

.contact-grid { display: grid; grid-template-columns: 1.38fr .62fr; gap: 45px; }
.contact-grid form { gap: 14px; margin: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.contact-grid label { display: grid; gap: 4px; font-size: 16px; font-weight: 600; }
.contact-grid input, .contact-grid select, .contact-grid textarea { font-size: 17px; min-height: 46px; }
.contact-grid textarea { resize: vertical; }
.contact-grid button { justify-self: start; }
.privacy-note { color: var(--muted); font-size: 16px; }
.privacy-note a, .privacy-pop a, .contact-info a { color: var(--deep); text-decoration: underline; text-underline-offset: .19em; }
.contact-info { display: grid; align-content: start; justify-items: start; gap: 10px; padding: 20px; border: 1px solid var(--line); background: var(--neutral); }
.contact-info a { display: inline-flex; gap: 6px; align-items: center; }
.contact-info address { margin-top: 6px; font-style: normal; color: var(--muted); }
.quote-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.quote-feedback { background: var(--wash); border: 1px solid var(--border); padding: 11px 13px; }
.quote-feedback[data-state="error"] { background: var(--paper); border-color: var(--deep); }
#orcamento [aria-invalid="true"] { outline: 2px solid var(--deep); outline-offset: 1px; }
#orcamento button[disabled] { cursor: wait; opacity: .7; }
.privacy-pop { width: min(calc(100% - 30px), 620px); }
.privacy-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.privacy-top h2 { font-size: clamp(25px, 4.5vw, 36px); margin: 0; }
.privacy-top .button { flex: none; min-height: 44px; padding-inline: 12px; }
.privacy-pop p + p { margin-top: 12px; }
.privacy-pop a { overflow-wrap: anywhere; }
html:has(.privacy-pop[open]) { overflow: hidden; }

.review-head { background: var(--ink); padding-block: 14px; }
.review h1 { font-size: clamp(38px, 5vw, 63px); margin-bottom: 8px; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.review-grid article { border: 1px solid var(--border); padding: 23px; }
.review-grid article p { margin-block: 9px 15px; }
.review-a { background: var(--ink); color: var(--paper); }
.review-a :focus-visible { outline-color: var(--wash); }
.review-b { background-color: var(--neutral); background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px), linear-gradient(var(--line) 1px, transparent 1px); background-size: 40px 40px; --heading: "IBM Plex Sans", Arial, sans-serif; --body: "IBM Plex Sans", Arial, sans-serif; }
.review-admin a { color: var(--deep); text-decoration: underline; text-underline-offset: .2em; }

@media (prefers-reduced-motion: no-preference) {
  [data-reveal].espera-revelar { opacity: 0; transform: translateY(15px); }
  [data-reveal].revelado { animation: revelar .44s ease-out both; }
}
@keyframes revelar {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 761px) and (max-width: 1030px) {
  .header-cta { display: none; }
  .header-inner { gap: 14px; }
  .nav { gap: 15px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 83px; }
  .hero h1, .home-b .hero h1 { font-size: clamp(40px, 9.4vw, 53px); }
  .hero-copy > p:not(.location) { font-size: 17px; }
  .nav .internal-link { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .service-details { display: block; padding: 0; }
  .service-details summary { min-height: 142px; padding: 13px; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 4px 10px; }
  .service-details .service-icon { grid-row: span 2; }
  .service-details .card-link { margin: 0; grid-column: 2; }
  .service-title { font-size: 23px; }
  .service-intro { margin-top: 0; }
  .service-expand { padding-inline: 13px; }
  .works-header { grid-template-columns: 1fr; gap: 14px; }
  .works-total { grid-column: 1; grid-row: 2; padding: 9px 14px 11px; }
  .works-header .filters { grid-row: 3; }
  .catalog-hero { padding-block: 16px 12px; }
  .catalog { padding-top: 10px; }
  .team-grid { grid-template-columns: 1fr; gap: 8px; }
  .team-grid article { padding: 11px; }
  .training, .contact-grid, .review-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .training { padding-top: 22px; }
  .training dl { gap: 0 11px; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .contact-info { padding: 14px; }
  .privacy-pop .dialog-inner { padding: 17px; }
}
@media (max-width: 355px) {
  .hero h1, .home-b .hero h1 { font-size: 36px; }
}
