/* ---------- tokens ---------- */
:root {
  --cream: #FAF6F0;
  --cream-2: #F2EBE0;
  --paper: #FFFFFF;
  --ink: #1A1410;
  --ink-2: #4A413A;
  --mute: #8C8278;
  --line: #E4DCCF;
  --line-2: #D8CDBD;
  --orange: #E87B2C;
  --orange-2: #C25E1F;
  --orange-soft: #F5C79A;
  --orange-tint: #FBE9D4;

  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "Geist", -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  --container: 1280px;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--orange); color: var(--cream); }

/* ---------- layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--orange);
  display: inline-block;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
.serif em { font-style: italic; color: var(--orange-2); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--orange-2); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(0,0,0,0.02); }
.btn .arrow {
  display: inline-block;
  width: 14px;
  height: 14px;
  position: relative;
  transition: transform .25s ease;
}
.btn:hover .arrow { transform: translateX(3px); }
.btn .arrow::before {
  content: "→";
  font-family: var(--sans);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
}

/* ---------- hero shared ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(60px, 8vw, 120px);
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: clamp(40px, 6vw, 72px);
}

/* HERO A — editorial split */
.hero-a .grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: end;
}
.hero-a h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 8.2vw, 120px);
  line-height: 0.97;
  letter-spacing: -0.025em;
}
.hero-a .lead {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 40ch;
  margin-top: 28px;
}
.hero-a .actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-a .frame {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

@media (max-width: 860px) {
  .hero-a .grid { grid-template-columns: 1fr; }
  .hero-a .frame { aspect-ratio: 5/4; }
}



/* ---------- placeholder ---------- */
.placeholder {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      var(--cream-2),
      var(--cream-2) 12px,
      var(--line) 12px,
      var(--line) 13px
    );
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px;
  position: relative;
}
.placeholder::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed var(--line-2);
  border-radius: 2px;
  pointer-events: none;
}
.placeholder .ph-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--cream);
  padding: 6px 10px;
  border-radius: 2px;
  position: relative;
  z-index: 1;
  max-width: 80%;
}

/* real photo inside .frame */
.frame img.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02);
}

/* ---------- section ---------- */
section {
  padding-top: clamp(72px, 9vw, 140px);
  padding-bottom: clamp(72px, 9vw, 140px);
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.section-head .blurb {
  color: var(--ink-2);
  font-size: clamp(15px, 1.05vw, 17px);
  max-width: 52ch;
}
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- stats ---------- */
.stats-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 12px 28px 12px 0;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stat .num .plus, .stat .num .suffix {
  font-size: 0.35em;
  font-family: var(--mono);
  color: var(--orange-2);
  font-style: normal;
  letter-spacing: 0;
  align-self: flex-start;
  margin-top: 0.6em;
}
.stat .label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
  max-width: 22ch;
}
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-left .eyebrow { margin-bottom: 28px; }
.about-title {
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.about-title em { font-style: italic; color: var(--orange-2); }
.about-lead {
  margin-top: 28px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
  max-width: 48ch;
}
.about-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.about-facts li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.about-facts li:last-child { border-bottom: 1px solid var(--line); }
.about-facts .fact-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange-2);
  padding-top: 4px;
}
.about-facts h4 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 6px 0;
  font-weight: 400;
}
.about-facts p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------- services (typographic cards) ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.service {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 340px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -16px rgba(26,20,16,0.16);
  border-color: var(--line-2);
  background: var(--paper);
}
.service:hover::before { transform: scaleX(1); }
.service .num-mega {
  font-family: var(--serif);
  font-size: 96px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.service .num-mega .slash {
  font-size: 24px;
  color: var(--orange);
  font-style: italic;
  margin-left: 8px;
  align-self: center;
}
.service .kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin-bottom: 12px;
}
.service h3 {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 16ch;
  font-weight: 400;
  margin-bottom: 12px;
}
.service p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.service .arr {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color .3s ease, gap .3s ease;
}
.service:hover .arr { color: var(--orange-2); gap: 14px; }

@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
  .service .num-mega { font-size: 72px; }
}

/* ---------- diferenciais (editorial manifesto) ---------- */
.differentials {
  display: flex;
  flex-direction: column;
}
.diff {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: background .3s ease;
}
.diff:last-child { border-bottom: 1px solid var(--line); }
.diff:hover { background: color-mix(in srgb, var(--cream-2) 50%, transparent); }
.diff .big-num {
  font-family: var(--serif);
  font-size: clamp(64px, 9vw, 144px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-style: italic;
}
.diff .big-num .dot {
  color: var(--orange);
  font-style: normal;
}
.diff .title-col {
  padding-top: clamp(12px, 2vw, 24px);
}
.diff .marker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-2);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.diff .marker::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--orange);
}
.diff h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 18ch;
}
.diff .desc {
  padding-top: clamp(20px, 3vw, 36px);
  color: var(--ink-2);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
  max-width: 38ch;
}

