@font-face {
  font-family: "Lora";
  src: url("../fonts/lora/Lora-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3/SourceSans3-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --warm-white: #f6f2ec;
  --paper: #fffdfa;
  --ink: #1c1a18;
  --muted: #6d665e;
  --line: #d9d1c7;
  --wood: #7b4f32;
  --wood-dark: #4c2f20;
  --wood-pale: #eadbc9;
  --focus: #a04f00;
  --success: #345c46;
  --shadow-sm: 0 12px 32px rgb(35 27 20 / 8%);
  --shadow-lg: 0 28px 70px rgb(35 27 20 / 16%);
  --radius-sm: .35rem;
  --radius-md: .75rem;
  --radius-lg: 1.25rem;
  --bs-body-font-family: "Source Sans 3", system-ui, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--warm-white);
  --bs-primary: var(--ink);
  --bs-link-color: var(--ink);
  --bs-link-hover-color: var(--wood);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--warm-white);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body:has(.consent-panel:not([hidden])) {
  padding-bottom: min(26rem, 45vh);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  text-underline-offset: .2em;
}

h1,
h2,
h3,
h4,
.brand-lockup strong,
.footer-brand strong {
  font-family: "Lora", Georgia, serif;
  letter-spacing: -.025em;
}

h1 {
  font-size: clamp(2.65rem, 7vw, 5.4rem);
  line-height: .99;
  font-weight: 570;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  font-weight: 550;
}

h3 {
  font-weight: 560;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  color: var(--paper);
  background: var(--wood);
}

:focus-visible {
  outline: 3px solid var(--focus) !important;
  outline-offset: 4px;
}

.site-container {
  max-width: 1080px;
}

