/* Bedrock Engenharia, proposta visual (mobile primeiro)
   Paleta tirada dos materiais da própria obra: gesso, placa de drywall,
   grafite da marcenaria, freijó e o laranja da marca. */
:root {
  --gesso: #ecedea;
  --placa: #d8dad6;
  --grafite: #1c1e21;
  --grafite-2: #26292d;
  --linha-escura: #3a3e43;
  --cinza: #5a5e63;
  --cinza-claro: #a7abb0;
  --freijo: #b07f55;
  --laranja: #e0703f;
  --laranja-escuro: #b9552a;

  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Hanken Grotesk", system-ui, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, monospace;

  --gutter: 20px;
  --header-h: 60px;
  --bar-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: var(--bar-h);
  background: var(--gesso);
  color: var(--grafite);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--laranja);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--grafite);
  color: #fff;
  padding: 10px 14px;
}

.skip:focus {
  left: 8px;
}

/* Tipografia */
h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(38px, 10.5vw, 92px);
}

h2 {
  font-size: clamp(30px, 8vw, 56px);
}

h3 {
  font-size: clamp(22px, 5.6vw, 30px);
  letter-spacing: -0.015em;
}

h4 {
  font-size: 21px;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cinza);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--laranja);
  flex: none;
}

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 2px;
  background: var(--gesso);
  color: var(--grafite);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

/* Botões e links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 3px;
  background: var(--laranja);
  color: var(--grafite);
  font: 600 16px/1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn::after {
  content: "→";
  transition: transform 0.2s ease;
}

.btn:hover {
  background: #ea8455;
}

.btn:hover::after {
  transform: translateX(3px);
}

/* Botão principal: fala direto no WhatsApp, com o ícone no lugar da seta */
.btn-wa::after {
  content: none;
}

.wa-icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}

.btn-sm .wa-icon {
  width: 18px;
  height: 18px;
}

.btn-sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--freijo);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s ease;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 var(--gutter);
  background: var(--gesso);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

body.is-scrolled .site-header {
  border-bottom-color: var(--placa);
}

.brand {
  flex: none;
  margin-right: auto;
}

.brand img {
  height: 28px;
  width: auto;
  mix-blend-mode: multiply;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: grid;
  gap: 6px;
  width: 44px;
  height: 44px;
  place-content: center;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--grafite);
  transition: transform 0.25s ease;
}

.site-header.nav-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.site-header nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  padding: 4px var(--gutter) 20px;
  background: var(--gesso);
  border-bottom: 1px solid var(--placa);
  box-shadow: 0 16px 30px rgba(28, 30, 33, 0.12);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.site-header.nav-open nav {
  transform: none;
  opacity: 1;
  visibility: visible;
}

.site-header nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--placa);
}

/* Hero */
.hero {
  display: grid;
  gap: 36px;
  padding: 28px var(--gutter) 56px;
}

.hero h1 .dot {
  color: var(--laranja);
}

.hero-lead {
  margin: 20px 0 28px;
  font-size: 17px;
  color: var(--cinza);
}

.hero-actions {
  display: grid;
  gap: 8px;
}

.hero-actions .link-arrow {
  justify-self: start;
}

/* No celular a barra fixa já oferece o orçamento; a foto sobe na tela */
.hero-actions .btn {
  display: none;
}

.hero .proof {
  display: none;
}

.hero-copy > .eyebrow {
  display: none;
}

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  list-style: none;
  margin: 32px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--placa);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cinza);
}

.proof li::before {
  content: "✓ ";
  color: var(--laranja);
}

/* Seções */
.section {
  padding: 64px var(--gutter);
}

.section.dark {
  background: var(--grafite);
  color: var(--gesso);
}

.section.dark .eyebrow {
  color: var(--cinza-claro);
}

.section.tinted {
  background: var(--placa);
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}

.section-head > p,
.work-meta > p {
  margin: 0;
  max-width: 44ch;
  color: var(--cinza);
}

