/* ==========================================================================
   iFC3D Forja — Estilo "Editorial premium"
   Carregado só quando Configurações › Estilo visual = Editorial (padrão).
   Tipografia (1.8.0): apenas duas famílias — Playfair (títulos) e Suisse Int (textos e rótulos)
   ========================================================================== */

@font-face { font-family: "Playfair Ed"; src: url("../fonts/Playfair-Var.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; }

.ed {
  --display: "Playfair Ed", "Playfair Display", "Bodoni 72", Didot, Georgia, serif;
  --serif: var(--display);
  --script: var(--display);
  --label: "Suisse Int", "Helvetica Neue", Arial, sans-serif;
  --body: "Suisse Int", "Helvetica Neue", Arial, sans-serif;
  --mono: "Suisse Int", "Helvetica Neue", Arial, sans-serif;
  --ed-band: #D9D0C3;
  --ed-foot: #2A1C17;
  --radius: 0px;
}

/* Lenis (rolagem suave) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Tipografia ---------- */
.ed h1, .ed h2, .ed h3, .ed .title-xl, .ed .title-lg, .ed .title-md,
.ed .work__title, .ed .seg__title, .ed .value__word, .ed .marquee__group span, .ed .step__title,
.ed .manifesto__quote blockquote, .ed .svc__title, .ed .mobile-menu li a {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: -.012em;
  font-optical-sizing: auto;
}
.ed .title-xl { font-size: clamp(44px, 7.2vw, 124px); line-height: .9; }
.ed .title-lg { font-size: clamp(38px, 5.6vw, 94px); line-height: .92; }
.ed .title-md { font-size: clamp(28px, 3.4vw, 54px); line-height: .98; }

/* palavra destacada (*palavra*) vira assinatura manuscrita sobreposta */
.ed h1 em, .ed h2 em, .ed h3 em, .ed .title-xl em, .ed .title-lg em, .ed .title-md em,
.ed .manifesto__quote blockquote em, .ed .ed-menu__slogan em, .ed .values__lead em, .ed .ed-pillars__lead em {
  font-family: var(--script); font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0;
  color: var(--accent); font-size: 1.32em; line-height: .5; display: inline-block; position: relative; top: .1em;
  transform: rotate(-5deg); padding: .12em .06em .2em; margin: -.12em -.02em -.2em;
}
.ed [data-split] em .w { overflow: visible; padding: 0; margin: 0; }
.ed .title-xl:has(em), .ed .title-lg:has(em), .ed .title-md:has(em) { padding-bottom: .22em; }
.ed [data-split] em .w > span { opacity: 0; transition: opacity 1.4s .3s ease; }
.ed [data-split].is-revealed em .w > span { opacity: 1; }
.ed .marquee__group span:nth-child(4n+1) { font-family: var(--script); text-transform: none; font-size: 1.5em; letter-spacing: 0; }

.ed .kicker, .ed-label {
  font-family: var(--label); font-weight: 600; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--text);
}
.ed .kicker { gap: 14px; }
.ed .kicker .dot { width: 26px; height: 1px; border-radius: 0; background: var(--accent); box-shadow: none; }
.ed-label { display: block; color: var(--muted); margin-bottom: 6px; }
.ed .lead { font-size: clamp(15px, 1.1vw, 17px); }

/* botões: retângulo fino, rótulo expandido */
.ed .btn-forja { border-radius: 0; font-family: var(--label); font-weight: 600; font-size: 10.5px !important; letter-spacing: .2em !important; --h: 56px; padding: 0 30px; }
.ed .btn-forja::before { border-radius: 0; }
.ed .btn-forja--sm { --h: 44px; }
.ed .link-arrow { font-family: var(--label); font-weight: 600; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Cabeçalho ---------- */
.ed-header { position: fixed; inset: 0 0 auto; z-index: 1200; height: 0; color: var(--text); pointer-events: none; }
.ed-header > * { pointer-events: auto; }
.ed-badge { position: absolute; top: 18px; left: calc(var(--gutter) - 10px); width: 104px; height: 104px; display: grid; place-items: center; color: inherit; transition: transform .8s var(--ease), color .5s; }
.ed-badge:hover { color: inherit; }
.ed-badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
.ed-badge__ring text { font-family: var(--label); font-weight: 600; font-size: 9.2px; letter-spacing: .08em; fill: currentColor; }
.ed-badge__core { width: 50px; height: 50px; display: grid; place-items: center; transition: transform .6s var(--ease); }
.ed-badge__core img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ed-badge__core b { font-family: var(--display); font-weight: 400; font-size: 17px; }
.ed-badge__core b i { font-style: normal; color: var(--accent); }
.ed-badge:hover .ed-badge__core { transform: scale(1.08) rotate(-8deg); }
.ed-header.is-scrolled .ed-badge { transform: scale(.78); transform-origin: top left; }

.ed-header__right { position: absolute; top: 26px; right: var(--gutter); display: flex; align-items: flex-start; gap: clamp(18px, 2.4vw, 40px); }
.ed-header__cta { font-family: var(--display); text-transform: uppercase; font-size: 16px; line-height: 1.02; text-align: right; color: inherit; padding-bottom: 4px; border-bottom: 1px solid currentColor; transition: color .4s, border-color .4s; }
.ed-header__cta:hover { color: var(--accent); }
.ed-header__links { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding-top: 2px; }
.ed-header__links a { font-family: var(--label); font-weight: 600; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: inherit; }
.ed-header__links a:hover { color: var(--accent); }
.ed-menu-btn { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; color: inherit; cursor: pointer; padding: 2px 0 0; font-family: var(--label); font-weight: 600; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.ed-menu-btn__dots { display: grid; gap: 3px; }
.ed-menu-btn__dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; transition: transform .5s var(--ease); }
.ed-menu-btn:hover .ed-menu-btn__dots i:nth-child(1) { transform: translateY(-2px); }
.ed-menu-btn:hover .ed-menu-btn__dots i:nth-child(3) { transform: translateY(2px); }
.ed-header__cta, .ed-header__links { transition: opacity .5s, transform .6s var(--ease); }
.ed .ed-header.is-hidden { transform: none; }
.ed .ed-header.is-scrolled { background: none; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.ed-header.is-hidden .ed-header__cta, .ed-header.is-hidden .ed-header__links { opacity: 0; transform: translateY(-8px); pointer-events: none; }
/* sobre fundos escuros (rodapé / menu aberto) */
.ed-header.is-light, body.ed-menu-open .ed-header { color: #F3EEE6; }

/* ---------- Menu em tela cheia ---------- */
.ed-menu { position: fixed; inset: 0; z-index: 1150; background: var(--ed-foot); color: #F3EEE6; display: grid; grid-template-columns: minmax(0, 30%) 1fr minmax(240px, 24%); gap: 0 clamp(30px, 4vw, 70px); padding: 150px var(--gutter) 50px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 1s var(--ease), visibility 0s 1s; }
.ed-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 1s var(--ease), visibility 0s; }
.ed-menu__media { position: relative; overflow: hidden; align-self: stretch; max-height: 70vh; }
.ed-menu__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.15); transition: clip-path 1s var(--ease), transform 1.6s var(--ease); }
.ed-menu__media img.is-active { clip-path: inset(0); transform: scale(1); z-index: 1; }
.ed-menu__nav ol { list-style: none; margin: 0; padding: 0; }
.ed-menu__nav li { overflow: hidden; }
.ed-menu__nav a { display: flex; align-items: baseline; gap: 18px; color: rgba(243,238,230,.92); font-family: var(--display); text-transform: uppercase; font-size: clamp(36px, 5.4vw, 92px); line-height: 1.02; letter-spacing: -.01em; transition: color .4s, transform .7s var(--ease); }
.ed-menu__nav a small { font-family: var(--label); font-weight: 600; font-size: 10px; letter-spacing: .2em; color: var(--accent); min-width: 26px; }
.ed-menu__nav a:hover, .ed-menu__nav a.is-hover { color: var(--accent); transform: translateX(14px); }
.ed-menu__nav ol:hover a:not(:hover) { color: rgba(243,238,230,.35); }
.ed-menu__aside { align-self: end; display: grid; gap: 26px; }
.ed-menu__aside .ed-label { color: rgba(243,238,230,.5); }
.ed-menu__slogan { font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 2vw, 32px); line-height: 1.05; margin: 0; }
.ed-menu__aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ed-menu__aside a, .ed-menu__aside span:not(.ed-label) { color: #F3EEE6; font-size: 15px; }
.ed-menu__aside a:hover { color: var(--accent); }
@media (max-width: 991px) {
  .ed-menu { grid-template-columns: 1fr; padding-top: 130px; align-content: space-between; }
  .ed-menu__media { display: none; }
}

/* ---------- Trilho lateral (progresso) ---------- */
.ed-rail { position: fixed; left: calc(var(--gutter) * .55); top: 50%; z-index: 900; transform: translateY(-30%); display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--text); pointer-events: none; transition: color .5s, opacity .5s; }
.ed-rail__n { font-family: var(--label); font-weight: 600; font-size: 9px; letter-spacing: .14em; writing-mode: vertical-rl; transform: rotate(180deg); }
.ed-rail__n b { font-weight: 600; }
.ed-rail__line { width: 1px; height: 22vh; background: color-mix(in srgb, currentColor 22%, transparent); position: relative; overflow: hidden; }
.ed-rail__line i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: currentColor; transform-origin: top; transform: scaleY(0); }
.ed-rail__label { pointer-events: auto; font-family: var(--label); font-weight: 600; font-size: 9px; letter-spacing: .26em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); color: inherit; }
.ed-rail.is-light { color: #F3EEE6; }
body.ed-menu-open .ed-rail { opacity: 0; }
@media (max-width: 991px) { .ed-rail { display: none; } }

/* ---------- Cortina de transição entre páginas ---------- */
.ed-curtain { position: fixed; inset: 0; z-index: 3000; background: var(--ed-foot); display: grid; place-items: center; transform: translateY(100%); pointer-events: none; }
.ed-curtain img { width: 64px; height: 64px; object-fit: contain; opacity: 0; transition: opacity .4s .2s; }
.ed-curtain.is-in { transform: translateY(0); transition: transform .7s var(--ease); pointer-events: auto; }
.ed-curtain.is-in img, .ed-curtain.is-cover img { opacity: 1; }
.ed-curtain.is-cover { transform: translateY(0); }
.ed-curtain.is-out { transform: translateY(-100%); transition: transform 1s var(--ease) .1s; }

/* esconde cabeçalho clássico se algo o renderizar */
.ed .site-header:not(.ed-header) { display: none; }

/* ---------- Abertura ---------- */
.ed .hero { align-items: flex-end; }
.ed .hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }
.ed .hero__content .kicker { justify-content: center; }
.ed .ed-hero__title { font-size: clamp(64px, 13.4vw, 236px); line-height: .84; letter-spacing: -.02em; margin: 0; font-weight: 300; }
.ed .ed-hero__title .line { padding-bottom: 0; }
.ed .ed-script { display: block; position: relative; z-index: 2; margin-top: -.3em; }
.ed .ed-hero__title em { font-size: .66em; line-height: .9; top: 0; transform: rotate(-4deg); color: var(--accent); }
.ed .ed-flank { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 46px); width: min(1100px, 100%); margin: clamp(18px, 2.5vw, 34px) 0 clamp(26px, 3.5vw, 46px); font-family: var(--display); text-transform: uppercase; font-size: clamp(14px, 1.5vw, 24px); letter-spacing: .01em; }
.ed .ed-flank i { flex: 1; height: 1px; background: currentColor; opacity: .35; max-width: 420px; }
.ed .hero__bottom { flex-direction: column; align-items: center; text-align: center; border-top: 0; padding-top: 0; gap: 22px; }
.ed .hero__text { max-width: 520px; font-size: 15px; }
.ed .hero__title em { letter-spacing: 0; }
.ed-circle { position: absolute; display: grid; place-items: center; width: 116px; height: 116px; color: var(--text); }
.ed-circle svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: edSpin 22s linear infinite; }
.ed-circle text { font-family: var(--label); font-weight: 600; font-size: 8.6px; letter-spacing: .14em; fill: currentColor; }
.ed-circle i { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: 15px; transition: background .4s, color .4s, transform .6s var(--ease); }
.ed-circle:hover i { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(4px); }
.hero__circle { right: calc(var(--gutter) + 6px); bottom: 118px; z-index: 3; }
.ed .hero__content > .kicker { display: none; }
.ed .hero__hud { inset: 150px calc(var(--gutter) + 40px) 26px; }
@keyframes edSpin { to { transform: rotate(360deg); } }
.hero.on-dark .ed-circle { color: #F3EEE6; }
@media (max-width: 991px) { .hero__circle { display: none; } }

/* ---------- Revelação de imagens ---------- */
.ed .ed-img { clip-path: inset(10% 7% 10% 7%); transition: clip-path 1.5s var(--ease); }
.ed .ed-img img { transform: scale(1.22); transition: transform 2.2s var(--ease); }
.ed .ed-img.is-in { clip-path: inset(0 0 0 0); }
.ed .ed-img.is-in img { transform: scale(1); }
.ed .work.ed-img.is-in figure img, .ed .work figure img { transition: transform 1.2s var(--ease); }

/* ---------- Pilares (uma palavra por tela) ---------- */
.ed .ed-pillars { --text: #1C1A17; --muted: #6E655A; --line: rgba(28,25,22,.12); --line-2: rgba(28,25,22,.22); color: var(--text); background: var(--ed-band); padding: 0; height: calc(var(--n) * 90vh + 60vh); overflow: visible; }
.ed .ed-pillars::before { display: none; }
.ed-pillars__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; justify-items: center; padding: clamp(120px, 15vh, 160px) var(--gutter) 40px; overflow: hidden; }
.ed-pillars__head { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; display: flex; justify-content: space-between; align-items: center; }
.ed-pillars__head .kicker { margin: 0; }
.ed-pillars__count { font-family: var(--label); font-weight: 600; font-size: 10px; letter-spacing: .2em; }
.ed-pillars__words { position: relative; width: 100%; height: 1em; font-size: clamp(56px, 11.2vw, 200px); text-align: center; }
.ed-pillar__word { position: absolute; inset: 0; font-size: inherit !important; line-height: .9; margin: 0; white-space: nowrap; opacity: 0; transform: translateY(.35em); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease); }
.ed-pillar__word.is-active { opacity: 1; transform: none; filter: none; }
.ed-pillar__word.is-past { transform: translateY(-.35em); }
.ed-pillars__card { position: relative; align-self: center; width: clamp(240px, 26vw, 430px); aspect-ratio: 4 / 3; margin-top: 3vh; }
.ed-pillars__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.18); transition: clip-path 1.2s var(--ease), transform 1.8s var(--ease); }
.ed-pillars__card img.is-active, .ed-pillars__card img.is-past { clip-path: inset(0); transform: scale(1); }
.ed-pillars__bar { position: absolute; left: 0; right: 0; bottom: -18px; height: 1px; background: var(--line-2); }
.ed-pillars__bar i { position: absolute; inset: 0; background: var(--text); transform-origin: left; transform: scaleX(0); }
.ed-pillars__descs { position: relative; width: min(440px, 100%); min-height: 7.5em; margin-top: 46px; text-align: center; }
.ed-pillars__lead { font-family: var(--label); font-weight: 600; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.ed-pillars__lead em { font-size: 2.2em; top: .2em; }
.ed-pillar__desc { position: absolute; left: 0; right: 0; margin: 0; font-size: 15px; line-height: 1.6; opacity: 0; transform: translateY(12px); transition: opacity .8s, transform .9s var(--ease); }
.ed-pillar__desc.is-active { opacity: 1; transform: none; transition-delay: .15s; }
@media (max-width: 767px) {
  .ed-pillars__words { font-size: clamp(40px, 13vw, 80px); }
  .ed-pillars__card { width: 70vw; }
  .ed-pillars__head { bottom: 20px; }
}

/* ---------- Processo como percurso ---------- */
.ed .ed-route { --text: #1C1A17; --muted: #7A7166; --line: rgba(28,25,22,.12); --line-2: rgba(28,25,22,.24); --bg-2: #EFE9E0; color: var(--text); background: var(--bg); height: 280vh; overflow: visible; }
.ed-route__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(120px, 14vh, 150px) 0 clamp(30px, 5vh, 60px); overflow: hidden; }
.ed-route__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px 80px; align-items: end; }
.ed-route__head .kicker { margin-bottom: 18px; }
.ed-route__map { position: relative; margin: 2vh var(--gutter) 0; min-height: 200px; }
.ed-route__map svg { position: absolute; inset: 12% 0; width: 100%; height: 76%; overflow: visible; }
.ed-route__ghost { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 7; }
.ed-route__path { fill: none; stroke: var(--text); stroke-width: 1.6; stroke-dasharray: 4000; stroke-dashoffset: 4000; stroke-linecap: round; }
.ed-stop { position: absolute; left: var(--x); top: calc(12% + var(--y) * .76); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
.ed-stop__dot { width: 46px; height: 46px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 15px; color: var(--muted); transition: background .5s, color .5s, border-color .5s, transform .7s var(--ease); }
.ed-stop.is-on .ed-stop__dot { background: var(--text); color: #F7F4EF; border-color: var(--text); }
.ed-stop.is-current .ed-stop__dot { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.18); }
.ed-stop__label { position: absolute; top: calc(100% + 14px); white-space: nowrap; text-align: center; display: grid; gap: 4px; opacity: .45; transition: opacity .6s; }
.ed-stop.is-up .ed-stop__label { top: auto; bottom: calc(100% + 14px); }
.ed-stop.is-on .ed-stop__label { opacity: 1; }
.ed-stop__label small { font-family: var(--label); font-weight: 600; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ed-stop__label b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(16px, 1.5vw, 24px); line-height: 1; }
.ed-route__detail { position: relative; min-height: 120px; }
.ed-route__step { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; max-width: 860px; margin: 0 auto; opacity: 0; transform: translateY(16px); transition: opacity .7s, transform .9s var(--ease); }
.ed-route__step.is-active { opacity: 1; transform: none; }
.ed-route__num { font-family: var(--script); color: var(--accent); font-size: 84px; line-height: .7; }
.ed-route__step h3 { font-size: clamp(26px, 2.6vw, 40px); margin-bottom: 10px; }
.ed-route__step p { color: var(--muted); max-width: 620px; margin: 0; }
@media (max-width: 991px) {
  .ed .ed-route { height: auto; }
  .ed-route__stage { position: relative; height: auto; display: block; padding: 110px 0 80px; }
  .ed-route__head { grid-template-columns: 1fr; margin-bottom: 40px; }
  .ed-route__map { display: none; }
  .ed-route__detail { display: grid; gap: 34px; padding-left: calc(var(--gutter) + 20px); position: relative; }
  .ed-route__detail::before { content: ""; position: absolute; left: var(--gutter); top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
  .ed-route__step { position: relative; left: 0; right: 0; opacity: 1; transform: none; gap: 18px; padding: 0 var(--gutter) 0 0; }
  .ed-route__num { font-size: 60px; }
}

/* ---------- Citação em tela cheia ---------- */
.ed .manifesto__quote.has-img { position: relative; display: block; width: 100vw; margin: clamp(80px, 10vw, 150px) 0 0 calc(50% - 50vw); min-height: 100vh; min-height: 100svh; overflow: hidden; color: #F7F4EF; }
.ed .manifesto__quote.has-img .manifesto__img { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; clip-path: none; }
.ed .manifesto__quote.has-img .manifesto__img img { height: 120%; }
.ed .manifesto__quote.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(10deg, rgba(20,14,10,.78) 0%, rgba(20,14,10,.35) 45%, rgba(20,14,10,0) 75%); pointer-events: none; }
.ed .manifesto__quote.has-img blockquote { position: absolute; z-index: 2; left: max(var(--gutter), 7vw); right: var(--gutter); bottom: clamp(70px, 14vh, 150px); max-width: 860px; color: #F7F4EF; font-size: clamp(28px, 3.6vw, 62px); line-height: .98; }
.ed .manifesto__quote.has-img figcaption { position: absolute; z-index: 2; left: max(var(--gutter), 7vw); bottom: clamp(28px, 6vh, 64px); margin: 0; font-family: var(--label); font-style: normal; font-weight: 600; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #F7F4EF; opacity: .85; }

/* ---------- Ajustes de módulos ---------- */
.ed .letter__glyph { font-family: var(--display); font-weight: 300; }
.ed .stat__num { font-family: var(--display); font-weight: 300; }
.ed .step__num { font-family: var(--script); font-style: normal; }
.ed .work figure, .ed .seg, .ed .tcard, .ed .letter, .ed .step, .ed .contact__form, .ed .svc__img, .ed .seg__img { border-radius: 0; }
.ed .filters button { border-radius: 0; font-family: var(--label); font-weight: 600; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; }
.ed .tags li { border-radius: 0; font-family: var(--label); font-weight: 600; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.ed .faq .qa__q, .ed .qa__q { font-family: var(--display); text-transform: uppercase; }
.ed .tcard blockquote { font-family: var(--display); font-size: clamp(19px, 1.5vw, 24px); line-height: 1.3; }
.ed .svc__num { font-family: var(--label); font-weight: 600; font-size: 10px; letter-spacing: .14em; }

/* ---------- Rodapé ---------- */
.ed .ed-footer { background: var(--ed-foot); border-top: 0; padding-top: clamp(100px, 13vw, 180px); }
.ed-footer__hero { text-align: center; display: flex; flex-direction: column; align-items: center; padding-bottom: clamp(70px, 9vw, 130px); }
.ed-footer__emblem { width: 58px; height: 58px; object-fit: contain; margin-bottom: 26px; }
.ed-footer__hero > .ed-label { color: rgba(243,238,230,.6); margin-bottom: 18px; }
.ed-footer__phone { font-family: var(--display); font-weight: 300; font-size: clamp(46px, 9.4vw, 168px); line-height: .95; letter-spacing: -.02em; color: #F3EEE6; white-space: nowrap; }
.ed-footer__phone:hover { color: var(--accent); }
.ed-footer__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 64px; margin-top: 36px; }
.ed-footer__meta p { margin: 0; font-size: 14px; color: #F3EEE6; }
.ed-footer__meta .ed-label { color: rgba(243,238,230,.5); }
.ed .ed-footer .site-footer__top { border-top: 1px solid var(--line); padding-top: 60px; }
.ed .ed-footer .brand__mark { font-family: var(--display); }
.ed .site-footer__bottom .slogan { font-family: var(--script); font-style: normal; font-size: 26px; color: var(--accent); }

/* ---------- Páginas internas e "Em breve" ---------- */
.ed .page-hero h1, .ed .page-title { font-family: var(--display); text-transform: uppercase; font-weight: 400; }

/* ---------- Responsivo ---------- */
@media (max-width: 767px) {
  .ed-badge { width: 80px; height: 80px; top: 12px; left: calc(var(--gutter) - 8px); }
  .ed-badge__core { width: 38px; height: 38px; }
  .ed-header__right { top: 22px; }
  .ed-header__cta, .ed-header__links { display: none; }
  .ed .ed-hero__title { font-size: clamp(52px, 17vw, 120px); }
  .ed .ed-flank { font-size: 12px; }
  .ed .title-xl { font-size: clamp(40px, 11vw, 64px); }
  .ed-footer__phone { font-size: clamp(34px, 11vw, 60px); }
}
@media (prefers-reduced-motion: reduce) {
  .ed-circle svg { animation: none; }
  .ed .ed-img, .ed .ed-img img { clip-path: none; transform: none; }
}

/* ---------- 1.6.1 · Legibilidade da abertura ---------- */
.ed .hero__content { isolation: isolate; }
.ed .hero:not(.on-dark) .hero__content::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 46%; width: min(1500px, 125%); height: 135%;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(247,244,239,.86) 0%, rgba(247,244,239,.7) 45%, rgba(247,244,239,.32) 72%, rgba(247,244,239,0) 100%);
}
.ed .hero.on-dark .hero__content::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 46%; width: min(1500px, 125%); height: 135%;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(14,12,10,.62) 0%, rgba(14,12,10,.38) 55%, rgba(14,12,10,0) 100%);
}
.ed .ed-hero__title { font-weight: 400; text-shadow: 0 2px 40px rgba(247,244,239,.55); }
.ed .ed-hero__title em { color: color-mix(in srgb, var(--accent) 78%, #2A1C17); text-shadow: 0 0 28px rgba(247,244,239,.95), 0 0 2px rgba(247,244,239,.6); }
.ed .hero.on-dark .ed-hero__title { text-shadow: 0 2px 40px rgba(0,0,0,.45); }
.ed .hero.on-dark .ed-hero__title em { color: color-mix(in srgb, var(--accent) 70%, #fff); text-shadow: 0 0 26px rgba(0,0,0,.6); }
.ed .hero .ed-flank span { text-shadow: 0 0 18px rgba(247,244,239,.95); }
.ed .hero.on-dark .ed-flank span { text-shadow: 0 0 18px rgba(0,0,0,.7); }
.ed .hero__text { color: var(--text); font-weight: 400; text-shadow: 0 0 16px rgba(247,244,239,.9); }
.ed .hero.on-dark .hero__text { text-shadow: 0 0 16px rgba(0,0,0,.7); }
.ed .hero__hud { color: #5E564C; text-shadow: 0 0 10px rgba(247,244,239,.95); }
.ed .hero.on-dark .hero__hud { color: rgba(243,238,230,.7); text-shadow: none; }
.bp-split.is-edge .bp-split__l, .bp-split.is-edge .bp-split__r { opacity: 0; }
.bp-split__l, .bp-split__r { transition: opacity .3s; }

/* ---------- 1.6.1 · Assinatura sem invadir linhas vizinhas ---------- */
.ed h2 em, .ed h3 em, .ed .title-xl em, .ed .title-lg em, .ed .title-md em,
.ed .manifesto__quote blockquote em {
  font-size: 1.2em; line-height: .8; top: .04em; transform: rotate(-4deg);
  padding: .08em .05em .12em; margin: -.1em 0 -.08em;
}
.ed .title-xl:has(em), .ed .title-lg:has(em), .ed .title-md:has(em) { line-height: 1; padding-bottom: .26em; }
.ed .section-head .lead, .ed .contact__info .lead, .ed .faq__head .lead { position: relative; z-index: 1; }
.ed .ed-script { margin-top: -.2em; }
.ed .ed-hero__title em { font-size: .6em; }

/* ---------- 1.6.1 · Cabeçalho legível sobre o conteúdo ---------- */
.ed-header::before {
  content: ""; position: fixed; left: 0; right: 0; top: 0; height: 118px; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(247,244,239,.96) 0%, rgba(247,244,239,.82) 48%, rgba(247,244,239,0) 100%);
  opacity: 0; transition: opacity .5s, background .5s;
}
.ed-header.is-scrolled::before { opacity: 1; }
.ed-header.is-light::before { background: linear-gradient(180deg, rgba(30,20,16,.9) 0%, rgba(30,20,16,.6) 50%, rgba(30,20,16,0) 100%); }
body.ed-menu-open .ed-header::before { opacity: 0; }
@media (max-width: 767px) {
  .ed-header::before { height: 96px; }
  .ed-header.is-scrolled .ed-badge { transform: scale(.72); }
}
.ed .hero:not(.on-dark) .hero__content::before {
  background: radial-gradient(closest-side, rgba(247,244,239,.82) 0%, rgba(247,244,239,.64) 45%, rgba(247,244,239,.28) 72%, rgba(247,244,239,0) 100%);
}
.ed .hero:not(.on-dark) .hero__hud span { background: rgba(247,244,239,.72); padding: 3px 7px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* ---------- 1.6.1 · Celular ---------- */
@media (max-width: 767px) {
  .ed .ed-hero__title { font-size: clamp(64px, 21vw, 120px); }
  .ed .ed-hero__title em { font-size: .64em; }
  .ed .hero__hud { display: none; }
  .ed .ed-flank { font-size: 11px; gap: 12px; }
  .ed .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; font-size: 24px; transition: opacity .4s, transform .4s var(--ease); }
  .ed.ed-at-hero .wa-float { opacity: 0; transform: scale(.6); pointer-events: none; }
  .ed .hero__actions { width: 100%; }
  .ed .hero__actions .btn-forja { flex: 1 1 100%; }
}
@media (max-width: 380px) {
  .ed .btn-forja { padding: 0 20px; letter-spacing: .16em !important; }
}
.ed .letter__glyph { font-size: clamp(72px, 7.2vw, 132px); line-height: 1; }
.ed .letter__glyph.is-word { font-size: clamp(44px, 4.4vw, 78px); }
@media (max-width: 767px) { .ed .letter__glyph { font-size: clamp(64px, 18vw, 96px); } .ed .letter__glyph.is-word { font-size: clamp(40px, 11vw, 60px); } }

/* Frase dos fundadores — estilo editorial */
.ed .quote-sec blockquote { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 4.6vw, 80px); line-height: .98; letter-spacing: -.01em; }
.ed .quote-sec blockquote em { display: inline-block; }
.ed .quote-sec__mark { font-family: var(--script); opacity: .7; }
.ed .quote-sec figcaption { font-family: var(--label); font-weight: 600; font-size: 10px; letter-spacing: .2em; }
.ed .quote-sec.has-bg { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.ed .quote-sec.has-bg .quote-sec__inner { width: 100%; }
.ed .quote-sec blockquote em {
  font-family: var(--script); font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0;
  color: var(--accent); font-size: 1.25em; line-height: .8; position: relative; top: .06em; transform: rotate(-4deg);
  padding: .08em .05em .12em; margin: -.1em 0 -.08em;
}
.ed .quote-sec.on-dark blockquote em { color: color-mix(in srgb, var(--accent) 70%, #fff); }
.ed .quote-sec [data-split] em .w { overflow: visible; }
@media (max-width: 767px) {
  .ed .quote-sec blockquote { font-size: clamp(26px, 8vw, 40px); line-height: 1.02; }
  .quote-sec__inner { padding-left: max(var(--gutter), 22px); padding-right: max(var(--gutter), 22px); }
  .quote-sec figcaption { flex-direction: column; gap: 10px; }
}


/* ==========================================================================
   1.8.0 · Tipografia unificada (2 famílias) e ajustes de layout
   ========================================================================== */
/* sem itálico/cursiva sintetizados: destaques ficam na cor da marca, mesma fonte */
.ed, .ed * { font-synthesis: none; }
.ed em, .ed .serif { font-style: normal; }
.ed h1 em, .ed h2 em, .ed h3 em, .ed .title-xl em, .ed .title-lg em, .ed .title-md em,
.ed .manifesto__quote blockquote em, .ed .ed-menu__slogan em, .ed .values__lead em, .ed .ed-pillars__lead em,
.ed .quote-sec blockquote em, .ed .ed-hero__title em {
  font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit;
  text-transform: inherit; display: inline; position: static; top: auto; transform: none; padding: 0; margin: 0;
  color: var(--accent); text-shadow: none;
}
.ed .title-xl:has(em), .ed .title-lg:has(em), .ed .title-md:has(em) { line-height: .92; padding-bottom: 0; }
.ed [data-split] em .w > span { opacity: 1; transition: none; }
.ed .ed-pillars__lead em { font-size: inherit; }
/* abertura: "FORJA" na mesma família do título, menor e espaçado */
.ed .ed-script { margin-top: .08em; }
.ed .ed-hero__title em { font-size: .36em; letter-spacing: .42em; margin-right: -.42em; font-weight: 400; color: color-mix(in srgb, var(--accent) 80%, #2A1C17); }
.ed .hero.on-dark .ed-hero__title em { color: color-mix(in srgb, var(--accent) 70%, #fff); }
/* faixa rolante: uma única fonte */
.ed .marquee__group span, .ed .marquee__group span:nth-child(4n+1) { font-family: var(--display); font-size: clamp(22px, 2.6vw, 38px); text-transform: uppercase; letter-spacing: .01em; color: var(--text); }
/* números e marcas decorativas na fonte dos títulos */
.ed .ed-route__num, .ed .step__num, .ed .quote-sec__mark, .ed .tcard__q { font-family: var(--display); }
.ed .site-footer__bottom .slogan { font-family: var(--display); font-size: 15px; text-transform: uppercase; letter-spacing: .14em; }
.ed .ed-stop__label b, .ed .ed-header__cta { font-family: var(--display); }

/* Identidade: letras, nomes e descrições alinhados em linhas */
.ed .letters { align-items: stretch; }
.ed .letter { display: grid; grid-template-rows: auto auto auto 1fr; align-content: start; min-height: 0; padding-top: 30px; }
.ed .letter__index { margin-bottom: 26px; }
.ed .letter__glyph, .ed .letter__glyph.is-word {
  margin: 0 0 22px; font-family: var(--display); font-weight: 400; font-style: normal;
  font-size: clamp(52px, 5.4vw, 96px); line-height: 1; height: 1em; display: flex; align-items: flex-end; white-space: nowrap;
}
.ed .letter__name { margin: 0 0 10px; align-self: start; }
.ed .letter__desc { align-self: start; margin: 0; }
@media (max-width: 767px) { .ed .letter__glyph, .ed .letter__glyph.is-word { font-size: clamp(48px, 14vw, 72px); } }
/* rótulos técnicos (antes em monoespaçada) usam a mesma sans com números tabulares */
.ed .hero__hud, .ed .bp-dim, .ed .bp-tag, .ed .bp-calc, .ed .bp-split__l, .ed .bp-split__r, .ed .as-label, .ed .pr-live, .ed .orbit-labels { font-variant-numeric: tabular-nums; }

/* Cabeçalhos de "Tecnologias" e "Portfólio": um único bloco alinhado */
.ed .services .section-head--split, .ed .projects .section-head--split { display: block; max-width: 1000px; }
.ed .services .section-head--split .lead, .ed .projects .section-head--split .lead { margin-top: 26px; max-width: 620px; }
.ed .services .title-xl, .ed .projects .title-xl { font-size: clamp(40px, 6vw, 104px); }
/* lista de serviços sem o ícone "+" */
.ed .svc__toggle { display: none; }
.ed .svc__head { grid-template-columns: 70px 56px 1fr auto; }
@media (max-width: 991px) { .ed .svc__head { grid-template-columns: 40px 1fr; } }

/* Processo: 4 etapas visíveis de uma vez, linha desenhada ao entrar na tela */
.ed .ed-steps-sec { --text: #1C1A17; --muted: #7A7166; --line: rgba(28,25,22,.12); --line-2: rgba(28,25,22,.24); color: var(--text); background: var(--bg); padding: clamp(100px, 12vw, 170px) 0; overflow: visible; }
.ed-steps__head { max-width: 980px; margin-bottom: clamp(56px, 7vw, 96px); }
.ed-steps__head .lead { margin-top: 24px; }
.ed-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); position: relative; }
.ed-steps::before, .ed-steps::after { content: ""; position: absolute; left: 23px; right: 0; top: 23px; height: 1px; }
.ed-steps::before { background: var(--line-2); }
.ed-steps::after { background: var(--text); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease); }
.ed-steps.is-in::after { transform: scaleX(1); }
.ed-step { position: relative; display: grid; align-content: start; gap: 0; opacity: .35; transform: translateY(14px); transition: opacity .8s, transform 1s var(--ease); transition-delay: calc(var(--i) * .25s + .2s); }
.ed-steps.is-in .ed-step { opacity: 1; transform: none; }
.ed-step__dot { width: 46px; height: 46px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 16px; color: var(--muted); position: relative; z-index: 1; margin-bottom: 30px; transition: background .5s, color .5s, border-color .5s; transition-delay: calc(var(--i) * .25s + .5s); }
.ed-steps.is-in .ed-step__dot { background: var(--text); color: #F7F4EF; border-color: var(--text); }
.ed-step:hover .ed-step__dot { background: var(--accent); border-color: var(--accent); }
.ed-step__num { font-family: var(--display); font-size: clamp(44px, 4vw, 68px); line-height: 1; color: var(--accent); margin-bottom: 14px; }
.ed-step__kw { font-family: var(--label); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ed-step__title { font-size: clamp(22px, 2vw, 32px); line-height: 1.05; margin: 0 0 12px; }
.ed-step__desc { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
@media (max-width: 991px) {
  .ed-steps { grid-template-columns: 1fr; gap: 40px; padding-left: 0; }
  .ed-steps::before, .ed-steps::after { left: 23px; right: auto; top: 23px; bottom: 23px; width: 1px; height: auto; }
  .ed-steps::after { transform-origin: top; transform: scaleY(0); }
  .ed-steps.is-in::after { transform: scaleY(1); }
  .ed-step { grid-template-columns: 46px 1fr; column-gap: 22px; }
  .ed-step__dot { grid-row: 1 / span 4; margin: 0; }
  .ed-step > :not(.ed-step__dot) { grid-column: 2; }
}
.ed .seg__sub { font-family: var(--label); font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #EAD9C2; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
