/* ============================================================
   Brandão Torres Construtora — Seções: sobre, obras, método e contato
   Ordem de carregamento: 4 de 7 (não altere a ordem dos <link>
   no index.html — a cascata do CSS depende dela).
   ============================================================ */

/* ---------- sobre ---------- */
.sobre {
  background: var(--paper);
  color: var(--ink);
  padding: 130px 0 120px;
  position: relative
}

.sobre-head {
  max-width: 900px
}

.sobre h2 {
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 24px 0 0;
  font-family: var(--disp);
}

.sobre h2 .soft {
  color: #8a887f;
  font-weight: 340
}

.sobre .hl {
  color: var(--ink)
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 80px;
  align-items: start
}

.sobre-copy p {
  color: #4b4b46;
  max-width: 52ch;
  font-size: 16.5px
}

.sobre-copy p+p {
  margin-top: 20px
}

.sobre-copy strong {
  font-weight: 600;
  color: var(--ink)
}

.quote {
  margin-top: 42px;
  padding: 30px 0 0;
  border-top: 1px solid var(--line-dark);
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -.01em;
  max-width: 24em;
}

.quote .hl {
  padding: 0 .14em
}

.sobre-fig {
  position: relative
}

.sobre-fig .ph {
  overflow: hidden
}

.sobre-fig img {
  aspect-ratio: 4/4.7;
  object-fit: cover;
  width: 100%;
  transform: scale(1.08);
  transition: transform 1.6s cubic-bezier(.22, 1, .3, 1)
}

.sobre-fig.in-view img {
  transform: scale(1)
}

.year-chip {
  position: absolute;
  left: -26px;
  bottom: 38px;
  background: var(--ink);
  color: var(--paper);
  padding: 26px 30px;
  max-width: 230px;
}

.year-chip b {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -.03em;
  display: block;
  line-height: 1;
  font-family: var(--disp)
}

.year-chip b i {
  font-style: normal;
  color: var(--sage)
}

.year-chip span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist)
}

/* ---------- obras ---------- */
.obras {
  padding: 130px 0 60px;
  position: relative
}

.obras-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 70px;
  flex-wrap: wrap
}

.obras h2 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.025em;
  margin-top: 24px;
  font-family: var(--disp);
  max-width: 12em;
}

.obras h2 .soft {
  color: var(--mut);
  font-weight: 340
}

.obras-head p {
  color: var(--mut);
  max-width: 34ch;
  font-size: 15px;
  padding-bottom: 8px
}

.works {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px
}

.work {
  position: relative;
  overflow: hidden;
  cursor: pointer
}

.work .ph {
  overflow: hidden;
  position: relative;
  height: 100%
}

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.1s cubic-bezier(.22, 1, .3, 1)
}

.work:hover img {
  transform: scale(1.07)
}

.work::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 12, 12, .72) 0%, rgba(12, 12, 12, .12) 42%, transparent 60%);
  pointer-events: none;
}

.work .tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2
}

.work-info {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
}

.work-info h3 {
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.15;
  font-family: var(--disp)
}

.work-info small {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
  display: block;
  margin-top: 7px
}

.work-info .arr {
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(232, 230, 225, .3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: .35s ease;
}

.work:hover .arr {
  background: var(--sage);
  border-color: var(--sage)
}

.work:hover .arr svg {
  stroke: var(--ink);
  transform: rotate(45deg)
}

.arr svg {
  transition: .35s ease
}

.w-a {
  grid-column: span 7;
  aspect-ratio: 16/10.4
}

.w-b {
  grid-column: span 5;
  aspect-ratio: auto
}

.w-c {
  grid-column: span 4;
  aspect-ratio: 4/4.6
}

.w-d {
  grid-column: span 4;
  aspect-ratio: 4/4.6
}

.w-e {
  grid-column: span 4;
  aspect-ratio: 4/4.6
}

.w-f {
  grid-column: span 12;
  aspect-ratio: 21/8.4
}

/* ---------- método ---------- */
.metodo {
  padding: 120px 0 130px
}

.metodo-in {
  border-top: 1px solid var(--line);
  padding-top: 70px;
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 60px
}

.metodo h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin-top: 24px;
  font-family: var(--disp);
  max-width: 11em;
}

.metodo h2 .soft {
  color: var(--mut);
  font-weight: 340
}

.steps {
  display: flex;
  flex-direction: column
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: 26px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: .35s ease;
}

.step:first-child {
  border-top: 1px solid var(--line)
}

.step:hover {
  padding-left: 12px
}

.step em {
  font-family: var(--mono);
  font-weight: 500;
  font-style: normal;
  font-size: 12px;
  color: var(--sage);
  letter-spacing: .08em
}

.step h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.01em;
  font-family: var(--disp)
}

.step p {
  color: var(--mut);
  font-size: 15px;
  max-width: 42ch
}

/* ---------- contato ---------- */
.contato {
  background: var(--paper);
  color: var(--ink);
  padding: 130px 0;
  position: relative;
  overflow: hidden
}

.contato .ridges {
  opacity: .14;
  filter: invert(1);
  inset: auto -34% -46% auto
}

.contato-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 70px;
  position: relative
}

.contato h2 {
  font-size: clamp(42px, 5.6vw, 84px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.028em;
  margin: 24px 0 30px;
  font-family: var(--disp);
}

.contato h2 .soft {
  color: #8a887f;
  font-weight: 340
}

.contato p.lead {
  color: #4b4b46;
  max-width: 42ch;
  font-size: 16.5px
}

.contato .btn {
  border-color: var(--line-dark);
  color: var(--ink)
}

.contato .btn:hover {
  color: var(--ink)
}

.contato .btn.solid {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink)
}

.contato .btn.solid::before {
  background: var(--sage)
}

.contato .btn.solid:hover {
  color: var(--ink)
}

.contato .btn.solid:hover svg {
  stroke: var(--ink)
}

.contato-cta {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  flex-wrap: wrap
}

.info-card {
  border: 1px solid var(--line-dark);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: rgba(255, 255, 255, .32)
}

.info-item small {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8a887f;
  display: block;
  margin-bottom: 9px;
}

.info-item p,
.info-item a.val {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5
}

a.val {
  border-bottom: 1px solid transparent;
  transition: .3s
}

a.val:hover {
  border-color: var(--ink)
}

.map-btn {
  margin-top: 14px
}