.dark .section-head > p {
  color: var(--cinza-claro);
}

/* Diário da obra: linha do tempo vertical no celular */
.diary {
  margin-top: 64px;
}

.diary-head {
  margin-bottom: 24px;
}

.diary-head p {
  margin: 8px 0 0;
  color: var(--cinza-claro);
}

.diary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: fase;
}

.diary-list li {
  counter-increment: fase;
  position: relative;
  padding: 0 0 20px 36px;
}

/* Régua: um trecho de linha por fase, com o número no marco */
.diary-list li::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 11px;
  width: 2px;
  background: linear-gradient(var(--freijo), var(--laranja));
}

.diary-list li:last-child::before {
  bottom: auto;
  height: 24px;
}

.diary-list li::after {
  content: counter(fase, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--laranja);
  color: var(--grafite);
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 500;
}

.diary-list figure {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 14px;
  align-items: start;
  margin: 0;
  cursor: zoom-in;
}

.diary-list img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}

.diary-list figcaption {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--cinza-claro);
}

.diary-list figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gesso);
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

/* Como ficou: carrossel de ambientes com a foto de como era */
.spaces {
  margin-top: 56px;
}

.spaces-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.spaces-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spaces-count {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--cinza-claro);
}

.spaces-count b {
  color: var(--laranja);
  font-weight: 500;
}

.spaces-arrow {
  display: none;
}

.spaces-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 14px;
  list-style: none;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.spaces-track::-webkit-scrollbar {
  display: none;
}

.space {
  scroll-snap-align: start;
}

.space-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
  background: var(--grafite-2);
}

.space-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease;
}

.space-media .is-before {
  opacity: 0;
}

.space.show-before .is-before {
  opacity: 1;
}

.space.show-before .tag {
  background: var(--laranja);
}

.space-toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(28, 30, 33, 0.82);
  backdrop-filter: blur(6px);
  color: var(--gesso);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* Quadrado meio cheio: metade antes, metade depois */
.space-toggle::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 2px;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
  transition: transform 0.45s ease;
}

.space.show-before .space-toggle::before {
  transform: rotate(-180deg);
}

.space h4 {
  margin-top: 16px;
}

.space p {
  margin: 6px 0 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cinza-claro);
}

.space-services {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--laranja);
}

/* Serviços */
.services {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--grafite);
}

.services a {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid var(--placa);
  text-decoration: none;
}

.services a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--laranja);
  transition: width 0.4s ease;
}

.services a:hover::before,
.services a:focus-visible::before {
  width: 100%;
}

.services h3 {
  font-size: clamp(20px, 5.2vw, 26px);
}

.services p {
  margin: 0;
  color: var(--cinza);
}

.service-cta {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--laranja-escuro);
}

.service-cta::after {
  content: " →";
}

/* Obra entregue */
.work-meta {
  display: grid;
  gap: 16px;
}

.dimension {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
}

.dimension-line {
  flex: 1;
  max-width: 220px;
  height: 14px;
  position: relative;
  border-left: 1.5px solid var(--grafite);
  border-right: 1.5px solid var(--grafite);
}

.dimension-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--grafite);
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
}

.mosaic figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
}

.mosaic .mosaic-main {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mosaic figure:hover img {
  transform: scale(1.04);
}

.mosaic figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 8px;
  background: var(--gesso);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Onde atuamos */
.territory {
  display: grid;
  gap: 32px;
}

.territory-copy > p {
  margin: 18px 0 24px;
  color: var(--cinza);
}

.cities {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--placa);
}

.cities li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--placa);
  font-weight: 500;
}

.cities span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--laranja-escuro);
}

.territory-map {
  max-width: 440px;
}

.territory-map svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.map-label {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 40px;
  fill: var(--grafite);
}

.pin-pulse {
  transform-origin: 1677px 1016px;
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.4); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Perguntas frequentes (marcação reaproveitada do site atual) */
.faq-section {
  background: #f4f5f3;
}

