/* ============================================
   KRONUS CONSTRUTORA — Premium Institutional
   Pure CSS3
   ============================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter/inter-latin-400-700.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter/inter-latin-400-700.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter/inter-latin-400-700.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter/inter-latin-400-700.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/montserrat/montserrat-latin-800.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --primary: #181818;
  --secondary: #2b2b2b;
  --gray: #f4f4f4;
  --accent: #b99155;
  --accent-soft: rgba(185, 145, 85, 0.12);
  --border: rgba(24, 24, 24, 0.08);
  --shadow-sm: 0 2px 10px rgba(24, 24, 24, 0.05);
  --shadow-md: 0 18px 50px -20px rgba(24, 24, 24, 0.22);
  --shadow-lg: 0 40px 90px -40px rgba(24, 24, 24, 0.4);
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--secondary);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
}

main {
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

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

::selection {
  background: var(--accent);
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
}

.section-pad {
  padding: 132px 0;
}

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.section-title {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  max-width: 20ch;
}

.section-lead {
  margin-top: 24px;
  max-width: 62ch;
  color: #5c5c5c;
  font-size: 1.05rem;
}

.section-lead-small {
  margin-top: 18px;
  font-size: 1rem;
}

.head-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.head-center .section-title {
  max-width: 24ch;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 34px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    color 0.4s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn:hover::after {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.45s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-accent {
  --btn-bg: var(--accent);
}

.btn-accent::after {
  background: var(--primary);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.btn-ghost::after {
  background: #fff;
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-wa {
  --btn-bg: #25d366;
  --btn-fg: #fff;
  font-weight: 700;
  padding: 20px 38px;
  font-size: 1rem;
}

.btn-wa svg {
  width: 24px;
  height: 24px;
}

.btn-wa::after {
  background: #1eb556;
}

.btn-block {
  width: 100%;
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 100;
  padding: 22px 0;
  background: #000;
  box-sizing: border-box;
  transition:
    background 0.5s var(--ease),
    padding 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-mark {
  height: 44px;
  width: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--primary);
  transition: transform 0.5s var(--ease);
}

.nav .brand {
  gap: 0;
}

.nav .brand-mark {
  width: 156px;
  height: auto;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  opacity: 0.86;
}

.brand:hover .brand-mark {
  transform: scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: #fff;
  transition: color 0.4s var(--ease);
}

.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.35s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 13px 26px;
  font-size: 0.88rem;
}

.nav.scrolled {
  background: #000;
  backdrop-filter: none;
  padding: 12px 0;
  box-shadow: 0 10px 40px -22px rgba(24, 24, 24, 0.28);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav.scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.86);
}

.nav.scrolled .brand-mark {
  width: 140px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1.6px;
  background: #fff;
  transform: translateX(-50%);
  transition: 0.4s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 17px;
}
.nav-toggle span:nth-child(2) {
  top: 23px;
}
.nav-toggle span:nth-child(3) {
  top: 29px;
}



.nav.scrolled .nav-toggle span {
  background: #fff;
}

.nav-toggle.open span:nth-child(1) {
  top: 23px;
  transform: translateX(-50%) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  top: 23px;
  transform: translateX(-50%) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(24, 24, 24, 0.97);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}

.hero-bg {
  position: absolute;
  inset: -12% 0 -12% 0;
  background-size: cover;
  background-position: center 60%;
  will-change: transform;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(15, 15, 15, 0.92) 0%, rgba(18, 18, 18, 0.6) 55%, rgba(20, 20, 20, 0.45) 100%),
    linear-gradient(to top, rgba(15, 15, 15, 0.85), transparent 55%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 188px 32px 142px;
}

.hero-eyebrow {
  color: var(--accent);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5.8vw, 4.8rem);
  max-width: 16ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  margin-top: 26px;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-list .check {
  width: 22px;
  height: 22px;
  margin-top: 0;
}

.hero-list .check svg {
  width: 12px;
  height: 12px;
}

.scroll-ind {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--accent);
  animation: scrollDrop 2.2s var(--ease) infinite;
}

@keyframes scrollDrop {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(250%);
  }
}

/* ---------- Segmentos ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 64px;
}

.icon-box {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  transition:
    background 0.5s var(--ease),
    color 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.icon-box svg,
.icon-box i {
  width: 26px;
  height: 26px;
}

.icon-box i {
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
}

.serv-card:hover .icon-box {
  background: var(--accent);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}

/* ---------- A Kronus ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}

#kronus .section-lead {
  max-width: 68ch;
}

.check {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
}

.check svg {
  width: 14px;
  height: 14px;
}

.media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.media img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.media:hover img {
  transform: scale(1.05);
}

.media-badge {
  position: absolute;
  left: 26px;
  bottom: 26px;
  right: 26px;
  padding: 22px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(16px) saturate(160%);
  color: #fff;
}

.media-badge strong {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  display: block;
}

.media-badge span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Serviços ---------- */
.servicos {
  background: var(--primary);
  padding: 184px 0;
}

