:root {
	color-scheme: light;
	--background: oklch(97.3% .004 247);
	--surface: #fff;
	--foreground: oklch(24% .03 258);
	--muted: oklch(48% .03 255);
	--primary: oklch(49% .09 222);
	--primary-hover: oklch(43% .085 222);
	--primary-soft: oklch(94% .03 215);
	--border: oklch(90% .012 250);
	--ink: oklch(24% .03 258);
	--ink-foreground: oklch(96% .006 247);
	--warning-soft: oklch(96% .045 85);
	--warning-foreground: oklch(38% .07 65);
	--shadow-card: 0 1px 2px oklch(24% .03 258 / .05), 0 12px 32px -16px oklch(24% .03 258 / .14);
	--shadow-lift: 0 2px 4px oklch(24% .03 258 / .06), 0 24px 48px -20px oklch(24% .03 258 / .25);
	--radius: 14px;
	--font-sans: "Public Sans", "Segoe UI", system-ui, sans-serif;
	--font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--max-width: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 4px; }
a:hover { color: var(--primary-hover); }
button, input, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin-top: 0; font-family: var(--font-display); letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
p { margin-top: 0; }
.container { width: min(var(--max-width), calc(100% - 2.5rem)); margin-inline: auto; }
.visually-hidden, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .65rem 1rem; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-card); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* Navegação */
.site-header { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid rgba(225, 229, 233, .78); background: rgba(246, 247, 248, .88); backdrop-filter: blur(14px); }
.header-inner { display: flex; height: 4rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: var(--foreground); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--primary); }
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav > a:not(.btn-primary) { padding: .55rem 1rem; border-radius: 999px; color: var(--muted); font-size: .9rem; font-weight: 500; text-decoration: none; transition: color .16s ease, background .16s ease; }
.site-nav > a:not(.btn-primary):hover { background: rgba(40, 109, 131, .06); color: var(--foreground); }
.nav-button { margin-left: .45rem; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; list-style: none; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); padding: .48rem .95rem; font-size: .9rem; font-weight: 600; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; top: calc(100% + .75rem); right: 0; z-index: 45; display: grid; min-width: 13rem; gap: .2rem; padding: .55rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow-lift); }
.mobile-menu nav a { padding: .7rem .8rem; border-radius: .65rem; color: var(--foreground); font-size: .92rem; text-decoration: none; }
.mobile-menu nav a:hover { background: var(--primary-soft); }