.faq-list {
  border-top: 1.5px solid var(--grafite);
}

.faq-list details {
  border-bottom: 1px solid var(--placa);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 14px 0;
  list-style: none;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.4;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list .toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--placa);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq-list details[open] > summary .toggle {
  transform: rotate(45deg);
  background: var(--laranja);
  border-color: var(--laranja);
}

.faq-list details > p {
  max-width: 68ch;
  margin: 0;
  padding: 0 0 20px;
  color: var(--cinza);
}

.faq-more {
  border-bottom: 0 !important;
}

.faq-more > summary {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--laranja-escuro);
}

.faq-more-list {
  border-top: 1px solid var(--placa);
}

.faq-more-list summary {
  font-size: 15.5px;
}

/* Orçamento */
.quote {
  display: grid;
  gap: 40px;
}

.quote-intro > p {
  margin: 18px 0 28px;
  color: var(--cinza-claro);
}

.direct {
  display: grid;
  border-top: 1px solid var(--linha-escura);
}

.direct a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  border-bottom: 1px solid var(--linha-escura);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.direct a:hover {
  color: var(--laranja);
}

.direct span {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cinza-claro);
}

.quote-form {
  display: grid;
  gap: 22px;
  align-content: start;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cinza-claro);
}

/* 16px ou mais evita o zoom automático do iOS ao focar */
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1.5px solid #4a4f55;
  border-radius: 0;
  background: transparent;
  color: var(--gesso);
  font: 400 17px/1.4 var(--f-body);
  transition: border-color 0.2s ease;
}

.field select {
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a7abb0' stroke-width='1.6'/%3E%3C/svg%3E") right 4px center no-repeat;
  padding-right: 24px;
}

.field select option {
  color: var(--grafite);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field ::placeholder {
  color: #7d8288;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--laranja);
}

.quote-form .btn {
  width: 100%;
  margin-top: 6px;
}

/* Rodapé */
.site-footer {
  display: grid;
  gap: 16px;
  padding: 36px var(--gutter);
  background: #141517;
  color: var(--cinza-claro);
  font-size: 14px;
  border-top: 1px solid #2c2f33;
}

.footer-logo {
  height: 28px;
  width: auto;
  mix-blend-mode: screen;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--gesso);
}

.site-footer nav a:hover {
  color: var(--laranja);
}

.copyright {
  padding-top: 16px;
  border-top: 1px solid #2c2f33;
  font-family: var(--f-mono);
  font-size: 11px;
}

/* Barra fixa de ação no celular */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: grid;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(236, 237, 234, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--placa);
  transition: transform 0.3s ease;
}

.mobile-bar.is-hidden {
  transform: translateY(110%);
}


.whatsapp-float {
  display: none;
}

/* Galeria ampliada */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 64px 12px 84px;
  border: 0;
  background: rgba(20, 21, 23, 0.96);
  color: var(--gesso);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  margin: 0;
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox figcaption {
  padding-top: 14px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12px;
}

.lb-close,
.lb-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(236, 237, 234, 0.4);
  border-radius: 50%;
  background: rgba(20, 21, 23, 0.6);
  color: var(--gesso);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lb-close {
  top: 10px;
  right: 10px;
}

.lb-nav {
  bottom: 18px;
}

.lb-prev {
  left: calc(50% - 60px);
}

.lb-next {
  right: calc(50% - 60px);
}

