/* ============================================================
   ATALAYAS — www.atalayas.com.br
   Design system: deep-reservoir dark · Sora / Inter / IBM Plex Mono
   ============================================================ */

:root {
	--bg-0: #040a14;
	--bg-1: #071021;
	--bg-2: #0c182e;
	--card: rgba(15, 30, 56, .52);
	--card-solid: #0d1b33;
	--card-grad: linear-gradient(165deg, rgba(15, 30, 56, .5), rgba(8, 17, 33, .3));
	--glass: rgba(10, 22, 42, .72);
	--line: rgba(125, 165, 225, .14);
	--line-strong: rgba(125, 165, 225, .28);
	--txt-0: #f2f7ff;
	--txt-1: #b9c8e2;
	--txt-2: #7e93b8;
	--blue: #14aebf;
	--cyan: #2fd9cf;
	--amber: #ffb84d;
	--green: #34d98b;
	--grad: linear-gradient(120deg, #0e9cb4, #3ce6cf);
	--card-shadow: none;
	--font-head: "Sora", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, monospace;
	--radius: 18px;
	--container: 1180px;
	--nav-h: 76px;
}

html[data-theme="light"] {
	--bg-0: #f2f6fc;
	--bg-1: #e9f0f9;
	--bg-2: #ffffff;
	--card: rgba(255, 255, 255, .8);
	--card-solid: #ffffff;
	--card-grad: linear-gradient(165deg, #ffffff, #f3f7fe);
	--glass: rgba(255, 255, 255, .82);
	--line: rgba(25, 55, 110, .13);
	--line-strong: rgba(25, 55, 110, .25);
	--txt-0: #0b1830;
	--txt-1: #324569;
	--txt-2: #5b7095;
	--cyan: #0c93a5;
	--grad: linear-gradient(120deg, #0b7f95, #11b3a4);
	--card-shadow: 0 14px 36px -20px rgba(25, 60, 130, .28);
}

/* theme-dependent assets */
.only-light { display: none !important; }
html[data-theme="light"] .only-light { display: block !important; }
html[data-theme="light"] .only-dark { display: none !important; }

/* compliance keeps dark text over photo in both themes */
.compliance {
	--txt-0: #f2f7ff;
	--txt-1: #b9c8e2;
	--txt-2: #8fa3c4;
	--cyan: #2fd9cf;
	--line-strong: rgba(125, 165, 225, .28);
	--glass: rgba(10, 22, 42, .72);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
	background: var(--bg-0);
	color: var(--txt-1);
	font-family: var(--font-body);
	font-size: 16.5px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

::selection { background: rgba(47, 217, 207, .3); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--font-mono); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--txt-0); line-height: 1.14; letter-spacing: -.015em; }
h2 em, h1 em, .cta h2 em {
	font-style: normal;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.65,.25,1) var(--d, 0s), transform .8s cubic-bezier(.2,.65,.25,1) var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 9px;
	font-family: var(--font-head); font-weight: 600; font-size: 15px;
	padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
	cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
	white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-xs { padding: 8px 15px; font-size: 12.5px; gap: 8px; align-self: flex-start; }
.btn-primary {
	background: var(--grad); color: #04101f;
	box-shadow: 0 8px 28px -8px rgba(25, 185, 195, .5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(25, 185, 195, .65); }
.btn-ghost {
	border-color: var(--line-strong); color: var(--txt-0);
	background: var(--card-solid);
}
.btn-ghost:hover { border-color: rgba(47, 217, 207, .65); background: var(--card-solid); transform: translateY(-2px); box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .5); }
.btn-whats {
	background: rgba(37, 211, 102, .12); color: #4ef0a0;
	border-color: rgba(52, 217, 139, .4);
}
.btn-whats:hover { background: rgba(37, 211, 102, .2); transform: translateY(-2px); }

/* ---------- pulse dot ---------- */
.pulse-dot {
	width: 8px; height: 8px; border-radius: 50%; background: var(--green);
	display: inline-block; position: relative; flex: none;
}
.pulse-dot::after {
	content: ""; position: absolute; inset: -4px; border-radius: 50%;
	border: 1px solid var(--green); animation: ping 2.2s ease-out infinite;
}
.pulse-dot-sm { width: 6px; height: 6px; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 80%, 100% { transform: scale(1.8); opacity: 0; } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	transition: background .35s ease, border-color .35s ease, height .35s ease;
	border-bottom: 1px solid transparent;
	height: var(--nav-h);
	display: flex; align-items: center;
}
.nav.scrolled {
	background: rgba(5, 12, 24, .78);
	-webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
	font-size: 14.5px; font-weight: 500; color: var(--txt-1);
	transition: color .2s ease; position: relative; padding: 6px 0;
}
.nav-links a::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
	background: var(--grad); border-radius: 2px; transition: width .3s ease;
}
.nav-links a:hover { color: var(--txt-0); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
	width: 40px; height: 40px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--card); border: 1px solid var(--line-strong);
	color: var(--txt-1); cursor: pointer;
	transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.theme-toggle:hover { border-color: rgba(47, 217, 207, .55); color: var(--txt-0); transform: rotate(15deg); }
.theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.nav-burger {
	display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--txt-0); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
	position: fixed; inset: 0; z-index: 99; background: rgba(4, 10, 20, .96);
	-webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 26px; text-align: center; }