.section-pad {
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.section-pad-sm {
  padding-block: clamp(3rem, 7vw, 5.25rem);
}

.section-title {
  max-width: 17ch;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.eyebrow {
  margin-bottom: .8rem;
  color: var(--wood);
  font-size: .79rem;
  font-weight: 750;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lead {
  color: #4c4640;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.48;
}

.text-muted-warm {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: .75rem;
  left: .75rem;
  padding: .65rem 1rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius-sm);
  transform: translateY(-180%);
  transition: transform .15s ease;
}

.skip-link:focus {
  color: var(--paper);
  transform: translateY(0);
}

.site-header {
  background: rgb(246 242 236 / 92%);
  border-bottom: 1px solid rgb(28 26 24 / 9%);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 82px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--ink);
  white-space: normal;
}

.brand-lockup img {
  flex: 0 0 auto;
}

.brand-lockup span,
.footer-brand span {
  display: flex;
  flex-direction: column;
}

.brand-lockup strong {
  font-size: 1.07rem;
  font-weight: 650;
  line-height: 1.08;
}

.brand-lockup small {
  margin-top: .2rem;
  color: var(--muted);
  font-size: .73rem;
  letter-spacing: .04em;
}

.navbar-toggler {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  content: "";
  background: var(--ink);
  transition: transform .2s ease;
}

.menu-lines::before {
  transform: translateY(-6px);
}

.menu-lines::after {
  transform: translateY(4px);
}

.nav-link {
  position: relative;
  padding: .75rem .85rem !important;
  color: #3e3935;
  font-size: .95rem;
  font-weight: 600;
}

.nav-link::after {
  position: absolute;
  right: .85rem;
  bottom: .48rem;
  left: .85rem;
  height: 2px;
  content: "";
  background: var(--wood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn {
  --bs-btn-border-radius: 999px;
  min-height: 46px;
  padding: .7rem 1.25rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.btn-sm {
  min-height: 40px;
  padding: .52rem 1rem;
}

.btn-lg {
  min-height: 54px;
  padding: .85rem 1.5rem;
}

.btn-dark {
  --bs-btn-bg: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-bg: var(--wood-dark);
  --bs-btn-hover-border-color: var(--wood-dark);
}

.btn-outline-dark {
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: #71685f;
  --bs-btn-hover-bg: var(--ink);
  --bs-btn-hover-border-color: var(--ink);
}

.btn svg,
.text-link svg {
  width: 1.2rem;
  height: 1.2rem;
  margin-left: .35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  color: var(--wood);
}

.hero {
  padding: clamp(2rem, 5vw, 4.2rem) 0 clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: clamp(2rem, 6vw, 5.5rem);
}

.hero h1 {
  max-width: 11ch;
}

.hero .lead {
  max-width: 35rem;
  margin-block: 1.75rem 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.hero-visual::before {
  position: absolute;
  z-index: 0;
  top: 4%;
  right: -8%;
  width: 82%;
  aspect-ratio: 1;
  content: "";
  background: var(--wood-pale);
  border-radius: 50%;
}

.hero-picture,
.hero-picture img {
  width: 100%;
  height: 100%;
}

.hero-picture {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  border-radius: 12rem 12rem var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-picture img {
  object-fit: cover;
  object-position: 53% center;
}

.hero-note {
  position: absolute;
  z-index: 3;
  right: -1rem;
  bottom: 2rem;
  max-width: 220px;
  padding: 1.1rem 1.25rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: .92rem;
  line-height: 1.4;
}

.value-strip {
  color: var(--paper);
  background: var(--ink);
}

.value-item {
  padding: 1.5rem 0;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.value-number {
  color: #c9a581;
  font-family: "Lora", serif;
  font-size: 1.2rem;
}

.value-item h2 {
  margin: .8rem 0 .5rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
}

.value-item p {
  color: #d5d0ca;
  font-size: .98rem;
}

.path-card,
.project-card,
.decor-card {
  height: 100%;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 rgb(35 27 20 / 0%);
  transition: transform .25s ease, box-shadow .25s ease;
}

.path-card:hover,
.project-card:hover,
.decor-card:hover {
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.path-card {
  display: grid;
  grid-template-rows: 390px auto;
  text-decoration: none;
}

.path-card img,
.project-card img,
.decor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.path-card:hover img,
.project-card:hover img,
.decor-card:hover img {
  transform: scale(1.025);
}

.card-media {
  min-height: 0;
  overflow: hidden;
  background: #e7dfd4;
}

.card-body-custom {
  padding: clamp(1.4rem, 4vw, 2.2rem);
}

.card-body-custom h3 {
  margin-bottom: .75rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.project-grid,
.decor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.project-card,
.decor-card {
  text-decoration: none;
}

.project-card .card-media {
  aspect-ratio: 4 / 3;
}

.decor-card .card-media {
  aspect-ratio: 1 / 1;
}

.decor-card .card-body-custom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.decor-card .card-body-custom h3 {
  margin: 0;
  font-size: 1.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .25rem .7rem;
  color: var(--ink);
  background: var(--wood-pale);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.status-vendido {
  color: #fff;
  background: #5a5550;
}

.status-sob-encomenda {
  color: #fff;
  background: var(--success);
}

.process-list {
  counter-reset: process;
}

.process-step {
  position: relative;
  padding: 1.4rem 0 1.4rem 4.5rem;
  border-top: 1px solid var(--line);
  counter-increment: process;
}

.process-step::before {
  position: absolute;
  top: 1.25rem;
  left: 0;
  color: var(--wood);
  content: "0" counter(process);
  font-family: "Lora", serif;
  font-size: 1.4rem;
}

.process-step h3 {
  margin-bottom: .35rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: 0;
}

.about-teaser-image {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 11rem 11rem var(--radius-lg) var(--radius-lg);
}

.cta-band {
  color: var(--paper);
  background: var(--wood-dark);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  max-width: 15ch;
}

.cta-band p:not(.eyebrow) {
  max-width: 42rem;
  color: #e3d8cf;
}

.cta-band .eyebrow {
  color: #d7b38d;
}

.page-hero {
  padding-block: clamp(4.25rem, 11vw, 8rem);
}

.page-hero h1 {
  max-width: 12ch;
}

.page-hero .lead {
  max-width: 44rem;
  margin-top: 1.5rem;
}

.page-hero-media {
  margin-top: 3.5rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.page-hero-media img {
  width: 100%;
  max-height: 670px;
  object-fit: cover;
}

.briefing-section {
  background: var(--paper);
}

.briefing-card {
  padding: clamp(1.4rem, 5vw, 3rem);
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.form-label {
  color: #403a35;
  font-size: .95rem;
  font-weight: 700;
}

.form-control,
.form-select {
  min-height: 52px;
  color: var(--ink);
  background-color: var(--paper);
  border-color: #b7ada3;
  border-radius: var(--radius-sm);
}

textarea.form-control {
  min-height: 145px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--wood);
  box-shadow: 0 0 0 .25rem rgb(123 79 50 / 16%);
}

.form-note {
  color: var(--muted);
  font-size: .88rem;
}

.back-link {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover {
  color: var(--wood);
}

.detail-cover {
  max-width: 1500px;
}

.detail-cover-image {
  width: 100%;
  max-height: 780px;
  object-fit: cover;
}

.project-facts {
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.project-facts h2 {
  margin-bottom: 1.5rem;
}

.project-facts h3 {
  margin-top: 1.5rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.project-facts ul {
  padding-left: 1.15rem;
  color: var(--muted);
}

.gallery-section {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  grid-column: span 6;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  background: #e7dfd4;
  border: 0;
  border-radius: var(--radius-md);
  cursor: zoom-in;
}

.gallery-item:nth-child(3n) {
  grid-column: span 12;
  min-height: 520px;
}

.gallery-item picture,
.gallery-item img {
  width: 100%;
  height: 100%;
}

.gallery-item img {
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-dialog {
  width: min(94vw, 1280px);
  max-width: none;
  padding: 0;
  color: var(--paper);
  background: #111;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.gallery-dialog::backdrop {
  background: rgb(17 15 14 / 88%);
  backdrop-filter: blur(6px);
}

.gallery-dialog img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.gallery-dialog p {
  padding: .9rem 1.2rem 1.1rem;
  color: #ddd5ce;
  font-size: .95rem;
}

.gallery-dialog-close {
  position: absolute;
  z-index: 2;
  top: .75rem;
  right: .75rem;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--paper);
  background: rgb(0 0 0 / 72%);
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 50%;
  place-items: center;
}

.gallery-dialog-close svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.decor-detail-image {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.about-portrait {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: 12rem 12rem var(--radius-lg) var(--radius-lg);
}

.training-list {
  padding: 0;
  list-style: none;
}

.training-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.video-frame {
  width: min(100%, 560px);
  margin-inline: auto;
  overflow: hidden;
  background: #111;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.video-frame video {
  width: 100%;
  max-height: 76vh;
}

.privacy-copy {
  max-width: 760px;
}

.privacy-copy h2 {
  margin-top: 3rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.privacy-copy h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.site-footer {
  padding: clamp(4rem, 9vw, 7rem) 0 2rem;
  color: #eee9e3;
  background: var(--ink);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  color: #fff;
  text-decoration: none;
}

.footer-brand img {
  filter: invert(1);
}

.footer-brand strong {
  font-size: 1.2rem;
}

.footer-brand small {
  margin-top: .25rem;
  color: #bbb3ac;
  font-size: .82rem;
}

.footer-note {
  max-width: 27rem;
  margin-top: 1.25rem;
  color: #bbb3ac;
}

.footer-heading {
  margin-bottom: 1rem;
  color: #baa083;
  font-family: "Source Sans 3", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-links {
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: .6rem;
}

.footer-links a {
  color: #eee9e3;
  text-decoration-color: rgb(238 233 227 / 30%);
}

.footer-links a:hover {
  color: #d8b795;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  color: #a9a19a;
  border-top: 1px solid rgb(255 255 255 / 13%);
  font-size: .88rem;
}

.link-button {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: .25em;
}

.link-button:hover {
  color: #fff;
}

.whatsapp-floating {
  position: fixed;
  z-index: 1035;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 50px;
  padding: .65rem 1rem;
  color: #fff;
  background: #285944;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgb(24 48 37 / 30%);
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.whatsapp-floating:hover {
  color: #fff;
  background: #1d4433;
  transform: translateY(-3px);
}

.whatsapp-floating svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.consent-panel {
  position: fixed;
  z-index: 1100;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem;
  color: var(--ink);
  background: rgb(246 242 236 / 97%);
  border-top: 1px solid #bcb1a7;
  box-shadow: 0 -20px 50px rgb(28 26 24 / 12%);
  backdrop-filter: blur(16px);
}

.consent-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem 2rem;
  width: min(100%, 1080px);
  margin: auto;
}

.consent-copy h2 {
  margin-bottom: .5rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.consent-copy p:not(.eyebrow) {
  max-width: 48rem;
  color: var(--muted);
  font-size: .95rem;
}

.consent-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-self: center;
  gap: .65rem;
}

.consent-save {
  grid-column: 1 / -1;
}

.consent-privacy {
  color: var(--muted);
  font-size: .85rem;
}

.consent-customize {
  max-width: 650px;
  margin-top: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.consent-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
}

.consent-option + .consent-option {
  border-top: 1px solid var(--line);
}

.consent-option span {
  display: flex;
  flex-direction: column;
}

.consent-option small {
  color: var(--muted);
}

.consent-option .form-check-input {
  flex: 0 0 auto;
  width: 2.4em;
  height: 1.3em;
  margin: 0;
}

.error-page {
  min-height: 65vh;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: .8rem;
    padding: 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }

  .nav-cta {
    width: 100%;
    margin-top: .5rem;
  }

  .hero-visual {
    min-height: 540px;
  }

  .hero-note {
    right: .5rem;
  }

  .cta-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .consent-inner {
    grid-template-columns: 1fr;
  }

  .consent-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 1rem;
  }

  .navbar {
    min-height: 72px;
  }

  .brand-lockup img {
    width: 46px;
    height: 46px;
  }

  .brand-lockup strong {
    font-size: .96rem;
  }

  .brand-lockup small {
    font-size: .68rem;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-copy {
    padding-bottom: 2rem;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-picture {
    border-radius: 8rem 8rem var(--radius-md) var(--radius-md);
  }

  .hero-note {
    right: .75rem;
    bottom: .75rem;
  }

  .path-card {
    grid-template-rows: 300px auto;
  }

  .project-grid,
  .decor-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    display: block;
  }

  .gallery-item,
  .gallery-item:nth-child(3n) {
    width: 100%;
    min-height: 320px;
  }

  .gallery-item + .gallery-item {
    margin-top: 1rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .consent-actions {
    grid-template-columns: 1fr;
  }

  .consent-actions .btn,
  .consent-save {
    grid-column: auto;
  }

  .whatsapp-floating span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .whatsapp-floating {
    width: 52px;
    padding: 0;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

