:root {
  --ivory: #f7f3e8;
  --linen: #eee7d6;
  --mist: #dfe3cc;
  --sage: #9ca57b;
  --olive: #55613e;
  --moss: #29341f;
  --clay: #a56f4f;
  --charcoal: #23241f;
  --paper: rgba(255, 252, 244, 0.86);
  --line: rgba(35, 36, 31, 0.16);
  --shadow: 0 22px 60px rgba(63, 70, 47, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(247, 243, 232, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.brand-mark {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: contrast(1.28);
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.28rem, 3vw, 1.7rem);
  font-weight: 700;
}

.brand small {
  color: var(--olive);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions {
  flex: 0 0 auto;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-1px);
}

.icon-button:focus-visible,
.text-link:focus-visible,
.brand:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(165, 111, 79, 0.45);
  outline-offset: 3px;
}

.icon-button.solid {
  background: var(--moss);
  color: var(--ivory);
  box-shadow: 0 12px 30px rgba(35, 36, 31, 0.16);
}

.icon-button.solid:hover {
  background: var(--olive);
}

.icon-button.ghost {
  background: rgba(255, 252, 244, 0.58);
  border-color: var(--line);
}

.icon-button.ghost:hover {
  background: rgba(255, 252, 244, 0.92);
  border-color: rgba(85, 97, 62, 0.34);
}

.hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: center;
  padding: clamp(84px, 12vw, 136px) clamp(20px, 6vw, 88px) clamp(70px, 8vw, 104px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(247, 243, 232, 0.94) 0%, rgba(247, 243, 232, 0.74) 44%, rgba(247, 243, 232, 0.16) 100%),
    url("assets/casa-ev-cozinha-02.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(247, 243, 232, 0.08), rgba(247, 243, 232, 0.58)),
    linear-gradient(90deg, rgba(247, 243, 232, 0.82), rgba(247, 243, 232, 0.16) 64%, rgba(247, 243, 232, 0.02));
}

.hero-copy {
  width: min(650px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.98;
}

h1 {
  margin-bottom: 22px;
  max-width: 12ch;
  font-size: clamp(4.2rem, 13vw, 8.7rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  max-width: 980px;
  font-size: clamp(2.45rem, 6vw, 4.8rem);
  font-weight: 600;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 28px;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  color: rgba(35, 36, 31, 0.82);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--moss);
  font-weight: 800;
  border-bottom: 1px solid rgba(41, 52, 31, 0.38);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band {
  padding-top: clamp(34px, 5vw, 54px);
  padding-bottom: clamp(34px, 5vw, 54px);
  background: var(--moss);
  color: var(--ivory);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
}

.intro-grid p {
  max-width: 860px;
  margin-bottom: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 3.6vw, 2.75rem);
  line-height: 1.08;
}

.intro-points {
  display: grid;
  gap: 10px;
}

.intro-points span {
  padding: 7px 11px;
  border: 1px solid rgba(247, 243, 232, 0.24);
  border-radius: 999px;
  color: rgba(247, 243, 232, 0.86);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.section-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  overflow: hidden;
  min-width: 0;
  background: rgba(255, 252, 244, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(63, 70, 47, 0.08);
  text-decoration: none;
  color: inherit;
}

.case-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 20px;
  padding: 10px 16px;
  border: 1px solid rgba(36, 55, 25, 0.32);
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #243719;
  text-decoration: none;
  transition: 0.2s ease;
}

.case-card:hover .case-link {
  background: #243719;
  color: #fff8e8;
  border-color: #243719;
}

.case-media {
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.case-media-one {
  background-image:
    linear-gradient(180deg, rgba(41, 52, 31, 0.02), rgba(41, 52, 31, 0.18)),
    url("assets/casa-sobrados-fachada.png");
  background-size: cover;
  background-position: center;
}

.case-media-two {
  background-image:
    linear-gradient(180deg, rgba(41, 52, 31, 0.02), rgba(41, 52, 31, 0.18)),
    url("assets/casa-ev-fachada.png");
  background-size: cover;
  background-position: center;
}

.case-media-three {
  background-image:
    linear-gradient(180deg, rgba(41, 52, 31, 0.02), rgba(41, 52, 31, 0.18)),
    url("assets/casa-a-muz-fachada.png");
  background-size: cover;
  background-position: center;
}

.case-media-four {
  background-image:
    linear-gradient(180deg, rgba(41, 52, 31, 0.02), rgba(41, 52, 31, 0.18)),
    url("assets/valente-advocacia-fachada.jpeg");
  background-size: cover;
  background-position: center;
}

.case-copy {
  padding: 22px;
}

.case-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-copy p,
.service-list p,
.about-copy p,
.contact-copy p {
  color: rgba(35, 36, 31, 0.72);
}

.case-copy p {
  margin-bottom: 0;
}

.services-band {
  background:
    linear-gradient(180deg, rgba(223, 227, 204, 0.6), rgba(238, 231, 214, 0.82)),
    var(--linen);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(35, 36, 31, 0.18);
  border-left: 1px solid rgba(35, 36, 31, 0.18);
}

.service-list article {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
  border-right: 1px solid rgba(35, 36, 31, 0.18);
  border-bottom: 1px solid rgba(35, 36, 31, 0.18);
}

.service-list svg {
  width: 28px;
  height: 28px;
  margin-bottom: 24px;
  color: var(--olive);
  stroke-width: 1.55;
}

.service-list p {
  margin-bottom: 0;
}

.about-section {
  background: var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 84px);
}

.about-image-wrap {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 48% 26%;
}

.about-copy p {
  max-width: 670px;
  font-size: 1.03rem;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(41, 52, 31, 0.88), rgba(41, 52, 31, 0.7)),
    url("assets/contact-bg-generated.png") center / cover no-repeat;
  color: var(--ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 7vw, 78px);
  align-items: start;
}

.contact-copy .eyebrow,
.contact-copy p {
  color: rgba(247, 243, 232, 0.82);
}

.contact-copy h2 {
  color: var(--ivory);
}

.contact-instagram {
  margin-top: 10px;
  color: var(--ivory);
  background: rgba(247, 243, 232, 0.08);
  border-color: rgba(247, 243, 232, 0.22);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid rgba(255, 252, 244, 0.42);
  border-radius: 8px;
  color: var(--charcoal);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.lead-form label span {
  font-size: 0.86rem;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  background: rgba(255, 252, 244, 0.84);
  border: 1px solid rgba(35, 36, 31, 0.2);
  border-radius: 6px;
  color: var(--charcoal);
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 3px solid rgba(85, 97, 62, 0.2);
  border-color: rgba(85, 97, 62, 0.58);
}

.submit-button {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--olive);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--charcoal);
  color: rgba(247, 243, 232, 0.82);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.site-footer a {
  border-bottom: 1px solid rgba(247, 243, 232, 0.4);
}

@media (max-width: 980px) {
  .case-grid,
  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-points {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: center;
    gap: 10px;
    min-height: 0;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .icon-button {
    width: 44px;
    padding: 0;
  }

  .header-actions .icon-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .hero {
    min-height: 74svh;
    align-items: flex-end;
    padding-top: 72px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(247, 243, 232, 0.56) 0%, rgba(247, 243, 232, 0.84) 62%, rgba(247, 243, 232, 0.98) 100%),
      url("assets/hero-cozinha.jpg") center top / cover no-repeat;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(3.45rem, 17vw, 4.5rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .case-media {
    min-height: 220px;
  }

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

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

@media (max-width: 420px) {
  .brand {
    gap: 8px;
  }

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

  .brand small {
    font-size: 0.66rem;
  }

  .site-header {
    padding-inline: 14px;
  }

  .section,
  .hero {
    padding-inline: 16px;
  }
}
.contact-section {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  padding: 96px 0;
  background-image:
    linear-gradient(90deg, rgba(31, 45, 24, 0.94), rgba(31, 45, 24, 0.72)),
    url("assets/contact-bg-generated.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: #fff8e8 !important;
}

.contact-section .contact-grid,
.contact-section .contact-simple {
  display: flex;
  align-items: center;
  min-height: 460px;
}

.contact-section .contact-copy {
  max-width: 760px;
}

.contact-section .eyebrow,
.contact-section h2,
.contact-section p {
  color: #fff8e8 !important;
}

.contact-section h2 {
  max-width: 780px;
  margin-bottom: 28px;
}

.contact-section .contact-copy > p {
  max-width: 720px;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.75;
  color: rgba(255, 248, 232, 0.9) !important;
}

.contact-actions {
  margin-top: 34px;
}

.contact-whatsapp,
.contact-section .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: #fff8e8 !important;
  color: #243719 !important;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.contact-section .primary-button svg {
  width: 18px;
  height: 18px;
}

.contact-links {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.14);
  border: 1px solid rgba(255, 248, 232, 0.24);
  color: #fff8e8 !important;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 820px) {
  .contact-section {
    min-height: auto;
    padding: 72px 0;
  }

  .contact-section .contact-grid,
  .contact-section .contact-simple {
    min-height: auto;
  }

  .contact-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
.contact-section {
  padding: 110px 0 150px;
}

.contact-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.contact-content {
  max-width: 820px;
}

.contact-section .eyebrow {
  display: block;
  margin-bottom: 28px;
}

.contact-section h2 {
  max-width: 780px;
  margin: 0 0 30px;
}

.contact-section .contact-content > p {
  max-width: 760px;
  margin-bottom: 38px;
}

.contact-actions {
  margin-top: 0;
}

.contact-button,
.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  background: #fff8e8 !important;
  color: #243719 !important;
  font-family: "Inter", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 248, 232, 0.5);
  transition: 0.2s ease;
}

.contact-button:hover,
.contact-whatsapp:hover {
  transform: translateY(-2px);
  background: #f1e6d2 !important;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff8e8;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.82;
}

.footer-links a:hover {
  opacity: 1;
}

@media (max-width: 820px) {
  .contact-section {
    padding: 76px 0 100px;
  }

  .contact-inner {
    width: min(100% - 32px, 1180px);
  }

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

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .about-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-quote {
  margin: 0;
  max-width: 420px;
  padding-left: 0;
  border-left: none;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  font-style: italic !important;
  color: rgba(85, 102, 60, 0.95);
}