/* Revelação ao rolar */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Tablet */
@media (min-width: 640px) {
  :root {
    --gutter: 40px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
  }

  .hero-actions .btn {
    display: inline-flex;
  }

  .hero .proof {
    display: flex;
  }

  .hero-copy > .eyebrow {
    display: flex;
  }

  .spaces-track {
    grid-auto-columns: 46%;
    gap: 18px;
  }

  .mosaic {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    aspect-ratio: 16 / 8;
  }

  .mosaic figure,
  .mosaic .mosaic-main {
    aspect-ratio: auto;
  }

  .mosaic .mosaic-main {
    grid-column: auto;
    grid-row: 1 / -1;
  }

  .quote-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }

  .field-wide {
    grid-column: 1 / -1;
  }

  .quote-form .btn {
    width: auto;
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px 40px;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

/* Desktop */
@media (min-width: 960px) {
  :root {
    --gutter: clamp(40px, 5vw, 72px);
    --header-h: 72px;
    --bar-h: 0px;
  }

  body {
    font-size: 17px;
  }

  h4 {
    font-size: 23px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .brand img {
    height: 34px;
  }

  .menu-toggle {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }

  .site-header nav {
    position: static;
    flex-direction: row;
    gap: 28px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .site-header nav a {
    min-height: 0;
    padding: 6px 0;
    font-size: 15px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
  }

  .site-header nav a:hover {
    border-bottom-color: var(--laranja);
  }

  .mobile-bar {
    display: none;
  }

  .whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 20;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #128c7e;
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .whatsapp-float:hover {
    transform: translateY(-3px);
  }

  .whatsapp-float.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
    min-height: calc(100svh - var(--header-h));
    padding: 40px var(--gutter) 72px;
  }

  .hero-lead {
    max-width: 34ch;
    margin: 28px 0 36px;
    font-size: 20px;
  }

  .proof {
    margin-top: 56px;
    font-size: 11px;
  }

  .section {
    padding: clamp(88px, 9vw, 128px) var(--gutter);
  }

  .section-head {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 24px clamp(32px, 6vw, 96px);
    align-items: end;
    margin-bottom: 64px;
  }

  /* Diário: régua horizontal no desktop */
  .diary {
    margin-top: 112px;
  }

  .diary-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
  }

  .diary-head p {
    margin: 0;
  }

  .diary-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }

  .diary-list li {
    padding: 40px 0 0;
  }

  .diary-list li::before,
  .diary-list li:last-child::before {
    top: 11px;
    bottom: auto;
    left: 0;
    width: calc(100% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--freijo), var(--laranja));
  }

  .diary-list li:last-child::before {
    width: 100%;
  }

  .diary-list figure {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .diary-list figure img {
    transition: transform 0.3s ease;
  }

  .diary-list figure:hover img {
    transform: translateY(-4px);
  }

  .spaces {
    margin-top: 112px;
  }

  .spaces-arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--linha-escura);
    border-radius: 50%;
    background: transparent;
    color: var(--gesso);
    font-size: 22px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .spaces-arrow:hover {
    border-color: var(--laranja);
    color: var(--laranja);
  }

  .spaces-arrow:disabled {
    opacity: 0.3;
    cursor: default;
  }

  .spaces-count {
    margin-right: 8px;
  }

  .spaces-track {
    grid-auto-columns: calc((100% - 2 * 20px) / 3.15);
    gap: 20px;
  }

  .services a {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
    gap: 16px 40px;
    align-items: center;
    padding: 30px 0;
  }

  .service-cta {
    margin: 0;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .services a:hover .service-cta,
  .services a:focus-visible .service-cta {
    opacity: 1;
    transform: none;
  }

  .territory {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
  }

  .territory-map {
    max-width: none;
  }

  .faq-list summary {
    font-size: 18px;
  }

  .faq-list details > p {
    padding-right: 48px;
  }

  .quote {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 7vw, 112px);
  }

  .lightbox {
    padding: 48px 8vw;
  }

  .lb-close {
    top: 20px;
    right: 20px;
  }

  .lb-nav {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }

  .lb-prev {
    left: 20px;
  }

  .lb-next {
    right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== Jornada nova: montagem, empresa, processo, obras ===== */

/* Hero: montagem de obras entregues */
.hero-montage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "a a" "b c";
  gap: 8px;
}

.tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  background: var(--placa);
}