.servicos .section-title,
.servicos h3 {
  color: #fff;
}

.servicos .section-lead {
  color: rgba(255, 255, 255, 0.62);
}

.serv-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  min-height: 292px;
  padding: 54px 44px;
  transition:
    transform 0.55s var(--ease),
    background 0.55s var(--ease),
    border-color 0.55s var(--ease);
}

.serv-card h3 {
  margin: 34px 0 16px;
  font-size: 1.46rem;
}

.serv-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.serv-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(185, 145, 85, 0.55);
}

.serv-card .icon-box {
  background: rgba(185, 145, 85, 0.16);
  width: 72px;
  height: 72px;
}

.serv-card .icon-box svg,
.serv-card .icon-box i {
  width: 34px;
  height: 34px;
}

.serv-card .icon-box i {
  font-size: 34px;
}

/* ---------- Processo ---------- */
.timeline {
  position: relative;
  margin-top: 74px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  overflow: visible;
}

.timeline::before {
  display: none;
}

.step {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 310px;
  padding: 34px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s var(--ease),
    border-color 0.55s var(--ease);
  z-index: 1;
}

.step::after {
  content: "";
  position: absolute;
  top: 49px;
  left: 100%;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, rgba(185, 145, 85, 0.42), rgba(185, 145, 85, 0.12));
  pointer-events: none;
}

.step:nth-child(3n)::after,
.step:last-child::after {
  display: none;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(185, 145, 85, 0.4);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  transition:
    background 0.5s var(--ease),
    color 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.step:hover .step-num {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.06);
}

.step-icon {
  margin: 0 0 18px;
  color: var(--accent);
}

.step-icon svg,
.step-icon i {
  width: 30px;
  height: 30px;
}

.step-icon i {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.step h3 {
  font-size: 1.16rem;
}

.step p {
  margin-top: 12px;
  font-size: 0.92rem;
  color: #5c5c5c;
  max-width: none;
  line-height: 1.65;
}

/* ---------- Projetos ---------- */
.projetos {
  background: var(--gray);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 42px;
  margin-top: 72px;
}

.proj-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--primary);
  box-shadow: var(--shadow-md);
  transition:
    transform 0.6s var(--ease),
    box-shadow 0.6s var(--ease);
}

.proj-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.proj-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  color: inherit;
}

.proj-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.2s var(--ease),
    filter 0.6s var(--ease);
}

.proj-card:hover .proj-media img {
  transform: scale(1.08);
}

.proj-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.3), transparent 62%);
}

.materiais-cta {
  padding: 76px 0;
  background: #fff;
}

.materiais-cta picture,
.materiais-cta img {
  display: block;
  width: 100%;
}

.materiais-cta img {
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.proj-tag {
  display: inline-flex;
  width: fit-content;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(185, 145, 85, 0.12);
  border: 1px solid rgba(185, 145, 85, 0.28);
}

.proj-body {
  padding: 38px 42px 42px;
}

.proj-body h3 {
  margin-top: 20px;
  color: #fff;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}

.proj-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
  font-weight: 600;
}

.proj-body p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
  max-width: 48ch;
  line-height: 1.7;
}

.proj-link {
  display: inline-flex;
  margin-top: 30px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.94rem;
  transition:
    color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.proj-link:hover {
  color: #fff;
  transform: translateX(4px);
}

/* ---------- Obra detalhe ---------- */
.obra-hero {
  min-height: 78vh;
  display: grid;
  align-items: end;
  padding: 170px 0 86px;
  color: #fff;
  background: var(--primary);
  overflow: hidden;
}

.obra-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
}

