/* Escala Criativa — versão HTML/CSS/JS/PHP
   Reproduz o visual da versão React (TanStack) usando CSS puro. */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap");

:root {
  --radius: 0.5rem;
  --background: oklch(0.16 0.012 250);
  --foreground: oklch(0.96 0.005 250);
  --surface: oklch(0.20 0.013 250);
  --surface-2: oklch(0.24 0.014 250);
  --ink: oklch(0.10 0.012 250);
  --primary: oklch(0.62 0.13 245);
  --primary-foreground: oklch(0.98 0.003 250);
  --blueprint: oklch(0.62 0.13 245);
  --blueprint-glow: oklch(0.74 0.14 240);
  --muted: oklch(0.24 0.011 250);
  --muted-foreground: oklch(0.68 0.012 250);
  --border: oklch(1 0 0 / 8%);
  --shadow-soft: 0 1px 2px oklch(0 0 0 / 0.4), 0 8px 24px oklch(0 0 0 / 0.25);
  --shadow-glow: 0 0 0 1px oklch(0.62 0.13 245 / 0.3), 0 12px 40px oklch(0.62 0.13 245 / 0.25);
  --shadow-bento: 0 1px 0 oklch(1 0 0 / 0.04) inset, 0 20px 50px -20px oklch(0 0 0 / 0.5);
  --shadow-elegant: 0 10px 30px -10px oklch(0.62 0.13 245 / 0.3);
  --gradient-blueprint: linear-gradient(135deg, oklch(0.62 0.13 245) 0%, oklch(0.45 0.10 245) 100%);
  --gradient-radial: radial-gradient(circle at 30% 20%, oklch(0.62 0.13 245 / 0.15), transparent 60%);
}

* { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--border); }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  background-image:
    radial-gradient(circle at 0% 0%, oklch(0.62 0.13 245 / 0.08), transparent 40%),
    radial-gradient(circle at 100% 100%, oklch(0.62 0.13 245 / 0.05), transparent 40%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
::selection { background-color: oklch(0.62 0.13 245 / 0.4); color: oklch(0.98 0.003 250); }

/* utilities */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }
.text-blueprint { color: var(--blueprint); }
.text-balance { text-wrap: balance; }
.text-muted { color: var(--muted-foreground); }
.label-eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blueprint-glow);
}
.ascii-divider {
  font-family: ui-monospace, "SF Mono", monospace;
  color: var(--muted-foreground);
  letter-spacing: 0.4em;
  font-size: 0.7rem;
}
.grid-blueprint {
  background-image:
    linear-gradient(oklch(1 0 0 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: oklch(0.16 0.012 250 / 0.8);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.site-header .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 1024px) { .site-header .inner { padding: 1rem 2.5rem; } }
.logo { display: inline-flex; align-items: center; gap: 0.75rem; }
.logo-mark { width: 65px; height: 65px; display: grid; place-items: center; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .name { font-family: "Space Grotesk", sans-serif; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.18em; }
.logo-text .tag { margin-top: 0.25rem; font-size: 0.625rem; letter-spacing: 0.3em; color: var(--muted-foreground); }

.nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  color: var(--muted-foreground);
  transition: all 0.2s;
}
.nav a:hover, .nav a.active { background: var(--surface-2); color: var(--foreground); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.25s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--blueprint); color: var(--primary-foreground); }
.btn-primary:hover { box-shadow: var(--shadow-glow); }
.btn-outline { background: oklch(0.62 0.13 245 / 0.1); border-color: oklch(0.62 0.13 245 / 0.5); color: var(--foreground); }
.btn-outline:hover { background: oklch(0.62 0.13 245 / 0.2); box-shadow: var(--shadow-glow); }
.btn-ghost { border-color: var(--border); background: oklch(0.20 0.013 250 / 0.6); }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { padding: 0.5rem 1rem; }

.btn .arrow { width: 1rem; height: 1rem; transition: transform 0.2s; }
.btn:hover .arrow { transform: translate(2px, -2px); }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
}
@media (min-width: 1024px) { .menu-btn { display: none; } }

.mobile-nav { display: none; border-top: 1px solid var(--border); background: oklch(0.16 0.012 250 / 0.95); backdrop-filter: blur(16px); }
.mobile-nav.open { display: block; }
.mobile-nav nav { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; max-width: 1280px; margin: 0 auto; }
.mobile-nav a { padding: 0.75rem; border-radius: 0.375rem; color: var(--muted-foreground); }
.mobile-nav a:hover { background: var(--surface-2); color: var(--foreground); }
.mobile-nav .btn { margin-top: 0.5rem; justify-content: center; }

