/* Bond 43 · Braga — cores e tipografia do Brand Guidelines (2026)
   Uso das cores: preto 50% (fundo), laranja 25% (títulos e destaques), bege 15% (texto e fundos claros), cinza 10% (legendas) */
:root {
  --black: #000000;    /* Black C */
  --orange: #D45715;   /* Pantone 1595 C */
  --beige: #F2EDE4;    /* Pantone 9224 C */
  --grey: #8E877E;     /* Warm Gray 8 C */
  --ink: #141414;
  --head: "Comfortaa", "Varela Round", Arial, sans-serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 6vw, 96px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--beige); font-family: var(--body); font-weight: 300; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4vw, 54px); margin: 14px 0 22px; color: var(--orange); }
h3 { font-size: clamp(22px, 2vw, 28px); }
.label { display: inline-block; font-family: var(--body); font-weight: 500; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--orange); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; border-radius: 999px; background: var(--orange); color: var(--beige); border: 1px solid var(--orange); font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--beige); color: var(--black); border-color: var(--beige); }
.btn.ghost { background: transparent; color: var(--beige); border-color: rgba(242, 237, 228, .5); }
.btn.ghost:hover { background: var(--beige); color: var(--black); }
.btn.small { padding: 10px 22px; font-size: 11px; }
.btn svg { width: 22px; height: 22px; }
.link { font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--orange); }
.link:hover { color: var(--beige); }
.is-pending { opacity: .45; pointer-events: none; }
.tbc { font-size: .8em; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 26px var(--pad); transition: background .4s, padding .4s; }
.site-header.solid { background: rgba(0, 0, 0, .92); padding-block: 16px; backdrop-filter: blur(6px); }
.brand img { width: 150px; height: auto; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { font-size: 12px; font-weight: 500; letter-spacing: .14em; transition: color .2s; }
.nav a:hover { color: var(--orange); }
.nav .lang { border: 1px solid rgba(242, 237, 228, .4); border-radius: 999px; padding: 4px 12px; }
.burger { display: none; width: 34px; height: 22px; background: none; border: 0; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--beige); transition: transform .3s, top .3s; }
.burger span:first-child { top: 6px; } .burger span:last-child { top: 15px; }
.burger[aria-expanded="true"] span:first-child { top: 11px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 11px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; height: 100vh; min-height: 620px; display: flex; align-items: flex-end; padding: 0 var(--pad) 14vh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s ease-out forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.1) 35%, rgba(0,0,0,.72) 100%); }
.hero-in { position: relative; z-index: 1; max-width: 900px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 76px); font-weight: 600; }
.hero p { margin: 16px 0 34px; font-size: clamp(15px, 1.3vw, 19px); font-weight: 400; }
@keyframes heroZoom { to { transform: scale(1); } }

/* Projeto */
.project { display: grid; grid-template-columns: 1fr 1fr; min-height: 90vh; }
.pr-text { padding: 14vh var(--pad); display: flex; flex-direction: column; justify-content: center; }
.big-num { display: flex; align-items: center; gap: 24px; margin: 26px 0 22px; }
.num { font-family: var(--head); font-weight: 700; color: var(--orange); font-size: clamp(100px, 12vw, 180px); line-height: .9; letter-spacing: -.04em; }
.num-txt { font-family: var(--head); font-weight: 700; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; }
.pr-sub { font-family: var(--head); font-weight: 700; font-size: 19px; margin-bottom: 14px; }
.pr-text p { max-width: 560px; }
.pr-img img { width: 100%; height: 100%; object-fit: cover; }

/* Números */
.numbers { background: var(--orange); color: var(--beige); padding: 56px var(--pad); }
.numbers ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.numbers b { display: block; font-family: var(--head); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; }
.numbers span { font-size: 14px; font-weight: 500; }

/* A ligação */
.link-sec { background: var(--beige); color: var(--black); text-align: center; padding: 16vh var(--pad); }
.link-icon { width: 110px; margin: 0 auto 30px; }
.link-sec p { max-width: 720px; margin: 0 auto; font-weight: 400; }
.link-sec .note { margin-top: 22px; font-size: 14px; color: var(--grey); }

