:root {
  --petroleum: #2f3c41;
  --urban-black: #222222;
  --snow: #f4f2ef;
  --graphite: #4d4d4d;
  --accent-green: #08a046;
  --ink: var(--urban-black);
  --muted: var(--graphite);
  --paper: var(--snow);
  --surface: var(--snow);
  --line: rgba(47, 60, 65, 0.18);
  --shadow: 0 24px 70px rgba(34, 34, 34, 0.15);
  --radius: 8px;
  --max: 1180px;
}

.contact-form-status {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 14px 16px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

* {
  box-sizing: border-box;
}

::selection {
  color: var(--urban-black);
  background: var(--accent-green);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

:is(.service-detail-page, .formwork-page, .gallery-minimal-page, .about-page,
    .blog-page-body, .article-page-body, .contact-page-body) {
  --site-header-background: #2c363b;
  background: #f6f5f2;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-green);
  outline-offset: 3px;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--snow);
  background: var(--site-header-background, transparent);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  padding-block: 12px;
  color: var(--snow);
  background: var(--site-header-background, rgba(34, 34, 34, 0.88));
  box-shadow: 0 18px 50px rgba(34, 34, 34, 0.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  justify-self: start;
  place-items: center;
  width: 196px;
  min-height: 58px;
}

.brand img {
  width: 100%;
  max-height: 64px;
  object-fit: contain;
  filter: none;
  transition: filter 180ms ease;
}

.site-header.is-scrolled .brand img,
.site-header.menu-active .brand img {
  filter: none;
}

.main-nav {
  display: flex;
  justify-self: center;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.main-nav > a,
.nav-dropdown-toggle {
  position: relative;
}

.main-nav > a::after,
.nav-dropdown-toggle::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent-green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after,
.main-nav > a.active::after,
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after,
.nav-dropdown.is-open .nav-dropdown-toggle::after,
.nav-dropdown-toggle.active::after {
  transform: scaleX(1);
}

.main-nav > a.active,
.nav-dropdown-toggle.active {
  color: inherit;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0;
  text-transform: inherit;
}

.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg,
.nav-dropdown.is-open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.services-menu {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  z-index: 40;
  display: grid;
  width: min(760px, 88vw);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--snow);
  box-shadow: 0 26px 70px rgba(34, 34, 34, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.nav-dropdown:hover .services-menu,
.nav-dropdown:focus-within .services-menu,
.nav-dropdown.is-open .services-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.services-menu a {
  display: grid;
  gap: 3px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: rgba(47, 60, 65, 0.04);
  text-transform: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.services-menu a:hover,
.services-menu a:focus-visible {
  border-color: rgba(8, 160, 70, 0.42);
  background: rgba(8, 160, 70, 0.08);
  transform: translateY(-2px);
}

.services-menu span {
  color: var(--accent-green);
  font-size: 0.74rem;
  font-weight: 800;
}

.services-menu strong {
  color: var(--petroleum);
  font-size: 0.95rem;
  line-height: 1.15;
}

.services-menu small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 14px;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: inherit;
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.18);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--snow);
  background: var(--accent-green);
  transform: translateY(-2px);
}

.site-header.is-scrolled .social-link,
.site-header.menu-active .social-link {
  background: rgba(244, 242, 239, 0.12);
}

.site-header.is-scrolled .social-link:hover,
.site-header.is-scrolled .social-link:focus-visible,
.site-header.menu-active .social-link:hover,
.site-header.menu-active .social-link:focus-visible {
  color: var(--snow);
  background: var(--accent-green);
}

.social-link svg {
  width: 21px;
  height: 21px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 78vh;
  overflow: hidden;
  color: var(--snow);
  background: var(--petroleum);
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 64vh;
  overflow: hidden;
  color: var(--snow);
  background-color: var(--petroleum);
  background-position: center;
  background-size: cover;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(47, 60, 65, 0.96), rgba(47, 60, 65, 0.68) 55%, rgba(34, 34, 34, 0.3)),
    linear-gradient(180deg, rgba(34, 34, 34, 0.08), rgba(34, 34, 34, 0.42));
}

.page-hero-services {
  background-image: url("assets/servico-projetos.webp");
}

.page-hero-gallery {
  background-image: url("assets/galeria/galeria-01.webp");
}

.page-hero-about {
  background-image: url("assets/escritorio_viesa.webp");
}

.page-hero-blog {
  background-image: url("assets/servico-eit.webp");
}

.page-hero-contact {
  background-image: url("assets/escritorio_viesa.webp");
}

.page-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100% - 40px, var(--max));
  min-height: 64vh;
  margin: 0 auto;
  padding: 130px 0 72px;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(244, 242, 239, 0.86);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(34, 34, 34, 0.9), rgba(47, 60, 65, 0.68) 48%, rgba(34, 34, 34, 0.2)),
    linear-gradient(180deg, rgba(34, 34, 34, 0.08), rgba(34, 34, 34, 0.4));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100% - 40px, var(--max));
  min-height: 78vh;
  margin: 0 auto;
  padding: 108px 0 40px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--petroleum);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  flex: 0 0 auto;
  content: "";
  background: var(--accent-green);
}

.hero .eyebrow,
.page-hero .eyebrow,
.intro-band .eyebrow,
.sustainability .eyebrow,
.process-band .eyebrow,
.values-band .eyebrow,
.compact-cta .eyebrow,
.contact .eyebrow,
.location-band .eyebrow {
  color: var(--snow);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 610px;
  margin: 18px 0 0;
  color: rgba(244, 242, 239, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--snow);
  border-color: var(--petroleum);
  background: var(--petroleum);
  box-shadow: inset 0 -3px 0 var(--accent-green);
}