/* HERO sections */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding-top: 6rem;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-bg .overlay-1 { position: absolute; inset: 0; background: linear-gradient(to right, var(--background), oklch(0.16 0.012 250 / 0.85), oklch(0.16 0.012 250 / 0.4)); }
.hero-bg .overlay-2 { position: absolute; inset: 0; background: linear-gradient(to top, var(--background), transparent, transparent); }
.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  display: grid;
  gap: 4rem;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: repeat(12, 1fr); padding: 9rem 2.5rem; }
}
.hero-content { grid-column: span 8; }
.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero p.lead { margin-top: 2rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); }
@media (min-width: 640px) { .hero p.lead { font-size: 1.25rem; } }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-side { display: none; }
@media (min-width: 1024px) {
  .hero-side { display: block; grid-column: span 4; align-self: end; }
}
.hero-side .card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: oklch(0.20 0.013 250 / 0.7);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
}
.hero-side ul { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.hero-side li { display: flex; align-items: baseline; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.875rem; }
.hero-side li:first-child { border-top: 0; padding-top: 0; }
.hero-side li .k { font-family: "Space Grotesk", sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; color: var(--blueprint); }
.hero-side li .v { color: var(--muted-foreground); }

/* PageHero (inner pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding-top: 8rem;
}
.page-hero .grid-blueprint { position: absolute; inset: 0; opacity: 0.5; }
.page-hero .radial { position: absolute; inset: 0; background: var(--gradient-radial); }
.page-hero .inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 5rem 1.5rem; }
@media (min-width: 1024px) { .page-hero .inner { padding: 7rem 2.5rem; } }
.page-hero h1 {
  margin-top: 1.25rem;
  max-width: 56rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  text-wrap: balance;
}
.page-hero p { margin-top: 1.5rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); }

/* Sections */
section.bg-ink { background: var(--ink); }
section.bg-surface { background: var(--surface); }
.section-pad { padding: 6rem 0; border-bottom: 1px solid var(--border); }
@media (min-width: 1024px) { .section-pad { padding: 8rem 0; } }
.section-head { display: flex; flex-direction: column; gap: 1.5rem; justify-content: space-between; margin-bottom: 3.5rem; }
@media (min-width: 1024px) { .section-head { flex-direction: row; align-items: end; } }
.section-head h2 { margin-top: 1rem; font-size: clamp(2rem, 4vw, 3rem); text-wrap: balance; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--blueprint); }
.link-arrow:hover { color: var(--blueprint-glow); }

/* Bento grid */
.bento-grid { display: grid; gap: 1.25rem; grid-auto-rows: minmax(220px, auto); }
@media (min-width: 640px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
  }
}
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-bento);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
  display: block;
  color: inherit;
}
.bento-card:hover { transform: translateY(-2px); border-color: oklch(0.62 0.13 245 / 0.4); }
.bento-feature { grid-column: 1 / -1; }
@media (min-width: 640px) { .bento-feature { grid-column: span 2; } }
@media (min-width: 1024px) { .bento-feature { grid-column: span 2; grid-row: span 2; } }
.bento-card .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; transition: all 0.7s; }
.bento-card:hover .bg-img { transform: scale(1.05); opacity: 0.5; }
.bento-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, var(--ink), oklch(0.10 0.012 250 / 0.6), transparent); }
.bento-card .body { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 1.75rem; }
@media (min-width: 1024px) { .bento-feature .body { padding: 2.5rem; } }
.bento-card h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; line-height: 1.2; }
.bento-feature h3 { font-size: 1.875rem; }
@media (min-width: 1024px) { .bento-feature h3 { font-size: 2.25rem; } }
.bento-card p.desc { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.bento-card .icon { width: 1.5rem; height: 1.5rem; color: var(--blueprint); }
.bento-feature .icon { width: 1.75rem; height: 1.75rem; }
.bento-card .num { margin-top: 1.5rem; font-family: "Space Grotesk", sans-serif; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.25em; color: var(--blueprint); }
.bento-card .arrow-link { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }

/* Two-col split */
.split { display: grid; gap: 4rem; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .split { grid-template-columns: repeat(12, 1fr); padding: 0 2.5rem; } }
.split .img-block { border-radius: 1rem; overflow: hidden; border: 1px solid var(--border); }
.split .img-block img { width: 100%; height: 100%; object-fit: cover; }

/* Quality grid (key/value tiles) */
.kv-grid { margin-top: 2.5rem; display: grid; gap: 1px; overflow: hidden; border-radius: 1rem; border: 1px solid var(--border); background: var(--border); }
@media (min-width: 640px) { .kv-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .kv-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.kv-grid .cell { background: var(--surface); padding: 1.5rem; }
.kv-grid .cell .k { font-family: "Space Grotesk", sans-serif; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; color: var(--blueprint); }
.kv-grid.large .cell { padding: 2.5rem; }
.kv-grid.large .k { font-size: 1.5rem; color: var(--foreground); }
.kv-grid .v { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); white-space: pre-line; }

/* Portfolio grid */
.portfolio-grid { display: grid; gap: 1.25rem; grid-auto-rows: 280px; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 300px; }
  .portfolio-grid > article:first-child { grid-column: span 4; grid-row: span 2; }
  .portfolio-grid > article:not(:first-child) { grid-column: span 2; }
  .portfolio-grid > .ghost { grid-column: span 2; }
}
.portfolio-grid .ghost { display: grid; place-items: center; text-align: center; }
.portfolio-grid .ghost p { color: var(--muted-foreground); font-family: "Space Grotesk", sans-serif; }

