/* Tangará: comércio de bairro, caderno de obra e desenho de uma casa.
   Esta camada muda a composição e conserva as interações de styles.css. */
body {
  background: #fcfbf8;
}
.header {
  background: #fff;
}
.topbar {
  background: #29256f;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.button {
  border-radius: 7px;
}
.hero {
  display: block;
  max-width: none;
  min-height: 0;
  background: #f1eff9;
  padding: 58px 0 0;
  overflow: hidden;
}
.hero-content {
  display: flex;
  align-items: center;
  padding: 0 24px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}
.hero .eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
}
.hero h1 {
  font-size: clamp(54px, 5.8vw, 84px);
  line-height: 1.07;
  letter-spacing: -3px;
  margin-bottom: 20px;
}
.hero h1 em {
  color: #c81832;
  font-style: italic;
}
.hero-description {
  max-width: 430px;
  font-size: 14px;
  margin-bottom: 24px;
}
.house-scene {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: center;
  gap: 45px;
  width: min(1050px, calc(100% - 80px));
  margin: 24px auto 0;
  padding: 74px 20px 30px;
  background: url("assets/planta-casa.svg") center bottom / 100% 100% no-repeat;
}
.hero-visual {
  margin: 0;
  height: auto;
  min-height: 0;
  background: #fff;
  padding: 10px;
  border: 1px solid #d6d2e5;
  border-radius: 120px 120px 5px 5px;
  overflow: hidden;
}
.hero-visual img {
  width: 100%;
  height: 310px;
  object-fit: contain;
  object-position: center;
  border-radius: 105px 105px 0 0;
  background: #f4d342;
}
.hero-visual::after {
  display: none;
}
.hero-visual figcaption {
  position: static;
  padding: 13px 3px 7px;
  text-align: center;
  font-size: 9px;
  color: #585375;
}
.project-note {
  padding: 24px 0;
  transform: rotate(-3deg);
}
.note-title {
  font-size: 8px;
  letter-spacing: 1.5px;
  border-bottom: 1px solid #b6b0d0;
  display: block;
  padding-bottom: 12px;
}
.project-note p {
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1.25;
  margin: 22px 0;
  letter-spacing: -0.7px;
}
.project-note em {
  color: #c81832;
}
.project-note .text-link {
  font-size: 10px;
  gap: 16px;
}
.house-address {
  padding-left: 30px;
  text-align: left;
}
.house-address > span {
  display: block;
  color: #c81832;
  font-size: 52px;
  line-height: 1.2;
}
.house-address p {
  font-size: 12px;
  line-height: 1.8;
  margin: 16px 0;
}
.house-address a {
  font-size: 11px;
  border-bottom: 1px solid #aaa2c9;
  padding-bottom: 7px;
  display: inline-flex;
  gap: 30px;
}
.promise-strip {
  background: #fff;
  color: #29256f;
  border-block: 1px solid #ddd9e8;
}
.promise-strip > .container {
  padding-block: 20px;
}
.strip-item svg {
  color: #c81832;
}
.materials .section-heading {
  align-items: flex-start;
}
.section h2 {
  line-height: 1.15;
  letter-spacing: -1.6px;
}
.category-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border: 0;
}
.category {
  border: 1px solid #ddd8e7;
  border-radius: 10px;
  background: #fff;
  min-height: 255px;
  padding: 28px;
}
.category:nth-child(1),
.category:nth-child(4) {
  grid-column: span 2;
}
.category:nth-child(1) {
  background: #eeedf7;
}
.category:nth-child(2) {
  background: #f9e8e5;
}
.category:nth-child(3) {
  background: #f7f0d8;
}
.category:nth-child(4) {
  background: #e9edf2;
}
.category svg {
  color: #69608d;
  width: 120px;
  height: 100px;
  margin: 15px auto 14px;
}
.category:nth-child(1) svg,
.category:nth-child(4) svg {
  position: absolute;
  width: 190px;
  height: 150px;
  right: 22px;
  top: 45px;
  opacity: 0.65;
}
.category:nth-child(1) > div,
.category:nth-child(4) > div {
  margin-top: auto;
  position: relative;
  max-width: 55%;
}
.category h3 {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}
.category div > span {
  font-size: 11px;
}
.category > b {
  right: 25px;
  bottom: 23px;
  color: #c81832;
}
.category:hover {
  filter: brightness(0.98);
  background-color: #f0e9f6;
}
.about {
  border-top: 1px solid #e0dbe8;
  padding-top: 75px;
}
.about-grid {
  grid-template-columns: 0.8fr 1fr;
  gap: 85px;
}
.about-photo {
  height: auto;
  background: #f1eff9;
  padding: 20px;
  border-radius: 8px;
}
.about-photo img {
  height: auto;
  object-fit: contain;
}
.about-photo span {
  position: static;
  display: block;
  padding: 18px 0 0;
  background: none;
  color: #29256f;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 20px;
}
.campaign {
  background: #f5f0e6;
  padding: 70px 0;
}
.campaign-grid {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 85px;
}
.campaign figure {
  order: 2;
  max-width: 340px;
  border-radius: 8px;
  overflow: hidden;
}
.campaign-copy {
  order: 1;
}
.campaign-copy h2 {
  font-size: 42px;
}
.quote-section {
  background: #f1eff9 url("assets/planta-casa.svg") center 35px / 1100px auto no-repeat;
  color: #29256f;
}
.quote-grid {
  display: block;
  max-width: 900px;
}
.quote-grid > div {
  text-align: center;
  margin-bottom: 35px;
}
.quote-section .eyebrow,
.quote-grid > div > p:not(.eyebrow),
.quote-section .quote-note {
  color: #645b80;
}
.quote-section h2 {
  font-family: Georgia, serif;
  font-size: 47px;
  letter-spacing: -1.7px;
}
.quote-section h2 br {
  display: none;
}
.quote-section h2 em {
  color: #c81832;
}
.quote-form {
  max-width: 650px;
  margin: auto;
  border: 1px solid #ddd6e8;
  border-radius: 10px;
  background: #fff;
  padding: 38px 45px;
}
.quote-form .button {
  border-radius: 5px;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  border-radius: 5px;
  background: #fcfbfe;
}
.contact-number {
  margin-top: 5px;
  border-bottom-color: #a79cbd;
}
.visit .social-card {
  background: #f8e8e7;
  border-radius: 10px;
}
.footer {
  background: #29256f;
}
.footer-top > p {
  color: #e0dbf2;
}
.footer-bottom {
  color: #ddd7ed;
}
@media (max-width: 900px) {
  .house-scene {
    gap: 25px;
    width: calc(100% - 55px);
  }
  .hero-visual img {
    height: 270px;
  }
  .project-note p {
    font-size: 25px;
  }
  .house-address {
    padding-left: 5px;
  }
  .category {
    padding: 22px;
  }
  .category h3 {
    font-size: 25px;
  }
  .category:nth-child(1) svg,
  .category:nth-child(4) svg {
    width: 150px;
    right: 8px;
  }
  .about-grid,
  .campaign-grid {
    gap: 45px;
  }
  .campaign-copy h2 {
    font-size: 36px;
  }
}
@media (max-width: 700px) {
  .hero {
    padding-top: 39px;
  }
  .hero-content {
    padding-inline: 20px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.9px;
  }
  .hero h1 {
    font-size: clamp(43px, 8.5vw, 62px);
    letter-spacing: -1.7px;
  }
  .hero-description {
    font-size: 13px;
    max-width: 360px;
  }
  .house-scene {
    width: calc(100% - 32px);
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 48px 10px 24px;
    background-size: 170% 100%;
  }
  .hero-visual {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 325px;
    width: 100%;
    justify-self: center;
  }
  .hero-visual img {
    height: auto;
    max-height: 330px;
  }
  .project-note {
    padding: 7px 0 0;
    transform: none;
  }
  .project-note p {
    font-size: 23px;
    margin: 13px 0;
  }
  .note-title {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .project-note .text-link {
    font-size: 8px;
    gap: 8px;
  }
  .house-address {
    padding-left: 10px;
  }
  .house-address > span {
    font-size: 38px;
  }
  .house-address p {
    font-size: 10px;
  }
  .house-address a {
    font-size: 10px;
    gap: 18px;
  }
  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .category {
    min-height: 270px;
    padding: 20px 15px;
  }
  .category:nth-child(1),
  .category:nth-child(4) {
    grid-column: auto;
  }
  .category:nth-child(1) svg,
  .category:nth-child(4) svg {
    position: static;
    width: 110px;
    height: 100px;
    margin: 16px auto;
    opacity: 1;
  }
  .category:nth-child(1) > div,
  .category:nth-child(4) > div {
    max-width: 100%;
    margin-top: 0;
  }
  .category svg {
    width: 110px;
    height: 100px;
    margin: 16px auto;
  }
  .category h3 {
    font-size: 22px;
    padding-right: 0;
  }
  .category div > span {
    font-size: 9px;
    max-width: 105px;
  }
  .category > b {
    right: 12px;
    bottom: 19px;
  }
  .about {
    padding-top: 55px;
  }
  .about-grid,
  .campaign-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .about-photo {
    height: auto;
    padding: 15px;
  }
  .about-photo img {
    height: auto;
  }
  .campaign {
    padding-block: 55px;
  }
  .campaign figure {
    order: 2;
  }
  .campaign-copy h2 {
    font-size: 34px;
  }
  .quote-section h2 {
    font-size: 37px;
  }
  .quote-form {
    padding: 28px 22px;
  }
}
@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .category > div {
    max-width: 100%;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 40px;
  }
  .hero .eyebrow {
    font-size: 7px;
  }
  .category h3 {
    font-size: 20px;
  }
  .category {
    padding-inline: 12px;
  }
  .project-note p {
    font-size: 21px;
  }
}
