:root {
  --ink: #202421;
  --cream: #f1ece3;
  --paper: #fbf9f5;
  --sand: #d5b58a;
  --gold: #c4a06b;
  --muted: #74776f;
  --line: #d8d0c3;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.announcement {
  background: var(--ink);
  color: #ead8be;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.17em;
  padding: 9px;
}

.announcement span {
  color: var(--gold);
  padding: 0 10px;
}

.header {
  height: 84px;
  padding: 0 6.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #0000000c;
}

.brand img {
  width: 235px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.nav a:hover {
  color: #a57e4a;
}

.nav-cta {
  border: 1px solid var(--gold);
  padding: 11px 17px;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.toggle {
  display: none;
}

.hero {
  min-height: 650px;
  height: min(75vw, 760px);
  max-height: 790px;
  position: relative;
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0 0 0 30%;
  background: url("assets/Capa_inicial.jpeg") center 55% / cover;
  opacity: 0.94;
  -webkit-user-drag: none;
  user-select: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #171b18f5 0%, #171b18d6 29%, #171b1840 66%, #171b1810 100%),
    linear-gradient(0deg, #171b1840, transparent 35%);
}

.hero-content {
  position: relative;
  padding: 65px 0 70px 9%;
  max-width: 620px;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 0.22em;
  color: #9c7950;
  font-weight: 600;
  margin: 0 0 20px;
}

.gold {
  color: #d8b889;
}

.hero h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(52px, 6.3vw, 84px);
}

em {
  font-weight: 400;
  color: var(--sand);
}

.hero-copy {
  font-size: 16px;
  max-width: 370px;
  color: #e0ded7;
  margin: 24px 0 30px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-size: 14px;
  letter-spacing: 0.13em;
  font-weight: 600;
  transition: 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.gold-btn {
  background: var(--sand);
  color: #242720;
}

.gold-btn:hover {
  background: #e0c39b;
}

.text-link {
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #f5f0e7;
}

.dark-link {
  color: #343930;
}

.hero-note {
  position: absolute;
  right: 6.5%;
  bottom: 45px;
  font-size: 14px;
  letter-spacing: 0.18em;
  line-height: 1.8;
  color: #f3e9da;
}

.section {
  padding: 100px 9%;
}

.intro {
  display: grid;
  grid-template-columns: 0.55fr 1.05fr 1.1fr;
  gap: 6%;
  align-items: center;
}

.kicker {
  align-self: start;
  font-size: 32px;
  color: var(--gold);
}

.kicker small {
  display: block;
  font: 14px / 1.7 var(--sans);
  letter-spacing: 0.15em;
  color: #666b62;
  margin-top: 10px;
}

.intro h2,
.section h2,
.portfolio h2 {
  font-size: clamp(37px, 4vw, 55px);
}

.intro h2 em,
.about h2 em,
.process h2 em {
  color: #ad8b60;
}

.intro p,
.about p,
.contact > div > p:not(.eyebrow) {
  font-size: 16px;
  color: #70746c;
  margin: 24px 0;
}

.intro-photo {
  height: 390px;
  position: relative;
  margin: 0;
}

.intro-photo figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #202421e8;
  color: #f4e8d6;
  padding: 13px 16px;
  font-size: 14px;
  letter-spacing: 0.15em;
  display: flex;
  justify-content: space-between;
}

.intro-photo figcaption span {
  color: var(--gold);
}

.services {
  background: var(--cream);
}

.section-heading,
.portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 48px;
}

.side-copy {
  max-width: 300px;
  color: #70746c;
  font-size: 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.service-grid article {
  padding: 26px 22px 10px 0;
  border-right: 1px solid var(--line);
  margin-right: 22px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.service-grid article:focus-within {
  transform: translateY(-5px);
}

.service-grid article:focus-within h3,
.service-grid article:hover h3 {
  color: #8b6a43;
}

.service-grid article:last-child {
  border: 0;
  margin: 0;
}

.service-grid article > span {
  font-size: 14px;
  letter-spacing: 0.13em;
  color: #9a7950;
}

.icon {
  font: 37px var(--serif);
  color: #b08b5e;
  margin: 18px 0;
  transition: transform 0.25s ease;
}

.service-grid article:focus-within .icon,
.service-grid article:hover .icon {
  transform: translateY(-3px) scale(1.08);
}

.service-grid h3,
.steps h3 {
  font: 400 22px var(--serif);
  margin: 0 0 12px;
}

.service-grid p,
.steps p {
  font-size: 16px;
  color: #73776f;
  margin: 0 0 24px;
}

.service-grid article > a {
  display: inline-flex;
  transition: transform 0.2s ease, color 0.2s ease;
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #8b6a43;
}

.service-grid article > a:hover,
.service-grid article > a:focus-visible {
  color: #5f4529;
  transform: translateX(4px);
}

.service-grid article > a:focus-visible {
  outline: 2px solid #8b6a43;
  outline-offset: 5px;
}

.portfolio {
  background: var(--ink);
  color: #f7f3eb;
  padding: 85px 0 40px;
}

.portfolio-head {
  padding-top: 0;
  padding-bottom: 0;
  margin: 0 9% 40px;
}

.portfolio h2 {
  font-size: clamp(39px, 4vw, 55px);
}

.outline-btn {
  border: 1px solid var(--gold);
  color: #f3e8d7;
}

.projects {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 17px;
  padding: 0 6.5%;
}

.project-carousel {
  position: relative;
  height: 300px;
  overflow: hidden;
  contain: paint;
  background: #e8e3dc;
  touch-action: pan-y;
  cursor: grab;
}

.project-carousel:active {
  cursor: grabbing;
}

.project.large .project-carousel {
  height: 380px;
}

.project-carousel-track {
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.project-carousel-slide {
  grid-area: 1 / 1;
  min-width: 0;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease;
}

.project-carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.project-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.project-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #25231f;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: background 0.2s ease, opacity 0.2s ease;
}

.project-carousel:hover .project-carousel-btn,
.project-carousel:focus-within .project-carousel-btn {
  opacity: 1;
}

.project-carousel-btn:hover {
  background: #fff;
}

.project-carousel-btn:focus-visible,
.project-carousel-dots button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.project-carousel-btn.prev {
  left: 14px;
}

.project-carousel-btn.next {
  right: 14px;
}

@media (hover: none) {
  .project-carousel-btn {
    opacity: 1;
  }
}

.project-carousel-dots {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.project-carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.project-carousel-dots button[aria-current="true"] {
  background: #fff;
  transform: scale(1.3);
}

.project-info {
  display: block;
  padding: 15px 0 19px;
  border-bottom: 1px solid #4a4e47;
}

.project:hover .project-info {
  color: #f7f3eb;
}

.project-info small {
  font-size: 14px;
  letter-spacing: 0.13em;
  color: #c6aa83;
}

.project-info h3 {
  font: 400 24px var(--serif);
  margin: 5px 0 0;
}

.project-info h3 b {
  float: right;
  color: var(--sand);
  font: normal 20px var(--sans);
}

@media (max-width: 600px) {
  .project-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .project-carousel-btn.prev {
    left: 10px;
  }

  .project-carousel-btn.next {
    right: 10px;
  }
}

.disclaimer {
  text-align: center;
  font-size: 14px;
  color: #b5b7b0;
  margin: 25px 12px 0;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: center;
}

.about-image {
  height: 510px;
  position: relative;
  padding: 0 30px 30px 0;
}

.about-image:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  border: 1px solid var(--gold);
}

.about-image img {
  position: relative;
  z-index: 1;
}

.about-image span {
  position: absolute;
  z-index: 2;
  bottom: 5px;
  left: -22px;
  background: var(--sand);
  padding: 20px 23px;
  font-size: 14px;
  letter-spacing: 0.16em;
  line-height: 1.7;
}

.about p {
  color: #71756d;
}

.dark-btn {
  background: var(--ink);
  color: white;
  margin-top: 8px;
}

.process {
  background: #eae4d9;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 11%;
  align-items: start;
}

.steps article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #d0c7b9;
}

.steps article:last-child {
  border: 0;
  margin: 0;
}

.steps article > span {
  font: 26px var(--serif);
  color: #b18c60;
}

.steps h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  max-width: 390px;
}

.quote {
  text-align: center;
  background: #d6c1a4;
  padding: 62px 20px;
  color: #2b3029;
}

.quote > span {
  font: 70px / 0.8 var(--serif);
  color: #8b6d48;
}

.quote blockquote {
  font: clamp(26px, 3.5vw, 42px) / 1.25 var(--serif);
  max-width: 760px;
  margin: 12px auto 20px;
}

.quote small {
  font-size: 14px;
  letter-spacing: 0.2em;
}

.contact {
  background: var(--ink);
  color: #f8f4eb;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12%;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contact h2 {
  font-size: clamp(39px, 4vw, 56px);
}

.contact > div > p:not(.eyebrow) {
  max-width: 390px;
  color: #c4c5bd;
}

.contact-details {
  position: relative;
  z-index: 1;
}

.contact-details > div {
  padding: 16px 0;
  border-bottom: 1px solid #444940;
}

.contact-details small {
  display: block;
  color: var(--sand);
  font-size: 14px;
  letter-spacing: 0.17em;
  margin-bottom: 7px;
}

.contact-details a,
.contact-details p {
  font-size: 16px;
  color: #f3eee4;
  margin: 0;
}

.replace-note {
  font-size: 14px;
  color: #a9aea5;
  margin-top: 18px;
}

.footer {
  padding: 28px 6.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer .brand img {
  width: 190px;
}

.footer > p {
  font: italic 16px var(--serif);
  color: #777a71;
}

.footer > small {
  font-size: 14px;
  color: #85877f;
}

@media (max-width: 900px) {
  .header {
    padding: 0 5%;
  }

  .nav {
    gap: 16px;
    font-size: 14px;
  }

  .nav-cta {
    font-size: 14px;
  }

  .section {
    padding: 78px 7%;
  }

  .intro {
    grid-template-columns: 0.4fr 1fr;
    gap: 30px;
  }

  .intro-photo {
    grid-column: 2;
    height: 300px;
  }

  .kicker {
    grid-row: 1 / span 2;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .service-grid article:nth-child(2) {
    border-right: 0;
  }

  .projects {
    padding: 0 5%;
    gap: 12px;
  }

  .project-carousel,
  .project.large .project-carousel {
    height: 270px;
  }

  .about {
    gap: 7%;
  }

  .about-image {
    height: 430px;
  }
}

@media (max-width: 650px) {
  .announcement {
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .header {
    height: 72px;
  }

  .brand img {
    width: 195px;
  }

  .toggle {
    display: block;
    border: 0;
    background: none;
    font-size: 23px;
    color: var(--ink);
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 18px 7% 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid #e9e3d9;
    font-size: 16px;
  }

  .nav .nav-cta {
    text-align: center;
    margin-top: 12px;
    padding: 12px;
    font-size: 14px;
  }

  .hero {
    height: 680px;
    min-height: 0;
    align-items: flex-end;
  }

  .hero-bg {
    inset: 0;
    background-position: 58% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, #151916f7 0%, #151916d1 43%, #15191612 100%);
  }

  .hero-content {
    padding: 0 7% 85px;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .actions {
    gap: 17px;
  }

  .hero-note {
    display: none;
  }

  .section {
    padding: 64px 7%;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .kicker {
    grid-row: auto;
  }

  .kicker small {
    display: inline-block;
    margin-left: 10px;
  }

  .intro h2,
  .section h2,
  .portfolio h2 {
    font-size: clamp(36px, 10vw, 42px);
  }

  .intro-photo {
    grid-column: auto;
    height: 315px;
  }

  .section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .side-copy {
    margin-top: 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    margin: 0;
    padding: 22px 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-grid article:nth-child(odd) {
    padding-right: 0;
  }

  .service-grid article:nth-child(even) {
    padding-left: 0;
  }

  .service-grid h3 {
    font-size: 19px;
  }

  .icon {
    margin: 10px 0;
  }

  .portfolio {
    padding: 62px 0 28px;
  }

  .portfolio-head {
    display: block;
    margin: 0 7% 28px;
  }

  .portfolio-head .btn {
    margin-top: 22px;
  }

  .projects {
    grid-template-columns: 1fr;
    padding: 0 7%;
    gap: 17px;
  }

  .project-carousel,
  .project.large .project-carousel {
    height: 290px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    height: 380px;
    margin-left: 12px;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .steps article {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .quote {
    padding: 50px 8%;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer {
    padding: 24px 7%;
    flex-wrap: wrap;
  }

  .footer .brand img {
    width: 165px;
  }

  .footer > p {
    order: 3;
    width: 100%;
    margin: 0;
  }

  .footer > small {
    font-size: 14px;
    text-align: right;
    max-width: 170px;
  }
}

/* CARROSSEL DA GALERIA DE INTERIORES */

.intro-photo .carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  contain: paint;
  background: #e8e3dc;
}

.intro-photo .carousel-track {
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.intro-photo .carousel-slide {
  grid-area: 1 / 1;
  min-width: 0;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease;
}

.intro-photo .carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.intro-photo .carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.about-image img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.intro-photo .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #25231f;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.intro-photo .carousel-btn:hover {
  background: #fff;
}

.intro-photo .carousel-btn:focus-visible,
.intro-photo .carousel-dots button:focus-visible {
  outline: 2px solid #25231f;
  outline-offset: 3px;
}

.intro-photo .carousel-btn.prev {
  left: 14px;
}

.intro-photo .carousel-btn.next {
  right: 14px;
}

.intro-photo .carousel-dots {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.intro-photo .carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.intro-photo .carousel-dots button[aria-current="true"] {
  background: #fff;
  transform: scale(1.3);
}

@media (max-width: 600px) {
  .intro-photo .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .intro-photo .carousel-btn.prev {
    left: 10px;
  }

  .intro-photo .carousel-btn.next {
    right: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-grid article,
  .service-grid article .icon,
  .service-grid article > a,
  .intro-photo .carousel-slide,
  .project-carousel-slide {
    transition: none;
  }
}
