/* =========================================================
   NOBREN — identidade visual
   Para editar cores, altere as variáveis abaixo.
   ========================================================= */

:root {
  --navy: #10131d;
  --navy-2: #151925;
  --navy-3: #1b2030;
  --yellow: #f4bd17;
  --yellow-soft: #ffd44c;
  --white: #f5f5f2;
  --muted: #9da2ad;
  --line: rgba(255,255,255,.10);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: .35s ease;
}

.header.scrolled {
  background: rgba(16,19,29,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand img {
  width: 145px;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 600;
}

.nav a { color: #d8dae0; transition: .25s; }
.nav a:hover { color: var(--yellow); }

.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(244,189,23,.55);
  border-radius: 999px;
  color: var(--yellow) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--white);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 140px 5vw 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 30%, rgba(244,189,23,.10), transparent 28%),
    linear-gradient(135deg, #0e1119, #151925);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .23;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, transparent, black 40%, black 80%, transparent);
}

.hero-content {
  position: relative;
  max-width: 850px;
}

.eyebrow {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 94px);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 900px;
}

h1 span, h2 span { color: var(--yellow); }

.hero-text {
  max-width: 600px;
  color: var(--muted);
  font-size: 17px;
  margin: 30px 0;
}

.hero-actions, .cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .25s, background .25s, color .25s, border-color .25s;
}

.button:hover { transform: translateY(-3px); }

.button-primary {
  background: var(--yellow);
  color: #111;
}

.button-primary:hover { background: var(--yellow-soft); }

.button-ghost {
  border: 1px solid var(--line);
  color: var(--white);
}

.button-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.scroll-hint {
  position: absolute;
  right: 5vw;
  bottom: 50px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #717783;
  font-size: 9px;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}

.scroll-hint i {
  width: 1px;
  height: 55px;
  background: var(--yellow);
  animation: scrollLine 1.8s infinite;
}

@keyframes scrollLine {
  0%,100% { transform: scaleY(.3); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

.section { padding: 140px 0; }

.two-col {
  display: grid;
  grid-template-columns: .6fr 1.4fr;
  gap: 80px;
}

.section-label {
  color: #707580;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

.intro-copy { max-width: 760px; }

.intro-copy h2,
.section-head h2,
.statement h2,
.cta h2 {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.05em;
  margin-bottom: 30px;
}

.intro-copy p:not(.eyebrow) {
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 18px;
  font-size: 16px;
}

.services { background: #131722; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 65px;
}

.section-head h2 { margin-bottom: 0; }

.section-intro {
  color: var(--muted);
  max-width: 350px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 280px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s, transform .3s;
}

.service-card:hover {
  background: #1a1f2c;
  transform: translateY(-5px);
}

.service-card .number {
  position: absolute;
  right: 26px;
  top: 24px;
  color: #555b68;
  font-size: 11px;
}

.icon {
  color: var(--yellow);
  font-size: 36px;
  margin-bottom: 35px;
}

.service-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
}

.statement {
  background: var(--yellow);
  color: #10131d;
}

.statement .eyebrow { color: #10131d; opacity: .6; }
.statement h2 span { color: #10131d; }

.statement-inner {
  max-width: 950px;
}

.statement .line {
  width: 100%;
  height: 1px;
  background: rgba(16,19,29,.25);
  margin: 35px 0 20px;
}

.statement-inner > p:last-child {
  font-size: 14px;
  opacity: .7;
}

.projects { background: var(--navy); }

.project-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.project-card:first-child { grid-row: span 2; }

.project-image {
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1f2b;
  overflow: hidden;
  border: 1px solid var(--line);
}

.project-large .project-image { min-height: 600px; }

.placeholder {
  background:
    linear-gradient(135deg, rgba(244,189,23,.08), transparent),
    repeating-linear-gradient(135deg, #1a1f2b, #1a1f2b 10px, #181d28 10px, #181d28 11px);
}

.placeholder span {
  color: #555b68;
  font-size: 10px;
  letter-spacing: .18em;
}

.project-info {
  padding: 18px 0 8px;
}

.project-info span {
  color: var(--yellow);
  font-size: 9px;
  letter-spacing: .18em;
  font-weight: 800;
}

.project-info h3 {
  font-size: 22px;
  margin-top: 4px;
}

.cta {
  padding-top: 80px;
  padding-bottom: 100px;
}

.cta-box {
  border: 1px solid var(--line);
  padding: 65px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  background: #131722;
}

.cta-box > div:first-child { max-width: 700px; }
.cta-box p:not(.eyebrow) { color: var(--muted); }

.large { padding: 15px 24px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 45px 0 25px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-logo { width: 145px; }

.footer-links {
  display: flex;
  gap: 25px;
  font-size: 12px;
  color: #9da2ad;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 18px;
  color: #626875;
  font-size: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}

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

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 6vw 30px;
    background: rgba(16,19,29,.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 15px; border-bottom: 0 !important; }

  .menu-toggle { display: block; }

  .two-col { grid-template-columns: 1fr; gap: 35px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { display: block; }
  .section-intro { margin-top: 25px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card:first-child { grid-row: auto; }
  .project-large .project-image { min-height: 400px; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 45px 30px; }
}

@media (max-width: 600px) {
  .container { width: min(var(--max), calc(100% - 36px)); }
  .header { padding: 0 20px; }
  .brand img { width: 125px; }
  .hero { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: clamp(44px, 14vw, 64px); }
  .hero-text { font-size: 15px; }
  .scroll-hint { display: none; }
  .section { padding: 90px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 245px; }
  .project-large .project-image { min-height: 300px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; }
}
.project-image.project-photo {
  position: relative;
  overflow: hidden;
}

.project-image.project-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}