:root {
  --olive: #9C9A7A;
  --olive-dark: #7C7A5B;
  --olive-soft: #F2F1EB;
  --olive-accent: #A8A785;
  --off: #F6F2EC;
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #5A5A5A;
  --oak: #B08A5B;
  --line: #E5E1D8;
  --line-soft: #EEEAE2;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --shadow-soft: 0 4px 20px rgba(26, 26, 26, 0.06);
  --shadow-lift: 0 12px 40px rgba(26, 26, 26, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

p { margin: 0 0 1em; color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 500; }

a { color: var(--ink); text-decoration: none; transition: opacity .2s, color .2s; }
a:hover { opacity: .7; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--olive-dark);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

/* NAV — transparente sobre o hero, ganha fundo branco ao rolar */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo { display: block; }
.nav-logo img { height: 28px; transition: opacity .3s ease; }
.nav-logo .logo-branco { display: block; }
.nav-logo .logo-preto { display: none; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  align-items: center;
}
.nav-links a { color: var(--white); font-weight: 400; }
.nav-links a:hover { opacity: .8; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--white);
}

.nav.nav-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line-soft);
}
.nav.nav-scrolled .nav-links a,
.nav.nav-scrolled .nav-toggle { color: var(--ink); }
.nav.nav-scrolled .nav-logo .logo-branco { display: none; }
.nav.nav-scrolled .nav-logo .logo-preto { display: block; }

/* Botão Área do Cliente — pill outline */
.btn-cliente {
  border: 1px solid currentColor;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: .82rem;
  letter-spacing: .04em;
  transition: background .2s ease, color .2s ease;
}
.nav-links .btn-cliente:hover {
  opacity: 1;
  background: var(--white);
  color: var(--ink);
}
.nav.nav-scrolled .btn-cliente:hover {
  background: var(--ink);
  color: var(--white);
}

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--line-soft);
    display: none;
    gap: 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--ink); }
  .nav.nav-scrolled .nav-links { background: var(--white); }
}

/* HERO */
.hero {
  padding: 96px 0 64px;
  text-align: center;
}
.hero .slogan {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: 1.5rem;
  display: block;
}
.hero h1 { max-width: 900px; margin: 0 auto 1.5rem; }
.hero p.lead {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* HERO BANNER (home) — foto de fundo com overlay */
.hero.hero-banner {
  position: relative;
  min-height: 100vh;
  padding: 160px 24px 140px;
  background-image:
    linear-gradient(180deg, rgba(26,26,26,0.32) 0%, rgba(26,26,26,0.55) 100%),
    url('/assets/img/projetos/apto-isa/social-wide.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero.hero-banner .slogan { color: var(--white); opacity: .95; }
.hero.hero-banner h1,
.hero.hero-banner p.lead { color: var(--white); }
.hero.hero-banner p.lead { opacity: .92; }
.hero.hero-banner .btn {
  background: var(--white);
  color: var(--ink);
}
.hero.hero-banner .btn:hover { background: var(--olive); color: var(--white); }
@media (max-width: 800px) {
  .hero.hero-banner { min-height: 80vh; padding: 120px 20px 100px; background-attachment: scroll; }
}

/* PROJECT HERO (páginas internas) */
.project-hero {
  padding: 140px 0 40px;
  text-align: center;
}
.project-hero .meta-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 24px;
  font-size: .82rem;
  color: var(--olive-dark);
  letter-spacing: .1em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

/* BOTÕES */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--ink);
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 0;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background .25s ease, transform .2s ease;
}
.btn:hover { background: var(--olive); opacity: 1; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* SEÇÕES */
section { padding: 96px 0; background: var(--white); }
section.tight { padding: 56px 0; }
section.soft { background: var(--olive-soft); }
section.olive {
  background: var(--olive);
  color: var(--white);
}
section.olive h1, section.olive h2, section.olive h3 { color: var(--white); }
section.olive p { color: rgba(255, 255, 255, 0.88); }
section.olive .eyebrow { color: rgba(255, 255, 255, 0.75); }

.section-heading { text-align: center; margin-bottom: 56px; }
.section-heading h2 { margin-bottom: 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 800px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 800px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.portrait {
  border-radius: var(--radius-lg);
  max-width: 420px;
  margin-left: auto;
  box-shadow: var(--shadow-soft);
}

/* PROJECT CARDS */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}
.project-card {
  background: transparent;
  transition: transform .35s ease;
  display: block;
}
.project-card:hover { transform: translateY(-6px); opacity: 1; }
.project-card .img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--line-soft);
  border-radius: var(--radius);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(0.98) brightness(1.02);
  transition: filter 500ms ease, transform 800ms ease;
}
.project-card:hover img {
  filter: saturate(1) contrast(1) brightness(1);
  transform: scale(1.04);
}
.project-card .meta {
  padding: 20px 4px;
}
.project-card .meta small {
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--olive-dark);
  display: block;
  margin-bottom: 6px;
}
.project-card .meta h3 { font-size: 1.4rem; margin: 0 0 4px; }
.project-card .meta p { margin: 0; font-size: .95rem; }

