:root {
  --product-green: #009879;
  --product-green-dark: #006f5d;
  --product-ink: #222222;
  --product-muted: #4c4c4c;
  --product-line: #d6d6d6;
  --product-soft: #f3f3f3;
}

body {
  min-width: 0;
  margin: 0;
  color: var(--product-ink);
  background: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
}

.product-container {
  width: min(100% - 40px, 1120px);
  margin-inline: auto;
}

.product-header {
  color: #ffffff;
  background: var(--product-green);
}

.product-header__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.product-header__logo img {
  width: 152px;
  height: auto;
}

.product-header__back {
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.product-header__back:hover,
.product-header__back:focus-visible {
  text-decoration: underline;
}

.product-main {
  padding: 50px 0 86px;
}

.product-breadcrumb {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
  color: var(--product-green-dark);
  font-size: 0;
  text-decoration: none;
}

.product-breadcrumb::before {
  content: "←";
  color: currentColor;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.product-breadcrumb::after {
  content: "Ver todos os produtos";
  font-size: 12px;
  font-weight: 800;
}

.product-breadcrumb:hover,
.product-breadcrumb:focus-visible {
  text-decoration: none;
}

.product-breadcrumb:hover::after,
.product-breadcrumb:focus-visible::after {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
  padding-bottom: 76px;
}

.product-showcase__image {
  display: grid;
  min-height: 430px;
  place-items: center;
  padding: 42px;
  border: 1px solid var(--product-line);
  border-radius: 8px;
  background: var(--product-soft);
}

.product-showcase__image img {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
}

.product-kicker {
  margin: 0 0 14px;
  color: var(--product-green);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.product-showcase h1 {
  margin: 0 0 22px;
  color: var(--product-green);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.08;
}

.product-lead {
  margin: 0;
  color: var(--product-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.product-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--product-green);
  border-radius: 5px;
  color: #ffffff;
  background: var(--product-green);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.product-button:hover,
.product-button:focus-visible {
  background: var(--product-green-dark);
}

.product-button--outline {
  color: var(--product-green-dark);
  background: #ffffff;
}

.product-button--outline:hover,
.product-button--outline:focus-visible {
  color: #ffffff;
}

.product-application {
  padding: 0 0 76px;
}

.product-application__image {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--product-soft);
}

.product-application__image img {
  width: 100%;
  height: clamp(230px, 34vw, 410px);
  object-fit: cover;
}

.product-application__caption {
  margin: 16px 0 0;
  color: var(--product-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.product-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 52px 0 70px;
  border-top: 1px solid var(--product-line);
  border-bottom: 1px solid var(--product-line);
}

.product-details h2 {
  margin: 0 0 18px;
  color: var(--product-green);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.product-details ul {
  margin: 0;
  padding-left: 20px;
}

.product-details li {
  margin-bottom: 10px;
  color: var(--product-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.product-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 20px 10px;
  text-align: center;
}

.product-cta h2 {
  margin: 0 0 14px;
  color: var(--product-green);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.15;
}

.product-cta p {
  max-width: 620px;
  margin: 0 0 26px;
  color: var(--product-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.product-footer {
  min-height: 263px;
  padding: 62px 20px 24px;
  color: #ffffff;
  background: var(--product-green);
}

.product-footer__inner {
  text-align: center;
}

.product-footer__logo {
  width: 168px;
  height: auto;
  margin: 0 auto 50px;
}

.product-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.product-footer__label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
}

.product-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 500;
}

.product-footer a {
  color: inherit;
  text-decoration: none;
}

.product-footer a:hover,
.product-footer a:focus-visible {
  text-decoration: underline;
}

.product-footer__copyright {
  margin-top: 72px !important;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

:focus-visible {
  outline: 3px solid rgba(0, 111, 93, 0.55);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .product-showcase {
    gap: 42px;
  }

  .product-showcase__image {
    min-height: 340px;
    padding: 32px;
  }

  .product-details {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .product-container {
    width: min(100% - 36px, 1120px);
  }

  .product-header__inner {
    min-height: 70px;
  }

  .product-header__logo img {
    width: 126px;
  }

  .product-header__back {
    font-size: 11px;
  }

  .product-main {
    padding: 34px 0 62px;
  }

  .product-breadcrumb {
    margin-bottom: 22px;
  }

  .product-showcase {
    grid-template-columns: 1fr;
    padding-bottom: 54px;
  }

  .product-showcase__image {
    min-height: 290px;
    padding: 28px;
  }

  .product-showcase__image img {
    max-height: 260px;
  }

  .product-lead {
    font-size: 14px;
  }

  .product-application {
    padding-bottom: 54px;
  }

  .product-application__image img {
    height: 230px;
  }

  .product-details {
    padding: 42px 0 54px;
  }

  .product-cta {
    padding-top: 56px;
  }

  .product-cta h2 {
    font-size: 24px;
  }

  .product-footer {
    padding-bottom: 88px;
  }

  .product-footer__cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-phone {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }

  .product-phone svg {
    width: 34px;
    height: 34px;
  }

  .product-phone__icon {
    width: 34px;
    height: 34px;
  }
}

/* Hero e elementos de navegacao alinhados visualmente a landing principal. */
.product-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  background: transparent;
}

.product-header__inner {
  width: 100%;
  min-height: 0;
  padding: 50px 66px 0;
}

.product-header__logo img {
  width: 165px;
}

.product-header__back {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.product-main {
  padding: 0;
}

.product-main > .product-container {
  width: 100%;
  margin: 0;
}

.product-breadcrumb {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.product-breadcrumb::before {
  display: none;
}

.product-breadcrumb::after {
  content: "\2190  Ver todos os produtos";
  color: inherit;
  font-size: 12px;
  font-weight: 800;
}

.product-breadcrumb:hover::after,
.product-breadcrumb:focus-visible::after {
  text-decoration-thickness: 1px;
}

.product-showcase {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  width: 100%;
  height: clamp(720px, 100vh, 920px);
  min-height: 720px;
  margin: 0;
  padding: 185px 144px 86px;
  background-color: #073f39;
  background-image:
    linear-gradient(90deg, rgba(0, 152, 121, 0.88) 0%, rgba(0, 152, 121, 0.76) 31%, rgba(0, 152, 121, 0.35) 54%, rgba(0, 152, 121, 0) 73%),
    linear-gradient(180deg, rgba(0, 64, 54, 0.08), rgba(0, 64, 54, 0.18)),
    url("../images/hero-building.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.product-showcase > div:not(.product-showcase__image) {
  order: 1;
}

.product-showcase__image {
  order: 2;
  min-height: 430px;
  padding: 34px;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.9);
}

.product-kicker,
.product-showcase h1,
.product-lead {
  color: #ffffff;
}

.product-kicker {
  font-size: 14px;
}

.product-showcase h1 {
  max-width: 560px;
  font-size: clamp(36px, 4.1vw, 56px);
}

.product-lead {
  max-width: 590px;
  font-size: 16px;
  line-height: 1.5;
}

.product-showcase .product-button {
  border-color: #ffffff;
  color: var(--product-green);
  background: #ffffff;
}

.product-showcase .product-button--outline {
  color: #ffffff;
  background: transparent;
}

.product-showcase .product-button--outline:hover,
.product-showcase .product-button--outline:focus-visible {
  color: var(--product-green);
  background: #ffffff;
}

.product-application,
.product-details,
.product-cta {
  width: min(100% - 40px, 1000px);
  margin-inline: auto;
}

.product-application {
  padding: 80px 0;
}

.product-details {
  padding: 52px 0 70px;
}

.product-cta {
  padding: 70px 20px 80px;
}

.product-footer {
  min-height: 263px;
  padding: 62px 20px 24px;
}

@media (max-width: 1100px) {
  .product-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 48px;
    padding-inline: 72px;
  }
}

@media (max-width: 820px) {
  .product-header__inner {
    padding: 42px 28px 0;
  }

  .product-header__logo img {
    width: 150px;
  }

  .product-showcase {
    height: auto;
    min-height: 620px;
    gap: 38px;
    padding: 140px 56px 56px;
  }

  .product-showcase__image {
    min-height: 350px;
    padding: 28px;
  }

  .product-showcase h1 {
    font-size: 44px;
  }
}

@media (max-width: 640px) {
  .product-header__inner {
    min-height: 0;
    padding: 34px 22px 0;
  }

  .product-header__logo img {
    width: 126px;
  }

  .product-showcase {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 34px;
    padding: 130px 22px 52px;
  }

  .product-showcase__image {
    min-height: 290px;
  }

  .product-showcase h1 {
    font-size: 32px;
  }

  .product-lead {
    font-size: 14px;
  }

  .product-application,
  .product-details,
  .product-cta {
    width: min(100% - 36px, 1000px);
  }

  .product-application {
    padding: 56px 0;
  }

  .product-cta {
    padding-bottom: 64px;
  }

}

.product-quote {
  width: min(100% - 40px, 1000px);
  margin: 0 auto;
  padding: 42px 0 74px;
}

.product-quote__panel {
  position: relative;
  width: min(100%, 872px);
  height: 472px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 8px;
}

.product-quote__panel::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 10, 20, 0.99) 0%, rgba(8, 10, 19, 0.98) 36%, rgba(8, 10, 18, 0.72) 51%, rgba(8, 10, 18, 0.22) 67%, rgba(8, 10, 18, 0.86) 100%),
    radial-gradient(circle at 54% 64%, rgba(228, 216, 178, 0.54), rgba(228, 216, 178, 0.18) 27%, rgba(8, 10, 18, 0) 57%),
    image-set(
      url("../images/form-wall-bg.webp") type("image/webp"),
      url("../images/form-wall-bg.jpg") type("image/jpeg")
    ) center center / cover no-repeat;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.product-quote__panel::after {
  position: absolute;
  right: -22px;
  bottom: 0;
  z-index: 1;
  width: 430px;
  height: 556px;
  content: "";
  background: image-set(
    url("../images/form-person-new.webp") type("image/webp"),
    url("../images/form-person-new.png") type("image/png")
  ) center bottom / auto 542px no-repeat;
  pointer-events: none;
}

.product-quote__form {
  position: absolute;
  top: 46px;
  left: 42px;
  z-index: 2;
  width: 380px;
}

.product-quote__form h2 {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.product-quote__form label {
  display: block;
  margin-bottom: 16px;
}

.product-quote__form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.product-quote__form input,
.product-quote__form textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  color: #394049;
  background: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.product-quote__form input {
  height: 45px;
  padding: 0 22px;
}

.product-quote__form textarea {
  height: 98px;
  padding: 22px;
  resize: vertical;
}

.product-quote__form input:hover,
.product-quote__form textarea:hover,
.product-quote__form input:focus,
.product-quote__form textarea:focus {
  box-shadow: inset 0 0 0 2px rgba(0, 152, 121, 0.28);
  transform: translateY(-1px);
}

.product-quote__form .field-error {
  outline: 2px solid #ff7269;
}

.product-quote__form .product-button {
  min-width: 171px;
  height: 26px;
  margin: 2px 0 0 8px;
  border: 0;
  border-radius: 4px;
  font-size: 12px;
}

@media (min-width: 901px) {
  .product-quote__panel {
    overflow: visible;
  }
}

@media (max-width: 900px) and (min-width: 641px) {
  .product-quote__panel {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .product-quote {
    width: min(100% - 36px, 1000px);
    padding-bottom: 64px;
  }

  .product-quote__panel {
    height: auto;
    min-height: 0;
    padding: 34px 22px 30px;
  }

  .product-quote__panel::before {
    background:
      linear-gradient(90deg, rgba(7, 10, 20, 0.98), rgba(8, 10, 19, 0.91)),
      image-set(
        url("../images/form-wall-bg.webp") type("image/webp"),
        url("../images/form-wall-bg.jpg") type("image/jpeg")
      ) center / cover no-repeat;
  }

  .product-quote__panel::after {
    right: -150px;
    width: 310px;
    height: 400px;
    background-size: auto 385px;
    opacity: 0.22;
  }

  .product-quote__form {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .product-quote__form input,
  .product-quote__form textarea {
    font-size: 14px;
  }
}
