/**
 * Pagina "Abra sua empresa" — hero de 2 colunas + card de diagnostico/formulario.
 * Tokens alinhados ao theme.json/hero-slider.css da AR.
 */

.arsv-oc {
	background: linear-gradient(180deg, #ffffff 0%, #f3f9fc 100%);
	padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
}

.arsv-oc__inner {
	box-sizing: border-box;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 5.5fr 6.5fr;
	gap: clamp(32px, 5vw, 56px);
	align-items: start;
}

/* ------ Coluna esquerda: proposta de valor ------ */

.arsv-oc__eyebrow {
	display: inline-block;
	margin: 0 0 16px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #e8f5f9;
	color: #176084;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.arsv-oc__title {
	margin: 0 0 18px;
	color: #173b50;
	font-size: clamp(28px, 3.4vw, 42px);
	line-height: 1.15;
	font-weight: 800;
}

.arsv-oc__title .arsv-hl {
	font-style: normal;
	color: #176084;
	background: linear-gradient(transparent 62%, rgba(7, 182, 194, 0.35) 62%);
}

.arsv-oc__lead {
	margin: 0 0 24px;
	color: #56707f;
	font-size: 17px;
	line-height: 1.6;
}

.arsv-oc__checks {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	gap: 14px;
}

.arsv-oc__checks li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	color: #173b50;
	font-size: 15px;
	line-height: 1.5;
}

.arsv-oc__checks svg {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: #07b6c2;
}

.arsv-oc__visual {
	position: relative;
}

.arsv-oc__figure {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgb(23 59 80 / 12%);
}