.tile-a { grid-area: a; aspect-ratio: 3 / 2; }
.tile-b { grid-area: b; aspect-ratio: 1; }
.tile-c { grid-area: c; aspect-ratio: 1; }

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border-radius: 2px;
  background: rgba(236, 237, 234, 0.92);
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Entrada da montagem: peças sobem em sequência e a principal aproxima devagar */
.js .tile {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .tile-b { transition-delay: 0.15s; }
.js .tile-c { transition-delay: 0.3s; }

.is-loaded .tile {
  opacity: 1;
  transform: none;
}

.tile-a img {
  transform: scale(1.08);
  transition: transform 9s ease-out;
}

.is-loaded .tile-a img {
  transform: scale(1);
}

.js .hero-copy > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .hero-copy > :nth-child(2) { transition-delay: 0.08s; }
.js .hero-copy > :nth-child(3) { transition-delay: 0.16s; }
.js .hero-copy > :nth-child(4) { transition-delay: 0.24s; }

.is-loaded .hero-copy > * {
  opacity: 1;
  transform: none;
}

/* Linha de palavra-chave dentro do H1 e subtítulo da tese */
.h1-kicker {
  display: block;
  margin-bottom: 14px;
  font-family: var(--f-body);
  font-stretch: 100%;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  color: var(--laranja-escuro);
}

.hero-sub {
  margin: 10px 0 0;
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: clamp(20px, 5vw, 30px);
  letter-spacing: -0.02em;
  color: var(--cinza);
}

.hero-sub + .hero-lead {
  margin-top: 16px;
}

/* Quem é a Bedrock */
.about-grid {
  display: grid;
  gap: 28px;
}

.about-text {
  margin: 18px 0 0;
  font-size: 17px;
  color: var(--cinza);
}

.about-photo {
  margin: 0;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

.about-photo figcaption {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--cinza);
}

.reasons {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  border-top: 1.5px solid var(--grafite);
}

.reasons li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 4px 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--placa);
}

.reasons li::before {
  content: "";
  grid-row: 1 / 3;
  width: 12px;
  height: 11px;
  margin-top: 6px;
  background: var(--laranja);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.reasons strong {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.reasons span {
  color: var(--cinza);
  font-size: 15px;
  line-height: 1.5;
}

/* Como trabalhamos: etapas numeradas */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: etapa;
  display: grid;
  gap: 0;
}

.steps li {
  align-content: start;
  counter-increment: etapa;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 2px 12px;
  padding: 20px 0;
  border-top: 1px solid var(--linha-escura);
}

.steps li::before {
  content: counter(etapa, decimal-leading-zero);
  grid-row: 1 / 3;
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--laranja);
}

.steps strong {
  font-size: 18px;
  font-weight: 600;
  color: var(--gesso);
}

.steps span {
  font-size: 15px;
  line-height: 1.5;
  color: var(--cinza-claro);
}

/* Obras */
.case-nav {
  display: flex;
  gap: 8px;
  margin: 0 calc(var(--gutter) * -1) 8px;
  padding: 0 var(--gutter) 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.case-nav::-webkit-scrollbar {
  display: none;
}

.case-nav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--linha-escura);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--gesso);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.case-nav a:hover {
  border-color: var(--laranja);
  color: var(--laranja);
}

.case {
  padding-top: 56px;
  scroll-margin-top: var(--header-h);
}

.case + .case {
  margin-top: 24px;
  border-top: 1px solid var(--linha-escura);
}

.case-head {
  margin-bottom: 24px;
}

.case-kicker {
  margin: 0 0 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--laranja);
}

.case-head h3 {
  font-size: clamp(26px, 7vw, 44px);
}

.case-head > p:not(.case-kicker):not(.case-services):not(.case-highlight) {
  max-width: 52ch;
  margin: 14px 0 0;
  color: var(--cinza-claro);
}

.case-services {
  margin: 14px 0 0;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cinza-claro);
}

.case h4 {
  font-size: 20px;
}

.tag-accent {
  background: var(--laranja);
}

.case-highlight {
  margin: 12px 0 0;
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 18px;
  color: var(--laranja);
}

