/* ============================================================
   HOME — nouveau design (refresh 2026)
   Remplace home.css (conserve, plus charge).
   S'appuie sur les variables et composants de nouveau.css.
   ============================================================ */

body#home {
	background: var(--fond);
}

/* ---------- Hero ---------- */
#home .hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	padding: 96px 5% 110px;
	text-align: center;
	background: var(--ink); /* fallback le temps du chargement de la photo */
}
/* Photo de fond en vraie <img> (LCP : fetchpriority=high + srcset dans la page) */
#home .hero .hero-fond {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 50%;
	z-index: 0;
}
/* Voile teal au-dessus de la photo */
#home .hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(165deg, rgba(14, 74, 69, .28) 0%, rgba(18, 117, 109, .38) 55%, rgba(26, 165, 154, .42) 100%);
	z-index: 1;
}
#home .hero .conteneur {
	position: relative;
	z-index: 2;
}
#home .hero h1 {
	font-size: clamp(28px, 4.5vw, 48px);
	font-weight: 800;
	letter-spacing: -1px;
	line-height: 1.15;
	color: #fff;
	margin: 0;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
#home .hero .sous-titre {
	margin: 14px auto 38px;
	font-size: 18px;
	opacity: .95;
	max-width: 620px;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .3);
}

/* ---------- Recherche ---------- */
#home .recherche {
	max-width: 720px;
	margin: 0 auto;
	position: relative;
	text-align: left;
}
#home .recherche-type {
	display: inline-flex;
	background: rgba(255, 255, 255, .18);
	backdrop-filter: blur(4px);
	border-radius: 999px;
	padding: 4px;
	margin-bottom: 14px;
}
#home .recherche-type button {
	border: none;
	background: transparent;
	color: #fff;
	padding: 8px 20px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	font-family: inherit;
}
#home .recherche-type button.actif {
	background: #fff;
	color: var(--teal-dark);
}
#home .recherche-barre {
	display: flex;
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .28);
	padding: 6px;
	align-items: center;
	gap: 6px;
}
#home .recherche-barre svg {
	margin-left: 16px;
	flex: none;
	opacity: .45;
}
#home .recherche-barre input[type="text"] {
	flex: 1;
	border: none;
	outline: none;
	box-shadow: none;
	font-size: 17px;
	padding: 12px 8px;
	font-family: inherit;
	color: var(--ink);
	background: transparent;
	min-width: 0;
}

/* ---------- Sections ---------- */
#home .section {
	padding: 64px 0;
}
#home .section-sans-haut {
	padding-top: 0;
}
#home .section-blanche {
	background: var(--blanc);
}
#home .section-titre {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -.5px;
	margin: 0 0 6px;
	color: var(--ink);
}
#home .section-sous {
	color: var(--gris);
	margin: 0 0 32px;
	font-size: 15px;
}
#home .section-tete {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 32px;
	flex-wrap: wrap;
}
#home .section-tete .section-sous {
	margin-bottom: 0;
}

/* ---------- Chips destinations ---------- */
#home .chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
#home .chip {
	background: var(--blanc);
	border: 1.5px solid #d9e2e1;
	padding: 9px 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
}
#home .chip:hover {
	border-color: var(--teal);
	color: var(--teal-dark);
	text-decoration: none;
}

/* ---------- Arguments ---------- */
#home .args {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
}
#home .arg {
	background: var(--fond);
	border-radius: var(--radius);
	padding: 28px 24px;
}
#home .arg .picto {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--teal-light);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	font-size: 20px;
}
#home .arg h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 6px;
}
#home .arg p {
	font-size: 14px;
	color: var(--gris);
	margin: 0;
}

/* ---------- Edito SEO ---------- */
#home .edito {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}
#home .edito h2 {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -.4px;
	margin: 0 0 10px;
}
#home .edito p {
	color: var(--gris);
	font-size: 15px;
}
#home .edito a {
	font-weight: 600;
	color: var(--teal-dark);
}

/* ---------- Bandeau proprietaires ---------- */
#home .bandeau-proprio {
	background: linear-gradient(135deg, var(--ink), #34504d);
	border-radius: calc(var(--radius) + 6px);
	color: #fff;
	padding: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}
#home .bandeau-proprio h2 {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -.5px;
	margin: 0;
}
#home .bandeau-proprio p {
	opacity: .85;
	margin: 6px 0 0;
	max-width: 520px;
}
#home .bandeau-proprio .prix-an {
	font-size: 15px;
	font-weight: 700;
	color: #ffd9a1;
	opacity: 1;
}
#home .bandeau-proprio .bouton {
	padding: 15px 30px;
	font-size: 16px;
}

/* ---------- Pubs home (mesure en cours, cf. Phase 2) ---------- */
#home .pub-home {
	margin: 0 0 40px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	#home .hero {
		padding: 64px 20px 80px;
	}
	#home .edito {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	#home .bandeau-proprio {
		padding: 32px 24px;
	}
	#home .section {
		padding: 44px 0;
	}
}
@media (max-width: 560px) {
	#home .recherche-barre {
		flex-wrap: wrap;
		border-radius: var(--radius);
	}
	#home .recherche-barre .bouton {
		width: 100%;
	}
}