/* Citações */
.quote-band { position: relative; height: 78vh; min-height: 460px; display: grid; place-items: center; overflow: hidden; padding: 0 var(--pad); }
.quote-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-band::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .48); }
.quote-band blockquote { position: relative; z-index: 1; max-width: 1000px; text-align: center; font-family: var(--head); font-weight: 600; font-size: clamp(26px, 3.3vw, 46px); line-height: 1.25; }

/* Apartamentos */
.apartments { padding: 16vh var(--pad); }
.sec-head { max-width: 760px; margin-bottom: 50px; }
.sec-head p { font-size: 18px; }
.ap-imgs { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-bottom: 50px; }
.ap-imgs img { width: 100%; height: 48vh; object-fit: cover; border-radius: 6px; }
.t-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.t-card { border: 1px solid rgba(242, 237, 228, .18); border-radius: 10px; padding: 26px 22px; display: flex; flex-direction: column; gap: 18px; transition: border-color .3s; }
.t-card:hover { border-color: var(--orange); }
.t-head h3 { font-size: 40px; color: var(--orange); }
.t-units { font-size: 13px; color: var(--grey); }
.t-card dl div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(242, 237, 228, .12); font-size: 14px; }
.t-card dt { color: var(--grey); }
.t-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: auto; }

/* Coworking */
.coworking { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--ink); }
.cw-img img { width: 100%; height: 100%; object-fit: cover; }
.cw-text { padding: 14vh var(--pad); display: flex; flex-direction: column; justify-content: center; }
.cw-nums { list-style: none; display: flex; gap: 40px; margin: 30px 0 34px; }
.cw-nums b { display: block; font-family: var(--head); font-size: 34px; color: var(--orange); }
.cw-nums span { font-size: 13px; color: var(--grey); }

/* Galeria */
.gallery { background: var(--beige); color: var(--black); padding: 16vh var(--pad); }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 20vw; grid-auto-flow: dense; gap: 10px; margin-top: 40px; }
.g-item { overflow: hidden; border-radius: 6px; }
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.g-item:hover img { transform: scale(1.04); }

/* Vídeo */
.media { position: relative; min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 14vh var(--pad); overflow: hidden; }
.media-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.media-in { position: relative; z-index: 1; }
.media-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* Localização */
.location { padding: 16vh var(--pad) 0; }
.loc-info { display: grid; grid-template-columns: 1fr 1.6fr; margin: 0 calc(var(--pad) * -1); }
.dist { padding: 60px var(--pad); background: var(--ink); }
.dist ul { list-style: none; margin-top: 18px; }
.dist li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgba(242, 237, 228, .14); font-size: 15px; }
.dist b { font-weight: 500; }
.map { min-height: 440px; filter: grayscale(1) contrast(.95); }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; }

/* Cartões */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 14vh var(--pad); background: var(--orange); }
.card { background: var(--black); border-radius: 12px; padding: clamp(28px, 4vw, 56px); }
.card h3 { margin: 12px 0; }
.card p { margin-bottom: 28px; }
.cards .label { color: var(--orange); }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6vw; padding: 16vh var(--pad); }
.ct-phone { display: inline-block; margin-top: 8px; font-family: var(--head); font-size: 26px; }
.ct-mail { display: block; margin-top: 10px; font-size: 16px; color: var(--orange); }
.ct-person { margin-top: 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.ct-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; align-content: start; }
.ct-form label { display: flex; flex-direction: column; gap: 6px; }
.ct-form label.full { grid-column: 1 / -1; }
.ct-form label > span { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); }
.ct-form input, .ct-form textarea, .ct-form select { background: transparent; border: 0; border-bottom: 1px solid rgba(242, 237, 228, .35); color: var(--beige); font: inherit; padding: 8px 0; outline: none; resize: vertical; }
.ct-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--beige) 50%), linear-gradient(135deg, var(--beige) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.ct-form select option { color: var(--black); }
.ct-form input:focus, .ct-form textarea:focus, .ct-form select:focus { border-color: var(--orange); }
.ct-form .check { flex-direction: row; align-items: flex-start; gap: 12px; }
.ct-form .check span { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--beige); font-weight: 300; }
.ct-form .check a { text-decoration: underline; }
.ct-form .check input { margin-top: 5px; accent-color: var(--orange); }
.ct-form .btn { justify-self: start; }
.form-msg { grid-column: 1 / -1; font-size: 14px; min-height: 1.4em; }
.hp { position: absolute; left: -9999px; }

