:root {
	--lcr-background: #fafafa;
	--lcr-foreground: #202326;
	--lcr-card: #ffffff;
	--lcr-primary: #1f6f55;
	--lcr-primary-dark: #185541;
	--lcr-secondary: #eef3f1;
	--lcr-muted-text: #70767a;
	--lcr-border: #e4e7e6;
	--lcr-danger: #b42318;
	--lcr-danger-bg: #fff4f2;
	--lcr-heading: "Plus Jakarta Sans", system-ui, sans-serif;
	--lcr-body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

/* Override stili globali del tema */
.lcr-body h1  { font-size: clamp(2.2rem, 6vw, 3rem) !important; font-weight: 900 !important; line-height: .95 !important; color: var(--lcr-foreground) !important; margin: 0 !important; }
.lcr-body p   { margin-bottom: 0; }
.lcr-body ul  { list-style: none; padding: 0; margin: 0; }
.lcr-body a   { color: inherit; text-decoration: none; }
.lcr-body button { font-family: inherit; }

body.lcr-body {
	margin: 0;
	background: var(--lcr-background);
	color: var(--lcr-foreground);
	font-family: var(--lcr-body);
	-webkit-font-smoothing: antialiased;
}
.lcr-body a { color: inherit; }

/* ── LAYOUT ── */
.lcr-page {
	display: grid;
	grid-template-columns: 3fr 2fr;
	min-height: 100vh;
}

.lcr-form-side {
	display: flex;
	flex-direction: column;
	padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.5rem, 5vw, 4rem);
	background: var(--lcr-background);
}

/* ── BRAND ── */
.lcr-brand {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
	text-decoration: none;
}
.lcr-brand img { display: block; width: 148px; height: auto; }

/* ── CARD ── */
.lcr-card {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	width: min(100%, 28rem);
	margin: 0 auto;
}

/* ── EYEBROW / TITLE / INTRO ── */
.lcr-eyebrow {
	margin: 0 0 .75rem;
	color: var(--lcr-primary);
	font-family: var(--lcr-heading);
	font-size: .73rem;
	font-weight: 800;
	letter-spacing: .2em;
	text-transform: uppercase;
}
.lcr-title {
	margin: 0 0 .65rem !important;
	color: var(--lcr-foreground) !important;
	font-family: var(--lcr-heading) !important;
	font-size: clamp(2.2rem, 6vw, 3rem) !important;
	font-weight: 900 !important;
	line-height: .95 !important;
}
.lcr-title em { color: var(--lcr-primary) !important; font-style: italic !important; font-weight: 500 !important; }
.lcr-intro {
	margin: 0 0 1.25rem;
	color: var(--lcr-muted-text);
	font-size: .95rem;
	line-height: 1.6;
}

/* ── SEGMENT (privato / azienda) ── */
.lcr-segment {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .5rem;
	margin-bottom: 1.25rem;
	padding: .35rem;
	border: 1.5px solid var(--lcr-border);
	border-radius: 10px;
	background: var(--lcr-card);
}
.lcr-segment button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	padding: .6rem .5rem;
	border: none;
	border-radius: 7px;
	background: transparent;
	color: var(--lcr-muted-text);
	font: inherit;
	font-size: .88rem;
	font-weight: 600;
	cursor: pointer;
	transition: background .18s, color .18s;
}
.lcr-segment button svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.lcr-segment button.is-active {
	background: var(--lcr-foreground) !important;
	color: #fff !important;
}

/* ── GOOGLE ── */
.lcr-google {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .75rem;
	width: 100%;
	height: 3rem;
	margin-bottom: 0;
	border: 1px solid var(--lcr-border);
	border-radius: 8px;
	background: var(--lcr-card);
	color: var(--lcr-foreground);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s;
}
.lcr-google:hover { background: var(--lcr-secondary); }
.lcr-google__icon { width: 1.2rem; height: 1.2rem; flex-shrink: 0; }

/* ── SEPARATOR ── */
.lcr-separator {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: .75rem;
	margin: 1rem 0;
}
.lcr-separator span { height: 1px; background: var(--lcr-border); }
.lcr-separator strong {
	color: var(--lcr-muted-text);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* ── NOTICE ── */
.lcr-notice {
	margin-bottom: 1rem;
	padding: .85rem 1rem;
	border-radius: .75rem;
	font-size: .92rem;
	font-weight: 600;
	line-height: 1.5;
}
.lcr-notice--error {
	border: 1px solid color-mix(in srgb, var(--lcr-danger) 24%, transparent);
	background: var(--lcr-danger-bg);
	color: var(--lcr-danger);
}
.lcr-notice--success {
	border: 1px solid color-mix(in srgb, var(--lcr-primary) 24%, transparent);
	background: color-mix(in srgb, var(--lcr-primary) 8%, white);
	color: var(--lcr-primary-dark);
}

/* ── FORM ── */
.lcr-form { display: grid; gap: .85rem; }

.lcr-grid--two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .75rem;
}

/* ── COMPANY SECTION ── */
.lcr-company {
	padding: 1rem;
	border: 1.5px solid var(--lcr-border);
	border-radius: 10px;
	background: color-mix(in srgb, var(--lcr-primary) 4%, white);
	display: grid;
	gap: .75rem;
}
.lcr-company[hidden] { display: none; }
.lcr-company__label {
	margin: 0;
	color: var(--lcr-primary);
	font-size: .73rem;
	font-weight: 800;
	letter-spacing: .15em;
	text-transform: uppercase;
}