.mobile-menu nav > a:not(.btn) { font-family: var(--font-head); font-size: 26px; font-weight: 600; color: var(--txt-0); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
	position: relative; min-height: 100svh;
	padding: calc(var(--nav-h) + 48px) 0 0;
	display: flex; flex-direction: column; justify-content: flex-start;
	background:
		radial-gradient(1100px 640px at 78% -10%, rgba(20, 160, 178, .24), transparent 64%),
		radial-gradient(900px 540px at -12% 32%, rgba(47, 217, 207, .1), transparent 60%),
		var(--bg-0);
	overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-contours { width: 100%; height: 100%; }
.hero-contours path { fill: none; stroke: rgba(120, 165, 230, .07); stroke-width: 1.4; }

.hero-grid { position: relative; z-index: 3; }
.hero-copy { max-width: 720px; }

.hero-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--txt-2);
	border: 1px solid var(--line); border-radius: 999px;
	padding: 9px 18px;
	background: var(--card);
	margin-bottom: 30px;
}

.hero h1 {
	font-size: clamp(38px, 5.4vw, 66px);
	font-weight: 800;
	margin-bottom: 22px;
}
.hero-sub { font-size: clamp(17px, 1.5vw, 19px); max-width: 570px; margin-bottom: 32px; }
.hero-sub strong { color: var(--txt-0); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-badge {
	display: inline-flex; align-items: center; gap: 9px;
	font-size: 13.5px; color: var(--txt-2);
}
.hero-badge svg { color: var(--green); flex: none; }
@media (min-width: 881px) {
	.hero-badge {
		position: absolute; z-index: 4;
		left: max(28px, calc((100vw - var(--container)) / 2 + 28px));
		bottom: 34px;
		color: var(--txt-1);
		background: var(--glass);
		border: 1px solid var(--line-strong);
		border-radius: 999px;
		padding: 11px 20px;
		-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	}
}

/* ----- hero scene ----- */
.hero-scene {
	position: absolute; left: 0; right: 0; bottom: 0;
	height: min(58svh, 560px);
	pointer-events: none;
	z-index: 1;
}
.hero-grid { width: 100%; padding-bottom: 30svh; }
.dam-svg { display: block; width: 100%; height: 100%; }

.labels text { font-family: var(--font-mono); font-size: 11px; fill: rgba(180, 210, 250, .8); letter-spacing: .06em; paint-order: stroke; stroke: rgba(4, 10, 22, .55); stroke-width: 2.4px; stroke-linejoin: round; }

.phreatic { stroke-dashoffset: 0; animation: dashflow 26s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -260; } }

.wave-1 { animation: waveX 16s linear infinite; }
.wave-2 { animation: waveX 11s linear infinite reverse; }
@keyframes waveX { from { transform: translateX(0); } to { transform: translateX(1440px); } }