/* Rodapé */
.disclaimer { background: var(--ink); color: var(--grey); text-align: center; font-size: 12.5px; padding: 18px var(--pad); }
.footer { padding: 70px var(--pad) 30px; border-top: 1px solid rgba(142, 135, 126, .3); }
.f-row { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.f-logo { width: 180px; }
.f-col .label { display: block; margin-bottom: 8px; color: var(--grey); }
.f-col.right { text-align: right; }
.f-col.right a, .f-col.right span { display: block; }
.f-name { font-weight: 500; letter-spacing: .14em; }
.f-partner { max-height: 40px; width: auto; }
.f-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(242, 237, 228, .12); font-size: 13px; color: var(--grey); }
.f-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.f-social { display: flex; align-items: center; gap: 14px; }
.f-social svg { width: 18px; height: 18px; }

/* Botões laterais */
.side { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 6px; }
.side a { width: 44px; height: 44px; display: grid; place-items: center; background: var(--orange); color: var(--beige); border-radius: 8px 0 0 8px; }
.side svg, .to-top svg { width: 22px; height: 22px; }
.to-top { position: fixed; right: 0; bottom: 24px; z-index: 40; width: 44px; height: 44px; display: grid; place-items: center; background: var(--beige); color: var(--black); border-radius: 8px 0 0 8px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* Página legal */
.legal { max-width: 860px; margin: 0 auto; padding: 22vh var(--pad) 14vh; }
.legal h1 { font-size: clamp(30px, 4vw, 50px); color: var(--orange); margin: 14px 0 50px; }
.legal h2 { font-size: 20px; color: var(--beige); margin: 40px 0 12px; }
.tbc-block { color: var(--grey); font-style: italic; }
.legal .btn { margin-top: 50px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .95); display: grid; place-items: center; padding: 4vw; }
.lightbox[hidden], .lightbox [hidden] { display: none; }
.lightbox img, .lightbox video { max-height: 88vh; max-width: 92vw; width: auto; }
.lightbox button { position: absolute; top: 18px; right: 26px; background: none; border: 0; color: var(--beige); font-size: 40px; cursor: pointer; }

/* Animação */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero-bg { animation: none; transform: none; } html { scroll-behavior: auto; } }

/* Modo revisão */
.review .tbc, .review .tbc-block, .review .is-pending { outline: 2px dashed var(--orange); outline-offset: 3px; opacity: 1 !important; color: var(--orange); background: rgba(242, 237, 228, .92); }
.review-badge { position: fixed; left: 16px; bottom: 16px; z-index: 200; background: var(--orange); color: var(--beige); padding: 10px 16px; font-size: 13px; border-radius: 8px; }

/* Responsivo */
@media (max-width: 1100px) {
  .t-grid { grid-template-columns: repeat(3, 1fr); }
  .numbers ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .burger { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; background: var(--black); flex-direction: column; justify-content: center; gap: 28px; opacity: 0; pointer-events: none; transition: opacity .35s; }
  .nav.open { opacity: 1; pointer-events: auto; }
  .nav a { font-size: 16px; }
  .brand img { width: 120px; }
  .project, .coworking, .loc-info, .cards, .contact, .ap-imgs { grid-template-columns: 1fr; }
  .pr-img, .cw-img { height: 55vh; }
  .ap-imgs img { height: 36vh; }
  .t-grid { grid-template-columns: 1fr 1fr; }
  .g-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .ct-form { grid-template-columns: 1fr; }
  .f-row { flex-direction: column; align-items: flex-start; }
  .f-col.right { text-align: left; }
  .f-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .t-grid { grid-template-columns: 1fr; }
  .numbers ul { gap: 22px; }
  .g-grid { grid-template-columns: 1fr; grid-auto-rows: 64vw; }
  .g-item.wide { grid-column: auto; }
  .g-item.tall { grid-row: auto; }
  .cw-nums { gap: 26px; }
  .side { top: auto; bottom: 76px; transform: none; }
  .side a, .to-top { width: 40px; height: 40px; }
}