.case-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 28px;
  font-weight: 600;
  color: var(--gesso);
  text-decoration: none;
  border-bottom: 2px solid var(--laranja);
}

.case-cta::after {
  content: "→";
  transition: transform 0.2s ease;
}

.case-cta:hover::after {
  transform: translateX(4px);
}

.footer-credit {
  font-size: 12px;
  color: #7d8288;
}

.field label em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  color: #7d8288;
}

/* Par na obra / entregue */
.pair {
  display: grid;
  gap: 10px;
  align-items: center;
}

.pair figure {
  position: relative;
  margin: 0;
  cursor: zoom-in;
}

.pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

.pair figcaption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--cinza-claro);
}

.pair-arrow {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--laranja);
  color: var(--grafite);
  font-size: 20px;
  transform: rotate(90deg);
}

/* O "entregue" se revela da esquerda para a direita ao entrar na tela */
.js .pair-after img {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(0.6, 0, 0.2, 1) 0.2s;
}

.pair.is-visible .pair-after img {
  clip-path: inset(0 0 0 0);
}

/* Galeria deslizável */
.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 10px;
  list-style: none;
  margin: 28px calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter) 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.strip::-webkit-scrollbar {
  display: none;
}

.strip li {
  scroll-snap-align: start;
}

.strip figure {
  margin: 0;
  cursor: zoom-in;
}

.strip img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 3px;
}

.strip figcaption {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--cinza-claro);
}

.credit {
  margin: 14px 0 0;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--cinza);
}

/* Sala: o vão lado a lado com o conjunto final */
.transform {
  display: grid;
  gap: 8px;
}

.transform figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  cursor: zoom-in;
}

.transform img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.transform-before {
  aspect-ratio: 4 / 3;
}

/* No celular, a seta liga o vão ao conjunto final empilhado */
.transform-before::after {
  content: "↓";
  position: absolute;
  right: 12px;
  bottom: -20px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--laranja);
  color: var(--grafite);
  font-size: 20px;
}

.transform-before {
  overflow: visible !important;
}

.transform-before img {
  border-radius: 3px;
}

.transform-before figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(transparent, rgba(20, 21, 23, 0.85));
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--gesso);
}

.transform-after {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.transform-after figure {
  aspect-ratio: 3 / 4;
}

.transform-after figcaption {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 3px 6px;
  border-radius: 2px;
  background: rgba(236, 237, 234, 0.92);
  color: var(--grafite);
  font-family: var(--f-mono);
  font-size: 8.5px;
  text-transform: uppercase;
}

.transform-after > .tag {
  top: 8px;
  left: 8px;
}

.transform-caption {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--cinza-claro);
}

.js .transform-after figure {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .transform-after figure:nth-child(2) { transition-delay: 0.12s; }
.js .transform-after figure:nth-child(3) { transition-delay: 0.24s; }
.js .transform-after figure:nth-child(4) { transition-delay: 0.36s; }

.transform.is-visible .transform-after figure {
  opacity: 1;
  transform: none;
}

.case .diary,
.case .spaces {
  margin-top: 48px;
}

.case .diary h4 {
  margin-bottom: 20px;
}

/* A régua do diário cresce ao entrar na tela */
.js .diary-list li::before {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s ease;
}

.diary.is-visible .diary-list li::before {
  transform: none;
}

.diary.is-visible .diary-list li:nth-child(2)::before { transition-delay: 0.15s; }
.diary.is-visible .diary-list li:nth-child(3)::before { transition-delay: 0.3s; }
.diary.is-visible .diary-list li:nth-child(4)::before { transition-delay: 0.45s; }
.diary.is-visible .diary-list li:nth-child(5)::before { transition-delay: 0.6s; }

/* Chamada ao fim das provas */
.works-cta {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-top: 56px;
  padding: 28px 22px;
  border: 1px solid var(--linha-escura);
  border-radius: 3px;
}

.works-cta p {
  margin: 0;
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
}

.link-light {
  color: var(--gesso);
}

.dark .dimension-line,
.dark .dimension-line::before {
  border-color: var(--gesso);
}

.dark .dimension-line::before {
  background: var(--gesso);
}

.dark .mosaic figcaption {
  color: var(--grafite);
}

/* Envio do formulário */
.form-submit {
  display: grid;
  gap: 10px;
}

.form-submit p {
  margin: 0;
  font-size: 13.5px;
  color: var(--cinza-claro);
}

/* Revelação em cascata para listas */
.js .stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

.stagger.is-visible > :nth-child(2) { transition-delay: 0.08s; }
.stagger.is-visible > :nth-child(3) { transition-delay: 0.16s; }
.stagger.is-visible > :nth-child(4) { transition-delay: 0.24s; }
.stagger.is-visible > :nth-child(5) { transition-delay: 0.32s; }

@media (min-width: 640px) {
  .reasons {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }

  .strip {
    grid-auto-columns: 44%;
  }

  .works-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 32px;
  }

  .works-cta .link-arrow {
    grid-column: 1 / -1;
  }

  .form-submit {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
  }
}

