/**
 * Home page — charte 2026 (accueil v4).
 */

.photo-slot {
	position: relative;
	background: linear-gradient(150deg, var(--jade-mid) 0%, var(--jade-deep) 100%);
	overflow: hidden;
}

.photo-slot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.btn-devis {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--gold);
	color: var(--jade-deep);
	padding: 12px 22px;
	border-radius: 2px;
	text-decoration: none;
	display: inline-block;
	font-weight: 600;
	transition: background-color 0.15s ease;
}

.btn-devis:hover {
	background: var(--gold-soft);
}

.btn-outline {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: none;
	padding: 11px 21px;
	border-radius: 2px;
	text-decoration: none;
	border: 1px solid currentColor;
	display: inline-block;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-outline:hover {
	background: rgba(251, 248, 240, 0.12);
}

/* Hero */
.home-hero {
	position: relative;
	padding: 4.75rem 0 3.5rem;
	overflow: hidden;
	background: var(--jade-deep);
}

.home-hero--photo {
	min-height: 40rem;
	display: flex;
	align-items: center;
	padding: 7.5rem 0 4.5rem;
	background-color: var(--jade-deep);
	background-image: url('../images/public/hero-bg.jpg');
	background-size: cover;
	background-position: center center;
}

.home-hero--photo::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		180deg,
		rgba(27, 50, 56, 0.25) 0%,
		rgba(27, 50, 56, 0.5) 50%,
		rgba(27, 50, 56, 0.92) 100%
	);
}

.home-hero .wrap {
	position: relative;
	z-index: 2;
}

.home-hero--photo .wrap {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.home-hero__title {
	font-family: var(--font-display);
	font-weight: 800;
	font-style: italic;
	font-size: clamp(4.375rem, 10.5vw, 9.375rem);
	line-height: 0.8;
	letter-spacing: -0.03em;
	margin: 0 0 0.4em -4px;
	color: var(--white);
	text-align: center;
}

.home-hero--photo .home-hero__title {
	font-size: clamp(3.5rem, 8vw, 7.5rem);
	margin-bottom: 0.2em;
	margin-left: 0;
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.home-hero__concept {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.0625rem, 1.9vw, 1.5rem);
	color: var(--white);
	margin: 0;
	line-height: 1.3;
}

.home-hero--photo .home-hero__concept {
	white-space: normal;
	max-width: 40rem;
}

.home-hero__concept span {
	color: var(--jade-deep);
	background: var(--gold);
	padding: 2px 10px;
	border-radius: 3px;
	font-weight: 700;
	display: inline-block;
}

.home-hero__lead {
	max-width: 30rem;
	margin-top: 1.375rem;
	font-size: 1rem;
	color: rgba(251, 248, 240, 0.72);
}

.home-hero--photo .home-hero__lead {
	max-width: 35rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	color: rgba(251, 248, 240, 0.85);
}

.home-search {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	background: var(--white);
	border-radius: 6px;
	padding: 8px;
	margin-top: 1.625rem;
	max-width: 37.5rem;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.home-hero--photo .home-search {
	margin-left: auto;
	margin-right: auto;
}

.home-search select {
	flex: 1 1 12rem;
	min-width: 0;
	border: none;
	outline: none;
	font-family: var(--font-body);
	font-size: 0.90625rem;
	padding: 10px 14px;
	background: none;
	color: var(--ink);
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%234A4739'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	cursor: pointer;
}

.home-search select:invalid {
	color: #6b6a5f;
}

.home-search__cta {
	background: var(--jade-deep);
	color: var(--white);
	font-family: var(--font-mono);
	font-size: 0.75rem;
	padding: 0 18px;
	border-radius: 4px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	min-height: 44px;
	transition: background-color 0.15s ease;
}

.home-search__cta:hover {
	background: var(--jade-mid);
}

/* Sections */
.home-section {
	padding: 5rem 0;
}

.home-section__head {
	margin-bottom: 2rem;
}

.home-section__head h2 {
	font-size: clamp(1.625rem, 3.4vw, 2.375rem);
	margin: 0;
}

.home-section__head p {
	color: var(--ink-soft);
	margin-top: 0.5rem;
	font-size: 0.9375rem;
	max-width: 32.5rem;
}

.brand-badge {
	font-family: var(--font-mono);
	font-weight: 600;
	font-style: italic;
	font-size: 1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--gold);
	color: var(--jade-deep);
	display: inline-block;
	padding: 12px 44px;
	border-radius: 6px;
	margin-bottom: 1.125rem;
}

/* Bento removed — see intro, themes, circuits, agents sections */

/* Intro */
.home-intro {
	padding: 3.5rem 0 1rem;
	text-align: center;
}

.home-intro__icon {
	margin: 0 auto 1rem;
}

.home-intro__title {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	margin: 0 0 0.5rem;
}

.home-intro__subtitle {
	font-family: var(--font-mono);
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--clay);
	margin: 0 0 1rem;
}

.home-intro__text {
	max-width: 40rem;
	margin: 0 auto;
	color: var(--ink-soft);
	font-size: 1rem;
}

/* Section toolbar */
.home-section__toolbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.home-section__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0;
}

.home-section__link {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--jade-mid);
	text-decoration: none;
}

.home-section__link:hover {
	color: var(--clay);
}

/* Carousel */
.home-carousel {
	position: relative;
}

.home-carousel__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 0.5rem;
}

.home-carousel__track::-webkit-scrollbar {
	display: none;
}