/* Services article rows */
.service-row {
  display: grid;
  gap: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}
.service-row + .service-row { margin-top: 6rem; }
@media (min-width: 1024px) { .service-row { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.service-row .col-l { grid-column: span 5; }
.service-row .col-r { grid-column: span 7; }
.service-row .num-title { font-family: "Space Grotesk", sans-serif; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.25em; color: var(--blueprint); }
.service-row h2 { margin-top: 1.25rem; font-size: clamp(1.875rem, 3vw, 3rem); text-wrap: balance; }
.service-row .short { margin-top: 1.5rem; font-size: 1.125rem; font-style: italic; color: var(--muted-foreground); white-space: pre-line; }
.service-row .desc { font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); }
.service-row .steps { margin-top: 2.5rem; display: grid; gap: 0.75rem; }
.service-row .steps li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; border: 1px solid var(--border); border-radius: 0.75rem; background: var(--surface); }
.service-row .steps .num { flex-shrink: 0; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; border-radius: 0.375rem; background: oklch(0.62 0.13 245 / 0.15); color: var(--blueprint); font-family: "Space Grotesk", sans-serif; font-size: 0.75rem; font-weight: 600; }
.service-row .tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service-row .tag { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.75rem; border: 1px solid var(--border); background: var(--surface); border-radius: 9999px; font-size: 0.75rem; color: var(--muted-foreground); }
.service-row .tag svg { width: 0.75rem; height: 0.75rem; color: var(--blueprint); }

