/* Versão publicada em 26/09/2026 (auditoria). */

/* Fontes no próprio site (licença OFL, em fonts/). Arquivos variáveis, só o subconjunto
   latino, que cobre o português. Mesmos arquivos e faixas que o Google Fonts entregava. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f4f6f3;
  --white: #ffffff;
  --ink: #0f1f1a;
  --muted: #4a5c55;
  --line: #d6dfd9;
  --green: #1e6a51;
  --forest: #102821;
  --forest-2: #16362c;
  --forest-line: #2a483d;
  --forest-ink: #e8efeb;
  --forest-muted: #a9bdb4;
  --mint: #86d3b3;
  --saffron: #f2b544;
  --saffron-hover: #f7c868;
  --radius: 14px;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
p { text-wrap: pretty; }
/* Contorno de foco com contraste de pelo menos 3:1 (WCAG 1.4.11): verde-escuro nos fundos
   claros, amarelo nos escuros. */
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
.section--forest :focus-visible,
.profile :focus-visible,
.service--featured :focus-visible { outline-color: var(--saffron); }

/* Sprite de ícones fora do fluxo (sem style= no HTML, para a CSP não precisar liberar estilo inline). */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 60; background: var(--saffron); color: var(--forest); padding: .7rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

.label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }

.icon { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .8rem 1.35rem; border-radius: 10px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--saffron); color: var(--forest); }
.btn--primary:hover { background: var(--saffron-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--forest); color: var(--forest-ink); }
.btn--dark:hover { background: var(--forest-2); }
.btn--outline-light { background: transparent; color: var(--forest-ink); border-color: var(--forest-line); }
.btn--outline-light:hover { border-color: var(--mint); }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 246, 243, .94); /* --paper a 94%, sem color-mix: funciona em navegador antigo */
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { position: relative; display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; margin-right: auto; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand-mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 8px; background: var(--forest); color: var(--saffron); font-size: 1.05rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: var(--forest-ink); background: var(--forest); padding: .6rem 1.05rem; border-radius: 10px; }
.nav .nav-cta:hover { color: var(--forest-ink); background: var(--forest-2); }
.menu-toggle { display: none; position: relative; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle span { position: absolute; left: .8rem; right: .8rem; height: 2px; background: currentColor; transition: transform .2s; }
.menu-toggle span:first-child { top: 1.05rem; }
.menu-toggle span:last-child { top: 1.55rem; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(.25rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-.25rem) rotate(-45deg); }

/* Hero */
.hero { padding-block: clamp(2.75rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero .label { margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); max-width: 15em; }
.hero h1 .destaque { background: linear-gradient(transparent 60%, rgba(242, 181, 68, .6) 60%); padding-inline: .04em; }
.hero-lead { margin-top: 1.4rem; max-width: 36rem; font-size: clamp(1.08rem, 1.6vw, 1.2rem); color: var(--muted); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-facts { margin-top: 2.5rem; padding-top: 1.35rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.5rem; }
.hero-facts li { display: grid; gap: .15rem; align-content: start; }
.hero-facts strong { font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: .88rem; line-height: 1.35; color: var(--muted); }

.profile { background: var(--forest); color: var(--forest-ink); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 1.9rem); display: grid; gap: 1.35rem; box-shadow: 0 32px 60px -34px rgba(16, 40, 33, .55); }
.profile-head { display: flex; align-items: center; gap: 1rem; }
.avatar { width: 4.25rem; height: 4.25rem; flex: none; border-radius: 50%; object-fit: cover; }
.avatar--placeholder { display: grid; place-items: center; background: var(--forest-2); border: 1px solid var(--forest-line); color: var(--saffron); font-family: var(--display); font-weight: 700; font-size: 1.35rem; }
.profile-name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; }
.profile-role { margin-top: .2rem; font-size: .92rem; line-height: 1.4; color: var(--forest-muted); }
.profile-status { display: flex; align-items: center; gap: .65rem; padding: .7rem .9rem; border-radius: 10px; background: var(--forest-2); font-size: .93rem; }
.dot { width: .55rem; height: .55rem; flex: none; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(134, 211, 179, .2); }
.profile .label { color: var(--forest-muted); }
.profile-list { margin-top: .6rem; }
.profile-list li { display: flex; gap: .7rem; padding-block: .6rem; border-top: 1px solid var(--forest-line); font-size: .97rem; line-height: 1.45; }
.profile-list .icon { margin-top: .2rem; color: var(--mint); }
.profile-link { justify-self: start; color: var(--saffron); font-weight: 600; text-decoration: none; }
.profile-link:hover { text-decoration: underline; text-underline-offset: .3em; }

/* Seções */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--white { background: var(--white); }
.section--forest { background: var(--forest); color: var(--forest-ink); }
.section--forest .label { color: var(--mint); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head h2 { margin-top: .75rem; font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
.section-head > p { max-width: 30rem; color: var(--muted); }
.section--forest .section-head > p { color: var(--forest-muted); }

/* Diferenciais */
.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.reason { display: grid; gap: .55rem; align-content: start; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.reason svg { width: 1.6rem; height: 1.6rem; color: var(--green); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.reason h3 { margin-top: .35rem; font-size: 1.2rem; }
.reason p { font-size: .98rem; color: var(--muted); }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 56rem; }
.service { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.5rem, 2.5vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.service-for { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.service h3 { font-size: 1.6rem; }
.service-desc { color: var(--muted); }
.checks { display: grid; gap: .5rem; font-size: .97rem; }
.checks li { display: flex; gap: .65rem; line-height: 1.45; }
.checks .icon { margin-top: .2rem; color: var(--green); }
.terms { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.terms dt { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.terms dd { margin-top: .15rem; font-family: var(--display); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; font-variant-numeric: tabular-nums; }
.service .btn { width: 100%; }
.service--featured { background: var(--forest); border-color: var(--forest); color: var(--forest-ink); }
.service--featured .service-for,
.service--featured .checks .icon { color: var(--mint); }
.service--featured .service-desc,
.service--featured .terms dt { color: var(--forest-muted); }
.service--featured .terms { border-top-color: var(--forest-line); }
.services-note { margin-top: 1.5rem; font-size: .95rem; color: var(--muted); }

/* Projetos */
.cases { display: grid; gap: 1.25rem; }
.case { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 2rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--forest-2); border: 1px solid var(--forest-line); border-radius: var(--radius); }
.case-meta { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
.case-type { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .8rem; border: 1px solid var(--forest-line); border-radius: 99px; font-size: .84rem; font-weight: 500; white-space: nowrap; }
.pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--mint); }
.pill--progress::before { background: var(--saffron); }
.case h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.case-summary { margin-top: .8rem; max-width: 44rem; font-size: 1.05rem; }
.case-grid { margin-top: 1.6rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.case-grid h4 { margin-bottom: .45rem; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron); }
.case-grid p { font-size: .95rem; color: var(--forest-muted); }
.tags { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { padding: .3rem .75rem; border: 1px solid var(--forest-line); border-radius: 6px; background: rgba(255, 255, 255, .05); font-size: .84rem; }

/* Processo */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.step { position: relative; display: grid; gap: .55rem; align-content: start; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 1.25rem; left: 3.25rem; right: -.75rem; height: 1px; background: var(--line); }
.step-num { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--forest); color: var(--saffron); font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }
.step h3 { margin-top: .45rem; font-size: 1.18rem; }
.step p { font-size: .97rem; color: var(--muted); }

/* Sobre */
.about { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.portrait { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); object-fit: cover; }
.portrait--placeholder { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--forest); }
.portrait--placeholder span { position: relative; font-family: var(--display); font-weight: 700; font-size: 5rem; letter-spacing: -0.04em; color: var(--saffron); }
.portrait--placeholder svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--forest-line); stroke-width: 1.2; }
.about-copy h2 { margin-top: .75rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 34rem; }
.about-lead { margin-top: 1.4rem; max-width: 40rem; font-size: 1.2rem; font-weight: 500; line-height: 1.55; }
.about-text { margin-top: 1rem; display: grid; gap: 1rem; max-width: 40rem; color: var(--muted); }
.stack { margin-top: 1.9rem; }
.stack ul { margin-top: .75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.stack li { padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-size: .88rem; }

/* Dúvidas */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-intro h2 { margin-top: .75rem; font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
.faq-intro p { margin-top: 1rem; max-width: 24rem; color: var(--muted); }
.faq-intro a { color: var(--green); font-weight: 600; text-underline-offset: .25em; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.2rem; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; content: "+" / ""; flex: none; font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--green); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item h3 { font-family: var(--body); font-size: 1.08rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.faq-item p { max-width: 42rem; padding-bottom: 1.3rem; color: var(--muted); }

/* Contato */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.contact-copy h2 { margin-top: .75rem; font-size: clamp(1.9rem, 4vw, 3rem); }
.contact-copy p { margin-top: 1.2rem; max-width: 32rem; font-size: 1.1rem; color: var(--forest-muted); }
.contact-card { display: grid; gap: .85rem; padding: clamp(1.4rem, 3vw, 2rem); background: var(--forest-2); border: 1px solid var(--forest-line); border-radius: var(--radius); }
.channel { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; border: 1px solid var(--forest-line); border-radius: 12px; text-decoration: none; transition: border-color .15s, background-color .15s; }
.channel:hover { border-color: var(--mint); }
.channel-label { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-muted); }
.channel-value { display: block; margin-top: .1rem; font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.channel .icon { width: 1.3rem; height: 1.3rem; color: var(--saffron); }
.channel--primary { background: var(--saffron); border-color: var(--saffron); color: var(--forest); }
.channel--primary:hover { background: var(--saffron-hover); border-color: var(--saffron-hover); }
.channel--primary .channel-label { color: rgba(16, 40, 33, .72); }
.channel--primary .icon { color: var(--forest); }
.brief { display: grid; gap: .7rem; margin-top: .35rem; padding-top: 1.1rem; border-top: 1px solid var(--forest-line); }
.brief p { font-size: .93rem; color: var(--forest-muted); }
.brief .copy-feedback { min-height: 1.4em; font-size: .9rem; color: var(--mint); }
.brief-fallback { width: 100%; min-height: 12rem; padding: .8rem; border: 1px solid var(--forest-line); border-radius: 8px; background: transparent; color: var(--forest-ink); font: 400 .9rem/1.5 var(--body); resize: vertical; }

/* Rodapé */
.site-footer { padding-block: 2.75rem 2rem; background: var(--paper); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1.5rem 3rem; }
.footer-brand p { margin-top: .6rem; max-width: 26rem; font-size: .93rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .95rem; }
.footer-nav a { text-decoration: none; color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .88rem; color: var(--muted); }

/* Página 404 */
.not-found { min-height: 100vh; display: grid; place-items: center; padding-block: 3rem; }
.not-found-box { display: grid; gap: 1.25rem; justify-items: start; max-width: 34rem; }
.not-found h1 { font-size: clamp(2rem, 5vw, 3rem); }
.not-found p { color: var(--muted); }

/* Sem JavaScript, o botão de copiar não funciona: melhor não mostrar. */
html:not(.js) .brief { display: none; }

/* Responsivo */
@media (max-width: 1024px) {
  .reasons, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .about, .contact-grid, .faq-grid, .section-head { grid-template-columns: 1fr; }
  .profile { max-width: 30rem; }
  .services { grid-template-columns: 1fr; max-width: 40rem; }
  .case { grid-template-columns: 1fr; gap: 1.25rem; }
  .case-meta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
  .about-media { max-width: 18rem; }
}
@media (max-width: 880px) {
  .menu-toggle { display: inline-block; }
  html.js .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .25rem clamp(1rem, 4vw, 2rem) 1.25rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 4.25rem); max-height: calc(100dvh - 4.25rem); overflow-y: auto;
  }
  html.js .nav.is-open { display: flex; }
  html.js .nav a { padding-block: .9rem; border-bottom: 1px solid var(--line); font-size: 1.02rem; color: var(--ink); }
  html.js .nav .nav-cta { margin-top: 1rem; padding: .85rem 1rem; border-bottom: 0; text-align: center; color: var(--forest-ink); }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: .75rem; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) { scroll-padding-top: 10.5rem; } /* sem JS o cabeçalho fica mais alto */
}
@media (max-width: 720px) {
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
  .case-grid { grid-template-columns: 1fr; gap: 1.1rem; }
}
@media (max-width: 560px) {
  .reasons, .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