.tower-beacon { animation: beacon 2.4s ease-in-out infinite; }
@keyframes beacon { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.signal { opacity: 0; transform-origin: 1304px 57px; animation: signal 3.2s ease-out infinite; }
.signal.s2 { animation-delay: 1.6s; }
@keyframes signal { 0% { transform: scale(.4); opacity: .8; } 80%, 100% { transform: scale(2.4); opacity: 0; } }

.ring { opacity: 0; animation: ringping 3s ease-out infinite; }
.ring.r1 { transform-origin: 1434px 342px; }
.ring.r2 { transform-origin: 1574px 412px; animation-delay: 1s; }
.ring.r3 { transform-origin: 1494px 231px; animation-delay: 2s; }
@keyframes ringping { 0% { transform: scale(1); opacity: .75; } 75%, 100% { transform: scale(2.6); opacity: 0; } }

.drip { animation: drip 2.6s ease-in infinite; }
@keyframes drip { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: .9; } 100% { transform: translateY(26px); opacity: 0; } }

.spark-limit { stroke: rgba(255, 184, 77, .5); stroke-width: 1; stroke-dasharray: 5 5; }
.spark-limit-label { font-size: 9px; fill: rgba(255, 184, 77, .7); letter-spacing: .08em; }
.spark-area { fill: rgba(47, 217, 207, .12); }
.spark-line { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; }
.spark-dot { fill: var(--cyan); animation: beacon 2s ease-in-out infinite; }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding: 84px 0 30px; position: relative; }
.stats-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat {
	border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--card-grad);
	box-shadow: var(--card-shadow);
	padding: 30px 28px 26px;
	position: relative; overflow: hidden;
}
.stat::before {
	content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(47, 217, 207, .5), transparent);
}
.stat { display: flex; align-items: center; gap: 18px; }
.stat-icon {
	width: 46px; height: 46px; border-radius: 13px; flex: none;
	display: flex; align-items: center; justify-content: center;
	background: rgba(30, 176, 189, .12);
	border: 1px solid rgba(30, 176, 189, .3);
	color: var(--cyan);
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-num {
	font-family: var(--font-head); font-weight: 700;
	font-size: clamp(21px, 1.9vw, 27px); color: var(--txt-0);
	letter-spacing: -.02em;
	display: flex; align-items: baseline;
	font-variant-numeric: tabular-nums;
}
.stat-suffix { font-size: .55em; color: var(--cyan); font-weight: 600; }
.stat-label { font-size: 13.5px; color: var(--txt-2); margin-top: 5px; }
.stats-note { font-size: 12px; color: var(--txt-2); opacity: .75; margin-top: 18px; }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.sec { padding: 110px 0; position: relative; }
.sec-alt {
	position: relative;
	background:
		radial-gradient(900px 500px at 50% 0%, rgba(20, 160, 178, .08), transparent 65%),
		var(--bg-1);
}
.sec-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.sec-head-left { margin: 0 0 40px; text-align: left; }
.sec-tag {
	display: inline-block; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--cyan); margin-bottom: 18px;
}
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; margin-bottom: 18px; }
.sec-head p { font-size: 17.5px; color: var(--txt-2); }

/* ============================================================
   BENTO
   ============================================================ */
