/* Carpinteiro do Software — landing page */

:root {
  --site-bg: #F4EDE1;
  --site-fg: #241B15;
  --site-accent: #A9481F;
  --site-on-accent: #FFF7EC;
  --site-surface: #FBF6EC;
  --site-muted: #6D5D4E;
  --site-border: #DCCDB6;
  --site-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --site-radius: 10px;
  --site-space: 1;
  --site-type: 1;
  --site-motion: 1;

  --dark: #221A14;
  --dark-2: #1B1410;
  --cream: #F5EBDD;
  --accent-on-dark: #D98B5F;
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: calc(clamp(68px, 9vw, 120px) * var(--site-space, 1));
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-soft: 0 24px 60px -34px rgba(36, 27, 21, .5);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--site-bg);
  color: var(--site-fg);
  font-family: var(--site-font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
::selection { background: var(--site-accent); color: var(--site-on-accent); }

:focus-visible {
  outline: 2px solid var(--site-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(var(--max), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* paper grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--site-fg);
  color: var(--site-on-accent);
  border-radius: var(--site-radius);
  font-size: 14px;
  font-weight: 600;
  transition: top calc(200ms * var(--site-motion, 1)) var(--ease);
}
.skip:focus { top: 14px; }

/* ---------- shared ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--site-accent);
}
.label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}
h2 { font-size: calc(clamp(32px, 4.4vw, 52px) * var(--site-type, 1)); }

.section { padding-block: var(--section-y); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--site-radius);
  font-family: var(--site-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform calc(180ms * var(--site-motion, 1)) var(--ease),
    background-color calc(180ms * var(--site-motion, 1)) var(--ease),
    border-color calc(180ms * var(--site-motion, 1)) var(--ease),
    box-shadow calc(180ms * var(--site-motion, 1)) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-accent {
  background: var(--site-accent);
  color: var(--site-on-accent);
  box-shadow: 0 14px 30px -18px rgba(89, 38, 16, .8);
}
.btn-accent:hover {
  background: #8C3A17;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -18px rgba(89, 38, 16, .85);
}
.btn-ghost {
  border-color: var(--site-border);
  color: var(--site-fg);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--site-fg);
  transform: translateY(-1px);
}

/* reveal */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity calc(720ms * var(--site-motion, 1)) var(--ease),
    transform calc(720ms * var(--site-motion, 1)) var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms * var(--site-motion, 1));
}
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--site-bg);
  border-bottom: 1px solid transparent;
  transition:
    background-color calc(260ms * var(--site-motion, 1)) var(--ease),
    border-color calc(260ms * var(--site-motion, 1)) var(--ease);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--site-bg) 90%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--site-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 32px; height: 32px; color: var(--site-accent); flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.01em;
}
.brand-sub {
  margin-top: 4px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--site-muted);
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav ul { display: flex; gap: 28px; }
.nav ul a {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  font-size: 15px;
  color: var(--site-muted);
  transition: color calc(180ms * var(--site-motion, 1)) var(--ease);
}
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--site-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform calc(280ms * var(--site-motion, 1)) var(--ease);
}
.nav ul a:hover { color: var(--site-fg); }
.nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  background: transparent;
  color: var(--site-fg);
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  transition: transform calc(220ms * var(--site-motion, 1)) var(--ease);
}
.menu-btn span + span { margin-top: 5px; }
body.menu-open { overflow: hidden; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  padding-top: calc(clamp(36px, 5vw, 72px) * var(--site-space, 1));
  padding-bottom: calc(clamp(48px, 7vw, 96px) * var(--site-space, 1));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(36px, 5.5vw, 76px);
  align-items: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--site-muted);
}
.tick { position: relative; width: 30px; height: 1px; background: var(--site-accent); flex: none; }
.tick::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 1px;
  height: 7px;
  background: var(--site-accent);
}
.hero h1 {
  margin: 22px 0 22px;
  font-size: calc(clamp(42px, 5.6vw, 74px) * var(--site-type, 1));
  line-height: .99;
  letter-spacing: -.035em;
  max-width: 13ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--site-accent);
}
.hero-lead {
  max-width: 47ch;
  font-size: clamp(16.5px, 1.2vw, 18.5px);
  color: var(--site-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: calc(12px * var(--site-space, 1));
  margin-top: 32px;
}
.hero-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--site-muted);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1F9D55;
  box-shadow: 0 0 0 4px rgba(31, 157, 85, .14);
  flex: none;
}

