/* =========================================================
   DiligenTi — site institucional
   Paleta baseada na identidade visual (azul #34679A)
   ========================================================= */
:root {
  --brand: #34679a;
  --brand-2: #4f8fd6;
  --brand-3: #8cc4ff;
  --bg: #07111f;
  --bg-2: #0b1828;
  --surface: #0f2034;
  --surface-2: #132a44;
  --line: rgba(140, 196, 255, .12);
  --line-2: rgba(140, 196, 255, .22);
  --text: #e9f1fb;
  --muted: #94a8c0;
  --ok: #33d17a;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
  --font-h: 'Sora', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --font-m: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 var(--font-b); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-h); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--font-m); font-size: .85em; }
.grad { background: linear-gradient(90deg, var(--brand-3), var(--brand-2) 60%, #b7dcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; font: 600 .98rem var(--font-b);
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { font-size: 1.1em; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 10px 30px -10px rgba(79, 143, 214, .7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(79, 143, 214, .9), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--brand-3); background: rgba(140,196,255,.06); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(7, 17, 31, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s, background .2s; }
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(140,196,255,.07); }
.nav__cta-mobile { display: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 72px; overflow: hidden; isolation: isolate; }
.hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .9; }
.hero__glow { position: absolute; z-index: -1; inset: 0; background:
  radial-gradient(600px 400px at 75% 45%, rgba(79,143,214,.22), transparent 70%),
  radial-gradient(500px 360px at 10% 10%, rgba(52,103,154,.25), transparent 70%),
  linear-gradient(180deg, transparent 70%, var(--bg)); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(15,32,52,.6); font-size: .85rem; color: var(--brand-3); font-weight: 500; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(51,209,122,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(51,209,122,0); } 100% { box-shadow: 0 0 0 0 rgba(51,209,122,0); } }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 700; margin-bottom: 22px; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 580px; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero__stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px solid var(--brand); }
.hero__stats strong { font: 700 1.6rem var(--font-h); }
.hero__stats span { color: var(--muted); font-size: .88rem; }

.hero__visual { position: relative; aspect-ratio: 1; max-width: 500px; width: 100%; justify-self: center; }
.chip { position: absolute; inset: 14%; display: grid; place-items: center; }
.chip__svg { width: 100%; height: 100%; filter: drop-shadow(0 0 40px rgba(79,143,214,.45)); animation: float 6s ease-in-out infinite; }
.chip__pins path { stroke-dasharray: 6 0; }
.chip__ring { position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 40s linear infinite; }
.chip__ring--2 { inset: -22%; border-style: solid; border-color: var(--line); animation-duration: 70s; animation-direction: reverse; }
.chip__ring::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-3); box-shadow: 0 0 12px var(--brand-3); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }

.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(15,32,52,.82); border: 1px solid var(--line-2); backdrop-filter: blur(10px); box-shadow: var(--shadow); font-size: .85rem; animation: float 7s ease-in-out infinite; }
.float b { display: block; font-weight: 600; }
.float small { color: var(--muted); }
.float__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(79,143,214,.18); color: var(--brand-3); font-size: 18px; flex: none; }
.float__icon--green { background: rgba(51,209,122,.15); color: var(--ok); }
.float--a { top: 6%; left: -6%; }
.float--b { bottom: 12%; right: -8%; animation-delay: -2s; }
.float--c { bottom: -2%; left: 0; animation-delay: -4s; display: block; padding: 10px 16px 12px; }
.code__dots { display: flex; gap: 5px; margin-bottom: 6px; }
.code__dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; }
.code__dots i:nth-child(2) { background: #febc2e; } .code__dots i:nth-child(3) { background: #28c840; }
.code pre { margin: 0; font: 500 .78rem/1.6 var(--font-m); color: var(--muted); }
.code .k { color: var(--brand-3); } .code .s { color: #f5c07a; } .code .c { color: #7f93ab; } .code .ok { color: var(--ok); }

/* ---------- Marquee ---------- */
.stack { border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; overflow: hidden; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 45s linear infinite; }
.marquee__track span { font: 500 .88rem var(--font-m); color: var(--muted); padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.marquee__track span::before { content: "◆"; color: var(--brand-2); margin-right: 8px; font-size: .7em; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 128px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.kicker { display: inline-block; font: 500 .85rem var(--font-m); color: var(--brand-3); margin-bottom: 14px; letter-spacing: .02em; }

.card { background: linear-gradient(180deg, var(--surface), rgba(15,32,52,.6)); border: 1px solid var(--line); border-radius: var(--radius-lg); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { padding: 30px; position: relative; overflow: hidden; transition: transform .3s, border-color .3s; }
.service::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(79,143,214,.14), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.service:hover { transform: translateY(-4px); border-color: var(--line-2); }
.service:hover::before { opacity: 1; }
.service__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; color: var(--brand-3); background: linear-gradient(135deg, rgba(79,143,214,.22), rgba(52,103,154,.08)); border: 1px solid var(--line-2); margin-bottom: 22px; }
.service p { color: var(--muted); font-size: .95rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .88rem; }
.ticks li { display: flex; gap: 8px; align-items: center; color: #c6d6e8; }
.ticks li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: rgba(51,209,122,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333d17a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -24px 0 40px; }
.filter { font: 500 .9rem var(--font-b); color: var(--muted); background: transparent; border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.filter:hover { color: var(--text); border-color: var(--line-2); }
.filter.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s, border-color .35s, box-shadow .35s; }
.project:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow); }
.project.is-hidden { display: none; }
.project__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a1626; border-bottom: 1px solid var(--line); }
.project__media img { width: 100%; height: calc(100% - 30px); object-fit: cover; object-position: top; transition: transform .6s; }
.project:hover .project__media img { transform: scale(1.04); }
.browser { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #0d1b2d; border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.browser span { width: 9px; height: 9px; border-radius: 50%; background: #2a3b52; }
.browser em { font: 500 .72rem var(--font-m); font-style: normal; color: var(--muted); margin-left: 10px; padding: 2px 12px; background: rgba(255,255,255,.04); border-radius: 6px; }
.project__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.project__body h3 { font-size: 1.45rem; margin-bottom: 10px; }
.project__body p { color: var(--muted); font-size: .95rem; }
.project__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.project__tags span { font: 600 .72rem var(--font-b); text-transform: uppercase; letter-spacing: .06em; color: var(--brand-3); background: rgba(79,143,214,.12); padding: 4px 10px; border-radius: 6px; }
.project__meta { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 .8rem var(--font-m); color: #7f93ab; }
.project__meta li::before { content: "› "; color: var(--brand-2); }
.link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-3); width: fit-content; }
.link svg { transition: transform .2s; }
.link:hover svg { transform: translate(2px, -2px); }

.project--wide { grid-column: 1 / -1; flex-direction: row; }
.project--wide .project__media { flex: 1.35; aspect-ratio: auto; min-height: 380px; border-bottom: 0; border-right: 1px solid var(--line); }
.project--wide .project__body { flex: 1; justify-content: center; padding: 40px; }
.project--wide h3 { font-size: 2rem; }
.project--rev { flex-direction: row-reverse; }
.project--rev .project__media { border-right: 0; border-left: 1px solid var(--line); }

/* Art mockups (projetos sem captura) */
.project__media--art { background: radial-gradient(circle at 30% 20%, var(--c2), var(--c1) 70%); display: grid; place-items: center; }
.art { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.art__label { position: absolute; left: 22px; bottom: 18px; }
.art__label b { display: block; font: 700 1.25rem var(--font-h); color: #fff; }
.art__label small { color: rgba(255,255,255,.65); font-size: .8rem; }
.art__phone { width: 34%; aspect-ratio: 9/17; background: rgba(255,255,255,.95); border-radius: 22px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform: rotate(-6deg); transition: transform .5s; }
.project:hover .art__phone { transform: rotate(0) translateY(-6px); }
.art__bar { height: 22%; border-radius: 12px; background: var(--c1); margin-bottom: -14%; }
.art__avatar { width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--ac); display: grid; place-items: center; font-size: 1.1rem; margin: 0 auto 10%; border: 3px solid #fff; }
.art__line { height: 7px; border-radius: 4px; background: #d9dee5; margin: 0 auto 6px; }
.w70 { width: 70%; } .w50 { width: 50%; background: #ebeef2 !important; }
.art__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12%; }
.art__tiles i { aspect-ratio: 1.3; border-radius: 8px; background: color-mix(in srgb, var(--ac) 20%, #fff); }
.art__tiles i:first-child { background: var(--ac); }

.dash { width: 70%; aspect-ratio: 16/10; background: #f7f8fa; border-radius: 12px; display: flex; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform: perspective(800px) rotateX(8deg); transition: transform .5s; }
.project:hover .dash { transform: perspective(800px) rotateX(0) translateY(-4px); }
.dash__side { width: 18%; background: var(--c1); padding: 10px 8px; display: grid; align-content: start; gap: 8px; }
.dash__side i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); }
.dash__side i:first-child { background: var(--ac); }
.dash__main { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dash__kpis span { height: 26px; border-radius: 6px; background: #fff; border: 1px solid #e6e9ee; border-top: 3px solid var(--ac); }
.dash__chart { flex: 1; display: flex; align-items: flex-end; gap: 6%; padding: 8px; background: #fff; border-radius: 6px; border: 1px solid #e6e9ee; }
.dash__chart i { flex: 1; background: linear-gradient(var(--ac), color-mix(in srgb, var(--ac) 50%, #fff)); border-radius: 3px 3px 0 0; }

.shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 72%; }
.shop__item { background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); transition: transform .4s; }
.shop__item:nth-child(2) { transform: translateY(-14px); }
.project:hover .shop__item { transform: translateY(-6px); }
.project:hover .shop__item:nth-child(2) { transform: translateY(-20px); }
.shop__item i { display: block; aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, #e8f1fc, #cfe2f8); margin-bottom: 8px; }
.shop__item b { display: block; height: 6px; width: 80%; border-radius: 3px; background: #d9dee5; margin-bottom: 6px; }
.shop__item s { display: block; height: 14px; border-radius: 7px; background: var(--ac); width: 60%; }

.mosaic { width: 56%; aspect-ratio: 3/2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; transform: rotate(-4deg); transition: transform .5s, gap .5s; }
.project:hover .mosaic { gap: 9px; transform: rotate(0); }
.mosaic i { background: linear-gradient(135deg, var(--ac), #ffb199 60%, #ffe2d8); background-size: 300% 200%; border-radius: 4px; outline: 1px dashed rgba(255,255,255,.4); outline-offset: -4px; }
.mosaic i:nth-child(2) { background-position: 50% 0; } .mosaic i:nth-child(3) { background-position: 100% 0; }
.mosaic i:nth-child(4) { background-position: 0 100%; } .mosaic i:nth-child(5) { background-position: 50% 100%; } .mosaic i:nth-child(6) { background-position: 100% 100%; }

.term { margin: 0; font: 500 .9rem/1.8 var(--font-m); color: var(--ac); text-shadow: 0 0 12px color-mix(in srgb, var(--ac) 60%, transparent); padding: 18px 22px; border: 1px solid color-mix(in srgb, var(--ac) 30%, transparent); border-radius: 12px; background: rgba(0,0,0,.4); min-width: 62%; }
.blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Why */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.why__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.why__intro p { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.why__item { background: var(--bg); padding: 30px 28px; transition: background .3s; }
.why__item:hover { background: var(--surface); }
.why__item p { color: var(--muted); font-size: .93rem; margin: 0; }
.why__n { display: block; font: 500 .82rem var(--font-m); color: var(--brand-2); margin-bottom: 14px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, transparent, var(--brand), var(--brand-2), var(--brand), transparent); }
.step { text-align: center; padding: 0 8px; position: relative; }
.step__n { width: 56px; height: 56px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 16px; font: 700 1.2rem var(--font-h); background: var(--surface-2); border: 1px solid var(--line-2); color: var(--brand-3); position: relative; box-shadow: 0 0 0 6px var(--bg); }
.step p { color: var(--muted); font-size: .92rem; }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.about__photo { position: relative; }
.about__frame { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(160deg, #3d78b8, var(--brand) 55%, #1d3d5f); border: 1px solid var(--line-2); }
.about__frame::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(180deg, #000 30%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); }
.about__frame img { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: 94%; width: auto; max-width: none; }
.about__badge { position: absolute; bottom: 24px; right: -24px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: rgba(15,32,52,.9); backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow); }
.about__badge img { width: 36px; height: 36px; }
.about__badge b { display: block; font-size: .95rem; }
.about__badge small { color: var(--muted); font-size: .82rem; }
.about__copy > p { color: var(--muted); font-size: 1.04rem; }
.about__copy strong { color: var(--text); }
.about__copy em { color: var(--brand-3); font-style: normal; }
.about__values { display: grid; gap: 12px; margin-top: 28px; }
.about__values div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(15,32,52,.5); }
.about__values b { font-family: var(--font-h); color: var(--brand-3); }
.about__values span { color: var(--muted); font-size: .94rem; }

/* Contact */
.contact { background: radial-gradient(700px 400px at 85% 30%, rgba(79,143,214,.16), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact__copy > p { color: var(--muted); font-size: 1.08rem; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__list small { display: block; color: var(--muted); font-size: .8rem; }
.contact__list a, .contact__list span:not(.ci) { font-weight: 600; }
.contact__list a:hover { color: var(--brand-3); }
.ci { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: var(--brand-3); background: rgba(79,143,214,.12); border: 1px solid var(--line-2); }

.form { padding: 32px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: .88rem; font-weight: 600; color: #c6d6e8; }
.form input, .form select, .form textarea {
  font: 400 1rem var(--font-b); color: var(--text); background: var(--bg); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a8c0' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form input::placeholder, .form textarea::placeholder { color: #5e7390; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(79,143,214,.18); }
.form .is-invalid { border-color: #ff6b6b; }
.form__note { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 28px; background: var(--bg); }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer__brand img { height: 38px; width: auto; margin-bottom: 12px; }
.footer__brand p { color: var(--muted); font-size: .92rem; margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__nav a { color: var(--muted); font-size: .92rem; }
.footer__nav a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; color: #6d829c; font-size: .85rem; }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .2s; }
.wa-float svg { width: 30px; height: 30px; stroke: none; }
.wa-float:hover { transform: scale(1.08); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .why__intro { position: static; }
}
@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .burger { display: flex; }
  .header__cta { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 4px; padding: 16px; background: rgba(7,17,31,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s; margin: 0; }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav__cta-mobile { display: block; background: var(--brand); color: #fff !important; text-align: center; margin-top: 8px; }
  .header.menu-open { background: rgba(7,17,31,.97); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 380px; order: -1; margin-top: 8px; }
  .float--a { left: -2%; } .float--b { right: -2%; }
  .projects { grid-template-columns: 1fr; }
  .project--wide, .project--rev { flex-direction: column; }
  .project--rev .project__media { border-left: 0; }
  .project--wide .project__media { min-height: 0; aspect-ratio: 16/10; border-right: 0; border-bottom: 1px solid var(--line); }
  .project--wide .project__body { padding: 26px 28px 30px; }
  .project--wide h3 { font-size: 1.45rem; }
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__photo { max-width: 420px; margin: 0 auto; width: 100%; }
  .about__badge { right: 12px; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .hide-sm { display: none; }
}
@media (max-width: 600px) {
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero__visual { max-width: 300px; }
  .float { font-size: .75rem; padding: 9px 12px; }
  .float__icon { width: 28px; height: 28px; font-size: 15px; }
  .float--c { display: none; }
  .hero__stats { gap: 20px; }
  .hero__stats strong { font-size: 1.3rem; }
  .hero__ctas .btn { width: 100%; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; text-align: left; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding: 0; }
  .step__n { grid-row: span 2; margin: 0; }
  .step h3 { margin: 4px 0 4px; }
  .why__grid { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .about__values div { grid-template-columns: 1fr; gap: 4px; }
  .project__body { padding: 22px; }
  .art__label b { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