.bento {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
}
.card {
	grid-column: span 2;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card-grad);
	box-shadow: var(--card-shadow);
	padding: 30px 28px;
	position: relative;
	transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
	overflow: hidden;
}
.card:hover {
	transform: translateY(-5px);
	border-color: rgba(47, 217, 207, .45);
	box-shadow: 0 24px 56px -24px rgba(18, 160, 175, .4);
}
.card::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
	background: radial-gradient(440px 200px at 50% 0%, rgba(47, 217, 207, .1), transparent 70%);
	transition: opacity .35s ease;
}
.card:hover::after { opacity: 1; }
.card-lg { grid-column: span 3; }
.card-icon {
	width: 48px; height: 48px; border-radius: 13px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(30, 176, 189, .12);
	border: 1px solid rgba(30, 176, 189, .28);
	color: var(--cyan);
	margin-bottom: 20px;
}
.card-icon svg { width: 23px; height: 23px; }
.card-icon.icon-amber { color: var(--amber); background: rgba(255, 184, 77, .08); border-color: rgba(255, 184, 77, .25); }
.card h3 { font-size: 19.5px; font-weight: 600; margin-bottom: 10px; }
.card p { font-size: 14.8px; color: var(--txt-2); }
.card-visual { margin-top: 22px; }
.card-spark { width: 100%; height: 92px; }
.spark-line-draw { stroke-dasharray: 420; stroke-dashoffset: 420; }
.card.in .spark-line-draw { animation: drawline 2.4s cubic-bezier(.3,.6,.3,1) .3s forwards; }
@keyframes drawline { to { stroke-dashoffset: 0; } }

.mini-check { display: flex; flex-direction: column; gap: 9px; }
.mini-check-row {
	display: flex; align-items: center; gap: 11px;
	font-size: 13.5px; color: var(--txt-1);
	border: 1px solid var(--line); border-radius: 11px;
	padding: 10px 14px;
	background: var(--card);
}
.ck {
	width: 17px; height: 17px; border-radius: 6px; flex: none;
	border: 1.6px solid var(--line-strong);
	position: relative;
}
.ck.ok { border-color: var(--green); background: rgba(52, 217, 139, .14); }
.ck.ok::after {
	content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4.5px; height: 8.5px;
	border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.ck.warn { border-color: var(--amber); background: rgba(255, 184, 77, .14); }
.ck.warn::after {
	content: "!"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	color: var(--amber); font-size: 11px; font-weight: 700; font-family: var(--font-mono);
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
	display: grid;
	grid-template-columns: 1fr 60px 1fr 60px 1fr;
	align-items: stretch; gap: 0;
}
.step {
	border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--card-grad);
	box-shadow: var(--card-shadow);
	padding: 34px 30px;
	position: relative;
}
.step-num {
	position: absolute; top: 26px; right: 28px;
	font-size: 13px; color: rgba(47, 217, 207, .6); letter-spacing: .1em;
}
.step-icon {
	width: 52px; height: 52px; border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	background: var(--grad); color: #04101f;
	box-shadow: 0 10px 26px -10px rgba(25, 185, 195, .55);
	margin-bottom: 22px;
}
.step-icon svg { width: 24px; height: 24px; }
.step h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--txt-2); }
.step-link { position: relative; }
.step-link::before {
	content: ""; position: absolute; top: 50%; left: 8px; right: 8px; height: 2px;
	background-image: linear-gradient(90deg, var(--cyan) 40%, transparent 40%);
	background-size: 12px 2px; background-repeat: repeat-x;
	opacity: .45;
	animation: dashmove 1.4s linear infinite;
}
@keyframes dashmove { to { background-position-x: 12px; } }

/* ============================================================
   APP
   ============================================================ */