.home-carousel__card {
	flex: 0 0 280px;
	scroll-snap-align: start;
	text-decoration: none;
	color: inherit;
}

.home-carousel__media {
	height: 328px;
	border-radius: 4px;
}

.home-carousel__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-carousel__label {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.0625rem;
	margin: 0.75rem 0 0;
}

.home-carousel__nav {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 0.75rem;
}

.home-carousel__btn {
	width: 40px;
	height: 40px;
	border: 1px solid rgba(28, 27, 22, 0.15);
	background: var(--white);
	color: var(--jade-deep);
	font-family: var(--font-mono);
	cursor: pointer;
}

.home-themes,
.home-countries-carousel {
	padding-top: 2.5rem;
}

/* Circuits grid */
.home-circuits-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.home-circuit-card {
	background: var(--white);
	border: 1px solid rgba(28, 27, 22, 0.1);
	display: flex;
	flex-direction: column;
}

.home-circuit-card.is-featured {
	grid-column: span 2;
	grid-row: span 2;
}

.home-circuit-card__media {
	display: block;
	min-height: 180px;
}

.home-circuit-card.is-featured .home-circuit-card__media {
	min-height: 280px;
}

.home-circuit-card__body {
	padding: 16px;
}

.home-circuit-card__country {
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--clay);
	margin: 0 0 0.35rem;
}

.home-circuit-card__title {
	font-size: 1.0625rem;
	margin: 0 0 0.35rem;
}

.home-circuit-card__title a {
	color: inherit;
	text-decoration: none;
}

.home-circuit-card__theme {
	font-size: 0.875rem;
	color: var(--ink-soft);
	margin: 0 0 0.75rem;
}

.home-circuit-card__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--jade-mid);
}

/* Concept split */
.home-concept-split {
	background: var(--mist);
	padding: 4rem 0;
}

.home-concept-split__grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 2rem;
	align-items: stretch;
}

.home-concept-split__main {
	background: var(--white);
	border: 1px solid rgba(28, 27, 22, 0.08);
	padding: 2rem;
}

.home-concept-split__picto {
	margin-bottom: 1rem;
}

.home-concept-split__content p {
	margin: 0 0 1rem;
	color: var(--ink-soft);
}

.home-concept-split__aside {
	background: var(--jade-deep);
	color: var(--paper);
	padding: 2rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.home-concept-split__heart {
	width: 88px;
	height: auto;
}

/* Agents */
.home-agents {
	padding: 4.5rem 0;
	background: var(--white);
}

.home-agents__grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 2rem;
	align-items: start;
}

.home-agents__intro h2 {
	font-size: clamp(1.5rem, 3vw, 2.125rem);
	margin: 0 0 1rem;
}

.home-agents__text {
	color: var(--ink-soft);
	margin-bottom: 1.25rem;
}

.home-agents__actions {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.home-agents__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.home-agent-card {
	display: block;
	text-decoration: none;
	color: inherit;
	background: var(--mist);
	border: 1px solid rgba(28, 27, 22, 0.08);
}

.home-agent-card img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
}

.home-agent-card__body {
	padding: 12px;
}

.home-agent-card__body h3 {
	margin: 0 0 0.35rem;
	font-size: 1rem;
}

.home-agent-card__body p {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--clay);
}

/* Reviews */
.home-reviews {
	padding: 4.75rem 0;
}

.avis-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.avis-grid--block {
	margin-top: 1rem;
}

.avis-more-note {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--ink-soft);
	margin-top: 1rem;
}

.avis-card {
	background: var(--white);
	border: 1px solid rgba(28, 27, 22, 0.1);
	padding: 24px;
}

.avis-card__media {
	margin: -24px -24px 16px;
	overflow: hidden;
}

.avis-card__trip-image {
	display: block;
	width: 100%;
	height: 10rem;
	object-fit: cover;
}

.avis-card .stars {
	color: var(--gold);
	letter-spacing: 1px;
	font-size: 14px;
	margin-bottom: 12px;
	display: block;
}

.avis-card .quote {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1rem;
	color: var(--ink-soft);
	line-height: 1.55;
	margin: 0 0 16px;
}

.avis-card .who {
	font-family: var(--font-mono);
	font-size: 12px;
	border-top: 1px dashed rgba(28, 27, 22, 0.15);
	padding-top: 12px;
}

.avis-card .who .dest {
	display: block;
	color: var(--clay);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 10.5px;
	margin-top: 2px;
}

/* Other countries pills (legacy) */
.home-countries .pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.home-countries .pill {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 15px;
	background: var(--white);
	border: 1px solid rgba(28, 27, 22, 0.12);
	padding: 8px 16px;
	text-decoration: none;
	color: var(--ink);
	transition: border-color 0.15s ease, color 0.15s ease;
}

.home-countries .pill:hover {
	border-color: var(--jade-mid);
	color: var(--jade-deep);
}

@media (max-width: 900px) {
	.home-hero--photo {
		min-height: 30rem;
		padding: 5.625rem 0 3.5rem;
	}

	.home-hero__concept {
		white-space: normal;
	}

	.avis-grid {
		grid-template-columns: 1fr;
	}

	.home-circuits-grid {
		grid-template-columns: 1fr;
	}

	.home-circuit-card.is-featured {
		grid-column: auto;
		grid-row: auto;
	}

	.home-concept-split__grid,
	.home-agents__grid {
		grid-template-columns: 1fr;
	}

	.home-agents__cards {
		grid-template-columns: 1fr;
	}

	.home-section__toolbar {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}