/* MÉTODO / SERVIÇOS (steps) */
.step, .service {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  transition: box-shadow .3s ease, transform .3s ease;
}
.step:hover, .service:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}
.step-num, .service-num {
  font-family: 'Marcellus', serif;
  font-size: 1.6rem;
  color: var(--olive);
  margin-bottom: 12px;
}
.step h3, .service h3 { margin-bottom: 10px; }
.service ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  columns: 2;
  column-gap: 32px;
  font-size: .92rem;
  color: var(--ink-soft);
}
.service ul li { padding: 4px 0; break-inside: avoid; }
.service ul li::before { content: "— "; color: var(--olive); }
@media (max-width: 640px) { .service ul { columns: 1; } }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) { .services-grid { grid-template-columns: 1fr; } }

/* FORM */
.form {
  display: grid;
  gap: 20px;
  max-width: 640px;
}
.form label {
  display: block;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: 6px;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(156, 154, 122, 0.15);
}
.form textarea { min-height: 140px; resize: vertical; }

/* CONTATO — bloco lateral direto */
.contato-direto {
  padding: 32px;
  background: var(--olive-soft);
  border-radius: var(--radius);
}
.contato-direto h3 { margin-top: 0; }
.contato-direto p { margin-bottom: 16px; }
.contato-direto strong {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: 4px;
}
.contato-direto a { text-decoration: underline; text-underline-offset: 3px; }

/* FOOTER */
.footer {
  padding: 60px 0 40px;
  background: var(--ink);
  color: var(--off);
}
.footer h3, .footer a { color: var(--off); }
.footer p { color: rgba(246, 242, 236, 0.7); }
.footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) { .footer .footer-grid { grid-template-columns: 1fr; } }
.footer .foot-logo img { height: 32px; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.footer ul li { padding: 4px 0; }
.footer ul li a { opacity: .85; }
.footer ul li a:hover { opacity: 1; }
.footer .copy {
  border-top: 1px solid rgba(246, 242, 236, 0.15);
  margin-top: 48px;
  padding-top: 24px;
  font-size: .8rem;
  color: rgba(246, 242, 236, 0.5);
  text-align: center;
}
.footer .btn-cliente {
  display: inline-block;
  margin-top: 4px;
  border-color: var(--off);
  color: var(--off);
}
.footer .btn-cliente:hover {
  background: var(--off);
  color: var(--ink);
  opacity: 1;
}

/* GALERIA (páginas de projeto) */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 40px 0;
}
.gallery .full { grid-column: 1 / -1; }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr; } }
.gallery > div {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line-soft);
}
.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.97) brightness(1.02);
  transition: filter 600ms ease, transform 800ms ease;
}
.gallery > div:hover img {
  filter: saturate(1) contrast(1) brightness(1);
  transform: scale(1.02);
}

/* WHATSAPP FLUTUANTE — cor MANIZ, sem verde tradicional */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--olive-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.18);
  z-index: 90;
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  background: var(--ink);
  box-shadow: 0 12px 32px rgba(26, 26, 26, 0.25);
  opacity: 1;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }
@media (max-width: 600px) {
  .whatsapp-float { width: 54px; height: 54px; bottom: 20px; right: 20px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* UTIL */
.center { text-align: center; }
.mt-8 { margin-top: 32px; }
.mt-16 { margin-top: 64px; }
