/* 004labs — layout "Tipográfico" (variante C) */
:root {
  --bg: #F3EFE6; --ink: #1C1A17; --accent: #E4572E; --light: #F3EFE6;
  --line: rgba(28, 26, 23, 0.16); --line-40: rgba(28, 26, 23, 0.4); --line-50: rgba(28, 26, 23, 0.5);
  --ink-72: rgba(28, 26, 23, 0.72); --ink-70: rgba(28, 26, 23, 0.7); --ink-68: rgba(28, 26, 23, 0.68); --ink-65: rgba(28, 26, 23, 0.65);
  --ink-60: rgba(28, 26, 23, 0.6); --ink-55: rgba(28, 26, 23, 0.55); --ink-50: rgba(28, 26, 23, 0.5); --ink-40: rgba(28, 26, 23, 0.4);
  --on-dark-line: rgba(243, 239, 230, 0.18); --on-dark-70: rgba(243, 239, 230, 0.7); --on-dark-72: rgba(243, 239, 230, 0.72);
  --on-dark-60: rgba(243, 239, 230, 0.6); --on-dark-55: rgba(243, 239, 230, 0.55);
  --container: 1200px; --gutter: 32px;
}
@media (max-width: 640px) { :root { --gutter: 16px; } }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: 'DM Mono', ui-monospace, monospace; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
input, textarea, button { font-family: inherit; }
input::placeholder, textarea::placeholder { color: var(--ink-40); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
html[data-lang="pt"] [lang="en"], html[data-lang="en"] [lang="pt"] { display: none !important; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 104px; }
.section--88 { padding-top: 88px; }
.section--72 { padding-top: 72px; }
.section--56 { padding-top: 56px; }
.section--48 { padding-top: 48px; }
.section--96 { padding-top: 96px; }

/* Tipografia */
.label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-60); }
.label--on-dark { color: var(--on-dark-60); }
.label .num, .num { color: var(--accent); }
.rule { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.h1 { font-size: clamp(36px, 5.6vw, 80px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.8vw, 54px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; }
.h2--cta { font-size: clamp(34px, 5vw, 72px); letter-spacing: -0.05em; line-height: 0.98; max-width: 980px; text-wrap: balance; }
.h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; }
.geo-title { font-size: clamp(56px, 7vw, 110px); font-weight: 500; letter-spacing: -0.06em; line-height: 0.9; }
.accent { color: var(--accent); }
.lead { font-size: 17px; line-height: 1.65; color: var(--ink-72); text-wrap: pretty; max-width: 560px; }
.lead--sm { font-size: 16px; max-width: 440px; }
.copy { font-size: 15px; line-height: 1.6; color: var(--ink-65); }
.copy--sm { font-size: 14px; line-height: 1.55; }
.copy--16 { font-size: 16px; line-height: 1.65; }
.caption { font-size: 12px; letter-spacing: 0.06em; color: var(--ink-60); }
.caption--dim { color: var(--ink-50); }
.stack { display: flex; flex-direction: column; }
.stack-32 { gap: 32px; } .stack-26 { gap: 26px; } .stack-24 { gap: 24px; } .stack-14 { gap: 14px; } .stack-12 { gap: 12px; } .stack-10 { gap: 10px; } .stack-8 { gap: 8px; }

/* Grid editorial 1/3 */
.ed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 24px; border-top: 1px solid var(--ink); padding-top: 18px; }
.ed__body { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.ed__body--40 { gap: 40px; }
@media (max-width: 720px) { .ed { grid-template-columns: 1fr; } }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; cursor: pointer; border: none; border-radius: 0; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn--dark { background: var(--ink); color: var(--light); }
.btn--dark:hover { background: var(--accent); color: var(--light); }
.btn--dark-invert:hover { background: var(--light); color: var(--ink); }
.btn--accent { background: var(--accent); color: var(--ink); font-weight: 500; }
.btn--accent:hover { background: var(--light); color: var(--ink); }
.btn--outline { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 13px; letter-spacing: 0.04em; }
.btn--md { height: 52px; padding: 0 22px; }
.btn--lg { height: 54px; padding: 0 24px; }
.btn--xl { height: 56px; padding: 0 26px; }
.btn--xs { height: 44px; padding: 0 18px; font-size: 14px; }
.btn--tiny { height: 42px; padding: 0 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.link-plain { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 13px; }
.link-plain:hover { color: var(--accent); }
.link-underline { font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--line-50); }
.link-underline:hover { color: var(--ink); border-color: var(--ink); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(243, 239, 230, 0.88); border-bottom: 1px solid var(--line); }
.nav__inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.brand:hover { color: var(--ink); }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav__links a { color: var(--ink-60); padding-bottom: 3px; border-bottom: 1px solid transparent; }
.nav__links a .num { color: var(--ink-40); }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav__links a[aria-current="page"] .num { color: var(--accent); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle { height: 36px; padding: 0 12px; border: 1px solid rgba(28, 26, 23, 0.25); border-radius: 0; background: transparent; font-size: 12px; letter-spacing: 0.06em; cursor: pointer; color: var(--ink); display: flex; align-items: center; transition: border-color .2s; }
.lang-toggle:hover { border-color: var(--ink); }
.lang-toggle .sep { opacity: 0.35; margin: 0 5px; }
.lang-toggle .off { opacity: 0.45; }
@media (max-width: 860px) { .nav__inner { gap: 16px; } .nav__links { gap: 16px; font-size: 12px; } .nav__cta { display: none; } }
@media (max-width: 520px) { .brand { font-size: 18px; } .nav__inner { gap: 10px; } .nav__links { gap: 10px; font-size: 11px; letter-spacing: 0.04em; } .nav__links .num { display: none; } .lang-toggle { padding: 0 8px; } }

/* Hero */
.hero__title { margin-top: 36px; max-width: 1100px; }
.hero__title--contact { max-width: 1000px; }
.hero__visual { position: relative; margin-top: 32px; min-height: clamp(300px, 36vw, 460px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.visual-fill { position: absolute; inset: 0; }
.fig { position: absolute; bottom: 12px; font-size: 12px; letter-spacing: 0.08em; color: var(--ink-55); pointer-events: none; }
.fig--l { left: 0; }
.fig--r { right: 0; }
@media (max-width: 640px) { .fig--r { display: none; } }
.fig--inset { left: 16px; }
.fig--on-dark { left: 20px; bottom: 0; color: var(--on-dark-55); }
.hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px 48px; padding-top: 32px; align-items: start; }
.hero__grid--end { align-items: end; padding-top: 36px; }

/* Índice de IAs */
.index { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 0 32px; }
.index__row { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.index__row .num { font-size: 12px; }

/* Painel escuro */
.panel { background: var(--ink); color: var(--light); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px; align-items: center; overflow: hidden; }
.panel__copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.panel__eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-60); }
.panel__lead { font-size: 16px; line-height: 1.65; color: var(--on-dark-70); text-wrap: pretty; }
.panel__lead--lg { font-size: 17px; line-height: 1.6; color: var(--on-dark-72); max-width: 520px; }
.panel__visual { position: relative; min-height: 520px; border-left: 1px solid var(--on-dark-line); }
.panel__visual--tall { min-height: 540px; }
.panel__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.panel__note { font-size: 12px; letter-spacing: 0.06em; color: var(--on-dark-55); }
@media (max-width: 640px) { .panel__visual, .panel__visual--tall { min-height: 380px; border-left: none; border-top: 1px solid var(--on-dark-line); } }
.feature-list { display: flex; flex-direction: column; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--on-dark-line); }
.feature__n { font-size: 12px; color: var(--accent); padding-top: 4px; }
.feature__body { display: flex; flex-direction: column; gap: 4px; }
.feature__title { font-size: 16px; font-weight: 500; }
.feature__desc { font-size: 14px; line-height: 1.55; color: var(--on-dark-60); }

/* Lista de serviços / frentes */
.list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 48px minmax(0, 1.2fr) minmax(0, 1.6fr) 24px; gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); transition: color .2s; }
.row:hover { color: var(--accent); }
.row__n { font-size: 12px; color: var(--accent); }
.row__title { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.row__desc { font-size: 15px; line-height: 1.55; color: var(--ink-65); }
.row__arrow { text-align: right; }
@media (max-width: 600px) { .row { grid-template-columns: 40px minmax(0, 1fr) 20px; } .row__desc { grid-column: 2; } }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 32px 24px; }
.step { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.step__n { font-size: clamp(44px, 4.5vw, 64px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.step__title { font-size: 18px; font-weight: 500; }
.step__desc { font-size: 14px; line-height: 1.6; color: var(--ink-65); }

/* Projeto em destaque */
.featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px 40px; border: 1px solid var(--ink); padding: 32px; color: var(--ink); transition: border-color .25s; }
.featured:hover { border-color: var(--accent); color: var(--ink); }
.featured__main { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.featured__tags { display: flex; gap: 14px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-60); }
.featured__name { font-size: clamp(56px, 7vw, 112px); font-weight: 500; letter-spacing: -0.06em; line-height: 0.9; }
.featured__desc { font-size: 15px; line-height: 1.6; color: var(--ink-68); max-width: 420px; }
.featured__scores { display: flex; flex-direction: column; justify-content: flex-end; font-size: 14px; }
.leader { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.leader--ruled { border-bottom: 1px solid var(--line); }
.leader .num { font-size: 12px; width: 24px; flex-shrink: 0; }
.leader__dots { flex: 1; border-bottom: 1px dotted var(--line-40); transform: translateY(-4px); }
.leader__score { color: var(--accent); }
@media (max-width: 640px) { .featured { padding: 24px; } }

/* Image slot (placeholder de imagem do design) */
.slot { position: relative; background: rgba(127, 127, 127, 0.08); display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: 0.04em; color: var(--ink-50); overflow: hidden; }
.slot::before { content: ""; position: absolute; inset: 0; border: 1.5px dashed currentColor; opacity: 0.35; pointer-events: none; }
.slot--case { width: 100%; height: 220px; }
.slot--case-lg { height: 260px; }
.slot--founder { width: 100%; height: 200px; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.case-cta { border: 1px dashed var(--line-50); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 260px; color: var(--ink); transition: border-color .25s; }
.case-cta:hover { border-color: var(--accent); color: var(--ink); }
.case-cta__n { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.case-cta__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; }
.case-cta__link { font-size: 14px; color: var(--accent); }

/* Time */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 24px; }
.founder { display: flex; flex-direction: column; gap: 12px; }
.founder__name { font-size: 14px; font-weight: 500; }
.founder__role { font-size: 13px; color: var(--ink-55); }

/* Manifesto */
.manifesto__text { font-size: clamp(22px, 2.6vw, 36px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.3; text-wrap: pretty; }

/* CTA / banner */
.cta { background: var(--accent); color: var(--ink); padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 32px; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.banner { background: var(--ink); color: var(--light); padding: clamp(36px, 5vw, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.banner .h2 { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.08; text-wrap: balance; }

/* Footer */
.footer { padding: 40px var(--gutter) 48px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; border-top: 1px solid var(--ink); padding-top: 24px; font-size: 13px; color: var(--ink-60); }
.footer__brand { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
.footer__links a { color: var(--ink-70); }
.footer__links a:hover { color: var(--accent); }

/* Contatos */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: 24px; align-items: start; border-top: 1px solid var(--ink); padding-top: 32px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 26px; }
.form[hidden], .form-success[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: 0.06em; color: var(--ink-60); }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px 24px; }
.input { height: 48px; border: none; border-bottom: 1px solid var(--line-40); background: transparent; padding: 0; font-size: 16px; color: var(--ink); outline: none; width: 100%; border-radius: 0; transition: border-color .2s; }
.input:focus { border-bottom-color: var(--accent); }
textarea.input { height: auto; border: 1px solid var(--line-40); padding: 14px; resize: vertical; line-height: 1.55; }
textarea.input:focus { border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 14px; border: 1px solid var(--line-40); border-radius: 0; background: transparent; color: var(--ink); font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--light); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form__error { font-size: 12px; letter-spacing: 0.04em; color: var(--accent); }
.form-success { display: flex; flex-direction: column; gap: 20px; min-height: 420px; justify-content: center; align-items: flex-start; }
.form-success h2 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.form-success h2:focus { outline: none; }
.form-success p { max-width: 440px; font-size: 17px; line-height: 1.6; color: var(--ink-72); }
.contact-side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.contact-visual { position: relative; min-height: 300px; border: 1px solid var(--ink); overflow: hidden; }
.contact-block { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line-40); padding-top: 16px; color: var(--ink); }
.contact-block:hover { color: var(--ink); }
.contact-block__title { font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; letter-spacing: -0.02em; }
.contact-block__title--break { word-break: break-all; }
.contact-block__desc { font-size: 14px; line-height: 1.55; color: var(--ink-60); }
.contact-block .btn--outline { align-self: flex-start; margin-top: 6px; }

/* Seletor de layout (A/B/C) */
.switcher { position: fixed; left: 16px; bottom: 16px; z-index: 30; display: flex; gap: 4px; padding: 4px; background: var(--ink); color: var(--light); font-size: 12px; box-shadow: 0 8px 24px rgba(28, 26, 23, 0.3); }
.switcher a { padding: 8px 12px; color: rgba(243, 239, 230, 0.65); }
.switcher a:hover { color: var(--light); }
.switcher a[aria-current="true"] { background: var(--accent); color: var(--ink); }
