/* Radar PX — tema claro (Figma "[Novo site] Radar PX": Desktop 3:415, Tablet 17:12005, Mobile 17:11510) */
:root {
	--color-heading: #2b3038;
	--color-paragraph: #565f70;
	--color-support: #a6adba;
	--color-border: #e1e4e8;
	--color-brand: #1a4f80;
	--color-surface: #ffffff;
	--color-hero-bg: rgba(243, 246, 249, 0.8);
	--color-info-bg: rgba(209, 220, 230, 0.15);
	--color-footer-bg: #f4f8fc;
	--color-error: #d32f2f;
	--shadow-lg: 0 4px 4px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--color-surface);
	color: var(--color-paragraph);
	font-family: 'Poppins', Arial, sans-serif;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ---------- Header / Navbar ---------- */
.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	justify-content: center;
	padding: 32px 24px 0;
	background: url('./assets/header-bg.png') center / cover no-repeat;
}

.navbar {
	width: 100%;
	max-width: 1280px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 16px 16px 24px;
	background: var(--color-surface);
	border-radius: 24px;
	box-shadow: var(--shadow-lg);
}

.nav-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nav-logo img {
	width: 95.25px;
	height: 24px;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 8px 0 8px 8px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
}

.nav-links a {
	font-size: 16px;
	line-height: 1.4;
	color: var(--color-paragraph);
	white-space: nowrap;
	transition: color 0.2s;
}

.nav-links a:hover,
.footer-link:hover {
	color: var(--color-brand);
}

/* ---------- Hero ---------- */
.hero-section {
	flex: 1 0 auto;
	display: flex;
	justify-content: center;
	padding: 144px 24px 120px;
}

.hero-container {
	width: 100%;
	max-width: 1440px;
	align-self: flex-start;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	padding: 80px;
	background: var(--color-hero-bg);
	border-radius: 40px;
}

.col-left {
	flex: 0 1 524px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.hero-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 12px 8px 8px;
	background: var(--color-surface);
	border-radius: 24px;
	box-shadow: var(--shadow-lg);
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-paragraph);
	white-space: nowrap;
}

.chip img {
	width: 19px;
	height: 19px;
}

.hero-title {
	max-width: 472px;
	margin: 0;
	font-size: 56px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -2.24px;
	color: var(--color-heading);
}

.hero-title .highlight {
	color: var(--color-brand);
}

.hero-intro {
	max-width: 472px;
	margin: 0;
	font-size: 20px;
	line-height: 1.5;
	letter-spacing: -0.2px;
	color: var(--color-paragraph);
}

.info {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	background: var(--color-info-bg);
	border-radius: 24px;
}

.info li {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 16px;
	line-height: 1.3;
	color: var(--color-paragraph);
}

.info img {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
}

/* ---------- Form ---------- */
.col-right {
	flex: 0 1 632px;
	min-width: 0;
}

.form-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	padding: 24px;
	background: var(--color-surface);
	border-radius: 16px;
	box-shadow: var(--shadow-lg);
}

.form-row {
	display: flex;
	gap: 16px;
}

.form-row .form-group {
	flex: 1 1 0;
	min-width: 0;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
	color: var(--color-heading);
}

input,
select,
textarea {
	width: 100%;
	margin: 0;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	color: var(--color-heading);
	background: var(--color-surface);
	border: 1.6px solid var(--color-border);
	border-radius: 8px;
	outline: none;
	transition: border-color 0.2s;
}

input,
select {
	height: 48px;
	padding: 0 16px;
}

select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 42px;
	background: var(--color-surface) url('./assets/icon-chevron-down.svg') no-repeat right 12px center / 18px 18px;
	cursor: pointer;
}

select:invalid,
select:disabled {
	color: var(--color-support);
}

select:disabled {
	cursor: not-allowed;
}

select option {
	color: var(--color-heading);
}

textarea {
	height: 80px;
	padding: 8px 16px;
	border-width: 1.5px;
	resize: vertical;
}

input::placeholder,
textarea::placeholder {
	color: var(--color-support);
	opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--color-brand);
}

.btn-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	padding: 12px 16px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
	background: var(--color-brand);
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s, opacity 0.2s;
}

.btn-primary:hover {
	background: #154269;
}

.btn-primary:disabled {
	opacity: 0.5;
	cursor: wait;
}