.app-grid {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(40px, 6vw, 90px); align-items: center;
}
.app-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 640px; }
.phone {
	width: min(290px, 76vw);
	border-radius: 42px;
	border: 1px solid var(--line-strong);
	background: linear-gradient(170deg, #101f3a, #070f1f);
	padding: 12px;
	box-shadow:
		0 50px 110px -40px rgba(0, 0, 0, .85),
		0 0 0 6px rgba(10, 22, 42, .55),
		inset 0 1px 0 rgba(160, 200, 255, .14);
	position: relative; z-index: 2;
}
.phone-shot {
	display: block; width: 100%;
	border-radius: 30px;
	border: 1px solid rgba(125, 165, 225, .2);
}
.phone-back {
	position: absolute; z-index: 1;
	width: min(250px, 64vw);
	left: 0; top: 50%;
	transform: translateY(-52%) rotate(-7deg);
	filter: brightness(.6) saturate(.85);
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
}
.app-list { list-style: none; display: flex; flex-direction: column; gap: 15px; margin-bottom: 36px; }
.app-list li {
	padding-left: 30px; position: relative;
	font-size: 15.5px; color: var(--txt-2);
}
.app-list li strong { color: var(--txt-0); font-weight: 600; }
.app-list li::before {
	content: ""; position: absolute; left: 2px; top: 7px;
	width: 13px; height: 13px; border-radius: 50%;
	background: rgba(47, 217, 207, .14);
	border: 1.6px solid var(--cyan);
}
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
	display: inline-flex; align-items: center; gap: 12px;
	border: 1px solid var(--line-strong); border-radius: 14px;
	background: var(--glass);
	padding: 11px 20px 11px 16px;
	transition: border-color .25s ease, transform .25s ease, background .25s ease;
	color: var(--txt-0);
}
.store-badge:hover { border-color: rgba(47, 217, 207, .55); transform: translateY(-2px); background: var(--glass); }
.store-badge svg { width: 26px; height: 26px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.store-badge span small { font-family: var(--font-body); font-weight: 400; font-size: 10.5px; color: var(--txt-2); letter-spacing: .04em; text-transform: uppercase; }

/* ============================================================
   VIDEO
   ============================================================ */
.video-frame {
	position: relative; max-width: 940px; margin: 0 auto;
	aspect-ratio: 16 / 9;
	border-radius: calc(var(--radius) + 6px);
	overflow: hidden;
	border: 1px solid var(--line-strong);
	box-shadow: 0 40px 110px -40px rgba(18, 160, 175, .45);
	cursor: pointer;
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .4s ease; opacity: .85; }
.video-frame:hover img { transform: scale(1.03); opacity: 1; }
.video-frame::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(4, 10, 20, .1), rgba(4, 10, 20, .45));
	pointer-events: none;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.video-frame.playing img, .video-frame.playing .video-play { display: none; }
.video-frame.playing { cursor: default; }
.video-play {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 86px; height: 86px; border-radius: 50%;
	background: var(--grad); color: #04101f; border: 0; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 20px 50px -12px rgba(25, 185, 195, .7);
	transition: transform .3s ease;
	z-index: 2;
}
.video-play svg { margin-left: 4px; }
.video-frame:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-play::after {
	content: ""; position: absolute; inset: -10px; border-radius: 50%;
	border: 1.5px solid rgba(47, 217, 207, .5);
	animation: ping 2.4s ease-out infinite;
}

/* ============================================================
   COMPLIANCE
   ============================================================ */
.compliance { position: relative; padding: 130px 0; overflow: hidden; }
.compliance-bg {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	filter: saturate(.75);
}
.compliance-bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(100deg, rgba(4, 10, 20, .96) 30%, rgba(4, 10, 20, .82) 60%, rgba(6, 16, 34, .66)),
		radial-gradient(800px 400px at 85% 110%, rgba(20, 160, 178, .32), transparent 60%);
}
.compliance-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.compliance-copy h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; margin-bottom: 18px; }
.compliance-copy p { font-size: 16.5px; color: var(--txt-1); max-width: 560px; }
.compliance-chips { display: flex; flex-wrap: wrap; gap: 12px; align-content: center; }
.chip {
	font-size: 13.5px; font-weight: 500; color: var(--txt-0);
	border: 1px solid var(--line-strong); border-radius: 999px;
	background: rgba(10, 22, 42, .72);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	padding: 11px 19px;
	display: inline-flex; align-items: center; gap: 8px;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex: none; }

/* ============================================================
   CLIENTES (marquee)
   ============================================================ */
#clientes { padding-bottom: 90px; }
#clientes .sec-head { margin-bottom: 50px; }
.marquee {
	overflow: hidden; position: relative;
	padding: 14px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
	display: flex; gap: 22px; width: max-content;
	animation: marquee var(--speed, 38s) linear infinite;
}
.marquee-reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }
.client-logo {
	flex: none;
	width: 218px; height: 96px;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--line); border-radius: 16px;
	background: var(--card-grad);
	box-shadow: var(--card-shadow);
	transition: border-color .3s ease, background .3s ease;
}
.client-logo:hover { border-color: rgba(47, 217, 207, .45); }
.client-logo img {
	max-height: 44px; max-width: 150px; width: auto; height: auto;
	opacity: .8; transition: opacity .3s ease;
}
.client-logo:hover img { opacity: 1; }