.obra-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.26)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.66), transparent 58%);
}

.obra-hero-inner {
  position: relative;
  z-index: 1;
}

.obra-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}

.obra-type {
  margin-top: 8px;
}

.obra-back:hover {
  color: #fff;
  transform: translateX(-4px);
}

.obra-back-dark {
  margin-bottom: 0;
  color: var(--primary);
}

.obra-back-dark:hover {
  color: var(--accent);
}

.obra-hero h1 {
  max-width: 11ch;
  margin-top: 24px;
  color: #fff;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.obra-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.obra-chamada {
  max-width: 58ch;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.obra-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.obra-share {
  padding: 15px 24px;
}

.obra-share i {
  font-size: 1.05rem;
  line-height: 1;
}

.obra-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 70px;
  align-items: start;
}

.obra-info {
  position: sticky;
  top: 112px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.obra-info h3 {
  font-size: 1.25rem;
}

.obra-info ul {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  list-style: none;
}

.obra-info li {
  display: grid;
  gap: 5px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.obra-info li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.obra-info strong {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.obra-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 84px;
}

.obra-gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.obra-gallery-item.is-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.obra-gallery-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.obra-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.45s var(--ease);
}

.obra-gallery-button:hover img {
  transform: scale(1.05);
  filter: brightness(0.88);
}

.obra-gallery-item.is-featured img {
  min-height: 544px;
}

.obra-gallery-item figcaption {
  padding: 14px 16px;
  color: #5c5c5c;
  font-size: 0.9rem;
}

.obra-bottom-nav {
  margin-top: 54px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: center;
  gap: 20px;
  padding: 72px 28px 36px;
  background: rgba(8, 8, 8, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-frame {
  min-width: 0;
  max-height: calc(100vh - 130px);
  display: grid;
  justify-items: center;
  gap: 16px;
}

.lightbox-frame img {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.lightbox-frame figcaption {
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-size: 0.95rem;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--accent);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.lightbox-nav {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  justify-self: center;
  font-size: 1.4rem;
}

.lightbox-prev:hover {
  transform: translateX(-4px);
}

.lightbox-next:hover {
  transform: translateX(4px);
}

.obra-not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 24px;
  padding: 40px;
  text-align: center;
}

/* ---------- Contato ---------- */
.contato .split {
  gap: 80px;
  align-items: start;
}

.response-note {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-weight: 700;
}

.response-note .check {
  margin-top: 0;
}

.contact-info-list {
  list-style: none;
  margin-top: 40px;
  display: grid;
  gap: 14px;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
}

.contact-info-list svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
}

.wa-wrap {
  margin-top: 40px;
}

.wa-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #7a7a7a;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 54px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8a8a;
}

input,
textarea,
select {
  width: 100%;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--primary);
  background: var(--gray);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 16px 18px;
  outline: none;
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

input::placeholder,
textarea::placeholder {
  color: #a5a5a5;
}

input:focus,
textarea:focus,
select:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.form-msg {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--accent);
  min-height: 22px;
}

/* ---------- Footer ---------- */
.footer {
  background: #000;
  color: rgba(255, 255, 255, 0.6);
  padding: 108px 0 34px;
}

.footer h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.55fr 0.85fr;
  gap: 56px;
}

