/* Manrope, SIL Open Font License. Licença em public/assets/fonts/. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
}

/* Identidade compartilhada: tipografia, navegação e elementos essenciais. */
:root {
  color-scheme: dark;
  --ink: #111110;
  --surface: #1b1b18;
  --paper: #e9e8e3;
  --text: #f1f0eb;
  --muted: #aaa9a2;
  --gold: #d0b98c;
  --line: #34342e;
  --font: 'Manrope', sans-serif;
  --content-width: 1180px;
  --panel-radius: 24px;
  --section-space: clamp(56px, 7vw, 96px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; min-width: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--ink); color: var(--text); font: 400 1rem/1.7 var(--font); -webkit-font-smoothing: antialiased; }
main { flex: 1; min-width: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 4.7vw, 4.25rem); line-height: 1.12; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.1vw, 2.8rem); line-height: 1.2; letter-spacing: -.035em; }
h3 { font-size: 1.35rem; line-height: 1.4; letter-spacing: -.025em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; flex-shrink: 0; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
main:focus { outline: none; }
.container { width: min(var(--content-width), calc(100% - 80px)); margin-inline: auto; }
.section-label { margin-bottom: 1.25rem; color: var(--gold); font-size: .875rem; font-weight: 500; }
.section-intro > p:not(.section-label) { margin-top: 1.75rem; max-width: 36ch; color: var(--muted); }
.section-intro > .button, .section-intro .text-link { margin-top: 2rem; }
.section-light { color: var(--ink); color-scheme: light; }
.section-light .section-label { color: #715a30; }
.section-light .section-intro > p:not(.section-label) { color: #55564f; }
.section-light :focus-visible { outline-color: #715a30; }
.text-link { display: inline-block; padding-block: .3rem; border-bottom: 1px solid currentColor; font-size: .9375rem; font-weight: 600; line-height: 1.6; transition: color .2s; }
.text-link:hover { color: var(--gold); }
.section-light .text-link:hover { color: #715a30; }
.button { min-height: 56px; padding: 1rem 1.4rem; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; max-width: 100%; border: 1px solid transparent; border-radius: 11px; font-size: .9375rem; font-weight: 600; line-height: 1.5; text-align: center; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.button > span { min-width: 0; }
.button-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.button-gold, .button-light { background: var(--gold); color: var(--ink); border-color: #e0cba5; box-shadow: inset 0 1px 0 #ffffff3b, 0 3px 10px #00000018; }
.button-gold:hover, .button-light:hover { background: #e0cba5; border-color: #ebdbbc; box-shadow: 0 5px 18px #00000024; }
.button-outline { background: #1b1b18; color: var(--text); border-color: #55534b; }
.button-outline:hover { background: #292821; border-color: var(--gold); }
.button-ink { background: #1b1b18; color: var(--text); border-color: #1b1b18; }
.button-ink:hover { background: #373327; border-color: #373327; }
@media (hover: hover) { .button:hover { transform: translateY(-2px); } }
.button:active { transform: translateY(0); box-shadow: none; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 1001; padding: .7rem 1rem; background: var(--gold); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

/* Navegação discreta; menu com fallback acessível sem JavaScript. */
.header { position: sticky; top: 0; z-index: 100; background: var(--ink); border-bottom: 1px solid transparent; }
.header.scrolled { border-color: var(--line); }
.nav-container { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { font-size: 1.55rem; font-weight: 700; line-height: 1.2; letter-spacing: -.055em; white-space: nowrap; }
.logo > span { color: var(--gold); }
.nav-menu { display: flex; align-items: center; gap: .5rem; }
.nav-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .65rem 1rem; border-radius: 8px; color: var(--muted); font-size: .875rem; }
.nav-menu a, .nav-toggle { touch-action: manipulation; }
.nav-link:hover { background: var(--surface); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); }
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .55rem; text-decoration-thickness: 2px; }
.nav-btn { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: .65rem; padding: .65rem 1.1rem; border: 1px solid #55534b; border-radius: 10px; font-size: .875rem; font-weight: 600; transition: background .2s, border-color .2s, color .2s; }
.nav-btn .button-icon { width: 17px; height: 17px; flex-basis: 17px; }
.nav-btn:hover, .nav-btn[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--text); cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.icon { width: 24px; height: 24px; }
.icon-close, [aria-expanded="true"] .icon-menu { display: none; }
[aria-expanded="true"] .icon-close { display: block; }

/* Encerramento e identificação empresarial em todas as páginas. */
.contact-section { padding-block: 1rem var(--section-space); }
.contact-box { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center; padding: clamp(32px, 4.5vw, 56px); border: 1px solid #544a36; border-radius: var(--panel-radius); background: #24231e; }
.contact-box .section-label { margin-bottom: 1rem; }
.contact-invitation .button { width: 100%; }
.contact-invitation { width: 100%; max-width: 350px; justify-self: end; }
.contact-invitation p { margin-bottom: 1.75rem; color: #c1beb2; }
.footer { background: var(--ink); padding-block: 3.5rem 2.5rem; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1.3fr .7fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-brand p { margin-top: 1.1rem; color: var(--muted); font-size: .875rem; line-height: 1.8; }
.footer-contact, .footer-social { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; font-size: .875rem; min-width: 0; }
.footer-contact > p, .footer-social > p { margin-bottom: .5rem; color: var(--muted); }
.footer-contact a { overflow-wrap: anywhere; }
.footer-social span { color: var(--muted); }
.footer a:not(.logo):hover { text-decoration: underline; text-underline-offset: .25rem; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.75rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 3rem; font-size: .8125rem; line-height: 1.9; }
.company-details { color: #c5c3ba; max-width: 64ch; }
.company-details span, .copyright { color: var(--muted); }
.copyright { text-align: right; padding-right: 3rem; }
.wa-float { position: fixed; right: max(1.5rem, env(safe-area-inset-right)); bottom: max(1.5rem, env(safe-area-inset-bottom)); z-index: 50; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid #5b8d6b; border-radius: 50%; background: #225535; color: #fff; transition: background .2s; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { background: #2d6a44; }

@media (max-width: 1100px) {
  .container { width: calc(100% - 56px); }
  .footer-top { grid-template-columns: 1fr 1.4fr; }
  .footer-social { grid-column: 2; }
}
@media (max-width: 900px) {
  .header { position: relative; }
  .nav-container { min-height: 72px; flex-wrap: wrap; gap: 1rem; padding-block: 1rem; }
  .nav-menu { width: 100%; flex-wrap: wrap; gap: .5rem 1.5rem; }
  .menu-enhanced.header { position: sticky; }
  .menu-enhanced .nav-container { flex-wrap: nowrap; padding-block: 0; }
  .menu-enhanced .nav-toggle { display: block; position: relative; z-index: 2; }
  .menu-enhanced .nav-menu { position: fixed; inset: 0; z-index: 1; height: 100dvh; padding: 6rem 2rem 3rem; display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: center; gap: .75rem; background: var(--ink); visibility: hidden; opacity: 0; pointer-events: none; overflow-y: auto; }
  .menu-enhanced .nav-menu.active { visibility: visible; opacity: 1; pointer-events: auto; }
  .menu-enhanced .nav-menu a { width: min(100%, 22rem); min-height: 56px; flex-shrink: 0; }
  .menu-enhanced .nav-link { font-size: 1.75rem; }
  .menu-open { overflow: hidden; }
  .contact-box { gap: 2rem; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: clamp(2.5rem, 10vw, 3.4rem); }
  h2 { font-size: 2rem; }
  .logo { font-size: 1.4rem; }
  .nav-container { min-height: 72px; }
  .contact-section { padding-block: 0 3.5rem; }
  .contact-box { grid-template-columns: 1fr; gap: 1.75rem; padding: 28px 24px; border-radius: 20px; }
  .contact-invitation { justify-self: start; }
  .footer { padding-block: 3rem 6rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
  .footer-social { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
  .copyright { text-align: left; padding: 0; }
  .wa-float { right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Abertura com proporções coordenadas entre nome, ações e retrato. */
.hero { padding: 2rem 0 4rem; }
.hero-content { display: grid; grid-template-columns: 1.07fr 1fr; gap: 4rem; align-items: center; }
.hero-text { min-width: 0; padding-block: .75rem 1rem; }
.hero-intro { font-size: .875rem; color: var(--gold); margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(5rem, 8vw, 7.25rem); font-weight: 500; line-height: .98; letter-spacing: -.065em; margin-left: -.04em; }
.hero-description { margin-top: 1.75rem; font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.5; letter-spacing: -.025em; }
.hero-copy { max-width: 40ch; margin-top: .875rem; color: var(--muted); font-size: 1rem; }
.hero-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-actions .button { padding-inline: 1.15rem; }
.hero-portrait { width: 100%; max-width: 500px; justify-self: end; min-width: 0; padding: 10px 10px 0; border: 1px solid #3d3c34; background: #1b1b18; border-radius: 24px; overflow: hidden; }
.hero-portrait img { width: 100%; height: clamp(460px, 62svh, 560px); object-fit: cover; object-position: center 60%; border-radius: 15px; }
.hero-portrait figcaption { display: flex; justify-content: space-between; gap: 1rem; font-size: .75rem; color: var(--muted); padding: 15px 10px 17px; }

/* Seções delimitadas pela mesma largura externa; conteúdo com respiro interno. */
.expertise-overview { padding-block: 0 var(--section-space); }
.expertise-layout { display: grid; grid-template-columns: .95fr 1.1fr; gap: 4rem; padding: 3.5rem; background: var(--paper); border-radius: var(--panel-radius); }
.expertise-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding-block: 1.75rem; border-bottom: 1px solid #c5c3b9; }
.expertise-item:first-child { padding-top: 0; }
.expertise-item:last-child { border-bottom: 0; padding-bottom: 0; }
.expertise-item h3 { font-size: 1.3rem; margin-bottom: .65rem; }
.expertise-item p { color: #55564f; max-width: 46ch; font-size: .9375rem; }
.link-indicator { width: 36px; height: 36px; flex: 0 0 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #b9b6aa; border-radius: 50%; font-size: 1.25rem; line-height: 1; transition: background .2s, color .2s; }
.expertise-item:hover .link-indicator { color: #fff; background: var(--ink); border-color: var(--ink); }
.expertise-item:hover h3 { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.approach-section { padding-block: 0 var(--section-space); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.75rem; }
.section-heading > .button { flex-shrink: 0; }
.process-list { counter-reset: process; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; list-style: none; padding: 0; margin: 0; }
.process-list li { counter-increment: process; border-top: 1px solid #4c483d; padding-top: 1.5rem; }
.process-list li::before { content: counter(process, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #4c483d; border-radius: 10px; color: var(--gold); font-size: .8125rem; margin-bottom: 1.25rem; }
.process-list h3 { font-size: 1.15rem; margin-bottom: .75rem; }
.process-list p { color: var(--muted); font-size: .9375rem; }

/* Páginas internas. */
.page-heading { padding-block: 4rem 3.5rem; }
.page-heading h1 { max-width: 23ch; }
.page-heading .section-label { margin-bottom: 1.5rem; }
.page-summary { max-width: 59ch; margin-top: 2rem; font-size: 1.1rem; color: var(--muted); }
.founder-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding-bottom: var(--section-space); }
.founder-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 65%; border-radius: 20px; }
.founder-portrait figcaption { padding-top: .9rem; font-size: .8125rem; color: var(--muted); }
.founder-story h2 { margin-bottom: 2rem; }
.founder-story > p { color: var(--muted); margin-bottom: 1.5rem; }
.founder-story .button { margin-top: .5rem; }
.principles-section { padding-block: 0 var(--section-space); }
.principles-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; padding: 3.5rem; background: var(--paper); border-radius: var(--panel-radius); }
.principles-list > div { margin-bottom: 2rem; }
.principles-list > div:last-child { margin-bottom: 0; }
.principles-list dt { font-size: 1.25rem; font-weight: 600; margin-bottom: .6rem; letter-spacing: -.025em; }
.principles-list dd { color: #55564f; max-width: 48ch; }
.service-stack { margin-bottom: var(--section-space); background: #1a1a17; border: 1px solid var(--line); border-radius: var(--panel-radius); }
.service-detail { display: grid; grid-template-columns: .95fr 1.1fr; gap: 4rem; padding: 3rem; scroll-margin-top: 1rem; }
.service-detail + .service-detail { border-top: 1px solid var(--line); }
.service-heading h2 { font-size: clamp(1.85rem, 2.8vw, 2.5rem); }

.service-heading > p { margin-top: 1.5rem; max-width: 34ch; color: var(--muted); }
.service-lead { font-size: 1.125rem; max-width: 45ch; }
.service-deliverables { padding-left: 1.1rem; margin: 1.75rem 0 2rem; color: var(--muted); }
.service-deliverables li { padding-left: .35rem; margin-block: .75rem; }
.service-deliverables li::marker { color: var(--gold); }
.service-body { min-width: 0; }

/* Contato: dois caminhos reais, sem formulário intermediário. */
.contact-heading { padding-bottom: 3.5rem; }
.contact-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.channel { display: flex; flex-direction: column; align-items: flex-start; padding: 2.5rem; min-width: 0; border-radius: 20px; transition: border-color .2s, background .2s; }
.channel-primary { background: #26251f; color: var(--text); border: 1px solid #77674b; }
.channel-primary:hover { border-color: var(--gold); }
.channel-primary .channel-label { color: var(--gold); }
.channel-secondary { background: var(--surface); border: 1px solid #45443b; }
.channel-secondary:hover { border-color: #8b887b; }
.channel-primary:focus-visible { outline-color: var(--text); }
.channel-label { font-size: .875rem; margin-bottom: 2.5rem; }
.channel-secondary .channel-label { color: var(--muted); }
.channel h2 { font-size: 2.5rem; margin-bottom: 1.25rem; }
.channel-address { font-size: clamp(.875rem, 1.5vw, 1.125rem); overflow-wrap: anywhere; max-width: 100%; }
.channel-action { display: flex; align-items: center; justify-content: space-between; align-self: stretch; gap: 1rem; min-height: 54px; margin-top: 2.25rem; padding: .9rem 1.1rem; border: 1px solid #626052; border-radius: 10px; font-size: .9375rem; font-weight: 600; }
.channel-primary .channel-action { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.channel-primary:hover .channel-action { background: #e0cba5; }
.channel-secondary:hover .channel-action { background: #2c2b25; }
.contact-guidance { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-block: 4.5rem var(--section-space); }
.guidance-content { display: grid; gap: 2rem; }
.guidance-content h3 { margin-bottom: .75rem; }
.guidance-content p { color: var(--muted); max-width: 48ch; }
.not-found { min-height: 60svh; }
.not-found .button { margin-top: 2rem; }

@media (max-width: 1100px) {
  .hero-content { gap: 2.5rem; }
  .hero h1 { font-size: clamp(4.5rem, 8.5vw, 6.5rem); }
  .hero-portrait img { height: 500px; }
  .expertise-layout, .principles-layout { gap: 2.5rem; padding: 2.5rem; }
  .founder-section, .service-detail, .contact-guidance { gap: 2.5rem; }
  .process-list { gap: 1.75rem; }
  .process-list h3 { min-height: 3em; }
}
@media (min-width: 901px) and (max-height: 800px) {
  .hero { padding-block: 1.5rem 3rem; }
  .hero h1 { font-size: 6.25rem; }
  .hero-portrait img { height: 460px; }
  .hero-description { margin-top: 1.5rem; }
  .hero-actions { margin-top: 1.5rem; }
}
@media (max-width: 900px) {
  .hero-actions .button { width: 100%; }
  .hero-portrait img { height: 520px; }
  .hero-description { font-size: 1.3rem; }
  .hero-copy { font-size: .9375rem; }
  .expertise-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .expertise-layout .section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .expertise-layout .section-label { grid-column: 1 / -1; }
  .expertise-layout .section-intro > p:not(.section-label) { margin-top: 0; }
  .expertise-layout .section-intro > .button { justify-self: start; grid-column: 1 / -1; }
  .section-heading { align-items: flex-start; }
  .section-heading > .button { max-width: 230px; flex-shrink: 1; }
  .service-detail { padding: 2.5rem; }
  .service-body .button { width: 100%; }
}
@media (max-width: 800px) {
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { font-size: clamp(4.25rem, 14vw, 6rem); }
  .hero-text { padding: 0; }
  .hero-portrait { justify-self: center; max-width: 540px; }
  .hero-portrait img { height: auto; aspect-ratio: 4 / 5; }
  .hero-actions .button { width: auto; }
  .hero-actions { margin-top: 1.5rem; }
  .hero-copy { max-width: 45ch; }
  .founder-section, .principles-layout, .service-detail, .contact-guidance { grid-template-columns: 1fr; gap: 2.5rem; }
  .founder-portrait { max-width: 520px; }
  .process-list { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-list li { position: relative; padding-left: 3.5rem; padding-top: 1.5rem; }
  .process-list li::before { position: absolute; top: 1.5rem; left: 0; }
  .process-list h3 { min-height: 0; }
  .process-list p { max-width: 60ch; }
  .contact-channels { gap: 1rem; }
  .channel { padding: 2rem; }
}
@media (max-width: 600px) {
  .hero { padding: 1.5rem 0 3rem; }
  .hero h1 { font-size: clamp(4rem, 17vw, 5.5rem); }
  .hero-intro { font-size: .8125rem; margin-bottom: 1.25rem; }
  .hero-description { font-size: 1.3rem; margin-top: 1.5rem; }
  .hero-copy { font-size: .9375rem; }
  .hero-actions { gap: .65rem; }
  .hero-actions .button { width: 100%; }
  .hero-portrait { border-radius: 20px; padding: 8px 8px 0; }
  .hero-portrait img { border-radius: 12px; }
  .hero-portrait figcaption { padding-inline: 8px; font-size: .6875rem; }
  .expertise-layout, .principles-layout { padding: 28px 24px; border-radius: 20px; }
  .expertise-layout .section-intro { display: block; }
  .expertise-layout .section-intro > p:not(.section-label) { margin-top: 1.25rem; }
  .expertise-layout .button { width: 100%; }
  .expertise-item { gap: 1rem; }
  .expertise-item h3 { font-size: 1.125rem; }
  .expertise-item p { font-size: .875rem; }
  .link-indicator { width: 30px; height: 30px; flex-basis: 30px; font-size: 1.1rem; }
  .section-heading { display: block; margin-bottom: 2rem; }
  .section-heading > .button { max-width: none; margin-top: 1.75rem; }
  .page-heading { padding-block: 2.5rem 2.75rem; }
  .page-heading h1 { font-size: clamp(2.25rem, 9vw, 3rem); }
  .page-summary { font-size: 1rem; margin-top: 1.25rem; }
  .founder-story h2 { font-size: 2rem; }
  .service-stack { border-radius: 20px; }
  .service-detail { padding: 28px 24px; gap: 1.75rem; }
  .service-heading > p { margin-top: 1rem; }
  .service-lead { font-size: 1rem; }
  .service-deliverables { font-size: .9375rem; }
  .contact-channels { grid-template-columns: 1fr; }
  .channel { padding: 1.75rem 1.5rem; }
  .channel-label { margin-bottom: 1.75rem; }
  .channel h2 { font-size: 2rem; }
  .channel-address { font-size: .9375rem; }
  .contact-guidance { padding-block: 3.5rem; }
}