@media (min-width: 960px) {
  .hero-montage {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "a a" "b c";
    gap: 12px;
    max-height: calc(100svh - var(--header-h) - 80px);
  }

  .tile-b,
  .tile-c {
    aspect-ratio: 4 / 3.4;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
  }

  .about-text {
    font-size: 19px;
    max-width: 44ch;
  }

  .reasons {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 28px;
    margin-top: 64px;
  }

  .reasons li {
    grid-template-columns: 1fr;
    border-bottom: 0;
    padding: 22px 0 0;
  }

  .reasons li::before {
    grid-row: auto;
    margin: 0 0 8px;
  }

  .steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px 0 0;
    border-top: 2px solid var(--linha-escura);
  }

  .steps li::before {
    grid-row: auto;
    font-size: 40px;
    margin-bottom: 6px;
  }

  .case-nav {
    margin: 0 0 16px;
    padding: 0;
  }

  .case {
    padding-top: 88px;
  }

  .case-head {
    margin-bottom: 40px;
  }

  .case-head h3 {
    max-width: 22ch;
  }

  .case-head > p:not(.case-kicker):not(.case-services):not(.case-highlight) {
    max-width: 62ch;
    font-size: 18px;
  }

  .h1-kicker {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .pair {
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: start;
  }

  .pair-arrow {
    margin-top: 30%;
    transform: none;
  }

  .strip {
    grid-auto-columns: calc((100% - 3 * 12px) / 3.4);
    gap: 12px;
    margin-inline: 0;
    padding-inline: 0;
    scroll-padding-inline: 0;
  }

  .transform {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 12px;
  }

  /* O vão acompanha a altura da grade do conjunto final */
  .transform-before {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .transform-before img {
    position: absolute;
    inset: 0;
  }

  .transform-before::after {
    content: "→";
    top: 50%;
    right: -26px;
    bottom: auto;
    transform: translateY(-50%);
  }

  .transform-after {
    gap: 12px;
  }

  .transform-after figure {
    aspect-ratio: 5 / 4;
  }

  .transform-after figcaption {
    font-size: 9.5px;
    left: 8px;
    bottom: 8px;
  }

  .case .diary,
  .case .spaces {
    margin-top: 80px;
  }

  .js .diary-list li::before {
    transform: scaleX(0);
    transform-origin: left;
  }

  .works-cta {
    margin-top: 88px;
    padding: 40px;
  }

  .works-cta p {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .tile,
  .js .hero-copy > *,
  .js .stagger > *,
  .js .transform-after figure {
    opacity: 1;
    transform: none;
  }

  .tile-a img,
  .is-loaded .tile-a img {
    transform: none;
  }

  .js .pair-after img {
    clip-path: none;
  }

  .js .diary-list li::before {
    transform: none;
  }
}