/* ============================================================
   WAVE DIVIDER — linha d'água animada entre seções
   ============================================================ */
.wave-edge {
	position: absolute; left: 0; right: 0; height: 30px; overflow: hidden;
	pointer-events: none; z-index: 2;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.wave-edge--top { top: -15px; }
.wave-edge--bottom { bottom: -15px; transform: scaleY(-1); }
.wave-edge svg {
	position: absolute; top: 0; left: 0; width: 200%; height: 100%;
	animation: waveDrift 11s linear infinite;
}
.wave-edge path { fill: none; stroke: var(--cyan); stroke-linecap: round; }
.wave-edge .wd-1 { stroke-width: 2; opacity: .5; }
.wave-edge .wd-2 { stroke-width: 1.5; opacity: .26; }
@keyframes waveDrift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wave-edge svg { animation: none; } }

/* ============================================================
   EXITI
   ============================================================ */
.exiti-card {
	display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 6.6fr);
	gap: clamp(30px, 5vw, 64px); align-items: center;
}
.exiti-brand {
	display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
}
.exiti-tag { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.exiti-logo { height: clamp(60px, 6.5vw, 82px); width: auto; }
.exiti-since { display: flex; align-items: center; gap: 14px; margin-top: 2px; }
.exiti-since-year { display: inline-flex; align-items: baseline; gap: 8px; }
.exiti-since-prefix {
	font-family: var(--font-head); font-weight: 600;
	font-size: clamp(16px, 1.6vw, 20px); color: var(--txt-2);
}
.exiti-since-num {
	font-family: var(--font-head); font-weight: 800;
	font-size: clamp(26px, 2.8vw, 34px); line-height: 1;
	letter-spacing: -.02em;
	background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.exiti-since-label { font-size: 11px; line-height: 1.4; color: var(--txt-2); letter-spacing: .04em; }
.exiti-copy p { font-size: 16.5px; color: var(--txt-1); margin-bottom: 24px; }
.exiti-copy strong { color: var(--txt-0); font-weight: 600; }
.exiti-areas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.exiti-area {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 500; color: var(--txt-1);
	border: 1px solid var(--line-strong); border-radius: 999px;
	background: var(--card);
	padding: 8px 15px;
}
.exiti-area svg { width: 15px; height: 15px; color: var(--cyan); flex: none; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
	position: relative; padding: 150px 0;
	background:
		radial-gradient(820px 460px at 50% 0%, rgba(20, 160, 178, .24), transparent 65%),
		radial-gradient(600px 380px at 85% 100%, rgba(47, 217, 207, .1), transparent 60%),
		var(--bg-0);
	overflow: hidden;
}
.cta::before {
	content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
	width: min(880px, 90%); height: 1px;
	background: linear-gradient(90deg, transparent, rgba(47, 217, 207, .6), transparent);
}
.cta-inner { text-align: center; max-width: 760px; }
.cta h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; margin-bottom: 22px; }
.cta p { font-size: 17.5px; color: var(--txt-2); margin-bottom: 42px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.cta-note { font-size: 12.5px; color: var(--txt-2); opacity: .8; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
	border-top: 1px solid var(--line);
	background: var(--bg-1);
	padding: 72px 0 36px;
}
.footer-grid {
	display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr));
	gap: 44px; margin-bottom: 56px;
}
.footer-logo { height: 110px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; color: var(--txt-2); max-width: 280px; }
.footer-br { margin-top: 14px; font-size: 12px; opacity: .8; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
	font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--txt-2); font-weight: 500; margin-bottom: 6px;
}
.footer-col a, .footer-col span { font-size: 14.5px; color: var(--txt-1); transition: color .2s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-legal {
	border-top: 1px solid var(--line);
	padding-top: 28px;
	font-size: 13px; color: var(--txt-2);
	display: flex; justify-content: center; text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
	.bento { grid-template-columns: repeat(2, 1fr); }
	.card, .card-lg { grid-column: span 1; }
	.steps { grid-template-columns: 1fr; gap: 18px; }
	.step-link { display: none; }
	.compliance-inner { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
	.nav-links { display: none; }
	.nav-burger { display: flex; }
	.nav-cta .btn { display: none; }
	.hero { min-height: auto; padding-bottom: 30px; }
	.hero-scene { position: static; height: auto; margin-top: 28px; }
	.hero-grid { padding-bottom: 0; }
	.dam-svg { height: 300px; }
	.hero-badge { margin: 6px 28px 0; }
	.app-grid { grid-template-columns: 1fr; }
	.app-copy { order: -1; }
	.exiti-card { grid-template-columns: 1fr; gap: 24px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
	body { font-size: 15.5px; }
	.container { padding: 0 20px; }
	.app-visual { min-height: 520px; }
	.phone-back { width: 54vw; left: -6px; }
	.bento { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero-actions .btn { width: 100%; justify-content: center; }
	.cta-actions .btn { width: 100%; justify-content: center; }
	.dam-svg { height: 240px; }
}

/* ============================================================
   LIGHT THEME OVERRIDES
   ============================================================ */
html[data-theme="light"] .nav.scrolled {
	background: rgba(244, 250, 251, .85);
	box-shadow: 0 8px 30px -18px rgba(25, 60, 130, .25);
}
html[data-theme="light"] .mobile-menu { background: rgba(242, 246, 252, .96); }
html[data-theme="light"] .hero-contours path { stroke: rgba(60, 100, 170, .12); }
html[data-theme="light"] .labels text { fill: #14315c; stroke: rgba(248, 252, 255, .9); stroke-width: 2.6px; }
html[data-theme="light"] .dam-svg > line,
html[data-theme="light"] .dam-svg > polyline { stroke: rgba(40, 80, 150, .35); }
html[data-theme="light"] .dam-svg g[stroke] { stroke: rgba(45, 85, 155, .6); }
html[data-theme="light"] .tower line,
html[data-theme="light"] .tower polygon { stroke: rgba(45, 85, 155, .85); }
html[data-theme="light"] .instr line { stroke: rgba(45, 85, 155, .6); }
html[data-theme="light"] .btn-ghost { background: #ffffff; border-color: rgba(25, 55, 110, .25); box-shadow: 0 6px 18px -12px rgba(25, 60, 130, .4); }
html[data-theme="light"] .btn-ghost:hover { box-shadow: 0 12px 28px -14px rgba(25, 60, 130, .45); }
html[data-theme="light"] .btn-whats { background: rgba(22, 163, 96, .1); color: #0d8a4f; border-color: rgba(22, 163, 96, .38); }
html[data-theme="light"] .btn-whats:hover { background: rgba(22, 163, 96, .18); }
html[data-theme="light"] .card:hover { box-shadow: 0 24px 56px -24px rgba(15, 140, 155, .35); }
html[data-theme="light"] ::selection { background: rgba(18, 160, 175, .25); color: #0b1830; }
html[data-theme="light"] .video-frame { box-shadow: 0 40px 110px -40px rgba(15, 140, 155, .4); }
html[data-theme="light"] .phone, html[data-theme="light"] .phone-back { border-color: rgba(25, 55, 110, .3); }
html[data-theme="light"] .status-pill { color: #0d8a4f; border-color: rgba(22, 163, 96, .4); background: rgba(22, 163, 96, .08); }
html[data-theme="light"] .ck.ok { border-color: #14a564; }
html[data-theme="light"] .ck.ok::after { border-color: #14a564; }
html[data-theme="light"] .mini-check-row { color: var(--txt-1); }
html[data-theme="light"] .pulse-dot { background: #14a564; }
html[data-theme="light"] .pulse-dot::after { border-color: #14a564; }
html[data-theme="light"] .spark-limit { stroke: rgba(178, 106, 10, .75); }
html[data-theme="light"] .spark-limit-label { fill: rgba(150, 88, 6, 1); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.rv { opacity: 1; transform: none; }
}