.footer p,
.footer li {
  font-size: 0.94rem;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer a {
  transition: color 0.35s var(--ease);
}

.footer a:hover {
  color: var(--accent);
}

.footer .brand-name {
  color: #fff;
}

.footer .brand {
  gap: 0;
}

.footer .brand-mark {
  width: 170px;
  height: auto;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.footer-about {
  margin-top: 24px;
  max-width: 40ch;
}

.footer-cnpj {
  margin-top: 18px;
  color: #fff;
  font-weight: 700;
}

.footer-socials {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition:
    transform 0.45s var(--ease),
    background 0.45s var(--ease);
}

.socials a:hover {
  transform: translateY(-4px) scale(1.05);
  background: var(--accent);
  color: #fff;
}

.socials svg,
.socials i {
  width: 19px;
  height: 19px;
}

.socials i {
  display: block;
  font-size: 19px;
  line-height: 1;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
}

.whatsapp-floating {
  position: fixed;
  right: max(24px, env(safe-area-inset-right, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.whatsapp-floating:hover {
  color: #fff;
  background: #1fbd5b;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.whatsapp-floating i {
  font-size: 1.85rem;
  line-height: 1;
}

/* ---------- Reveal animations ---------- */
[data-anim] {
  opacity: 0;
  transition:
    opacity 0.9s var(--ease),
    transform 1s var(--ease);
  will-change: opacity, transform;
}

[data-anim="up"] {
  transform: translateY(46px);
}
[data-anim="left"] {
  transform: translateX(-56px);
}
[data-anim="right"] {
  transform: translateX(56px);
}

[data-anim="left"],
[data-anim="right"] {
  backface-visibility: hidden;
}
[data-anim="scale"] {
  transform: scale(0.94);
}

[data-anim].in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-anim] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .media img {
    min-height: 420px;
  }
  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 24px;
  }
  .timeline::before {
    display: none;
  }
  .step:nth-child(3n)::after {
    display: block;
  }
  .step:nth-child(2n)::after,
  .step:last-child::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
  .obra-content-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .obra-info {
    position: static;
  }
  .obra-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .nav-inner nav,
  .nav-cta {
    display: none;
  }
  .nav > .container {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }
  .nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
  }
  .nav .brand {
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }
  .nav .brand-mark {
    width: auto;
    max-width: 100%;
    max-height: 44px;
  }
  .nav.scrolled .brand-mark {
    width: auto;
    max-width: 100%;
    max-height: 38px;
  }
  .nav-toggle {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    flex-shrink: 0;
  }
  .hero-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .nav {
    padding: 14px 0;
  }
  .nav.scrolled {
    padding: 10px 0;
  }
  .nav > .container {
    padding-inline: max(14px, env(safe-area-inset-left, 0px)) max(14px, env(safe-area-inset-right, 0px));
  }
  .nav .brand-mark {
    max-height: 36px;
  }
  .nav.scrolled .brand-mark {
    max-height: 32px;
  }
  .nav-inner {
    gap: 10px;
  }
  .nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .nav-toggle span:nth-child(1) {
    top: 15px;
  }
  .nav-toggle span:nth-child(2) {
    top: 21px;
  }
  .nav-toggle span:nth-child(3) {
    top: 27px;
  }
  .nav-toggle.open span:nth-child(1),
  .nav-toggle.open span:nth-child(3) {
    top: 21px;
  }
  .mobile-menu {
    gap: 4px;
    padding: 0 30px;
  }
  .mobile-menu a {
    font-size: 1.25rem;
    padding: 10px 0;
  }
  .whatsapp-floating {
    right: max(18px, env(safe-area-inset-right, 0px));
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }
  .whatsapp-floating i {
    font-size: 1.6rem;
  }
  .container {
    padding: 0 22px;
  }
  .section-pad {
    padding: 92px 0;
  }
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero-list {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .step::after,
  .step:nth-child(2n)::after,
  .step:nth-child(3n)::after {
    display: block;
    top: 100%;
    left: 45px;
    width: 2px;
    height: 34px;
    background: linear-gradient(180deg, rgba(185, 145, 85, 0.42), rgba(185, 145, 85, 0.12));
  }
  .step:last-child::after {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 30px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .obra-hero {
    min-height: 70vh;
    padding: 140px 0 70px;
  }
  .obra-hero h1 {
    max-width: 100%;
  }
  .obra-gallery {
    grid-template-columns: 1fr;
  }
  .obra-gallery-item.is-featured {
    grid-column: auto;
    grid-row: auto;
  }
  .obra-gallery-item img,
  .obra-gallery-item.is-featured img {
    min-height: 300px;
  }
  .lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 16px;
    padding: 78px 18px 24px;
  }
  .lightbox-frame {
    grid-column: 1 / -1;
    max-height: calc(100vh - 170px);
  }
  .lightbox-frame img {
    max-height: calc(100vh - 230px);
  }
  .lightbox-prev {
    justify-self: end;
  }
  .lightbox-next {
    justify-self: start;
  }
  .hero-inner {
    padding: 150px 28px 130px;
  }
  .hero h1 {
    font-size: 2.05rem;
    max-width: 15ch;
  }
  .materiais-cta {
    padding: 52px 0;
  }
  .materiais-cta img {
    border-radius: 12px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .proj-body {
    padding: 26px 24px 28px;
  }
  .scroll-ind {
    display: none;
  }
}
