:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --surface: #ffffff;
  --surface-dark: rgba(255, 255, 255, 0.04);
  --text: #111827;
  --text-muted: #6b7280;
  --line: #d1d5db;
  --line-soft: rgba(255, 255, 255, 0.12);
  --brand-red: #e53935;
  --brand-red-dark: #c62828;
  --brand-blue: #272B6E;
  --brand-blue-dark: #14173a;
  --shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: min(1180px, calc(100vw - 40px));
}

@font-face {
  font-family: "Neue Haas Grotesk";
  src: url("./fonts/NeueHaasGrotText-55Roman-Trial.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Neue Haas Grotesk", sans-serif;
  font-size: 18px;
  background: var(--bg);
  color: var(--text);
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-shell {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 23, 58, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 4px;
}

.brand {
  flex-shrink: 0;
}

.brand-logo {
  width: 90px;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
  color: #fff;
}

.desktop-nav a {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: var(--brand-blue);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

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

.button--ghost {
  background: transparent;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: var(--brand-blue-dark);
  color: var(--brand-blue-dark);
  background-color: transparent;
}

.button--ghost-header {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.button--ghost-header:hover,
.button--ghost-header:focus-visible {
  background-color: #fff;
  border-color: #fff;
  color: var(--brand-blue-dark);
}

.button--small {
  min-height: 48px;
  padding: 0 24px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hero {
  padding: 72px 0 82px;
  background: linear-gradient(180deg, #f8f8fb 0%, #ffffff 100%);
}

.hero-shell,
.hero-top,
.hero-grid,
.section-head,
.works-layout,
.company-grid,
.contact-grid {
  display: grid;
  gap: 30px;
}

.hero-top {
  align-items: end;
  gap: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-blue);
}


.eyebrow--dark {
  color: var(--brand-blue);
}

h1,
h2,
h3,
strong {
  margin: 0;
}

h1,
h2 {
  font-family: "Neue Haas Grotesk", "Inter", sans-serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--brand-blue-dark);
  max-width: 11.5ch;
}

h1 span {
  display: block;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 13ch;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.25;
}

p {
  margin: 0;
  line-height: 1.75;
}

.hero-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.hero-text {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 54ch;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.02fr);
  gap: 34px;
}

.hero-panel {
  border-radius: var(--radius-xl);
}

.hero-panel--content {
  padding-top: 12px;
  display: grid;
  gap: 30px;
  align-content: start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.hero-metrics div {
  padding: 18px 0 0;
  border-top: 1px solid #e6e8ef;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-blue-dark);
  font-size: 1.1rem;
}

.hero-metrics span {
  color: var(--text-muted);
  font-size: 1rem;
}

.hero-panel--visual {
  display: grid;
  gap: 14px;
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid #dfe3ee;
  min-height: 220px;
}

.hero-image--large {
  min-height: 460px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.38)),
    url("./img/iguatemi.jpeg") center/cover;
  box-shadow: 0 30px 80px rgba(20, 23, 58, 0.12);
}

.hero-image--small {
  min-height: 180px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.4)),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=900&q=80") center/cover;
}

.hero-image-row {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 16px;
}

.hero-tag,
.hero-note,
.service-item,
.method-card,
.work-card,
.company-card,
.contact-card {
  box-shadow: var(--shadow);
}

.hero-tag {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.93);
}

.hero-tag span,
.hero-note small,
.service-item span,
.work-card-copy span,
.contact-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-tag span,
.hero-note small {
  color: var(--text-muted);
}

.hero-note {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: #fff;
  min-height: 100%;
  display: grid;
  align-content: center;
  border: 1px solid #e6e8ef;
}

.hero-tag strong,
.hero-note p {
  font-size: 1.05rem;
  line-height: 1.55;
}

.band {
  background: var(--brand-blue-dark);
  border-bottom: 1px solid #eceff4;
}

.band-grid {
  min-height: 110px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: center;
}

.band-grid p {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  max-width: 18ch;
  font-size: 1rem;
}

.section {
  padding: 110px 0;
}

.section--light {
  background: #fff;
}

.section--dark {
  background: #191d47;
  color: #fff;
}

.section-head {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  align-items: start;
  gap: 32px;
}

.section-body {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 32px;
}

.section-body .service-list {
  grid-column: 1 / -1;
  max-width: none;
  width: 100%;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 42ch;
}

.section-head-image {
  min-height: 360px;
  border-radius: var(--radius-xl);
  border: 1px solid #eceff4;
  background: url("./img/ponto-alto-itatiba.jpeg") center/cover no-repeat;
}

.section-head--inverted p {
  color: rgba(255, 255, 255, 0.78);
}

.service-list {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.service-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 70px;
  gap: 22px;
  padding: 32px 30px;
  border-radius: var(--radius-xl);
  border: 1px solid #eceff4;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.04);
}

.service-item span {
  color: var(--brand-red);
  margin-bottom: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.service-item p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.service-item p strong {
  display: block;
  margin-bottom: 14px;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  font-weight: 700;
}

.service-item-icon {
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(39, 63, 128, 0.05);
}

.service-item-icon::before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(39, 63, 128, 0.12), rgba(229, 57, 53, 0.18));
}

.method-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}

.method-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface-dark);
  border: 1px solid var(--line-soft);
}

.method-card strong {
  display: block;
  margin-bottom: 18px;
  color: #fff;
}

.method-card p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
}

.works {
  background: #f8f8fb;
}

.works-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  align-items: center;
}