.button.primary:hover,
.button.primary:focus-visible {
  color: var(--snow);
  background: var(--urban-black);
}

.hero .button.primary,
.process-band .button.primary,
.compact-cta .button.primary {
  color: var(--urban-black);
  border-color: var(--snow);
  background: var(--snow);
}

.hero .button.primary:hover,
.hero .button.primary:focus-visible,
.process-band .button.primary:hover,
.process-band .button.primary:focus-visible,
.compact-cta .button.primary:hover,
.compact-cta .button.primary:focus-visible {
  color: var(--snow);
  border-color: var(--urban-black);
  background: var(--urban-black);
}

.button.ghost {
  color: var(--snow);
  border-color: rgba(244, 242, 239, 0.48);
  background: rgba(244, 242, 239, 0.08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 720px);
  margin: 32px 0 0;
  overflow: hidden;
  border: 1px solid rgba(244, 242, 239, 0.2);
  border-radius: var(--radius);
  background: rgba(244, 242, 239, 0.12);
  backdrop-filter: blur(12px);
}

.hero-stats div {
  padding: 14px 16px;
  background: rgba(34, 34, 34, 0.24);
}

.hero-stats dt {
  font-size: 1.2rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(244, 242, 239, 0.76);
  font-size: 0.9rem;
}

.section {
  padding: clamp(68px, 9vw, 112px) 20px;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.intro-band {
  padding-top: 36px;
  padding-bottom: 16px;
  color: var(--snow);
  background: var(--urban-black);
}

.intro-band .split {
  align-items: center;
}

.intro-band h2 {
  font-size: clamp(1.55rem, 2.35vw, 2.35rem);
  line-height: 1.06;
}

.intro-description {
  margin: 0;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(244, 242, 239, 0.2);
  border-left: 3px solid var(--accent-green);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(8, 160, 70, 0.08), rgba(244, 242, 239, 0.025));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  transition: border-color 280ms ease, box-shadow 280ms ease, transform 280ms ease;
}

.intro-description:hover {
  border-color: rgba(8, 160, 70, 0.65);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16), 0 0 20px rgba(8, 160, 70, 0.07);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .intro-description {
    transition: none;
  }

  .intro-description:hover {
    transform: none;
  }
}

.intro-band + .services {
  padding-top: clamp(20px, 2vw, 28px);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.services {
  padding-top: clamp(36px, 5vw, 60px);
  padding-bottom: clamp(22px, 3vw, 34px);
  background: var(--urban-black);
}

.services .section-heading {
  margin-bottom: 18px;
}

.services .eyebrow {
  color: var(--snow);
}

.service-carousel {
  position: relative;
  padding-inline: 58px;
}

.service-grid {
  display: grid;
  grid-auto-columns: minmax(330px, 29%);
  grid-auto-flow: column;
  gap: 24px;
  padding: 4px 4px 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 4px;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--snow) rgba(244, 242, 239, 0.2);
  scrollbar-width: thin;
}

.service-grid:focus-visible {
  outline: 3px solid var(--accent-green);
  outline-offset: 5px;
}

.service-grid::-webkit-scrollbar {
  height: 10px;
}

.service-grid::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(244, 242, 239, 0.2);
}

.service-grid::-webkit-scrollbar-thumb {
  border: 2px solid var(--urban-black);
  border-radius: 999px;
  background: var(--snow);
}

.service-card {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--accent-green);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(34, 34, 34, 0.07);
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(34, 34, 34, 0.12);
}

.card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--petroleum);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.service-card:hover .card-image img {
  transform: scale(1.025);
}

.card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.card-content h3 {
  margin-top: 10px;
  color: var(--petroleum);
  font-size: 1.25rem;
}

.service-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--petroleum);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-number::after {
  width: 26px;
  height: 2px;
  content: "";
  background: var(--accent-green);
}

.service-card p {
  margin: 10px 0 20px;
  color: var(--muted);
}

.service-actions {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 10px;
  margin-top: auto;
}

.service-actions .button {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 0.8rem;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.carousel-arrow {
  position: absolute;
  top: calc(50% - 10px);
  z-index: 3;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--petroleum);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--snow);
  box-shadow: 0 10px 26px rgba(34, 34, 34, 0.18);
  font-size: 1.4rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: color 180ms ease, background 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  color: var(--urban-black);
  background: var(--accent-green);
  transform: translateY(-50%) scale(1.06);
}

.carousel-arrow:disabled {
  cursor: default;
  opacity: 0.3;
  transform: translateY(-50%);
}

.carousel-arrow-prev {
  left: 0;
}

.carousel-arrow-next {
  right: 0;
}

.service-more {
  color: var(--petroleum);
  border-color: var(--petroleum);
  background: transparent;
}

.service-more:hover,
.service-more:focus-visible {
  color: var(--snow);
  background: var(--petroleum);
}

.service-quote {
  color: var(--snow);
  border-color: var(--urban-black);
  background: var(--urban-black);
}

.service-quote:hover,
.service-quote:focus-visible {
  color: var(--urban-black);
  border-color: var(--accent-green);
  background: var(--accent-green);
}

.page-services {
  background: var(--paper);
}

.service-hub {
  min-height: 100vh;
}

.service-single-hero {
  position: relative;
  display: grid;
  min-height: auto;
  overflow: hidden;
  color: var(--snow);
  background: var(--urban-black);
}

