/* Planejaí - site responsivo inspirado na imagem de referência */

:root {
  --bg: #090807;
  --bg-2: #0f0d0b;
  --panel: rgba(17, 14, 12, 0.88);
  --panel-2: rgba(23, 19, 16, 0.82);
  --gold: #c89345;
  --gold-2: #e0b36d;
  --gold-3: #9d682a;
  --white: #f7efe2;
  --text: #d6cab9;
  --muted: #9c8d7b;
  --line: rgba(200, 147, 69, 0.25);
  --line-soft: rgba(255, 255, 255, 0.065);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
  --container: 1280px;
  --header-h: 94px;
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 0%, rgba(200, 147, 69, 0.16), transparent 24%),
    linear-gradient(180deg, #0b0a08 0%, var(--bg) 52%, #080706 100%);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 11px;
  border: 1px solid var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.28s ease;
  white-space: nowrap;
}

.btn img {
  width: 19px;
  height: 19px;
}

.btn-primary {
  background: linear-gradient(180deg, #d5a357, #b87d32);
  color: #fff8ed;
  box-shadow: 0 14px 34px rgba(200, 147, 69, 0.16);
}

.btn-outline {
  background: rgba(13, 10, 8, 0.16);
  color: var(--gold-2);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

/* HEADER */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(7, 6, 5, 0.96), rgba(7, 6, 5, 0.58));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}

.site-header .navbar {
  height: 100%;
  padding: 0;
}

.site-header .navbar > .container {
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.site-header .navbar-brand {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
}

.site-header .navbar-nav {
  align-items: center;
}

.site-header .navbar-collapse {
  align-items: center;
}

.navbar-brand img {
  height: calc((var(--header-h) - 18px) * 2);
  width: auto;
  max-width: clamp(180px, 24vw, 288px);
  object-fit: contain;
  padding: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .navbar-brand img,
  .footer-brand img {
    animation: logo-glow-30 30s ease-in-out infinite;
    will-change: filter;
  }
}

@keyframes logo-glow-30 {
  0%,
  88%,
  100% {
    filter: brightness(1) saturate(1) drop-shadow(0 0 0 rgba(224, 179, 109, 0));
  }
  90% {
    filter: brightness(1.12) saturate(1.06) drop-shadow(0 0 12px rgba(224, 179, 109, 0.45));
  }
  92% {
    filter: brightness(1.42) saturate(1.18) drop-shadow(0 0 24px rgba(224, 179, 109, 0.9));
  }
  95% {
    filter: brightness(1.62) saturate(1.26) drop-shadow(0 0 30px rgba(224, 179, 109, 1));
  }
  97% {
    filter: brightness(1.12) saturate(1.06) drop-shadow(0 0 12px rgba(224, 179, 109, 0.45));
  }
}

.site-header .navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.site-header .navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(224, 179, 109, 0.22);
}

.site-header .navbar-toggler-icon {
  filter: brightness(1.08);
}

.site-header .navbar-nav .nav-link {
  position: relative;
  color: #e6d8c3;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 0;
  margin-inline: 17px;
}

.site-header .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 2px;
  background: var(--gold);
  transition: 0.28s ease;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link.active {
  color: var(--gold-2);
}

.site-header .navbar-nav .nav-link:hover::after,
.site-header .navbar-nav .nav-link.active::after {
  right: 0;
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    margin-top: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(11, 9, 8, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header .navbar-nav .nav-link {
    margin-inline: 0;
    padding: 13px 8px;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-header .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: 0;
  }
}

.header-cta {
  justify-self: end;
  height: 44px;
  min-height: 44px;
  padding-inline: 20px;
}

/* HERO */

.hero {
  min-height: 760px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.98) 0%, rgba(8, 7, 6, 0.9) 22%, rgba(8, 7, 6, 0.56) 46%, rgba(8, 7, 6, 0.22) 100%),
    url("assets/hero.jpg") center / cover no-repeat;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-bg {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 190px;
  background: linear-gradient(180deg, transparent, var(--bg));
  z-index: -1;
}

.hero .container {
  padding-top: 14px;
  padding-bottom: 150px;
}

.hero-content {
  margin-top: 14px;
  max-width: 380px;
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(3.45rem, 5.6vw, 5.65rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}

.hero h1 span {
  display: block;
  color: var(--gold);
}

.hero p {
  color: #e1d5c5;
  max-width: 365px;
  font-size: 1rem;
  margin-bottom: 30px;
}

@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 700ms ease, transform 700ms ease;
  }

  html.js .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SERVICES STRIP */

.services-strip {
  position: relative;
  z-index: 4;
  margin-top: -70px;
}

main section[id],
footer[id] {
  scroll-margin-top: calc(var(--header-h) + 14px);
}

.services-card {
  min-height: 134px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 16, 14, 0.92), rgba(11, 10, 9, 0.92));
  box-shadow: var(--shadow);
}

.service-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.service-item img {
  width: 42px;
  height: 42px;
  margin-top: 5px;
}