.works-copy p,
.company-card p,
.contact-copy p {
  color: var(--text-muted);
}

.contact-copy h2,
.company-card h2,
.works-copy h2,
.section-head h2 {
  max-width: 12ch;
}

.works-carousel {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.work-card {
  min-height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  flex: 0 0 min(420px, 100%);
  width: min(420px, 100%);
  scroll-snap-align: center;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(20, 23, 58, 0.84);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.carousel-button.prev {
  left: -24px;
}

.carousel-button.next {
  right: -24px;
}

@media (max-width: 780px) {
  .works-carousel {
    padding: 0 10px;
  }

  .carousel-button {
    display: none;
  }
}

.work-card--one {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.14), rgba(17, 24, 39, 0.74)),
    url("./img/big") center/cover;
}

.work-card--two {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.14), rgba(17, 24, 39, 0.74)),
    url("./img/big-2.jpeg") center/cover;
}

.work-card--three {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.14), rgba(17, 24, 39, 0.74)),
    url("./img/coca-cola-campo-grande.jpeg") center/cover;
}

.work-card--four {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.14), rgba(17, 24, 39, 0.74)),
    url("./img/iguatemi.jpeg") center/cover;
}

.work-card--five {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.14), rgba(17, 24, 39, 0.74)),
    url("./img/ponto-alto-itatiba.jpeg") center/cover;
}

.work-card--six {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.14), rgba(17, 24, 39, 0.74)),
    url("./img/rsf-itatiba.jpeg") center/cover;
}

.work-card--seven {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.14), rgba(17, 24, 39, 0.74)),
    url("./img/sesc-jundiai.jpeg") center/cover;
}

.work-card--eight {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.14), rgba(17, 24, 39, 0.74)),
    url("./img/sesc-jundiai-2.jpeg") center/cover;
}

.work-card--nine {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.14), rgba(17, 24, 39, 0.74)),
    url("./img/Residencial Itatiba.jpg") center/cover;
}

.work-card--ten {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.14), rgba(17, 24, 39, 0.74)),
    url("./img/Residencial Itatiba 2.jpg") center/cover;
}

.work-card--eleven {
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.14), rgba(17, 24, 39, 0.74)),
    url("./img/Residencial itatiba 3.jpg") center/cover;
}

.work-card-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: #fff;
}

.work-card-copy span {
  color: rgba(255, 255, 255, 0.78);
}

.company {
  background: #ffffff;
}

.company-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.company-card {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid #eceff4;
}

.company-card--accent {
  background:
    linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-red) 100%);
  border: 0;
  color: #fff;
  display: grid;
  gap: 22px;
  align-content: center;
  justify-items: start;
}

.company-logo {
  width: 148px;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
}

.company-card--accent strong {
  font-family: "Neue Haas Grotesk", "Inter", sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.contact {
  background: #f8f8fb;
}

.contact-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid #eceff4;
}

.contact-card a {
  display: grid;
  gap: 6px;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}

.contact-card a:last-child {
  border-bottom: none;
}

.contact-card span {
  color: var(--brand-blue);
}

.contact-card strong {
  font-size: 1.1rem;
}

.site-footer {
  padding: 28px 0 36px;
  background: var(--brand-blue-dark);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3ddc84, #15b35d);
  color: #04110a;
  font-weight: 900;
  box-shadow: 0 22px 45px rgba(34, 197, 94, 0.28);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .nav {
    min-height: 82px;
  }

  .brand-logo {
    width: 82px;
  }

  .hero-heading,
  .hero-grid,
  .section-head,
  .works-layout,
  .company-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-text {
    max-width: 58ch;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-panel--content {
    max-width: 720px;
  }

  .hero-panel--visual {
    max-width: 720px;
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 780px) {
  .nav {
    min-height: 78px;
    gap: 14px;
  }

  .button--small {
    display: none;
  }

  .brand-logo {
    width: 72px;
  }

  .hero {
    padding: 36px 0 56px;
  }

  .hero-heading {
    gap: 18px;
  }

  .hero-image-row,
  .band-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

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

  .work-card {
    min-height: 300px;
  }

  .section {
    padding: 86px 0;
  }

  .hero-image--large {
    min-height: 420px;
  }

  .hero-image--small {
    min-height: 200px;
  }

  .company-card,
  .contact-card,
  .service-item,
  .method-card {
    padding: 24px;
  }

  .footer-row {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100vw - 28px, 1180px);
  }

  h1 {
    font-size: clamp(2.2rem, 11.5vw, 3.4rem);
    line-height: 0.96;
    max-width: 100%;
  }

  h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
    max-width: 100%;
  }

  .hero-heading {
    gap: 20px;
  }

  .hero-text,
  .section-head p,
  .company-card p,
  .contact-copy p,
  .service-item p,
  .method-card p {
    font-size: 1rem;
  }

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

  .button,
  .button--ghost {
    width: 100%;
  }

  .hero-image,
  .hero-note,
  .service-item,
  .method-card,
  .work-card,
  .company-card,
  .contact-card {
    border-radius: 22px;
  }

  .hero-tag,
  .hero-note,
  .service-item,
  .method-card,
  .company-card {
    padding: 18px;
  }

  .hero-image--large {
    min-height: 340px;
  }

  .hero-image--small {
    min-height: 170px;
  }

  .hero-tag strong,
  .hero-note p,
  .contact-card strong {
    font-size: 1rem;
  }

  .work-card {
    min-height: 260px;
  }

  .contact-card a {
    padding: 20px 18px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 52px;
    padding: 0 18px;
  }
}