/* ── FIELD ── */
.lcr-field {
	display: grid;
	gap: .4rem;
	color: var(--lcr-foreground);
	font-size: .88rem;
	font-weight: 600;
}
.lcr-field span { display: block; }

/* ── INPUT WRAP ── */
.lcr-input-wrap {
	position: relative;
	display: block;
}
.lcr-input-wrap > svg {
	position: absolute;
	top: 50%;
	left: .9rem;
	width: 1rem;
	height: 1rem;
	color: var(--lcr-muted-text);
	transform: translateY(-50%);
	pointer-events: none;
}
.lcr-field input[type="text"],
.lcr-field input[type="email"],
.lcr-field input[type="password"],
.lcr-field input[type="tel"],
.lcr-input-wrap input {
	width: 100%;
	height: 2.9rem;
	padding: 0 1rem;
	border: 1.5px solid var(--lcr-border);
	border-radius: 8px;
	background: var(--lcr-card);
	color: var(--lcr-foreground);
	font: inherit;
	font-size: .93rem;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}
/* Input CON icona: padding sinistro maggiore per non sovrapporsi */
.lcr-input-wrap input[type="text"],
.lcr-input-wrap input[type="email"],
.lcr-input-wrap input[type="password"],
.lcr-input-wrap input[type="tel"] {
	padding: 0 2.75rem 0 3.2rem;
}
.lcr-field input:focus,
.lcr-input-wrap input:focus {
	border-color: var(--lcr-primary);
	box-shadow: 0 0 0 3px rgba(31,111,85,.12);
}

/* ── EYE TOGGLE ── */
.lcr-eye {
	position: absolute;
	top: 50%;
	right: .75rem;
	display: grid;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--lcr-muted-text);
	cursor: pointer;
	place-items: center;
	transform: translateY(-50%);
}
.lcr-eye:hover { color: var(--lcr-foreground); }
.lcr-eye svg { width: 1rem; height: 1rem; }
.lcr-eye__hide,
.lcr-eye.is-visible .lcr-eye__show { display: none; }
.lcr-eye.is-visible .lcr-eye__hide { display: block; }

/* ── CHECKS ── */
.lcr-checks { display: grid; gap: .6rem; }
.lcr-check {
	display: flex;
	align-items: flex-start;
	gap: .55rem;
	color: var(--lcr-muted-text);
	font-size: .84rem;
	cursor: pointer;
	line-height: 1.5;
}
.lcr-check input[type="checkbox"] {
	width: 1rem;
	height: 1rem;
	margin-top: .18rem;
	flex-shrink: 0;
	accent-color: var(--lcr-primary);
}
.lcr-check a {
	color: var(--lcr-primary);
	font-weight: 700;
	text-decoration: none;
}
.lcr-check a:hover { text-decoration: underline; }

/* ── SUBMIT ── */
.lcr-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	width: 100%;
	height: 3rem;
	margin-top: .15rem;
	border: none;
	border-radius: 8px;
	background: var(--lcr-primary);
	color: #fff;
	font: inherit;
	font-family: var(--lcr-heading);
	font-weight: 700;
	cursor: pointer;
	transition: background .2s, transform .2s;
}
.lcr-submit:hover { background: var(--lcr-primary-dark); transform: translateY(-1px); }
.lcr-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.lcr-submit svg { width: 1rem; height: 1rem; }

/* ── LOGIN / HOME ── */
.lcr-login,
.lcr-home-link {
	margin: 1rem 0 0;
	color: var(--lcr-muted-text);
	font-size: .88rem;
	text-align: center;
}
.lcr-login a { color: var(--lcr-primary); font-weight: 700; text-decoration: none; }
.lcr-login a:hover { text-decoration: underline; }
.lcr-home-link a { text-decoration: none; }
.lcr-home-link a:hover { color: var(--lcr-foreground); }

/* ── EDITORIAL SIDE ── */
.lcr-editorial {
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	overflow: hidden;
}
.lcr-editorial__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.lcr-editorial__wash {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(10, 18, 14, .85) 0%,
		rgba(10, 18, 14, .48) 50%,
		rgba(10, 18, 14, .22) 100%
	);
	pointer-events: none;
}
.lcr-editorial__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	padding: clamp(2.5rem, 5vw, 4rem);
	gap: 2rem;
}

/* ── QUOTE ── */
.lcr-quote { display: grid; gap: .75rem; }
.lcr-quote__marks {
	font-family: Georgia, serif;
	font-size: 4rem;
	line-height: .6;
	color: rgba(255,255,255,.5);
	user-select: none;
}
.lcr-quote blockquote {
	margin: 0;
	color: #fff;
	font-family: var(--lcr-heading);
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	font-weight: 700;
	line-height: 1.35;
}

/* ── BENEFITS LIST ── */
.lcr-benefits {
	list-style: none;
	padding: 0;
	margin: 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255,255,255,.2);
	display: grid;
	gap: .65rem;
}
.lcr-benefits li {
	display: flex;
	align-items: center;
	gap: .6rem;
	color: rgba(255,255,255,.88);
	font-size: .92rem;
	font-weight: 500;
}
.lcr-benefits svg {
	width: .95rem;
	height: .95rem;
	flex-shrink: 0;
	color: #6ee7b7;
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
	.lcr-page { grid-template-columns: 1fr; }
	.lcr-editorial { display: none; }
}
@media (max-width: 540px) {
	.lcr-form-side { padding: 1.5rem; }
	.lcr-grid--two { grid-template-columns: 1fr; }
	.lcr-title { font-size: 2.1rem; }
}