.hero-figure { position: relative; margin: 0; }
.hero-frame {
  position: relative;
  border: 1px solid var(--site-border);
  border-radius: calc(var(--site-radius) * 1.3);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--site-surface);
}
.hero-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.dimension {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--site-muted);
}
.dimension::before,
.dimension::after {
  content: "";
  flex: 1;
  height: 9px;
  border-top: 1px solid var(--site-border);
  border-bottom: 1px solid var(--site-border);
  opacity: .85;
}

.paper-note {
  position: absolute;
  left: -20px;
  bottom: 34px;
  width: min(262px, 66%);
  padding: 16px 18px 17px;
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  box-shadow: 0 26px 50px -28px rgba(36, 27, 21, .55);
  transform: rotate(-1.7deg);
}
.note-kicker {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--site-accent);
}
.paper-note p {
  margin-top: 6px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 15.5px;
  line-height: 1.42;
}

/* ---------- ruler divider ---------- */
.ruler {
  height: 16px;
  border-top: 1px solid var(--site-border);
  background:
    repeating-linear-gradient(90deg, var(--site-border) 0 1px, transparent 1px 80px) 0 0 / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--site-border) 0 1px, transparent 1px 16px) 0 0 / 100% 7px no-repeat;
}

/* ---------- oficina ---------- */
.oficina-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}
.oficina-grid h2 { margin-top: 16px; max-width: 15ch; }
.oficina-quote {
  margin: 38px 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--site-accent);
  max-width: 26ch;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--site-fg);
}
.oficina-grid p + p { margin-top: 16px; }
.oficina-grid > div:last-child > p { color: var(--site-muted); }

.facts { margin-top: 34px; border-top: 1px solid var(--site-border); }
.fact {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--site-border);
}
.fact-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--site-accent);
  padding-top: 3px;
}
.fact h3 {
  font-family: var(--site-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}
.fact p { margin-top: 2px; font-size: 14.5px; color: var(--site-muted); line-height: 1.55; }

/* ---------- services ---------- */
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.services-head h2 { margin-top: 16px; max-width: 14ch; }
.services-intro {
  justify-self: end;
  max-width: 36ch;
  text-align: right;
  color: var(--site-muted);
  font-size: 15.5px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.2vw, 24px);
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  background: var(--site-surface);
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  overflow: hidden;
  transition:
    transform calc(260ms * var(--site-motion, 1)) var(--ease),
    box-shadow calc(260ms * var(--site-motion, 1)) var(--ease),
    border-color calc(260ms * var(--site-motion, 1)) var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--site-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform calc(420ms * var(--site-motion, 1)) var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  border-color: #C6B195;
  box-shadow: 0 24px 50px -34px rgba(36, 27, 21, .6);
}
.service:hover::before { transform: scaleX(1); }
.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: calc(var(--site-radius) * .85);
  background: #F0E3D0;
  border: 1px solid #E4D3B9;
  color: var(--site-accent);
}
.service-icon svg { width: 22px; height: 22px; }
.service-num {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 42px;
  line-height: .9;
  color: var(--site-fg);
  opacity: .14;
}
.service h3 {
  font-size: clamp(23px, 2.1vw, 27px);
  letter-spacing: -.02em;
}
.service .lead {
  margin: 10px 0 18px;
  max-width: 34ch;
  font-size: 15.5px;
  color: var(--site-muted);
}
.checks { display: grid; gap: 9px; margin-bottom: 26px; font-size: 14.5px; line-height: 1.5; }
.checks li { position: relative; padding-left: 23px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .52em;
  width: 9px;
  height: 9px;
  border-left: 1.6px solid var(--site-accent);
  border-bottom: 1.6px solid var(--site-accent);
  transform: rotate(-45deg);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--site-border);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--site-accent);
}
.service-link span { transition: transform calc(200ms * var(--site-motion, 1)) var(--ease); }
.service-link:hover span { transform: translateX(4px); }