@media (max-width: 860px) {
  .diff {
    grid-template-columns: 80px 1fr;
    gap: 20px;
  }
  .diff .big-num { font-size: 56px; }
  .diff .title-col { padding-top: 4px; }
  .diff .desc {
    grid-column: 2;
    padding-top: 12px;
  }
}

/* ---------- clientes ---------- */
.clients-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}
.clients-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.client {
  background: var(--cream-2);
  aspect-ratio: 5/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 22px 28px;
  transition: background .3s ease;
}
.client:hover { background: var(--paper); }
.client img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(0.9);
  opacity: 0.75;
  transition: filter .35s ease, opacity .35s ease, transform .35s ease;
}
.client:hover img {
  filter: grayscale(0) contrast(1);
  opacity: 1;
  transform: scale(1.03);
}
/* white-on-transparent logos: force them to ink so they read on gray */
.client--invert img {
  filter: brightness(0) opacity(0.7);
}
.client--invert:hover img {
  filter: brightness(0) opacity(1);
  transform: scale(1.03);
}
@media (max-width: 1024px) {
  .client-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 540px) {
  .client-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- cta banner ---------- */
.cta-banner {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(60px, 8vw, 120px) 0;
}
.cta-banner .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
}
.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.cta-banner h2 em { font-style: italic; color: var(--orange); }
.cta-banner .cta-side p {
  color: color-mix(in srgb, var(--cream) 70%, transparent);
  margin: 0 0 28px 0;
  font-size: 15px;
  max-width: 36ch;
}
.cta-banner .btn-primary {
  background: var(--orange);
  color: var(--ink);
}
.cta-banner .btn-primary:hover {
  background: var(--cream);
  color: var(--ink);
}
.cta-banner .btn-ghost {
  color: var(--cream);
  border-color: color-mix(in srgb, var(--cream) 30%, transparent);
}
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--cream); }

@media (max-width: 860px) {
  .cta-banner .container { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.footer {
  background: var(--cream);
  padding: clamp(60px, 7vw, 100px) 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-grid h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 18px 0;
  font-weight: 500;
}
.footer-grid ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.footer-grid a:hover { color: var(--orange-2); }
.footer-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--ink-2); font-size: 14px; max-width: 32ch; margin: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.08em;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ---------- contact page ---------- */
.contact-hero {
  padding-top: 80px;
  padding-bottom: 60px;
}
.contact-hero .eyebrow { margin-bottom: 24px; }
.contact-hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.contact-hero h1 em { font-style: italic; color: var(--orange-2); }
.contact-hero .lead {
  margin-top: 28px;
  color: var(--ink-2);
  font-size: clamp(15px, 1.1vw, 18px);
  max-width: 56ch;
}

.contact-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  padding-bottom: clamp(60px, 8vw, 120px);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(28px, 3vw, 48px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form .field { display: flex; flex-direction: column; gap: 8px; }
.form label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.form input,
.form select,
.form textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 10px 0;
  outline: none;
  transition: border-color .2s ease;
  font-family: var(--sans);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-bottom-color: var(--orange);
}
.form textarea { resize: vertical; min-height: 100px; }
.form .submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.form .note {
  font-size: 12px;
  color: var(--mute);
  max-width: 32ch;
}

.contact-side h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 16px 0;
  font-weight: 500;
}
.contact-side .block { margin-bottom: 40px; }
.contact-side .block p {
  margin: 0;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
}
.contact-side .block a:hover { color: var(--orange-2); }
.contact-side .small { font-size: 13px; color: var(--ink-2); margin-top: 4px; }

.map-wrap {
  margin-top: 12px;
  height: 340px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--cream-2);
  position: relative;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 860px) {
  .contact-body { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- whatsapp float ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 12px 18px 12px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(26,20,16,0.18);
  transition: all .25s ease;
}
.wa-float:hover { background: var(--orange-2); transform: translateY(-2px); }
.wa-float .dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.55); }
  100% { box-shadow: 0 0 0 12px rgba(74,222,128,0); }
}

/* ---------- entry animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }


/* ---------- ticker (for clients optional) ---------- */