.service-single-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(47, 60, 65, 0.82), rgba(34, 34, 34, 0.94));
}

.service-single-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100% - 40px, var(--max));
  min-height: auto;
  margin: 0 auto;
  padding: 124px 0 50px;
}

.service-single-content h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.service-single-content p:not(.eyebrow) {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(244, 242, 239, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.service-single-content .eyebrow {
  color: var(--snow);
}

.service-single {
  background: var(--paper);
}

.service-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.service-main-copy h2,
.service-side-card h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.service-main-copy p {
  color: var(--muted);
}

.service-media-panel {
  margin: 26px 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(34, 34, 34, 0.08);
}

.service-media-panel img {
  width: 100%;
  height: clamp(260px, 30vw, 390px);
  object-fit: cover;
}

.service-media-panel figcaption {
  padding: 14px 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
}

.service-feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.service-feature-list li {
  padding: 18px 18px 18px 22px;
  border-left: 3px solid var(--accent-green);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(34, 34, 34, 0.06);
}

.service-feature-list strong {
  display: block;
  color: var(--petroleum);
}

.service-feature-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.service-side-card {
  position: sticky;
  top: 102px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-side-card p {
  color: var(--muted);
}

.service-side-card ul {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-side-card li::marker {
  color: var(--accent-green);
}

.service-side-card .button {
  width: 100%;
  margin-top: 16px;
}

.service-steps {
  color: var(--snow);
  background: var(--urban-black);
}

.service-steps .eyebrow {
  color: var(--snow);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-detail-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-detail-card h2 {
  margin-top: 40px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.service-detail-card p,
.service-detail-card li {
  color: var(--muted);
}

.service-detail-card ul {
  display: grid;
  gap: 7px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.process-band {
  color: var(--snow);
  background: var(--urban-black);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 34px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 242, 239, 0.14);
  border-radius: var(--radius);
  list-style: none;
  background: rgba(244, 242, 239, 0.14);
}

.process-grid li {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 26px;
  background: rgba(47, 60, 65, 0.78);
}

.process-grid span {
  color: var(--accent-green);
  font-weight: 800;
}

.process-grid strong {
  margin-top: auto;
  font-size: 1.2rem;
}

.process-grid p {
  margin: 8px 0 0;
  color: rgba(244, 242, 239, 0.72);
}

.sustainability {
  color: var(--snow);
  background: var(--petroleum);
}

.sustainability-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.image-stack {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-stack img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.sustainability p:not(.eyebrow) {
  color: rgba(244, 242, 239, 0.8);
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--petroleum);
  font-weight: 800;
}

.text-link::after {
  content: " ->";
  color: var(--accent-green);
}

.sustainability .text-link {
  color: var(--snow);
}

.area h2 {
  max-width: 520px;
  color: var(--snow);
  font-size: 2.35rem;
  line-height: 1.08;
}

.area {
  padding-top: clamp(26px, 3.5vw, 42px);
  padding-bottom: clamp(40px, 5vw, 60px);
  color: var(--snow);
  background: var(--urban-black);
}

.area .eyebrow {
  color: var(--snow);
}

.area-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.area-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(244, 242, 239, 0.78);
}

.area-map-link {
  margin: clamp(18px, 2vw, 26px) 0 10px;
  color: var(--snow);
}

.address-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  justify-self: end;
  padding: clamp(20px, 2.5vw, 30px);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.address-card span {
  color: var(--muted);
}

.address-card strong {
  max-width: 360px;
  margin-top: 6px;
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  line-height: 1.12;
}

.address-card small {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.map-card {
  height: clamp(300px, 32vw, 370px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--snow);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.founders {
  padding-top: clamp(48px, 6vw, 72px);
  background: var(--snow);
}

.about-story p {
  margin-top: 0;
  color: var(--muted);
}

.about-page .site-header,
.gallery-minimal-page .site-header {
  color: var(--snow);
  box-shadow: 0 12px 36px rgba(34, 34, 34, 0.14);
  backdrop-filter: blur(16px);
}

.about-page .about-story {
  padding-top: clamp(132px, 12vw, 158px);
  padding-bottom: clamp(52px, 6vw, 72px);
}

.about-page .about-story .split {
  grid-template-columns: minmax(0, 1fr) minmax(500px, 0.95fr);
  gap: clamp(36px, 5vw, 68px);
}

.about-page .about-story h1 {
  margin: 0;
  letter-spacing: 0;
  max-width: 560px;
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  line-height: 1.08;
}

.about-page .about-story-text {
  max-width: 590px;
  margin-top: 26px;
}

.about-page .about-story-text p + p {
  margin-top: 16px;
}

.about-page .about-partners {
  margin-top: clamp(42px, 5vw, 62px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-page .about-partners .eyebrow {
  margin-bottom: 18px;
}

.about-page .partner-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--line);
}

.about-page .partner-logo {
  display: grid;
  min-width: 0;
  min-height: 104px;
  place-items: center;
  padding: 16px;
  background: var(--surface);
}

.about-page .partner-logo img {
  width: auto;
  max-width: min(100%, 150px);
  height: auto;
  max-height: 68px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.about-page a.partner-logo {
  cursor: pointer;
  transition: background 180ms ease;
}

.about-page a.partner-logo:hover,
.about-page a.partner-logo:focus-visible {
  background: var(--snow);
}

.about-page a.partner-logo:hover img,
.about-page a.partner-logo:focus-visible img {
  transform: scale(1.05);
}

.about-page .values-band {
  padding-top: clamp(52px, 6vw, 72px);
  padding-bottom: clamp(52px, 6vw, 72px);
}

.about-page .values-band .section-heading {
  margin-bottom: 24px;
}

.values-band {
  color: var(--snow);
  background: var(--urban-black);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(244, 242, 239, 0.16);
  border-radius: var(--radius);
  background: rgba(47, 60, 65, 0.38);
}

.value-grid span {
  color: var(--accent-green);
  font-size: 0.82rem;
  font-weight: 800;
}

.value-grid h3 {
  margin-top: 82px;
}

.value-grid p {
  margin-bottom: 0;
  color: rgba(244, 242, 239, 0.7);
}

.about-page .value-grid article {
  display: flex;
  min-height: 184px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 22px;
  text-align: center;
}

.about-page .value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-page .value-grid h3 {
  margin-top: 14px;
}

.about-page .value-grid p {
  margin-top: 10px;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.founder-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--snow);
  background: var(--petroleum);
}

.founder-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(34, 34, 34, 0.82));
}

.founder-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-card div {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  z-index: 1;
}

.founder-card p,
.founder-card span {
  margin: 0;
  color: rgba(244, 242, 239, 0.74);
}

.founder-card h3 {
  margin: 4px 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.about-page .founder-grid {
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 24px;
}

.about-page .story-founder-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.about-page .founder-card {
  min-height: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--snow);
  box-shadow: 0 16px 42px rgba(34, 34, 34, 0.08);
}

.about-page .founder-card::after {
  display: none;
}

.about-page .founder-photo {
  position: relative;
  inset: auto;
  height: 330px;
  overflow: hidden;
  background: var(--paper);
}

.about-page .story-founder-grid .founder-photo {
  height: 270px;
}

.about-page .founder-card .founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.about-page .founder-card .founder-info {
  position: static;
  padding: 18px 20px 20px;
}

.about-page .founder-card .founder-info h3 {
  margin: 0 0 4px;
  font-size: 1.45rem;
}

.about-page .founder-card .founder-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.gallery {
  background: var(--surface);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery-grid img:first-child {
  grid-row: span 2;
}

.gallery-minimal-page .gallery-page {
  padding-top: clamp(112px, 10vw, 138px);
  padding-bottom: clamp(22px, 3vw, 36px);
}

.gallery-page .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.project-gallery {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 160px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.project-photo {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--petroleum);
  cursor: zoom-in;
}

.project-photo-large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-photo-wide {
  grid-column: span 2;
}

.project-photo-tall {
  grid-row: span 2;
}

.project-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(34, 34, 34, 0.02), rgba(34, 34, 34, 0.16));
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.project-photo:hover img {
  transform: scale(1.025);
}

.project-photo:hover::after {
  opacity: 1;
}

.project-photo:focus-visible {
  outline-offset: 4px;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(54px, 7vw, 82px) clamp(18px, 5vw, 64px) clamp(24px, 4vw, 48px);
  background: rgba(16, 18, 18, 0.92);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox > img {
  width: auto;
  max-width: min(100%, 1400px);
  height: auto;
  max-height: calc(100dvh - 106px);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  cursor: default;
}

.gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(244, 242, 239, 0.32);
  border-radius: 50%;
  color: var(--snow);
  background: rgba(34, 34, 34, 0.72);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
  color: var(--urban-black);
  background: var(--accent-green);
  transform: scale(1.05);
}

.gallery-lightbox-close svg {
  width: 22px;
  height: 22px;
}

.compact-cta {
  color: var(--snow);
  background: var(--petroleum);
}

.compact-cta .section-inner,
.location-band .section-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.compact-cta h2 {
  max-width: 780px;
}

.compact-cta .button,
.location-band .button {
  flex: 0 0 auto;
}

.gallery-minimal-page .compact-cta {
  padding-top: clamp(34px, 4vw, 48px);
  padding-bottom: clamp(34px, 4vw, 48px);
  color: var(--ink);
  background: transparent;
  border-top: 1px solid var(--line);
}

.gallery-minimal-page .compact-cta .section-inner {
  align-items: center;
  gap: 24px;
}

.gallery-minimal-page .compact-cta .eyebrow {
  margin-bottom: 8px;
  color: var(--petroleum);
}

.gallery-minimal-page .compact-cta h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.gallery-minimal-page .compact-cta .button.primary {
  color: var(--snow);
  border-color: var(--petroleum);
  background: var(--petroleum);
}

.gallery-minimal-page .compact-cta .button.primary:hover,
.gallery-minimal-page .compact-cta .button.primary:focus-visible {
  color: var(--snow);
  border-color: var(--urban-black);
  background: var(--urban-black);
}

.blog-page {
  min-height: 100vh;
  padding: clamp(124px, 10vw, 152px) 20px clamp(72px, 8vw, 108px);
}

.blog-shell {
  width: min(100%, 1240px);
}

.blog-heading {
  display: grid;
  justify-items: center;
  gap: 24px;
  margin-bottom: clamp(42px, 6vw, 72px);
  text-align: center;
}

.blog-heading h1 {
  margin: 0;
  color: var(--petroleum);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.blog-search {
  display: grid;
  width: min(100%, 720px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(47, 60, 65, 0.22);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(34, 34, 34, 0.08);
}

.blog-search > svg {
  width: 21px;
  height: 21px;
  margin-left: 18px;
  color: var(--petroleum);
}

.blog-search input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 0;
  color: var(--ink);
  background: transparent;
  outline: 0;
}

.blog-search input::placeholder {
  color: rgba(77, 77, 77, 0.68);
}

.blog-search:focus-within {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(8, 160, 70, 0.12), 0 12px 34px rgba(34, 34, 34, 0.08);
}

.blog-search button {
  align-self: stretch;
  padding: 0 24px;
  color: var(--snow);
  border: 0;
  background: var(--petroleum);
  cursor: pointer;
  font-weight: 800;
  transition: background 180ms ease;
}

.blog-search button:hover,
.blog-search button:focus-visible {
  background: var(--urban-black);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.blog-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.blog-results-heading .eyebrow {
  margin-bottom: 6px;
}

.blog-results-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.blog-results-count {
  flex: 0 0 auto;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(47, 60, 65, 0.16);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(34, 34, 34, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.post-card:hover {
  border-color: rgba(8, 160, 70, 0.44);
  box-shadow: 0 18px 46px rgba(34, 34, 34, 0.11);
  transform: translateY(-4px);
}

.post-card[hidden] {
  display: none;
}

.post-visual {
  display: flex;
  min-height: 230px;
  align-items: flex-end;
  padding: 22px;
  color: var(--snow);
  background-position: center;
  background-size: cover;
}

.post-visual-green {
  background-image: linear-gradient(rgba(47, 60, 65, 0.28), rgba(34, 34, 34, 0.82)), url("assets/blog/gestao-de-residuos/gestao-de-residuos-imagem-destaque.webp");
}

.post-visual-red {
  background-image: linear-gradient(rgba(34, 34, 34, 0.24), rgba(34, 34, 34, 0.82)), url("assets/blog/desvendando-o-ppci-um-guia-completo/PPCI-imagem-destaque.webp");
}

.post-visual-blue {
  background-image: linear-gradient(rgba(47, 60, 65, 0.24), rgba(47, 60, 65, 0.84)), url("assets/blog/eit-eiv-na-pratica/imagem-destaque.webp");
}

.post-visual-calcadas {
  background-image: linear-gradient(rgba(47, 60, 65, 0.24), rgba(34, 34, 34, 0.82)), url("assets/blog/alvara-de-calcada-em-goiania/calcada-acessivel.webp");
}

.post-visual-cbmgo {
  background-image: linear-gradient(rgba(47, 60, 65, 0.2), rgba(34, 34, 34, 0.82)), url("assets/blog/substituicao-projetos-fisicos-cbmgo-2029/projeto-aprovado-em-papel.webp");
}

.article-inline-image {
  margin: 32px 0;
}

.article-inline-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.article-inline-image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.post-visual span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.post-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.post-content h3 {
  margin: 0;
  color: var(--petroleum);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  line-height: 1.14;
}

.post-content > p:not(.post-meta) {
  color: var(--muted);
}

.post-meta {
  margin: 0 0 10px;
  color: var(--accent-green);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.post-content .text-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 8px;
}

.blog-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 24px;
}

.blog-sidebar-card {
  padding: 26px;
  border: 1px solid rgba(47, 60, 65, 0.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(34, 34, 34, 0.05);
}

.blog-sidebar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--petroleum);
}

.blog-sidebar-title svg {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
}

.blog-sidebar-title h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.most-read-list {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.most-read-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
}

.most-read-number {
  color: rgba(47, 60, 65, 0.25);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
}

.most-read-list a {
  display: block;
  color: var(--petroleum);
  font-weight: 800;
  line-height: 1.3;
}

.most-read-list a:hover,
.most-read-list a:focus-visible {
  color: var(--accent-green);
}

.view-count {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.view-count svg {
  width: 15px;
  height: 15px;
}

.blog-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-topics button,
.blog-empty button {
  padding: 9px 13px;
  color: var(--petroleum);
  border: 1px solid rgba(47, 60, 65, 0.16);
  border-radius: 999px;
  background: #f4f6f8;
  cursor: pointer;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.blog-topics button:hover,
.blog-topics button:focus-visible,
.blog-topics button[aria-pressed="true"] {
  color: var(--snow);
  border-color: var(--petroleum);
  background: var(--petroleum);
}

.blog-empty {
  padding: 44px 24px;
  border: 1px dashed rgba(47, 60, 65, 0.3);
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.58);
}

.blog-empty h3 {
  margin: 0;
  color: var(--petroleum);
}

.blog-empty p {
  color: var(--muted);
}

.blog-empty button {
  color: var(--snow);
  border-color: var(--petroleum);
  background: var(--petroleum);
}

.article-page {
  min-height: 100vh;
  padding-top: 88px;
}

.article-hero {
  padding: clamp(34px, 5vw, 54px) 20px;
  color: var(--snow);
  background:
    linear-gradient(120deg, rgba(34, 34, 34, 0.98), rgba(47, 60, 65, 0.93)),
    var(--petroleum);
}

.article-hero-inner {
  max-width: 1180px;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(244, 242, 239, 0.68);
  font-size: 0.82rem;
  font-weight: 600;
}

.article-breadcrumb a:hover,
.article-breadcrumb a:focus-visible {
  color: var(--snow);
}

.article-kicker {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 12px;
  color: var(--urban-black);
  border-radius: 999px;
  background: var(--accent-green);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.article-hero-copy {
  min-width: 0;
}

.article-hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  line-height: 1.05;
}

.article-summary {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(244, 242, 239, 0.82);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 30px;
  color: rgba(244, 242, 239, 0.72);
  font-size: 0.86rem;
  font-weight: 600;
}

.article-meta span + span {
  position: relative;
}

.article-meta a[rel="author"] {
  text-decoration: underline;
  text-decoration-color: rgba(244, 242, 239, 0.45);
  text-underline-offset: 3px;
}

.article-meta a[rel="author"]:hover,
.article-meta a[rel="author"]:focus-visible {
  color: var(--snow);
  text-decoration-color: var(--accent-green);
}

.article-meta span + span::before {
  position: absolute;
  top: 50%;
  left: -14px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: var(--accent-green);
  transform: translateY(-50%);
}

.article-hero-image {
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  background: var(--petroleum);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26);
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
  max-width: 1180px;
  padding-top: clamp(34px, 5vw, 56px);
  padding-bottom: clamp(72px, 9vw, 118px);
}

.article-body {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(47, 60, 65, 0.14);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(34, 34, 34, 0.06);
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body .article-lead {
  color: var(--petroleum);
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.65;
}

.article-body h2 {
  margin: 46px 0 18px;
  color: var(--petroleum);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.16;
}

.article-body h2:first-of-type {
  margin-top: 38px;
}

.article-body h3 {
  margin: 32px 0 12px;
  color: var(--petroleum);
  font-size: 1.2rem;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding-left: 24px;
}

.article-body li::marker {
  color: var(--accent-green);
  font-weight: 800;
}

.article-inline-image {
  margin: 38px 0;
  overflow: hidden;
  border-radius: 14px;
  background: #edf1f3;
}

.article-inline-image img {
  width: 100%;
  height: auto;
}

.article-legal-note {
  margin-top: 38px;
  padding: 22px 24px;
  color: var(--petroleum);
  border-left: 4px solid var(--accent-green);
  border-radius: 0 12px 12px 0;
  background: rgba(8, 160, 70, 0.08);
  line-height: 1.7;
}

.article-sources {
  margin-top: 42px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.article-sources h2 {
  font-size: 1.35rem;
}

.article-sources a {
  color: var(--petroleum);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(8, 160, 70, 0.46);
  text-underline-offset: 3px;
}

.article-sources a:hover,
.article-sources a:focus-visible {
  color: var(--accent-green);
}

.article-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 22px;
}

.article-toc,
.article-cta {
  padding: 26px;
  border: 1px solid rgba(47, 60, 65, 0.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(34, 34, 34, 0.05);
}

.article-toc h2,
.article-cta h2 {
  margin: 0;
  color: var(--petroleum);
}

.article-toc h2 {
  margin-bottom: 18px;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-toc a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  border-top: 1px solid rgba(47, 60, 65, 0.1);
  font-size: 0.9rem;
  font-weight: 700;
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: var(--accent-green);
}

.article-cta {
  color: var(--snow);
  border-color: var(--petroleum);
  background: var(--petroleum);
}

.article-cta .eyebrow {
  color: var(--snow);
}

.article-cta h2 {
  color: var(--snow);
  font-size: 1.55rem;
  line-height: 1.15;
}

.article-cta > p:not(.eyebrow) {
  color: rgba(244, 242, 239, 0.75);
}

.article-cta .button {
  width: 100%;
  margin-top: 8px;
  color: var(--urban-black);
  border-color: var(--accent-green);
  background: var(--accent-green);
}

.article-cta .button:hover,
.article-cta .button:focus-visible {
  color: var(--urban-black);
  border-color: var(--snow);
  background: var(--snow);
}

.contact {
  color: var(--snow);
  background: var(--petroleum);
}

.contact-faq {
  position: relative;
  isolation: isolate;
  padding-block: clamp(42px, 5vw, 66px);
  color: var(--snow);
  background: var(--urban-black) url("assets/galpao.webp") center / cover no-repeat;
}

.contact-faq::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: rgba(34, 34, 34, 0.66);
}

.contact-faq::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(34, 34, 34, 0.52), rgba(47, 60, 65, 0.42)),
    linear-gradient(180deg, rgba(34, 34, 34, 0.18), rgba(34, 34, 34, 0.48));
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 2.8vw, 32px);
  border: 1px solid rgba(244, 242, 239, 0.14);
  border-radius: var(--radius);
  background: #222222;
  box-shadow: 0 26px 70px rgba(34, 34, 34, 0.34);
}

.contact-panel-copy h2 {
  font-size: clamp(1.875rem, 2.8vw, 2.75rem);
}

.contact-panel-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 8px 0 0;
  color: rgba(244, 242, 239, 0.84);
}

.contact-faq .eyebrow {
  color: var(--snow);
}

.contact-faq .contact-form input::placeholder,
.contact-faq .contact-form textarea::placeholder {
  color: rgba(77, 77, 77, 0.52);
}

.contact-faq .contact-form button {
  justify-self: start;
  min-width: 210px;
  min-height: 44px;
  margin-top: 2px;
  color: var(--urban-black);
  border-color: var(--snow);
  background: var(--snow);
}

.contact-faq .contact-form button:hover,
.contact-faq .contact-form button:focus-visible {
  color: var(--snow);
  border-color: var(--urban-black);
  background: var(--urban-black);
}

.faq-panel .section-heading {
  max-width: 680px;
  margin-bottom: 20px;
}

.faq-panel h2 {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}

.contact-faq .faq-list {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 242, 239, 0.14);
  border-radius: var(--radius);
  background: #222222;
  box-shadow: 0 24px 64px rgba(34, 34, 34, 0.32);
}

.contact-faq .faq-list details {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.contact-faq .faq-list details + details {
  border-top: 1px solid rgba(244, 242, 239, 0.12);
}

.contact-faq .faq-list summary {
  color: var(--snow);
  padding: 18px 22px;
}

.contact-faq .faq-list summary::marker {
  color: var(--accent-green);
}

.contact-faq .faq-list p {
  padding: 0 22px 20px;
  color: rgba(244, 242, 239, 0.78);
}

.contact p:not(.eyebrow) {
  color: rgba(244, 242, 239, 0.78);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: rgba(244, 242, 239, 0.88);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(244, 242, 239, 0.16);
  border-radius: var(--radius);
  background: rgba(34, 34, 34, 0.16);
  box-shadow: 0 22px 65px rgba(34, 34, 34, 0.28);
  backdrop-filter: blur(12px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(244, 242, 239, 0.86);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(244, 242, 239, 0.2);
  border-radius: var(--radius);
  color: var(--snow);
  background: rgba(34, 34, 34, 0.36);
  outline: none;
}

.contact-form input {
  min-height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  padding: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(244, 242, 239, 0.56);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-green);
}

.contact-faq .contact-form {
  gap: 10px;
  grid-template-columns: minmax(0, 1fr);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.contact-faq .contact-form label {
  gap: 0;
  min-width: 0;
  color: rgba(244, 242, 239, 0.82);
  font-size: 0;
}

.contact-faq .contact-form input,
.contact-faq .contact-form textarea {
  color: var(--ink);
  border-color: transparent;
  background: var(--snow);
  font-size: 1rem;
}

.contact-faq .contact-form input {
  min-height: 44px;
}

.contact-faq .contact-form textarea {
  height: 88px;
  min-height: 88px;
  padding: 10px 14px;
}

.contact-page-body .site-header,
.blog-page-body .site-header,
.article-page-body .site-header {
  color: var(--snow);
  box-shadow: 0 18px 50px rgba(34, 34, 34, 0.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.contact-page-body .contact-page {
  padding-top: clamp(120px, 10vw, 148px);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.contact-details h1,
.contact-form-light h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-detail {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-detail span {
  padding-left: 9px;
  color: var(--petroleum);
  border-left: 3px solid var(--accent-green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-detail p,
.contact-detail a {
  margin: 7px 0 0;
  color: var(--muted);
}

.contact-details > .button {
  margin-top: 30px;
}

.contact-form-light {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

.contact-form-light label {
  color: var(--ink);
}

.contact-form-light input,
.contact-form-light textarea {
  color: var(--ink);
  border-color: var(--line);
  background: var(--snow);
}

.contact-form-light input::placeholder,
.contact-form-light textarea::placeholder {
  color: var(--graphite);
}

.location-band {
  padding: 56px 20px;
  color: var(--snow);
  background: var(--petroleum);
}

.location-band h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.location-band p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(244, 242, 239, 0.72);
}

.faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.site-footer {
  padding: 62px 20px 26px;
  color: var(--snow);
  background: var(--urban-black);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 44px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.site-footer img {
  width: 112px;
  margin-bottom: 16px;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--snow);
  font-size: 1rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 8px;
  color: rgba(244, 242, 239, 0.74);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--snow);
}

.copyright {
  width: min(100%, var(--max));
  margin: 42px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 242, 239, 0.14);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 25;
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 999px;
  background: var(--accent-green);
  box-shadow: 0 14px 34px rgba(8, 160, 70, 0.32);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  color: inherit;
}

@media (min-width: 981px) and (max-width: 1100px) {
  .services-menu {
    width: 700px;
  }
}

@media (max-width: 980px) {
  .about-page .about-story .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-page .story-founder-grid {
    grid-template-columns: repeat(2, minmax(0, 280px));
    justify-content: start;
  }

  .about-page .partner-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 86px;
    right: 16px;
    left: 16px;
    max-height: calc(100vh - 102px);
    max-height: calc(100dvh - 102px);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--snow);
    box-shadow: var(--shadow);
  }

  .header-actions {
    grid-column: 3;
  }

  .site-header.menu-active .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px;
    text-align: left;
  }

  .main-nav > a::after,
  .nav-dropdown-toggle::after {
    display: none;
  }

  .services-menu {
    position: static;
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0 0 8px;
    padding: 8px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-dropdown:hover .services-menu,
  .nav-dropdown:focus-within .services-menu {
    display: none;
  }

  .nav-dropdown.is-open .services-menu {
    display: grid;
    transform: none;
  }

  .services-menu a {
    padding: 12px;
  }

  .hero-content {
    min-height: 78vh;
  }

  .split,
  .sustainability-grid,
  .contact-grid,
  .contact-faq-grid,
  .contact-page-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .intro-band .split {
    row-gap: 16px;
  }

  .intro-band .split > p {
    margin-block-start: 0;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-hero-image img {
    min-height: 0;
    max-height: 480px;
  }

  .article-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-auto-columns: auto;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .carousel-arrow {
    display: none;
  }

  .service-carousel {
    padding-inline: 0;
  }

  .founder-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-single-grid {
    grid-template-columns: 1fr;
  }

  .service-side-card {
    position: static;
  }

  .process-grid li:last-child {
    grid-column: span 2;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-grid article {
    min-height: 220px;
  }

  .project-gallery {
    grid-auto-rows: 150px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-photo-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-grid {
    grid-template-rows: none;
  }

  .gallery-grid img:first-child {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .about-page .about-story {
    padding-top: 104px;
    padding-bottom: 42px;
  }

  .about-page .values-band {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .about-page .story-founder-grid {
    grid-template-columns: minmax(0, 340px);
    justify-content: center;
    margin-top: 26px;
  }

  .about-page .story-founder-grid .founder-photo {
    height: 300px;
  }

  .about-page .value-grid {
    grid-template-columns: 1fr;
  }

  .about-page .value-grid article {
    min-height: 158px;
  }

  .area-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .address-card {
    max-width: 560px;
  }

  .area-map-link {
    margin-top: 24px;
  }
}

@media (max-width: 620px) {
  .article-page {
    padding-top: 72px;
  }

  .article-hero {
    padding: 32px 16px;
  }

  .article-breadcrumb {
    margin-bottom: 26px;
  }

  .article-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .article-meta {
    display: grid;
    gap: 5px;
  }

  .article-meta span + span::before {
    display: none;
  }

  .article-hero-image {
    border-radius: 14px;
  }

  .article-hero-image img {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .article-layout {
    width: calc(100% - 32px);
    padding-top: 28px;
    padding-bottom: 64px;
  }

  .article-body {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .article-body p,
  .article-body li {
    font-size: 0.98rem;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .blog-page {
    padding: 108px 16px 64px;
  }

  .blog-heading {
    gap: 18px;
    margin-bottom: 42px;
  }

  .blog-search {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .blog-search button {
    grid-column: 1 / -1;
    min-height: 46px;
  }

  .blog-results-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .blog-sidebar {
    grid-template-columns: 1fr;
  }

  .post-visual {
    min-height: 210px;
  }

  .about-page .about-partners {
    margin-top: 36px;
    padding-top: 24px;
  }

  .about-page .partner-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-page .partner-logo {
    min-height: 92px;
    padding: 12px;
  }

  .about-page .partner-logo img {
    max-width: min(100%, 132px);
    max-height: 58px;
  }

  .about-page .founder-grid {
    grid-template-columns: minmax(0, 340px);
  }

  .about-page .founder-photo {
    height: 310px;
  }

  .gallery-minimal-page .gallery-page {
    padding-top: 96px;
    padding-bottom: 18px;
  }

  .gallery-minimal-page .compact-cta {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .gallery-minimal-page .compact-cta .section-inner {
    align-items: flex-start;
    gap: 20px;
  }

  .gallery-minimal-page .compact-cta h2 {
    font-size: 1.9rem;
  }

  .gallery-lightbox {
    padding: 68px 12px 18px;
  }

  .gallery-lightbox > img {
    max-height: calc(100dvh - 86px);
  }

  .gallery-lightbox-close {
    top: 12px;
    right: 12px;
  }

  .site-header {
    padding: 12px 18px;
    gap: 12px;
  }

  .brand {
    width: 132px;
    min-height: 48px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-social {
    gap: 6px;
  }

  .social-link {
    width: 34px;
    height: 34px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .main-nav {
    top: 76px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: min(100% - 32px, var(--max));
    min-height: auto;
    padding: 104px 0 44px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.35rem);
  }

  .page-hero,
  .page-hero-content {
    min-height: 58vh;
  }

  .page-hero-content {
    width: min(100% - 32px, var(--max));
    padding: 108px 0 52px;
  }

  .page-hero h1 {
    font-size: clamp(2.9rem, 16vw, 5rem);
  }

  .service-single-content {
    width: min(100% - 32px, var(--max));
    padding: 96px 0 36px;
  }

  .service-single-content h1 {
    font-size: clamp(2.35rem, 13vw, 4rem);
  }

  .service-media-panel img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .hero-stats {
    margin-top: 26px;
  }

  .hero-stats div {
    min-width: 0;
    padding: 10px clamp(7px, 2vw, 12px);
  }

  .hero-stats dt {
    font-size: clamp(0.925rem, 3.9vw, 1.1rem);
  }

  .hero-stats dd {
    font-size: clamp(0.75rem, 3.15vw, 0.875rem);
    line-height: 1.3;
    text-wrap: balance;
  }

  .hero-stats dt,
  .hero-stats dd {
    overflow-wrap: anywhere;
  }

  .section {
    padding-inline: 16px;
  }

  .area h2 {
    font-size: 1.85rem;
  }

  .area {
    padding-top: 18px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid,
  .process-grid,
  .blog-grid,
  .project-gallery {
    grid-template-columns: 1fr;
  }

  .process-grid li:last-child,
  .project-photo-wide,
  .project-photo-large,
  .project-photo-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .project-gallery {
    grid-auto-rows: 170px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-photo-large,
  .project-photo-wide {
    grid-column: span 2;
  }

  .project-photo-large {
    grid-row: span 2;
  }

  .project-photo-tall {
    grid-row: span 2;
  }

  .compact-cta .section-inner,
  .location-band .section-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-form,
  .contact-panel,
  .address-card {
    padding: 22px;
  }

  .contact-faq {
    padding-block: 34px;
  }

  .contact-faq .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-faq .contact-form button {
    width: 100%;
  }

  .contact-faq .faq-list summary {
    padding: 16px 18px;
  }

  .contact-faq .faq-list p {
    padding: 0 18px 18px;
  }

  .map-card {
    height: 300px;
  }

  .service-card {
    min-height: 0;
  }

  .service-actions {
    grid-template-columns: 1fr;
  }

  .founder-card {
    min-height: 440px;
  }

  .whatsapp-float {
    right: 8px;
    bottom: 8px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