/* ---------- dark sections ---------- */
.section-dark {
  background:
    radial-gradient(90% 130% at 82% 0%, #2E2219 0%, rgba(46, 34, 25, 0) 58%),
    var(--dark);
  color: var(--cream);
}
.section-dark .label { color: var(--accent-on-dark); }
.section-dark h2 { color: #F9F1E5; }

.process { position: relative; overflow: hidden; }
.process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  background:
    repeating-linear-gradient(90deg, rgba(245, 235, 221, .22) 0 1px, transparent 1px 80px) 0 0 / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, rgba(245, 235, 221, .13) 0 1px, transparent 1px 16px) 0 0 / 100% 7px no-repeat;
}
.process-head h2 { margin-top: 16px; max-width: 20ch; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(40px, 6vw, 64px);
}
.step { padding-top: 22px; border-top: 1px solid rgba(245, 235, 221, .2); }
.step-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 14px;
  font-style: italic;
  letter-spacing: .06em;
  color: var(--accent-on-dark);
}
.step h3 {
  margin: 12px 0 10px;
  font-size: clamp(22px, 1.8vw, 26px);
  color: #F9F1E5;
}
.step p { font-size: 14.8px; line-height: 1.6; color: rgba(245, 235, 221, .66); }
.process-foot {
  margin-top: clamp(36px, 5vw, 52px);
  padding-left: 14px;
  border-left: 2px solid var(--accent-on-dark);
  font-size: 13.5px;
  color: rgba(245, 235, 221, .62);
}

/* ---------- workshop / quem constrói ---------- */
.workshop-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}
.workshop-grid h2 { margin-top: 16px; max-width: 15ch; }
.signature {
  margin-top: 22px;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: var(--site-accent);
}
.workshop-grid > div:last-child > p { color: var(--site-muted); }
.workshop-grid > div:last-child > p + p { margin-top: 16px; }

.ficha { margin: 30px 0 0; border-top: 1px solid var(--site-border); }
.ficha div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--site-border);
}
.ficha dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--site-muted);
  padding-top: 4px;
}
.ficha dd { margin: 0; font-size: 15px; }

