/**
 * Agence Page Styles
 *
 * @package Immobilier_Moillen
 */

.page-agence {
	padding: 0;
}

/* Hero Section */
.agence-hero-section {
	position: relative;
	width: 100%;
	height: 600px;
	overflow: hidden;
}

.agence-hero-image {
	position: relative;
	width: 100%;
	height: 100%;
}

.agence-hero-image .hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.agence-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 1;
}

/* Main Content Section */
.agence-content-section {
	padding: calc(var(--spacing-unit) * 8) 0;
	background-color: var(--white);
}

.agence-content-grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: calc(var(--spacing-unit) * 6);
	align-items: start;
}

.agence-title-column {
	display: flex;
	align-items: flex-start;
}

.agence-title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary-color);
	line-height: 1.1;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.agence-title-line {
	display: block;
}

.agence-title-accent {
	color: var(--red-accent);
	position: relative;
	display: inline-block;
}

.agence-title-accent::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 4px;
	background-color: var(--red-accent);
}

.agence-description-column {
	position: relative;
}

.agence-description-wrapper {
	position: relative;
}

.agence-bracket {
	position: absolute;
	font-size: 4rem;
	font-weight: 700;
	color: var(--primary-color);
	line-height: 1;
	font-family: serif;
}

.agence-bracket-left {
	top: 0;
	left: calc(var(--spacing-unit) * -3);
}

.agence-bracket-right {
	bottom: 0;
	right: calc(var(--spacing-unit) * -3);
}

.agence-description {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--text-color);
}

.agence-description p {
	margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.agence-description p:last-child {
	margin-bottom: 0;
}

.agence-description strong {
	color: var(--primary-color);
	font-weight: 600;
}

.agence-bracket.agence-bracket-left:before {
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    top: -10px;
    left: -10px;
    border-top: 3px solid #000;
    border-left: 3px solid #000;
}

.agence-bracket.agence-bracket-right:before {
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: -10px;
    right: -10px;
    border-bottom: 3px solid #000;
    border-right: 3px solid #000;
}

/* Contact CTA Section */
.agence-contact-section {
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: var(--primary-color);
}

.agence-contact-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
}

.agence-contact-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(var(--spacing-unit) * 2);
}

.agence-contact-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--white);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0;
}

.agence-contact-button {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background-color: var(--white);
	color: var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.agence-contact-button:hover {
	background-color: var(--red-accent);
	color: var(--white);
	transform: scale(1.1);
}

.contact-button-icon {
	font-size: 2rem;
    font-weight: 300;
    line-height: normal;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding-bottom: 3px;
}

/* Additional Content Section */
.agence-additional-content {
	padding: calc(var(--spacing-unit) * 5) 0;
	background-color: var(--white);
}

.agence-content-text {
	max-width: 800px;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.8;
	color: var(--text-color);
}

/* Responsive */
@media (max-width: 1024px) {
	.agence-title {
		font-size: 2rem;
	}

	.agence-content-grid {
		gap: calc(var(--spacing-unit) * 4);
	}
}

@media (max-width: 768px) {
	.agence-content-section {
		padding: calc(var(--spacing-unit) * 5) 0;
	}

	.agence-content-grid {
		grid-template-columns: 1fr;
		gap: calc(var(--spacing-unit) * 4);
	}

	.agence-title {
		font-size: 1.5rem;
	}

	.agence-bracket {
		font-size: 3rem;
	}

	.agence-bracket-left {
		left: calc(var(--spacing-unit) * -2);
	}

	.agence-bracket-right {
		right: calc(var(--spacing-unit) * -2);
	}

	.agence-contact-section {
		height: 400px;
	}

	.agence-contact-title {
		font-size: 2rem;
	}

	.agence-contact-content {
		flex-direction: column;
		gap: calc(var(--spacing-unit) * 1.5);
	}

	.agence-contact-button {
		width: 50px;
		height: 50px;
	}

	.contact-button-icon {
		font-size: 1.5rem;
	}
}

@media (max-width: 480px) {
	.agence-title {
		font-size: 2.5rem;
	}

	.agence-contact-title {
		font-size: 1.5rem;
	}
}

