/* Echo Technologies: tokens do site atual (echotechnologies.com.br), refinados. */
:root {
  --bg: #03060A; --bg2: #060B11; --panel: #0A1119; --panel2: #0E1822;
  --blue: #0A84FF; --cyan: #00C6FF; --grad: linear-gradient(100deg, #00C6FF 0%, #0A84FF 100%);
  --ink: #EAF2F9; --ink2: #B5C3D1; --mut: #8494A6; --mut2: #56677A;
  --line: rgba(130,180,230,.12); --line2: rgba(130,180,230,.22);
  --ok: #3DDC97; --warn: #FFB547;
  --disp: 'Sora', 'Segoe UI', system-ui, sans-serif; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Martian Mono', ui-monospace, Menlo, Consolas, monospace;
  --edge: clamp(1.25rem, 4vw, 2rem); --ease: cubic-bezier(.23, 1, .32, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .28; -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 85%); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 85%); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--bg); padding: .5rem 1rem; z-index: 99; border-radius: 8px; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: calc(1180px + var(--edge) * 2); margin-inline: auto; padding-inline: var(--edge); }

/* texto e botões */
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2 { font: 700 clamp(2.25rem, 5vw, 4.25rem)/1 var(--disp); letter-spacing: -.04em; max-width: 15ch; }
.h2--m { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 18ch; }
.h2--c { margin-inline: auto; max-width: 16ch; }
.eyebrow { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1.25rem; }
.sec { position: relative; padding: clamp(5rem, 11vw, 8.5rem) 0 0; }
.sec--tight { padding-top: clamp(4rem, 8vw, 6rem); }
.sec__head { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.sec__lead { margin-top: 1.5rem; max-width: 42ch; color: var(--ink2); font-size: 1.0625rem; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.1rem; padding: .7rem 1.35rem; border-radius: 10px; border: 1px solid transparent; font: 600 .9rem var(--sans); cursor: pointer; transition: transform .25s var(--ease), box-shadow .3s ease, border-color .2s ease, background-color .2s ease; }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 2.5rem; padding: .45rem 1rem; font-size: .8rem; }
.btn--grad { background: var(--grad); color: #02101C; box-shadow: 0 8px 28px -6px rgba(0,198,255,.45), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--ghost { background: rgba(10,17,25,.7); border-color: var(--line2); color: var(--ink); }
.btn--wa { background: #1FBF5B; color: #03140A; }
@media (hover: hover) and (pointer: fine) { .btn--grad:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -6px rgba(0,198,255,.6), inset 0 1px 0 rgba(255,255,255,.4); } .btn--ghost:hover { border-color: var(--cyan); background: rgba(0,198,255,.08); } }
.btn.is-off { opacity: .45; pointer-events: none; filter: saturate(.6); }
.card { position: relative; background: linear-gradient(180deg, rgba(14,24,34,.7), rgba(10,17,25,.7)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
[data-spot]::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(0,198,255,.13), transparent 70%); opacity: 0; transition: opacity .3s ease; }
[data-spot]:hover::before { opacity: 1; }

/* revelar */
[data-reveal] { opacity: 0; transition: opacity .7s ease, transform .95s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); will-change: transform, opacity; }
[data-reveal="up"] { transform: translate3d(0, 36px, 0); }
[data-reveal="left"] { transform: translate3d(-56px, 0, 0); }
[data-reveal="right"] { transform: translate3d(56px, 0, 0); }
[data-reveal="zoom"] { transform: scale(.93); }
[data-reveal="pop"] { transform: translate3d(0, 16px, 0) scale(.9); }
[data-reveal="tilt"] { transform: perspective(900px) rotateX(16deg) translate3d(0, 46px, 0); transform-origin: 50% 0; }
[data-reveal].is-in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .12em 0 .16em; margin: -.12em 0 -.16em; }
.w__i { display: inline-block; transform: translate3d(0, 115%, 0); transition: transform .95s var(--ease); transition-delay: calc(var(--k, 0) * 55ms); }
.w__i--g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-split em { background: none; color: inherit; }
.is-split.is-in .w__i { transform: none; }
.sec::before { content: ''; position: absolute; top: 0; left: 50%; width: min(1180px, 100% - var(--edge) * 2); height: 1px; background: linear-gradient(90deg, transparent, rgba(0,198,255,.5), transparent); transform: translateX(-50%) scaleX(0); transition: transform 1.4s var(--ease); }
.sec.is-seen::before { transform: translateX(-50%) scaleX(1); }
.contact::before, .sec--tight::before { display: none; }
[data-rise] { opacity: 0; transform: translate3d(0, 22px, 0); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.no-js [data-rise] { opacity: 1; transform: none; animation: none; }