/* ---------- faq ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}
.faq-head { position: sticky; top: 110px; }
.faq-head h2 { margin-top: 16px; max-width: 14ch; }
.faq-hint {
  margin-top: 24px;
  max-width: 31ch;
  font-size: 14.5px;
  color: var(--site-muted);
}
.faq-list { border-top: 1px solid var(--site-border); }
details { border-bottom: 1px solid var(--site-border); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  transition: color calc(180ms * var(--site-motion, 1)) var(--ease);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-family: var(--site-font);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--site-accent);
  transition: transform calc(220ms * var(--site-motion, 1)) var(--ease);
}
details[open] summary::after { content: "−"; }
summary:hover { color: var(--site-accent); }
details p {
  margin: -4px 0 24px;
  max-width: 58ch;
  font-size: 15.5px;
  color: var(--site-muted);
}

/* ---------- final cta ---------- */
.final { position: relative; overflow: hidden; }
.final-mark {
  position: absolute;
  right: -30px;
  top: 50%;
  translate: 0 -50%;
  width: 430px;
  height: 430px;
  color: var(--cream);
  opacity: .09;
  pointer-events: none;
}
.final-inner { position: relative; z-index: 1; max-width: 780px; }
.final h2 {
  margin-top: 18px;
  font-size: calc(clamp(40px, 6.2vw, 72px) * var(--site-type, 1));
  line-height: 1;
  letter-spacing: -.034em;
}
.final-lead {
  margin-top: 20px;
  max-width: 50ch;
  font-size: 17.5px;
  color: rgba(245, 235, 221, .72);
}
.final-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 36px;
}
.final-phone { font-size: 14px; color: rgba(245, 235, 221, .65); }
.final-phone strong { color: var(--cream); font-weight: 600; }
.final-phone:hover strong { color: #fff; }

/* ---------- footer ---------- */
.site-footer {
  padding: 60px 0 26px;
  background: var(--dark-2);
  color: #EFE4D6;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(239, 228, 214, .14);
}
.site-footer .brand-mark { color: var(--accent-on-dark); }
.site-footer .brand-name { color: var(--cream); }
.site-footer .brand-sub { color: rgba(239, 228, 214, .5); }
.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(239, 228, 214, .58);
}
.footer-nav h3,
.footer-contact h3 {
  margin: 0 0 16px;
  font-family: var(--site-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(239, 228, 214, .42);
}
.footer-nav ul { display: grid; gap: 9px; }
.footer-nav a {
  font-size: 14.5px;
  color: rgba(239, 228, 214, .78);
  transition: color calc(180ms * var(--site-motion, 1)) var(--ease);
}
.footer-nav a:hover { color: var(--cream); }
.footer-contact p {
  margin-bottom: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(239, 228, 214, .62);
}
.footer-contact a {
  color: var(--cream);
  border-bottom: 1px solid rgba(239, 228, 214, .3);
  padding-bottom: 1px;
}
.footer-contact a:hover { border-bottom-color: var(--cream); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(239, 228, 214, .45);
}
.footer-bottom a { transition: color calc(180ms * var(--site-motion, 1)) var(--ease); }
.footer-bottom a:hover { color: var(--cream); }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 56px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1FA855;
  color: #fff;
  box-shadow: 0 16px 34px -12px rgba(20, 80, 44, .65);
  transition:
    transform calc(200ms * var(--site-motion, 1)) var(--ease),
    background-color calc(200ms * var(--site-motion, 1)) var(--ease),
    opacity calc(200ms * var(--site-motion, 1)) var(--ease);
}
.wa-float svg { width: 29px; height: 29px; }
.wa-float::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(31, 168, 85, .5);
  animation: waPulse 3.2s var(--ease) infinite;
  pointer-events: none;
}
.wa-float:hover { transform: translateY(-2px) scale(1.04); background: #178A45; }
@keyframes waPulse {
  0% { transform: scale(1); opacity: .55; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .nav { gap: 26px; }
  .nav ul { gap: 22px; }
}

@media (max-width: 940px) {
  .header-inner { height: 70px; }
  .menu-btn { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) 26px;
    background: var(--site-bg);
    border-bottom: 1px solid var(--site-border);
    box-shadow: 0 30px 40px -30px rgba(36, 27, 21, .4);
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity calc(220ms * var(--site-motion, 1)) var(--ease),
      transform calc(220ms * var(--site-motion, 1)) var(--ease),
      visibility calc(220ms * var(--site-motion, 1)) linear;
    max-height: calc(100vh - 70px);
    overflow: auto;
  }
  body.menu-open .wa-float { opacity: 0; pointer-events: none; }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--site-border);
    font-size: 17px;
    color: var(--site-fg);
  }
  .nav ul a::after { display: none; }
  .nav-cta { margin-top: 20px; }

  html { scroll-padding-top: 88px; }

  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { max-width: 16ch; }
  .hero-figure { max-width: 540px; width: 100%; margin-inline: auto; }
  .paper-note { left: auto; right: 14px; }

  .oficina-grid,
  .workshop-grid,
  .faq-grid,
  .services-head { grid-template-columns: 1fr; }
  .services-intro { justify-self: start; text-align: left; max-width: 40ch; }
  .faq-head { position: static; }
  .faq-hint { max-width: 40ch; }

  .process-grid { grid-template-columns: 1fr 1fr; row-gap: 34px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .paper-note {
    position: static;
    width: auto;
    margin-top: 18px;
    transform: none;
  }
  .hero { padding-top: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .final-mark { width: 300px; height: 300px; right: -110px; opacity: .045; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .eyebrow { font-size: 10px; letter-spacing: .12em; gap: 10px; }
  .eyebrow .tick { width: 24px; }
  .process-grid { grid-template-columns: 1fr; row-gap: 26px; }
  .step h3 { font-size: 22px; }
  .ficha div { grid-template-columns: 108px 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 54px; }
  .wa-float svg { width: 27px; height: 27px; }
  .hero-foot { align-items: flex-start; }
  .hero-foot .dot { margin-top: .45em; }
}

@media (prefers-reduced-motion: reduce) {
  :root { --site-motion: 0; }
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; }
  .wa-float::after { display: none; }
}
