:root {
  color-scheme: light;
  --paper: #f6f7f3;
  --ink: #17221d;
  --muted: #526259;
  --line: #d3ddd5;
  --soft: #eaf0e8;
  --lime: #b7ff2a;
  --green: #537808;
  --dark: #111b15;
  --whatsapp: #16794a;
  --radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.6; }
body:has(.image-dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, summary, select { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button, a { touch-action: manipulation; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #347fad; outline-offset: 5px; }
.container { width: min(100% - 112px, 1240px); margin-inline: auto; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; width: 20px; height: 20px; flex: 0 0 20px; }
.skip-link { position: fixed; left: 20px; top: 10px; padding: 12px 20px; background: var(--ink); color: white; z-index: 100; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; }
.brand { display: inline-flex; align-items: center; gap: 16px; flex-shrink: 0; }
.brand-symbol { width: 76px; height: 30px; object-fit: contain; }
.brand-wordmark { font-size: 1.7rem; font-weight: 700; line-height: 1; letter-spacing: -1.2px; white-space: nowrap; }
.brand-wordmark > span { color: var(--green); }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .875rem; }
.site-nav > a { padding-block: 12px; white-space: nowrap; }
.site-nav > a:hover, .back-top:hover { color: var(--green); }
.site-nav .nav-contact { display: inline-flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--ink); }
.nav-contact .icon { width: 16px; height: 16px; flex-basis: 16px; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 4px; width: 46px; height: 46px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; flex-shrink: 0; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.hero { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: 54px; padding-block: 72px 56px; }
.eyebrow, .section-number, .object-meta, .applications, .project-label { font-family: 'Courier New', Courier, monospace; font-size: .75rem; line-height: 1.5; text-transform: uppercase; letter-spacing: 1.3px; }
.eyebrow { margin-bottom: 24px; color: var(--muted); }
h1 { font-size: clamp(2.65rem, 4.6vw, 4.2rem); font-weight: 700; line-height: 1.055; letter-spacing: -.055em; }
h1 > span { color: var(--green); }
.hero-description { max-width: 570px; margin-top: 28px; font-size: 1.125rem; line-height: 1.65; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 54px; border: 1px solid transparent; border-radius: var(--radius); padding: 15px 24px; font-size: .9375rem; font-weight: 700; line-height: 1.4; transition: background .18s, transform .18s; text-align: center; }
.button-primary { background: var(--lime); color: #14200a; }
.button-primary:hover { background: #a6ef17; transform: translateY(-2px); }
.text-link { border-bottom: 1px solid var(--line); padding-block: 12px; font-size: .875rem; }
.text-link:hover { border-color: var(--ink); }
.hero-note { font-size: .8125rem; color: var(--muted); margin-top: 21px; }
.mobile-break { display: none; }
.hero-object { background: #f5f8fc; color: #17324b; border-radius: var(--radius); min-width: 0; }
.object-meta { display: flex; justify-content: space-between; gap: 12px; padding: 24px 24px 0; font-size: .75rem; letter-spacing: .5px; }
.object-crop { position: relative; overflow: hidden; aspect-ratio: 1.18 / 1; }
.object-crop img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-object figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 8px 24px 24px; font-size: .75rem; color: #486078; }
.applications { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 24px; }
.section { padding-block: 88px; }
h2 { font-size: clamp(2rem, 3.3vw, 3.125rem); font-weight: 700; line-height: 1.12; letter-spacing: -.04em; }
h3 { font-size: 1.75rem; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 48px; }
.service { border-top: 2px solid var(--ink); padding-top: 24px; }
.section-number { display: block; margin-bottom: 24px; color: var(--muted); }
.service p { color: var(--muted); max-width: 490px; margin-top: 20px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); margin-top: 24px; font-size: .8125rem; }
.service-tags span { padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.electronics { display: grid; grid-template-columns: auto 170px 1fr; align-items: center; gap: 28px; margin-top: 40px; background: var(--soft); padding: 28px 32px; border-radius: var(--radius); }
.electronics-plus { font-size: 2.5rem; font-weight: 400; color: var(--green); }
.electronics h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -.02em; }
.electronics p { color: var(--muted); font-size: .9375rem; }
.project-section { padding-block: 72px; background: var(--dark); color: #f0f4ec; }
.project-section .eyebrow { color: #aec0b2; }
.project-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.project-label { border: 1px solid #526656; color: #d4e5d0; padding: 9px 12px; }
.project-intro { color: #bac9be; max-width: 740px; margin-top: 24px; font-size: 1rem; }
.project-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 34px; }
.project-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.project-tab { padding: 12px 17px; border: 1px solid #5a6e60; border-radius: 4px; background: transparent; color: #e0e8df; font-size: .875rem; min-height: 48px; transition: background .18s; }
.project-tab span { padding-right: 7px; font-family: 'Courier New', monospace; font-size: .75rem; }
.project-tab:hover { background: #283a2c; }
.project-tab[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: #14200a; }
.enlarge-button { display: inline-flex; align-items: center; gap: 10px; color: #cfdbce; padding: 12px 0; border: none; border-bottom: 1px solid #526656; background: transparent; font-size: .875rem; }
.enlarge-button .icon { width: 16px; height: 16px; flex-basis: 16px; }
.project-figure { margin-top: 22px; border-radius: var(--radius); overflow: hidden; background: #f6f9fc; }
.project-figure img { width: 100%; }
.project-caption { display: flex; justify-content: space-between; align-items: flex-start; gap: 36px; margin-top: 20px; color: #c0cec1; }
.project-caption p { font-size: .875rem; max-width: 740px; }
.project-caption small { flex-shrink: 0; font-size: .75rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 0; margin: 44px 0 0; list-style: none; }
.process-grid li { border-top: 1px solid var(--line); padding-top: 24px; }
.process-grid h3 { font-size: 1.125rem; line-height: 1.4; letter-spacing: -.025em; }
.process-grid p { margin-top: 12px; color: var(--muted); font-size: 1rem; }
.faq-section { display: grid; grid-template-columns: .75fr 1.5fr; gap: 64px; padding-bottom: 88px; }
.faq-list { min-width: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 0; list-style: none; font-weight: 700; font-size: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font-size: 1.25rem; line-height: 1.3; flex-shrink: 0; transition: transform .18s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { padding: 0 40px 24px 0; color: var(--muted); }
.contact-section { background: var(--soft); padding-block: 64px; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 44px; }
.contact-inner p:not(.eyebrow) { color: var(--muted); margin-top: 24px; }
.contact-action { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; gap: 16px; }
.contact-action > span { font-size: .8125rem; color: var(--muted); }
.noscript-contact { margin-top: 24px; }
.site-footer { padding-block: 36px 96px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.footer-inner > p { font-size: .8125rem; color: var(--muted); }
.back-top { font-size: .8125rem; }
.whatsapp-fab { position: fixed; bottom: max(24px, env(safe-area-inset-bottom)); right: max(28px, env(safe-area-inset-right)); z-index: 20; display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 60px; min-height: 60px; border: 1px solid #146940; border-radius: 50px; background: var(--whatsapp); color: white; box-shadow: 0 6px 24px #102d1e26; padding: 17px 22px; transition: background .18s, transform .18s; }
.whatsapp-fab:hover { background: #11653c; transform: translateY(-2px); }
.whatsapp-fab > svg { width: 26px; height: 26px; flex: 0 0 26px; }
.whatsapp-fab > span { font-size: .875rem; font-weight: 700; }
.whatsapp-fab[aria-expanded="true"] > span { display: none; }
.whatsapp-panel { position: fixed; inset: auto max(28px, env(safe-area-inset-right)) max(100px, calc(env(safe-area-inset-bottom) + 84px)) auto; z-index: 30; width: min(380px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 124px); margin: 0; padding: 0; border: 1px solid #d6dfd8; border-radius: 14px; overflow-y: auto; background: #fff; color: var(--ink); box-shadow: 0 16px 60px #15291b2b; }
.whatsapp-panel[open] { animation: panel-in .18s ease-out; }
.whatsapp-header { display: flex; align-items: center; gap: 14px; padding: 22px 14px 22px 22px; background: var(--dark); color: #f0f5ed; }
.whatsapp-header > img { flex-shrink: 0; width: 61px; filter: invert(1); }
.whatsapp-header > div { flex: 1; min-width: 0; }
.whatsapp-header strong { display: block; font-size: .9375rem; line-height: 1.3; }
.whatsapp-header span { display: block; margin-top: 4px; font-size: .75rem; color: #c3d0c4; }
.close-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; background: transparent; color: inherit; border: 0; border-radius: 4px; }
.close-button:hover { background: #798e8126; }
.whatsapp-content { padding: 26px; }
.whatsapp-greeting { font-size: 1.7rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.2; }
#whatsapp-description { margin-top: 14px; color: var(--muted); font-size: 1rem; }
.whatsapp-content label { display: block; margin: 24px 0 8px; font-size: .875rem; font-weight: 700; }
.whatsapp-content select { display: block; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #b7c4ba; border-radius: 5px; color: var(--ink); background: white; font-size: 1rem; }
.whatsapp-start { width: 100%; margin-top: 18px; padding-inline: 14px; gap: 10px; background: var(--whatsapp); color: white; font-size: .875rem; }
.whatsapp-start:hover { background: #11653c; }
.whatsapp-start[aria-disabled="true"] { opacity: .55; cursor: default; }
.whatsapp-note { margin-top: 12px; color: var(--muted); font-size: .75rem; text-align: center; }
.image-dialog { width: min(1500px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 8px; background: #f6f9fc; color: var(--ink); overflow: auto; }
.image-dialog::backdrop { background: #08130edd; }
.image-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 18px 12px 26px; font-size: .875rem; background: #f6f9fc; }
.image-scroll { overflow: auto; }
.image-scroll img { width: 100%; min-width: 850px; }
.image-help { display: none; padding: 12px 20px; font-size: .8125rem; color: var(--muted); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1500px) { .hero { gap: 72px; } }
@media (max-width: 1150px) {
  .container { width: calc(100% - 80px); }
  .site-nav { gap: 20px; }
  .site-nav > a:nth-child(3) { display: none; }
  .hero { gap: 30px; padding-block: 56px 44px; }
  h1 { font-size: clamp(2.4rem, 4.6vw, 3.4rem); }
  .hero-description { font-size: 1.0625rem; }
  .hero-actions { gap: 14px 22px; }
  .services-grid { gap: 44px; }
  .process-grid { gap: 24px; }
}
@media (max-width: 850px) {
  .container { width: calc(100% - 56px); }
  .header-inner { min-height: 90px; gap: 18px; }
  .brand { gap: 12px; }
  .brand-symbol { width: 66px; height: 27px; }
  .brand-wordmark { font-size: 1.55rem; }
  .site-nav { gap: 18px; }
  .site-nav > a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 700px; }
  h1 { font-size: clamp(2.6rem, 6.3vw, 3.5rem); max-width: 720px; }
  .hero-description { max-width: 600px; }
  .hero-object { width: 100%; max-width: 560px; margin-inline: auto; }
  .section { padding-block: 64px; }
  .electronics { grid-template-columns: auto 130px 1fr; gap: 20px; padding: 24px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .faq-section { grid-template-columns: 1fr; gap: 30px; padding-bottom: 64px; }
  .faq-section h2 br { display: none; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .contact-action { align-items: flex-start; }
  .project-caption { gap: 24px; }
  .image-help { display: block; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 80px; flex-wrap: wrap; }
  .brand-wordmark { font-size: 1.5rem; }
  .brand-symbol { width: 62px; height: 25px; }
  .menu-toggle { display: flex; }
  .site-nav { display: none; width: 100%; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 20px; }
  .site-nav.is-open { display: flex; }
  .site-nav > a:first-child, .site-nav > a:nth-child(3) { display: block; }
  .site-nav > a { min-height: 48px; border-top: 1px solid var(--line); }
  .site-nav .nav-contact { border-bottom: 0; justify-content: space-between; }
  .hero { padding-block: 40px 32px; }
  h1 { font-size: clamp(2.3rem, 7.5vw, 3.1rem); }
  .eyebrow { margin-bottom: 20px; }
  .hero-description { margin-top: 24px; font-size: 1rem; }
  .hero-actions { margin-top: 26px; gap: 14px 22px; }
  .hero-note { margin-top: 18px; }
  .object-meta { padding: 20px 18px 0; font-size: .75rem; letter-spacing: 0; }
  .hero-object figcaption { padding: 8px 18px 20px; }
  .applications { justify-content: flex-start; gap: 12px 24px; padding-block: 20px; font-size: .75rem; letter-spacing: .6px; }
  .section { padding-block: 48px; }
  h2 { font-size: clamp(1.9rem, 6vw, 2.4rem); }
  h3 { font-size: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .service { padding-top: 20px; }
  .section-number { margin-bottom: 18px; }
  .service p { margin-top: 16px; }
  .electronics { grid-template-columns: auto 1fr; gap: 12px 18px; padding: 22px; margin-top: 28px; }
  .electronics h3 br { display: none; }
  .electronics p { grid-column: 1 / -1; }
  .electronics-plus { font-size: 2rem; line-height: 1; }
  .project-section { padding-block: 44px; }
  .project-heading { gap: 20px; }
  .project-intro { margin-top: 20px; }
  .project-toolbar { margin-top: 26px; gap: 14px; }
  .project-tabs { gap: 8px; }
  .project-tab { font-size: .875rem; padding: 10px 12px; }
  .project-tab span { padding-right: 4px; }
  .project-figure { margin-top: 18px; }
  .project-caption { flex-direction: column; gap: 14px; }
  .project-caption small br { display: none; }
  .process-grid { gap: 28px 22px; margin-top: 32px; }
  .process-grid h3 { font-size: 1.125rem; }
  .faq-section { padding-bottom: 48px; }
  .faq-list summary { padding-block: 20px; gap: 16px; }
  .faq-list details p { padding-right: 12px; }
  .contact-section { padding-block: 48px; }
  .contact-action { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .site-footer { padding-block: 32px 106px; }
  .whatsapp-fab { right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); width: 58px; min-width: 58px; height: 58px; min-height: 58px; padding: 16px; }
  .whatsapp-fab > span { display: none; }
  .whatsapp-panel { right: 16px; bottom: max(90px, calc(env(safe-area-inset-bottom) + 74px)); max-height: calc(100dvh - 106px); }
  .image-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .image-dialog-header { padding: 10px 10px 10px 18px; }
}
@media (max-width: 360px) {
  .brand-symbol { width: 54px; height: 24px; }
  .brand-wordmark { font-size: 1.35rem; }
  .brand { gap: 9px; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .whatsapp-header { gap: 10px; padding-left: 18px; }
  .whatsapp-header > img { width: 50px; }
  .whatsapp-content { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .whatsapp-fab, .whatsapp-panel, .site-nav, .menu-toggle, .image-dialog, .enlarge-button, .back-top { display: none !important; }
  .container { width: 100%; }
  .section, .project-section, .contact-section { padding-block: 24px; }
}

/* Portfólio dinâmico: nenhum HTML 3D pesado carrega na homepage. */
.portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:36px}.portfolio-card{min-width:0;border-bottom:1px solid #455648;padding-bottom:24px}.portfolio-cover{aspect-ratio:1.4;background:#e6eee5;border-radius:5px;position:relative;overflow:hidden;display:grid;place-items:center}.portfolio-cover>img{width:100%;height:100%;object-fit:cover}.portfolio-cover>img.portfolio-logo{width:45%;height:auto;opacity:.7}.portfolio-cover>span{position:absolute;left:14px;bottom:14px;background:#111b15;color:white;padding:8px 12px;border-radius:4px;font-size:.8125rem}.portfolio-copy{padding-top:20px}.portfolio-copy>p{font:12px/1.5 'Courier New',monospace;color:#b5c5b7;text-transform:uppercase;letter-spacing:1px}.portfolio-copy>h3{font-size:1.4rem;line-height:1.2;margin-top:10px;overflow-wrap:anywhere}.portfolio-copy>span{display:block;font-size:.9375rem;color:#bdcbbc;margin-top:14px;overflow-wrap:anywhere}.portfolio-card:hover .portfolio-cover>span{background:#b7ff2a;color:#14200a}.portfolio-empty{padding:44px 0;color:#c1d0c0}.portfolio-empty p{margin-bottom:18px}.portfolio-pages{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:36px}.portfolio-pages>a{border-bottom:1px solid #536653;padding:12px}.portfolio-pages>span{font-size:.8125rem;color:#bdcbbc}@media(max-width:1000px){.portfolio-grid{grid-template-columns:1fr 1fr;gap:24px}}@media(max-width:600px){.portfolio-grid{grid-template-columns:1fr;gap:32px}}