/* Seletor de idioma */
.lang-switcher { display: inline-flex; align-items: center; gap: .15rem; padding: .18rem; margin-left: .5rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.lang-switcher a { display: inline-flex; align-items: center; justify-content: center; padding: .26rem .52rem; border-radius: 999px; color: var(--muted); font-size: .75rem; font-weight: 700; line-height: 1; text-decoration: none; transition: color .15s ease, background .15s ease; }
.lang-switcher a:hover { color: var(--foreground); background: rgba(40, 109, 131, .08); }
.lang-switcher a.active, .lang-switcher a[aria-current="true"] { background: var(--primary); color: #fff; }
.mobile-lang-switcher { display: flex; align-items: center; gap: .35rem; padding-top: .5rem; margin-top: .4rem; border-top: 1px solid var(--border); }
.mobile-lang-switcher a { flex: 1; text-align: center; padding: .45rem .4rem !important; font-size: .82rem !important; font-weight: 600; border-radius: .5rem !important; }
.mobile-lang-switcher a.active, .mobile-lang-switcher a[aria-current="true"] { background: var(--primary) !important; color: #fff !important; }

/* Botões e rótulos */
.btn-primary, .btn-outline, .btn { display: inline-flex; min-height: 2.65rem; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent; border-radius: 999px; padding: .62rem 1.2rem; font-size: .9rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease; }
.btn-primary, .btn { background: var(--primary); color: #fff; }
.btn-primary:hover, .btn:hover { background: var(--primary-hover); color: #fff; box-shadow: 0 5px 16px rgba(40, 109, 131, .18); transform: translateY(-1px); }
.btn-outline { border-color: var(--border); background: var(--surface); color: var(--foreground); }
.btn-outline:hover { border-color: rgba(40, 109, 131, .35); background: var(--primary-soft); color: var(--foreground); }
.eyebrow { margin: 0; color: var(--primary); font-size: .72rem; font-weight: 700; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }

/* Home */
.home-hero { padding-top: clamp(4rem, 7.5vw, 6rem); padding-bottom: clamp(3.5rem, 6.25vw, 5rem); }
.home-hero h1 { max-width: 58rem; margin: 1rem 0 0; font-size: clamp(2.75rem, 7.6vw, 4.65rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.03; }
.home-hero h1 span { color: var(--primary); }
.hero-copy { max-width: 44rem; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.75; }
.hero-cta { margin-top: 1.8rem; padding: .82rem 1.5rem; font-size: .98rem; }
.projects-hero { padding-top: 3.5rem; padding-bottom: 2.5rem; }
.projects-hero h1 { max-width: 48rem; margin: .7rem 0 0; font-size: clamp(2.25rem, 6vw, 3.75rem); letter-spacing: -.05em; }
.projects-hero > p:last-child { max-width: 43rem; margin: 1.1rem 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.projects-contact-cta { margin-top: 6rem; }
.projects-section { scroll-margin-top: 5.5rem; }
.open-source-section { margin-top: 5rem; }
.open-source-heading { max-width: 44rem; margin-bottom: 1.5rem; }
.open-source-heading h2 { margin: .65rem 0 .6rem; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.open-source-heading > p:last-child { margin: 0; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.open-source-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-card { display: flex; min-width: 0; flex-direction: column; padding: .9rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow-card); transition: box-shadow .2s ease, transform .2s ease; }
.project-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.browser-frame { display: block; overflow: hidden; border: 1px solid var(--border); border-radius: .78rem; background: #e9edf0; text-decoration: none; }
.browser-bar { display: flex; height: 2rem; align-items: center; gap: .35rem; padding: 0 .75rem; border-bottom: 1px solid var(--border); background: var(--surface); }
.browser-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: #cbd1d6; }
.browser-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.project-card-content { display: flex; flex: 1; flex-direction: column; padding: 1.15rem .25rem .2rem; }
.project-card h2, .project-card h3 { margin: .38rem 0 0; font-size: 1.55rem; }
.project-card-content > p:not(.eyebrow) { flex: 1; margin: .55rem 0 1.15rem; color: var(--muted); font-size: .94rem; line-height: 1.7; }
.project-card .btn-outline { align-self: flex-start; padding-inline: 1rem; }
.package-art { position: relative; display: flex; min-width: 0; aspect-ratio: 16 / 10; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 1.25rem; border: 1px solid var(--border); border-radius: .78rem; background: linear-gradient(135deg, var(--primary-soft), #f8fafb 72%); }
.package-art-label, .package-art-result { color: var(--muted); font-size: .73rem; font-weight: 600; letter-spacing: .04em; }
.package-art code { color: var(--foreground); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: clamp(.9rem, 2vw, 1.2rem); font-weight: 600; line-height: 1.55; }
.number-input-art .package-art-result { align-self: flex-end; color: var(--primary); font-family: var(--font-display); font-size: 1.15rem; }
.viewer-doc-art { align-items: flex-start; background: linear-gradient(135deg, #f2f0fb, #faf9fc 72%); }
.document-preview { position: absolute; top: 2.5rem; right: 1.4rem; display: grid; width: 5.5rem; height: 7rem; align-content: center; gap: .45rem; padding: .8rem; border: 1px solid #dad5ea; border-radius: .45rem; background: #fff; box-shadow: var(--shadow-card); transform: rotate(5deg); }
.document-preview span { margin-bottom: .1rem; color: var(--primary); font-family: var(--font-display); font-size: .68rem; font-weight: 700; }
.document-preview i { height: .24rem; border-radius: 999px; background: #dfe3e7; }
.document-preview i:last-child { width: 60%; }
.viewer-doc-art code { position: relative; z-index: 1; margin-top: 1.2rem; }
.project-links { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-top: auto; }
.project-links .btn-outline { align-self: auto; }
.project-links .text-link { font-size: .88rem; font-weight: 600; text-decoration: none; }
.principles-section { display: grid; grid-template-columns: minmax(14rem, .8fr) minmax(0, 2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-top: 6rem; }
.principles-heading h2 { margin: .8rem 0 0; font-size: clamp(1.9rem, 4vw, 2.65rem); }
.principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: 0; padding: 1px; border: 1px solid var(--border); border-radius: 1rem; background: var(--border); list-style: none; }
.principles-grid li { min-height: 11rem; padding: 1.35rem; background: var(--surface); }
.principles-grid li > span { color: var(--primary); font-family: var(--font-display); font-size: .86rem; font-weight: 700; }
.principles-grid h3 { margin: .75rem 0 .45rem; font-size: 1.05rem; }
.principles-grid p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.contact-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 6rem; padding: clamp(2.5rem, 4.5vw, 3.5rem) clamp(1.5rem, 5vw, 3rem); border-radius: 1rem; background: var(--ink); color: var(--ink-foreground); }
.contact-cta h2 { margin: 0; font-size: clamp(1.75rem, 4vw, 2.35rem); }
.contact-cta p { max-width: 38rem; margin: .7rem 0 0; color: rgba(246, 247, 248, .75); }
.contact-cta .btn-primary { flex: 0 0 auto; background: #fff; color: var(--ink); }
.contact-cta .btn-primary:hover { background: var(--primary-soft); }

/* Páginas internas e projetos */
.page { min-height: 60vh; padding: 3.5rem 0 1rem; }
.page > .container > h1, .product-intro h1 { margin: .75rem 0 0; font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -.05em; }
.page .lead { max-width: 49rem; margin: 1.15rem 0 2.4rem; color: var(--muted); font-size: 1.1rem; line-height: 1.75; }
.product-page { padding-bottom: 1rem; }
.product-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-bottom: 2.5rem; }
.product-intro .lead { margin-bottom: 0; }
.product-intro .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.product-image { box-shadow: var(--shadow-card); }
.product-image img { max-height: 23rem; }
.content-section { margin-top: 3rem; }
.content-section + .content-section { margin-top: 4rem; }
.content-section > h2 { margin: .7rem 0 1rem; font-size: clamp(1.8rem, 4vw, 2.25rem); }
.content-section > .lead { margin-bottom: 2rem; }
.content-section > .feature-grid { margin-top: 2rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.feature-grid.editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid.editorial-grid .feature-card { display: flex; flex-direction: column; }
.feature-grid.editorial-grid .feature-card a { margin-top: auto; }
.feature-card, .card { min-width: 0; padding: 1.4rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow-card); }
.feature-card h3, .card h3 { margin: 0 0 .55rem; font-size: 1.2rem; }
.feature-card p, .card p { margin: 0 0 .8rem; color: var(--muted); font-size: .93rem; line-height: 1.7; }
.feature-card p:last-child, .card p:last-child { margin-bottom: 0; }
.feature-card a, .card a:not(.btn) { font-size: .9rem; font-weight: 600; text-decoration: none; }
.feature-grid.mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.draw-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.draw-mode-card { padding: 1.75rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow-card); }
.draw-mode-featured { border: 2px solid var(--primary); }
.draw-mode-card h3 { margin: .5rem 0 .65rem; font-size: 1.5rem; }
.draw-mode-card p:last-child { margin: 0; color: var(--muted); line-height: 1.75; }
.warning-note { margin-top: 1.5rem; padding: 1.5rem; border-radius: 1rem; background: var(--warning-soft); color: var(--warning-foreground); }
.warning-note h3 { margin: 0; font-size: 1.15rem; }
.warning-note p { margin: .5rem 0 0; color: inherit; line-height: 1.7; }
.verification-section { margin-top: 4rem !important; }
.verification-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: center; }
.verification-copy h2 { margin: 0 0 .8rem; font-size: clamp(1.8rem, 4vw, 2.25rem); }
.verification-copy p { margin: 0; color: var(--muted); line-height: 1.75; }
.guide-card { padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow-card); }
.guide-card h3 { margin: 0 0 .6rem; font-size: 1.25rem; }
.guide-card p { margin: 0 0 .9rem; color: var(--muted); line-height: 1.7; }
.guide-card a { color: var(--primary); font-size: .9rem; font-weight: 600; text-decoration: none; }
.mode-label { color: var(--primary) !important; font-size: .72rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.warning-card { border-color: #eadbb3; background: #fffaf0; }
.warning-card h3 { color: #73531b; }
.philosophy-note { margin: 1.25rem 0 0; padding: 1.2rem 1.4rem; border-left: 3px solid var(--primary); border-radius: 0 .8rem .8rem 0; background: var(--primary-soft); color: var(--muted); font-size: .93rem; }
.philosophy-note strong { color: var(--foreground); }
.availability-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 5rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid transparent; border-radius: 1rem; background: var(--primary-soft); }
.availability-panel .eyebrow { margin-bottom: .5rem; }
.availability-panel h2 { margin: 0 0 .55rem; font-size: 1.6rem; }
.availability-panel p:not(.eyebrow) { max-width: 44rem; margin: 0; color: var(--muted); }
.back-link { margin: 2.5rem 0 0; }
.back-link a { font-size: .9rem; font-weight: 600; text-decoration: none; }

/* Página Sobre: seções editoriais em duas colunas */
.about-hero { padding-top: 3.5rem; padding-bottom: 2.5rem; }
.about-hero h1 { max-width: 48rem; margin: .7rem 0 0; font-size: clamp(2.25rem, 6vw, 3.75rem); letter-spacing: -.05em; }
.about-lead { max-width: 43rem; margin: 1.1rem 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.about-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem; padding: 2.5rem 0; border-top: 1px solid var(--border); }
.about-section h2 { margin: 0; font-size: 1.5rem; line-height: 1.25; }
.about-copy { display: grid; gap: 1rem; color: var(--muted); line-height: 1.75; }
.about-copy p { margin: 0; }
.about-copy ul { display: grid; gap: .4rem; margin: 0; padding-left: 1.35rem; list-style: disc; }
.about-copy li { margin-left: .25rem; padding-left: .1rem; }
.about-copy strong { color: var(--foreground); }
.text-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--primary-hover); text-decoration: underline; text-underline-offset: 4px; }
.about-contact-cta { margin-top: 6rem; }
.link-list { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.link-list a { font-size: .9rem; font-weight: 600; text-decoration: none; }

/* Páginas legais */
.legal-hero { padding-top: 3.5rem; padding-bottom: 2.5rem; }
.legal-hero h1 { max-width: 48rem; margin: .7rem 0 0; font-size: clamp(2.25rem, 6vw, 3.75rem); letter-spacing: -.05em; }
.legal-hero .lead { max-width: 43rem; margin: 1.1rem 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.legal-content > .prose-legal { width: min(100%, 48rem); padding: 1rem 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow-card); }
.prose-legal h2 { margin: 2.5rem 0 .75rem; color: var(--foreground); font-size: 1.25rem; font-weight: 600; }
.prose-legal p { margin: 0 0 1rem; color: var(--muted); line-height: 1.75; }
.prose-legal p.updated { margin: 0 0 1.25rem; color: var(--muted); font-size: .85rem; }
.prose-legal ul { display: grid; gap: .4rem; margin: 0 0 1rem; padding-left: 1.4rem; color: var(--muted); list-style: disc; }
.prose-legal li { padding-left: .15rem; line-height: 1.7; }
.prose-legal a { color: var(--primary); font-weight: 600; text-underline-offset: 4px; }
.prose-legal strong { color: var(--foreground); }

/* Conteúdo institucional e legal */
.page > .container > article:not(.card) { max-width: 54rem; margin-top: 2rem; padding: clamp(1.4rem, 4vw, 2.5rem); border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow-card); }
.page > .container > article h2 { margin: 2rem 0 .65rem; font-size: 1.45rem; }
.page > .container > article h2:first-child { margin-top: 0; }
.page > .container > article p { margin: 0 0 1rem; color: var(--muted); line-height: 1.8; }
.page > .container > article strong { color: var(--foreground); }
.page > .container > article ul { display: grid; gap: .55rem; margin: .35rem 0 1.25rem; padding-left: 1.25rem; color: var(--muted); list-style: disc; }
.page > .container > article li { padding-left: .15rem; line-height: 1.7; }
.page .updated { color: var(--muted); font-size: .85rem; }
.page .contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.contact-grid .card { padding: clamp(1.35rem, 3vw, 2rem); }
.contact-grid .card:first-child a[href^="mailto:"] { font-size: 1.15rem; }
.page .section { margin-top: 1.25rem; }
.page .grid { display: grid; gap: 1.25rem; }
.page .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page form { display: grid; gap: 1rem; }
.form-group { display: grid; gap: .4rem; }
.form-group label { font-size: .88rem; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; border: 1px solid var(--border); border-radius: .7rem; background: var(--background); padding: .7rem .85rem; color: var(--foreground); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); outline: 3px solid rgba(40, 109, 131, .14); }
.form-group textarea { min-height: 8rem; resize: vertical; }
.page article > p .btn { margin-top: .15rem; }

/* Página de contato */
.contact-hero { padding-top: 3.5rem; padding-bottom: 2rem; }
.contact-hero h1 { max-width: 48rem; margin: .7rem 0 0; font-size: clamp(2.25rem, 6vw, 3.75rem); letter-spacing: -.05em; }
.contact-hero > p:last-child { max-width: 43rem; margin: 1.1rem 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.contact-card { max-width: 44rem; padding: clamp(1.75rem, 4vw, 2.5rem); border: 1px solid var(--border); border-radius: 1.25rem; background: var(--surface); box-shadow: var(--shadow-card); }
.contact-card h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.02em; }
.contact-card > p { margin: .6rem 0 1.5rem; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.contact-emails { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem; }
.contact-email-badge { display: inline-flex; align-items: center; gap: .65rem; padding: .85rem 1.35rem; border: 1px solid var(--border); border-radius: .75rem; background: var(--background); color: var(--primary); font-size: 1.05rem; font-weight: 600; text-decoration: none; transition: all .2s ease; }
.contact-email-badge:hover { border-color: var(--primary); background: var(--primary-soft); transform: translateY(-1px); }
.contact-email-badge svg { flex-shrink: 0; }
.contact-subtext { margin: 0; padding-top: 1.35rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; line-height: 1.65; }

/* Rodapé */
.site-footer { margin-top: 6rem; border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; padding-top: 3rem; padding-bottom: 3rem; }
.footer-about { max-width: 20rem; }
.footer-about p { margin: .8rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.footer-grid nav h2 { margin: .2rem 0 .9rem; font-family: var(--font-sans); font-size: .9rem; font-weight: 700; letter-spacing: 0; }
.footer-grid ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.footer-grid li a { color: var(--muted); font-size: .88rem; text-decoration: none; }
.footer-grid li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom p { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 auto; padding-top: 1.15rem; padding-bottom: 1.15rem; color: var(--muted); font-size: .75rem; }
.footer-version { white-space: nowrap; }
.footer-version a { color: inherit; font-weight: 600; text-decoration: none; }
.footer-version a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
	.product-intro { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (min-width: 1024px) {
	.feature-grid.editorial-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	.page { padding-top: 5rem; }
	.about-hero, .contact-hero, .legal-hero, .projects-hero { padding-top: 5rem; }
	.legal-content > .prose-legal { padding: 2rem 2.5rem; }
}
@media (max-width: 767px) {
	.container { width: min(var(--max-width), calc(100% - 2rem)); }
	.site-nav { display: none; }
	.mobile-menu { display: block; }
	.home-hero { padding-top: 4rem; padding-bottom: 3rem; }
	.home-hero h1 { font-size: clamp(2.6rem, 11vw, 4rem); }
	.project-grid { grid-template-columns: 1fr; gap: 1rem; }
	.principles-section { grid-template-columns: 1fr; gap: 1.5rem; }
	.principles-section { margin-top: 6rem; }
	.principles-grid { grid-template-columns: 1fr; }
	.principles-grid li { min-height: 0; padding: 1.2rem; }
	.contact-cta { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
	.product-intro { grid-template-columns: 1fr; }
	.about-section { grid-template-columns: 1fr; gap: .8rem; padding: 2rem 0; }
	.contact-emails { flex-direction: column; }
	.contact-email-badge { width: 100%; justify-content: flex-start; }
	.contact-hero { padding-top: 3.5rem; padding-bottom: 2rem; }
	.product-image { order: 2; }
	.draw-mode-grid, .verification-grid { grid-template-columns: 1fr; }
	.availability-panel { align-items: flex-start; flex-direction: column; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
	.footer-about { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
	.feature-grid, .feature-grid.mode-grid, .page .contact-grid, .page .grid-2 { grid-template-columns: 1fr; }
	.feature-grid.editorial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
	.footer-grid { grid-template-columns: 1fr; }
	.footer-about { grid-column: auto; }
	.product-intro h1 { font-size: 2.55rem; }
	.hero-actions { align-items: stretch; flex-direction: column; }
	.hero-actions > a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