.error-tooltip {
	display: none;
	font-size: 12px;
	line-height: 1.4;
	color: var(--color-error);
}

.input-error {
	border-color: var(--color-error) !important;
}

.success-card {
	align-items: center;
	text-align: center;
	padding: 40px 24px;
}

.success-card[hidden] {
	display: none;
}

.success-card h2 {
	margin: 8px 0 0;
	font-size: 24px;
	font-weight: 600;
	color: var(--color-heading);
}

.success-card p {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
}

/* ---------- Footer ---------- */
.site-footer {
	display: flex;
	justify-content: center;
	padding: 80px 24px;
	background: var(--color-footer-bg);
}

.footer-inner {
	width: 100%;
	max-width: 1280px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.footer-top,
.footer-bottom {
	display: flex;
	justify-content: space-between;
}

.footer-top {
	align-items: center;
}

.footer-bottom {
	align-items: flex-end;
}

.footer-logo {
	width: 254px;
	height: 64px;
}

.footer-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 16px;
	line-height: 1.4;
	color: var(--color-paragraph);
	white-space: nowrap;
	transition: color 0.2s;
}

.back-to-top img {
	width: 16px;
	height: 16px;
}

.copyright {
	margin: 0;
	font-size: 14px;
	line-height: normal;
	text-align: right;
	color: var(--color-paragraph);
}

/* Links legais do rodapé: Política de cookies + Arquivo para IAs (resumo do site para IAs). */
.footer-legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
}

/* ---------- Tablet (Figma 768) ---------- */
@media (max-width: 1023px) {
	.site-header {
		padding: 24px 24px 0;
	}

	.navbar {
		max-width: 720px;
		flex-direction: column;
		align-items: stretch;
		padding: 16px 24px;
	}

	.nav-top {
		height: 24px;
	}

	.nav-toggle {
		display: flex;
	}

	.nav-links {
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding-top: 32px;
	}

	.navbar.is-open .nav-links {
		display: flex;
	}

	.hero-section {
		padding: 96px 24px 80px;
	}

	.hero-container {
		max-width: 720px;
		padding: 16px 0;
		gap: 16px;
		background: transparent;
		border-radius: 0;
	}

	.col-left {
		flex: 0 1 352px;
		gap: 24px;
	}

	.col-right {
		flex: 0 1 352px;
	}

	.chip {
		padding: 4px 12px 4px 8px;
		border-radius: 16px;
		font-size: 12px;
	}

	.chip img {
		width: 16px;
		height: 16px;
	}

	.hero-title {
		font-size: 32px;
		letter-spacing: -1.28px;
	}

	.hero-intro {
		font-size: 16px;
		letter-spacing: 0;
	}

	.info {
		padding: 16px;
		border-radius: 16px;
	}

	.info li {
		font-size: 14px;
	}

	.info img {
		width: 24px;
		height: 24px;
	}

	.form-row {
		flex-direction: column;
	}

	.site-footer {
		padding: 40px 24px;
	}

	.footer-inner {
		align-items: center;
		gap: 32px;
	}

	.footer-top,
	.footer-bottom {
		display: contents;
	}

	.footer-logo {
		order: 1;
		width: 211px;
		height: 53.165px;
	}

	.copyright {
		order: 2;
		max-width: 363px;
		text-align: center;
	}

	.cookies {
		order: 3;
	}

	.footer-legal {
		justify-content: center;
	}

	.back-to-top {
		order: 4;
	}

	.footer-link {
		padding: 4px 0;
		font-size: 14px;
	}

	.back-to-top img {
		width: 14px;
		height: 14px;
	}
}

/* ---------- Mobile (Figma 360) ---------- */
@media (max-width: 719px) {
	.site-header {
		padding: 24px 16px 0;
	}

	.navbar {
		padding: 18px 24px;
	}

	.hero-section {
		padding: 96px 0 80px;
	}

	.hero-container {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
		padding: 16px;
	}

	.col-left,
	.col-right {
		flex: 0 0 auto;
	}

	.hero-title {
		letter-spacing: -0.64px;
	}

	.hero-intro {
		line-height: 1.4;
	}

	.site-footer {
		padding: 48px 16px;
		border-radius: 8px 8px 0 0;
	}

	.footer-logo {
		width: 169px;
		height: 42.583px;
	}

	.copyright {
		max-width: none;
		font-size: 12px;
		line-height: 1.6;
	}
}