.service-item h2 {
  color: var(--white);
  font-size: 0.93rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.service-item p {
  color: var(--text);
  font-size: 0.86rem;
}

/* ABOUT */

.about-section {
  padding: 58px 0 46px;
}

.about-photo {
  min-height: 346px;
  overflow: hidden;
  border-radius: 11px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-copy h2,
.projects-intro h2,
.cta-content h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.about-copy h2 {
  font-size: clamp(2.35rem, 3.7vw, 3.95rem);
  max-width: 560px;
  margin-bottom: 18px;
}

.about-copy > p:not(.eyebrow) {
  color: var(--text);
  font-size: 0.97rem;
  max-width: 520px;
  margin-bottom: 25px;
}

.about-copy .btn {
  align-self: flex-start;
}

.benefits {
  border: 1px solid var(--line-soft);
  background: rgba(12, 10, 9, 0.48);
  border-radius: 14px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 27px;
}

.benefit {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
}

.benefit img {
  width: 32px;
  height: 32px;
}

.benefit strong {
  color: #f2e7d7;
  font-size: 0.95rem;
  line-height: 1.35;
}

/* PROJECTS */

.projects-section {
  padding: 6px 0 46px;
}

.projects-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 18px;
}

.projects-intro h2 {
  font-size: clamp(2.35rem, 3.7vw, 3.6rem);
  margin-bottom: 15px;
}

.small-line {
  display: block;
  width: 118px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 5px 0 25px;
}

.projects-intro .btn {
  align-self: flex-start;
}

.project-card {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
  transition: 0.28s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 179, 109, 0.38);
}

.project-card img {
  width: 100%;
  height: 176px;
  object-fit: cover;
}

.project-card div {
  padding: 17px 16px 18px;
}

.project-card h3 {
  font-size: 0.98rem;
  text-transform: uppercase;
  color: #f6eadb;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.project-card p {
  color: var(--text);
  font-size: 0.87rem;
}

/* CTA */

.cta-section {
  padding: 6px 0 52px;
}

.cta-card {
  min-height: 144px;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, rgba(46, 34, 24, 0.88), rgba(27, 21, 17, 0.72), rgba(18, 15, 13, 0.72));
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 36px;
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-icon {
  width: 68px;
  height: 68px;
  border-radius: 13px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: 0 0 68px;
}

.cta-icon img {
  width: 36px;
  height: 36px;
}

.cta-content h2 {
  font-size: clamp(2rem, 3.5vw, 3.05rem);
  margin-bottom: 5px;
}

.cta-content p {
  color: var(--text);
  font-size: 0.94rem;
}

/* FOOTER */

.footer {
  padding: 33px 0 18px;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 20% 10%, rgba(200, 147, 69, 0.05), transparent 25%),
    #090807;
}

.footer-grid {
  gap: 54px;
}

.footer-brand img {
  width: clamp(150px, 18vw, 210px);
  height: auto;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--text);
  max-width: 300px;
  font-size: 0.94rem;
}

.footer h2 {
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 17px;
}

.footer a,
.footer address p {
  display: block;
  color: #cfc1ae;
  font-size: 0.92rem;
  margin-bottom: 10px;
  transition: 0.25s ease;
  font-style: normal;
}

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

.socials {
  display: flex;
  gap: 13px;
  margin-top: 18px;
}

.socials a {
  width: 26px;
  height: 26px;
  color: var(--gold);
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 0;
  font-weight: 700;
}

.copy {
  margin: 30px 0 0;
  padding-top: 17px;
  color: #8f8374;
  font-size: 0.83rem;
  text-align: center;
  border-top: 1px solid var(--line-soft);
}

/* RESPONSIVO */

@media (max-width: 1180px) {
  .site-header .navbar-nav .nav-link {
    font-size: 0.72rem;
    margin-inline: 11px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 82px;
  }

  .navbar-brand img {
    height: calc((var(--header-h) - 16px) * 1.2);
    width: auto;
    max-width: clamp(168px, 55vw, 252px);
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    margin-top: 50px;
  }

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

  .about-photo {
    min-height: 310px;
  }

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

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 610px;
    background:
      linear-gradient(180deg, rgba(8, 7, 6, 0.93), rgba(8, 7, 6, 0.82), rgba(8, 7, 6, 0.66)),
      url("assets/hero.jpg") center / cover no-repeat;
  }

  .hero .container {
    padding-bottom: 120px;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .services-strip {
    margin-top: -55px;
  }

  .services-card {
    padding: 22px 18px;
  }

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

  .about-section {
    padding-top: 42px;
  }

  .about-copy h2,
  .projects-intro h2,
  .cta-content h2 {
    font-size: 2.35rem;
  }

  .project-card img {
    height: 230px;
  }

  .cta-card {
    padding: 26px 20px;
  }

  .cta-content {
    align-items: flex-start;
  }

  .cta-icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .footer-grid {
    gap: 30px;
  }
}