/* Methodology phases */
.phases { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.75rem; }
.phases li { display: flex; gap: 1.5rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); transition: border-color 0.2s; }
.phases li:hover { border-color: oklch(0.62 0.13 245 / 0.4); }
.phases .n { font-family: "Space Grotesk", sans-serif; font-size: 1.875rem; font-weight: 500; color: var(--blueprint); }
.phases h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.125rem; }
.phases p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* Team / About */
.team-grid { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { padding: 1.5rem; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.team-card .badge { width: 4rem; height: 4rem; display: grid; place-items: center; border-radius: 0.75rem; background: oklch(0.62 0.13 245 / 0.15); font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; color: var(--blueprint); }
.team-card .info { margin-top: 2rem; }
.team-card h3 { font-family: "Space Grotesk", sans-serif; font-size: 1rem; }
.team-card .role { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* Blog */
.blog-featured {
  display: grid;
  gap: 2.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: border-color 0.2s;
}
.blog-featured:hover { border-color: oklch(0.62 0.13 245 / 0.4); }
@media (min-width: 1024px) { .blog-featured { grid-template-columns: repeat(12, 1fr); padding: 3rem; } }
.blog-featured .left { grid-column: span 5; }
.blog-featured .right { grid-column: span 7; }
.blog-featured h2 { margin-top: 1.25rem; font-size: clamp(1.875rem, 3.5vw, 3rem); text-wrap: balance; }
.blog-featured .meta { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--muted-foreground); }
.blog-list { margin-top: 4rem; display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .blog-list { grid-template-columns: repeat(3, 1fr); } }
.blog-card { padding: 1.75rem; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.blog-card h3 { margin-top: 1rem; font-family: "Space Grotesk", sans-serif; font-size: 1.25rem; line-height: 1.25; }
.blog-card .excerpt { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.blog-card .meta { margin-top: 2rem; display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--muted-foreground); }

/* Contact */
.contact-grid { display: grid; gap: 3rem; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(12, 1fr); padding: 0 2.5rem; } }
.contact-side { grid-column: span 4; }
.contact-form { grid-column: span 8; }
.panel { border: 1px solid var(--border); background: var(--surface); border-radius: 1rem; padding: 2rem; }
.panel ul { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 0.875rem; }
.panel li { display: flex; gap: 1rem; align-items: flex-start; }
.panel li svg { width: 1.25rem; height: 1.25rem; color: var(--blueprint); flex-shrink: 0; margin-top: 0.15rem; }
.panel li a:hover { color: var(--foreground); }
.panel li .label { color: var(--foreground); }
.panel li .sub { color: var(--muted-foreground); }
.panel iframe { width: 100%; border-radius: 0.75rem; border: 1px solid var(--border); margin-top: 1.5rem; height: 220px; }
.panel.note { border-color: oklch(0.62 0.13 245 / 0.3); background: oklch(0.62 0.13 245 / 0.1); margin-top: 1.5rem; padding: 1.5rem; font-size: 0.875rem; }

form .row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { form .row { grid-template-columns: repeat(2, 1fr); } }
form label { display: block; }
form input, form textarea {
  margin-top: 0.75rem;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.875rem;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--blueprint); box-shadow: 0 0 0 3px oklch(0.62 0.13 245 / 0.3); }
form textarea { resize: vertical; min-height: 9rem; }
.subject-pills { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.subject-pills button {
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--muted-foreground);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.subject-pills button.active, .subject-pills button:hover { border-color: var(--blueprint); background: oklch(0.62 0.13 245 / 0.15); color: var(--foreground); }
form .submit-row { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.flash { margin-top: 1.5rem; padding: 0.75rem 1rem; border-radius: 0.5rem; border: 1px solid oklch(0.62 0.13 245 / 0.3); background: oklch(0.62 0.13 245 / 0.1); font-size: 0.875rem; }
.flash.error { border-color: oklch(0.62 0.22 27 / 0.3); background: oklch(0.62 0.22 27 / 0.1); }

/* CTA */
.cta-wrap { padding: 5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--ink); }
@media (min-width: 1024px) { .cta-wrap { padding: 7rem 0; } }
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 2.5rem;
  box-shadow: var(--shadow-bento);
}
@media (min-width: 1024px) { .cta-card { padding: 4rem; } }
.cta-card .blob { position: absolute; top: -8rem; right: -8rem; width: 24rem; height: 24rem; border-radius: 50%; opacity: 0.5; filter: blur(80px); background: var(--gradient-blueprint); }
.cta-card .grid-blueprint { position: absolute; inset: 0; opacity: 0.4; }
.cta-card .inner { position: relative; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .cta-card .inner { grid-template-columns: repeat(12, 1fr); align-items: end; } }
.cta-card .text { grid-column: span 8; }
.cta-card h2 { margin-top: 1rem; font-size: clamp(2rem, 4vw, 3rem); text-wrap: balance; }
.cta-card p { margin-top: 1.25rem; max-width: 36rem; font-size: 1rem; color: var(--muted-foreground); }
.cta-card .action { grid-column: span 4; }
@media (min-width: 1024px) { .cta-card .action { text-align: right; } }

/* FOOTER */
.site-footer { background: var(--ink); border-top: 1px solid var(--border); }
.site-footer .inner { max-width: 1280px; margin: 0 auto; padding: 4rem 1.5rem; }
@media (min-width: 1024px) { .site-footer .inner { padding: 4rem 2.5rem; } }
.footer-top { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .footer-top { grid-template-columns: repeat(12, 1fr); } }
.footer-col-brand { grid-column: span 5; }
.footer-col-brand p { margin-top: 1.5rem; max-width: 24rem; font-size: 0.875rem; line-height: 1.7; color: var(--muted-foreground); }
.footer-contact { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-contact a { display: flex; align-items: center; gap: 0.75rem; }
.footer-contact a:hover { color: var(--foreground); }
.footer-contact svg { width: 1rem; height: 1rem; color: var(--blueprint); }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; grid-column: span 7; }
@media (min-width: 1024px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-cols ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-cols a:hover { color: var(--foreground); }
.footer-bottom { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; font-size: 0.75rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