.arsv-oc__motif {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.arsv-oc__motif i {
	position: absolute;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #07b6c2;
	opacity: 0.5;
}

.arsv-oc__motif i:nth-child(1) { top: 18px; left: 24px; }
.arsv-oc__motif i:nth-child(2) { top: 18px; left: 48px; background: #299abd; }
.arsv-oc__motif i:nth-child(3) { top: 42px; left: 24px; background: #8ec4d9; }
.arsv-oc__motif i:nth-child(4) { top: 42px; left: 48px; background: #176084; }

.arsv-oc__img {
	display: block;
	width: 100%;
	height: auto;
	/* arte fonte e quadrada (1200x1200): 1/1 mostra a composicao inteira */
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.arsv-oc__card-mini {
	position: absolute;
	right: 18px;
	bottom: 18px;
	z-index: 2;
	display: grid;
	gap: 2px;
	max-width: min(78%, 320px);
	padding: 12px 18px;
	border-radius: 14px;
	background: rgb(255 255 255 / 92%);
	backdrop-filter: blur(6px);
	box-shadow: 0 10px 26px rgb(23 59 80 / 14%);
	font-size: 13px;
	color: #56707f;
}

.arsv-oc__card-mini strong {
	color: #176084;
	font-size: 14px;
}

/* ------ Coluna direita: card de diagnostico + formulario ------ */

.arsv-oc__panel-card {
	background: #fff;
	border: 1px solid rgb(142 196 217 / 45%);
	border-radius: 24px;
	box-shadow: 0 20px 50px rgb(23 59 80 / 10%);
	padding: clamp(20px, 3vw, 32px);
}

.arsv-oc__panel-title {
	margin: 0 0 6px;
	color: #173b50;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
}

.arsv-oc__panel-sub {
	margin: 0 0 20px;
	color: #56707f;
	font-size: 14px;
	line-height: 1.55;
}

.arsv-oc__form {
	display: grid;
	gap: 18px;
}

.arsv-oc__group {
	margin: 0;
	padding: 0;
	border: 0;
}

.arsv-oc__legend {
	margin-bottom: 8px;
	color: #173b50;
	font-size: 13px;
	font-weight: 700;
}

.arsv-oc__pills {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.arsv-oc__pills--2 {
	grid-template-columns: repeat(2, 1fr);
}

.arsv-oc__pills--3 {
	grid-template-columns: repeat(3, 1fr);
}

.arsv-oc__pills--4 {
	grid-template-columns: repeat(2, 1fr);
}

.arsv-oc__pill {
	position: relative;
	display: flex;
	cursor: pointer;
}

.arsv-oc__pill input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.arsv-oc__pill-text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #8ec4d9;
	border-radius: 999px;
	background: #fff;
	color: #173b50;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.arsv-oc__pill:hover .arsv-oc__pill-text {
	border-color: #299abd;
	background: #f3f9fc;
}

.arsv-oc__pill input:checked + .arsv-oc__pill-text {
	background: #176084;
	border-color: #176084;
	color: #fff;
	box-shadow: 0 6px 14px rgba(23, 96, 132, 0.25);
}

.arsv-oc__pill input:focus-visible + .arsv-oc__pill-text {
	outline: 2px solid #07b6c2;
	outline-offset: 2px;
}

/* ------ Diagnostico preliminar ------ */

.arsv-oc__diag {
	padding: 16px 18px;
	border-left: 4px solid #07b6c2;
	border-radius: 12px;
	background: #f3f9fc;
}

.arsv-oc__diag-badge {
	display: inline-block;
	margin-bottom: 8px;
	padding: 3px 10px;
	border-radius: 999px;
	background: #07b6c2;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.arsv-oc__diag-title {
	display: block;
	margin-bottom: 6px;
	color: #176084;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
}

.arsv-oc__diag-text {
	margin: 0 0 10px;
	color: #173b50;
	font-size: 14px;
	line-height: 1.55;
}

.arsv-oc__diag-docs {
	margin: 0 0 8px;
	color: #56707f;
	font-size: 12.5px;
	line-height: 1.55;
}

.arsv-oc__diag-note {
	margin: 0;
	padding-top: 8px;
	border-top: 1px dashed #8ec4d9;
	color: #56707f;
	font-size: 12px;
	font-style: italic;
	line-height: 1.5;
}

/* ------ Campos ------ */

.arsv-oc__grid {
	display: grid;
	gap: 14px;
}

.arsv-oc__grid--2 {
	grid-template-columns: 1fr 1fr;
}

.arsv-oc__field {
	display: grid;
	gap: 6px;
}

.arsv-oc__label {
	color: #173b50;
	font-size: 13px;
	font-weight: 700;
}

.arsv-oc__label span {
	color: #07b6c2;
}

.arsv-oc__input {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #8ec4d9;
	border-radius: 12px;
	background: #fff;
	color: #173b50;
	font-size: 15px;
	font-family: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.arsv-oc__input::placeholder {
	color: #8fa8b5;
}

.arsv-oc__input:focus {
	border-color: #299abd;
	outline: 2px solid rgb(7 182 194 / 30%);
	outline-offset: 0;
}

.arsv-oc__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.arsv-oc__consent {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.55;
	color: #56707f;
}

.arsv-oc__consent label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	cursor: pointer;
}

.arsv-oc__consent input {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	accent-color: #176084;
}

.arsv-oc__consent a {
	color: #176084;
	font-weight: 700;
}

.arsv-oc__alert {
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #f0c8c8;
	border-left: 4px solid #c0392b;
	border-radius: 10px;
	background: #fdf3f3;
	color: #8c2f24;
	font-size: 13.5px;
	line-height: 1.5;
}

/* ------ Botoes e estados ------ */

.arsv-oc__submit {
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	padding: 14px 24px;
	border: 0;
	border-radius: 999px;
	background: #176084;
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.arsv-oc__submit:hover {
	background: #0f4257;
}

.arsv-oc__submit:focus-visible {
	outline: 3px solid #07b6c2;
	outline-offset: 2px;
}

.arsv-oc__submit[disabled] {
	opacity: 0.7;
	cursor: wait;
}

.arsv-oc__alt {
	margin: 0;
	text-align: center;
	color: #56707f;
	font-size: 13.5px;
}

.arsv-oc__alt a {
	color: #176084;
	font-weight: 700;
}

/* ------ Sucesso ------ */

.arsv-oc__success {
	display: grid;
	justify-items: center;
	gap: 12px;
	padding: 24px 8px;
	text-align: center;
}

.arsv-oc__success[hidden] {
	display: none;
}

.arsv-oc__success > svg {
	width: 56px;
	height: 56px;
	color: #07b6c2;
}

.arsv-oc__success-title {
	margin: 0;
	color: #173b50;
	font-size: 22px;
	font-weight: 800;
}

.arsv-oc__success p {
	margin: 0;
	max-width: 42ch;
	color: #56707f;
	font-size: 14.5px;
	line-height: 1.6;
}

.arsv-oc__wa {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	max-width: 100%;
	padding: 13px 26px;
	border-radius: 999px;
	background: #07b6c2;
	color: #fff;
	font-size: 15.5px;
	font-weight: 800;
	text-decoration: none;
	transition: background 0.2s ease;
}

.arsv-oc__wa:hover {
	background: #176084;
	color: #fff;
}

.arsv-oc__wa svg {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
}

.arsv-oc__formwrap[hidden] {
	display: none;
}

/* ------ Responsivo ------ */

@media (max-width: 999px) {
	.arsv-oc__inner {
		grid-template-columns: 1fr;
	}

	.arsv-oc__visual {
		max-width: 560px;
	}
}

@media (max-width: 640px) {
	.arsv-oc__inner {
		padding: 0 16px;
	}

	.arsv-oc__grid--2 {
		grid-template-columns: 1fr;
	}

	.arsv-oc__pills--2,
	.arsv-oc__pills--3,
	.arsv-oc__pills--4 {
		grid-template-columns: 1fr;
	}

	.arsv-oc__pill-text {
		min-height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.arsv-oc *,
	.arsv-oc *::before,
	.arsv-oc *::after {
		transition: none !important;
	}
}
