/* projetos.php — CSS extraído do bloco <style> inline.
   Específico desta página. Chrome comum vem de site-ui.css. */

:root {
  --brown: #6d4e30;
  --ink: #3d4d59;
  --paper: #fffefa;
  --sand: #f4f0e9;
  --line: #ded5c8;
  --gold: #cfb17b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 Montserrat,
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  height: 96px;
  background: var(--brown);
  color: #fff;
}
.nav-wrap {
  width: min(1160px, calc(100% - 44px));
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  width: 210px;
  height: 78px;
  display: flex;
  align-items: center;
}
.brand img {
  width: 210px;
  max-height: 72px;
  object-fit: contain;
}
nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}
nav > a:hover,
.drop > a:hover {
  color: #f0ddad;
}
.drop {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.drop i {
  position: absolute;
  display: block;
  top: 88px;
  left: -16px;
  min-width: 210px;
  padding: 9px 0;
  background: #fffefa;
  border: 1px solid var(--line);
  box-shadow: 0 14px 26px rgba(51, 35, 22, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-7px);
  transition: 0.18s;
  font-style: normal;
}
.drop i a {
  display: block;
  padding: 9px 16px;
  color: var(--ink);
  font-size: 0.84rem;
}
.drop i a:hover {
  background: var(--brown);
  color: #fff;
}
.drop:hover i,
.drop:focus-within i {
  opacity: 1;
  visibility: visible;
  transform: none;
}
footer {
  position: fixed;
  z-index: 5;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: #433126;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
footer span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d7bd8e;
  font-weight: 700;
}
footer img {
  max-height: 34px;
  max-width: 118px;
  background: #fff;
  padding: 2px 5px;
  object-fit: contain;
}
@media (max-width: 780px) {
  header {
    height: 80px;
  }
  .brand,
  .brand img {
    width: 175px;
    max-height: 58px;
  }
  nav {
    display: none;
  }
  footer {
    gap: 10px;
  }
  footer span {
    display: none;
  }
  footer img {
    max-width: 29%;
    max-height: 32px;
  }
}
.wrap {
  width: min(1120px, calc(100% - 44px));
  margin: auto;
}
.hero {
  min-height: 380px;
  display: flex;
  align-items: end;
  padding: 62px 0;
  background:
    linear-gradient(
      100deg,
      rgba(54, 34, 21, 0.86),
      rgba(54, 34, 21, 0.24)
    ),
    url("../../media/carrossel/DJI_0619.jpg") center/cover;
  color: #fff;
}
.eyebrow {
  margin: 0 0 12px;
  color: #f0ddad;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  font-weight: 800;
}
.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
}
.hero p {
  max-width: 650px;
  margin: 18px 0 0;
  font-size: 1.05rem;
}
.subnav {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fffefa;
  border-bottom: 1px solid var(--line);
}
.subnav .wrap {
  display: flex;
  gap: 28px;
}
.subnav a {
  display: inline-block;
  padding: 16px 0;
  color: var(--brown);
  font-size: 0.86rem;
  font-weight: 800;
  border-bottom: 3px solid transparent;
}
.subnav a:hover {
  border-color: var(--gold);
}
main {
  padding: 70px 0 145px;
}
section + section {
  margin-top: 88px;
}
.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}
.section-top h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.section-top p {
  margin: 0;
  max-width: 550px;
  color: #697780;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project-card {
  min-height: 206px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: 0.2s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 25px rgba(68, 53, 39, 0.13);
  border-color: var(--gold);
}
.project-card img {
  max-width: 175px;
  max-height: 84px;
  object-fit: contain;
  margin-bottom: 16px;
}
.project-card strong {
  font-size: 0.92rem;
  line-height: 1.25;
}
.project-card small {
  margin-top: 9px;
  color: var(--brown);
  font-weight: 800;
}
.monogram {
  display: grid;
  place-items: center;
  min-height: 72px;
  margin-bottom: 10px;
  color: var(--brown);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.divider {
  height: 1px;
  border: 0;
  background: var(--line);
  margin: 80px 0 65px;
}
@media (max-width: 760px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-top {
    align-items: start;
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 330px;
    padding: 50px 0;
  }
  .subnav .wrap {
    gap: 18px;
    overflow: auto;
    white-space: nowrap;
  }
}
