/* =========================
	CONTAINER PRINCIPAL
========================= */

.contact-container {
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: 42% 58%;
	background: #fff;
}

/* =========================
	PARTIE GAUCHE
========================= */

.contact-info {
	position: relative;
	overflow: hidden;
	background: linear-gradient(
			135deg,
			#718878 0%,
			#536F5C 50%,
			#354F40 100%
	);

	color: white;
	padding: 0px 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 650px;
}

/* Cercles décoratifs */

.contact-info::before {
	content: "";
	position: absolute;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: rgba(17, 29, 73, 0.4);
	top: -200px;
	left: -200px;
}

.contact-info::after {
	content: "";
	position: absolute;
	width: 350px;
	height: 350px;
	border-radius: 50%;
	background: rgba(17, 29, 73, 0.2);
	bottom: -220px;
	right: -180px;
}

.contact-content {
	position: relative;
	z-index: 2;
}

/* Icône enveloppe */

.mail-icon {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 30px;
}

.mail-icon svg {
	width: 38px;
	height: 38px;
	stroke: white;
	fill: none;
	stroke-width: 1.8;
}

/* Titre */

.contact-info h1 {
	font-size: clamp(28px, 4vw, 48px);
	line-height: 1.08;
	font-weight: 700;
	margin-bottom: 25px;
	letter-spacing: -1.5px;
}

.contact-info > .contact-content > p {
	font-size: 20px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	max-width: 450px;
	margin-bottom: 40px;
}

/* Liste */

.benefits {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.benefits li {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 17px;
	color: rgba(255, 255, 255, 0.92);
}

.check {
	width: 31px;
	height: 31px;
	border: 2px solid white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.check svg {
	width: 17px;
	height: 17px;
	stroke: white;
	fill: none;
	stroke-width: 2.5;
}

/* Style pour le lien LinkedIn */
.social-links {
    margin-top: 20px;
    text-align: center;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    padding: 10px 15px;
    border-radius: 8px;
    background: var(--blue-light);
}

.linkedin-link:hover {
    color: var(--blue-dark);
    background: var(--blue-soft);
}

.linkedin-link svg {
    fill: currentColor; /* Utilise la couleur du texte */
}

/* =========================
	PARTIE DROITE
========================= */

.contact-form {
	background: #fff;
	padding: 50px 55px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.form-group {
	margin-bottom: 25px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
}

label {
	display: block;
	font-size: 17px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 9px;
}

.required {
	color: #e32626;
}

input,
textarea {
	width: 100%;
	border: 1px solid #cbd5e5;
	border-radius: 10px;
	background: #fff;
	color: #222;
	font-family: inherit;
	font-size: 15px;
	padding: 16px;
	outline: none;
	transition: all 0.2s ease;
}

input {
	height: 30px;
}

textarea {
	height: 155px;
	resize: vertical;
	min-height: 120px;
}

input::placeholder,
textarea::placeholder {
	color: #8a96ad;
}

input:focus,
textarea:focus {
	border-color: #2368d1;
	box-shadow: 0 0 0 3px rgba(35, 104, 209, 0.12);
}

.success {
	text-align: center;
	margin-bottom: 10px;
	color: #1760c6;
	font-size: 18px;
}

.error {
	text-align: center;
	margin-bottom: 10px;
	color: red;
	font-size: 18px;
}

/* =========================
	BOUTON
========================= */

.submit-button {
	width: 100%;
	height: 64px;
	border: none;
	border-radius: 10px;
	background: linear-gradient(
		90deg,
		#1760c6,
		#2369d0
	);
	color: white;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.3px;
	cursor: pointer;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;

	transition:
        background-color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
}

.submit-button:hover {
	background: linear-gradient(
        90deg,
        #1250ad,
        #1c5fc2
    );

    box-shadow:
        0 10px 24px rgba(23, 96, 198, 0.28);
}

.submit-button svg {
	width: 22px;
	height: 22px;
	stroke: white;
	fill: none;
	stroke-width: 1.8;
}

/* =========================
	TABLETTE
========================= */

@media (max-width: 950px) and (min-width: 769px) {

	.contact-container {
		grid-template-columns: 40% 60%;
	}

	.contact-info {
		padding: 50px 35px;
	}

	.contact-info h1 {
		font-size: 42px;
	}

	.contact-info > .contact-content > p {
		font-size: 17px;
	}

	.contact-form {
		padding: 45px 35px;
	}
}

/* =========================
	MOBILE
========================= */

@media (max-width: 768px) {

	body {
		align-items: flex-start;
	}

	.contact-container {
		display: block;
	}

	/*
		* Sur mobile :
		* le panneau de gauche est masqué
		*/
	.contact-info {
		display: none;
	}

	/*.contact-form {
		padding: 35px 25px;
	}*/

	.form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	input {
		height: 56px;
	}

	textarea {
		min-height: 140px;
	}

	.submit-button {
		height: 58px;
		display: flex;
		flex-direction: row;
		gap: 15px;
		margin-bottom: 20px;
		background-color: #4a90e2;
		color: white;
		transition: background-color 0.3s;
	}

	.submit-button:hover {
		background-color: #3a7bc8;
	}
}

/* =========================
	PETITS MOBILES
========================= */

@media (max-width: 480px) {

	.contact-container {
		border-radius: 12px;
	}

	.contact-form {
		padding: 25px 18px;
	}

	label {
		font-size: 15px;
	}

	input,
	textarea {
		font-size: 16px;
	}

	.form-group {
		margin-bottom: 20px;
	}
}