/* =====================================================================
   Venus - Page d'accueil (front-page.php)
   ===================================================================== */

.venus-home { overflow-x: hidden; }
.vh-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.vh-section { padding: 76px 0; }
.vh-section--alt { background: var(--venus-alt); }
.vh-center { text-align: center; margin-top: 32px; }

.vh-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.vh-head__eyebrow {
	display: inline-block;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--venus-gold-dark);
	margin-bottom: 10px;
}
.vh-head__eyebrow--light { color: var(--venus-gold); }
.vh-head__title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0; color: var(--venus-ink); }

/* Bouton fantôme (sur fonds sombres) */
.venus-btn--ghost { background: rgba(255,255,255,.10); border: 2px solid rgba(255,255,255,.55); color: #fff !important; }
.venus-btn--ghost:hover { background: #fff; color: var(--venus-blue-dark) !important; border-color: #fff; }

/* --- HERO (photo pleine largeur + overlay) ---------------------------- */
.vh-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 620px;
	color: #fff;
	padding: 96px 24px 104px;
	overflow: hidden;
	background: #081834;
}
/* Photo de fond */
.vh-hero__media { position: absolute; inset: 0; z-index: 0; }
.vh-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
/* Voile navy : dense à gauche (lisibilité du texte), plus clair à droite */
.vh-hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(8,20,52,.95) 0%, rgba(8,20,52,.90) 34%, rgba(8,20,52,.62) 68%, rgba(8,20,52,.42) 100%),
		linear-gradient(180deg, rgba(8,20,52,.30) 0%, transparent 30%, rgba(8,20,52,.55) 100%);
}
.vh-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
	background: linear-gradient(90deg, transparent, var(--venus-gold), transparent); z-index: 2;
}
.vh-hero__inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; width: 100%; }
.vh-hero__text { max-width: 640px; }

/* entrée en cascade */
.vh-up { opacity: 0; transform: translateY(22px); animation: vh-up .7s cubic-bezier(.2,.7,.2,1) forwards; }
.vh-d1{animation-delay:.05s}.vh-d2{animation-delay:.15s}.vh-d3{animation-delay:.25s}.vh-d4{animation-delay:.35s}.vh-d5{animation-delay:.45s}
@keyframes vh-up { to { opacity: 1; transform: none; } }

.vh-hero__eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	background: rgba(255,255,255,.10); color: #fff;
	font-weight: 600; font-size: .82rem; letter-spacing: .04em;
	padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.20);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.vh-hero__eyebrow .vh-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: vh-pulse 2s infinite; }
@keyframes vh-pulse { 0%{box-shadow:0 0 0 0 rgba(74,222,128,.5)} 70%{box-shadow:0 0 0 8px rgba(74,222,128,0)} 100%{box-shadow:0 0 0 0 rgba(74,222,128,0)} }

.vh-hero__title { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.08; font-weight: 800; margin: 22px 0 0; letter-spacing: -.02em; color: #fff; }
/* Accroche or avec soulignement pinceau */
.vh-accent { color: var(--venus-gold); position: relative; white-space: nowrap; }
.vh-accent::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -.14em; height: .16em;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--venus-gold), var(--venus-gold-dark));
	transform: rotate(-.6deg); transform-origin: left;
	opacity: .9;
}
.vh-hero__lead { font-size: 1.12rem; line-height: 1.6; color: #d7deee; margin: 22px 0 0; max-width: 540px; }
.vh-hero__lead b { color: #fff; font-weight: 700; }
.vh-hero__search { margin: 28px 0 0; max-width: 540px; }
.vh-hero__search .venus-search-standalone { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.vh-hero__search .venus-search-standalone svg { color: var(--venus-text); align-self: center; margin-left: 8px; flex: 0 0 auto; }
.vh-hero__search .venus-search-standalone input { flex: 1; border: 0; outline: none; padding: 12px 4px; font-size: 1rem; }
.vh-hero__actions { display: flex; gap: 14px; margin: 22px 0 0; flex-wrap: wrap; }
.vh-hero__trust { list-style: none; margin: 30px 0 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: #d7deee; }
.vh-hero__trust li { position: relative; padding-left: 24px; }
.vh-hero__trust li::before {
	content: "✓"; position: absolute; left: 0; top: -1px;
	color: var(--venus-blue-dark); background: var(--venus-gold);
	width: 18px; height: 18px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: .72rem; font-weight: 800;
}

/* --- BANDEAU CHIFFRES (sous le hero) ---------------------------------- */
.vh-stats { background: linear-gradient(90deg, #0b1f45, #081834); color: #fff; }
.vh-stats__grid {
	max-width: 1180px; margin: 0 auto; padding: 30px 24px;
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.vh-stat { text-align: center; position: relative; }
.vh-stat + .vh-stat::before {
	content: ""; position: absolute; left: -10px; top: 50%; transform: translateY(-50%);
	width: 1px; height: 42px; background: rgba(255,255,255,.14);
}
.vh-stat__num { display: block; font-size: clamp(1.7rem, 2.4vw, 2.3rem); font-weight: 800; color: var(--venus-gold); line-height: 1; }
.vh-stat__lbl { display: block; margin-top: 8px; font-size: .84rem; color: #c9d2e6; }

/* --- HERO responsive --- */
@media (max-width: 900px) {
	.vh-hero { min-height: 540px; padding: 80px 22px 88px; }
	.vh-hero__media img { object-position: 65% center; }
	.vh-hero__media::after {
		background:
			linear-gradient(90deg, rgba(8,20,52,.94) 0%, rgba(8,20,52,.88) 55%, rgba(8,20,52,.72) 100%),
			linear-gradient(180deg, rgba(8,20,52,.30), transparent 35%, rgba(8,20,52,.5));
	}
	.vh-stats__grid { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; }
	.vh-stat:nth-child(4)::before { display: none; } /* pas de filet en début de 2e rangée */
}
@media (max-width: 640px) {
	.vh-hero { min-height: 500px; padding: 60px 20px 72px; }
	.vh-hero__title { font-size: clamp(2rem, 8vw, 2.6rem); }
	.vh-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.vh-stat::before { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.vh-up { animation: none; opacity: 1; transform: none; }
	.vh-hero__eyebrow .vh-dot { animation: none !important; }
}

/* --- DOMAINES --------------------------------------------------------- */
.vh-domaines__grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.vh-domaine {
	position: relative;
	display: flex; flex-direction: column; gap: 4px;
	padding: 24px 24px 22px;
	background: #fff; border: 1px solid var(--venus-alt); border-radius: 14px;
	text-decoration: none; color: var(--venus-ink);
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.vh-domaine:hover { transform: translateY(-3px); box-shadow: var(--venus-shadow-hover); border-color: transparent; }
.vh-domaine__ico {
	display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; margin-bottom: 14px; border-radius: 12px;
	background: linear-gradient(135deg, rgba(19,34,79,.06), rgba(23,104,229,.08));
	color: var(--venus-blue);
	transition: background .16s ease, color .16s ease;
}
.vh-domaine__ico svg { width: 24px; height: 24px; }
.vh-domaine:hover .vh-domaine__ico { background: var(--venus-blue); color: var(--venus-gold); }
.vh-domaine__name { font-weight: 700; font-size: 1.08rem; }
.vh-domaine__count { color: var(--venus-text); font-size: .9rem; }
.vh-domaine__arrow { position: absolute; top: 20px; right: 20px; color: var(--venus-gold-dark); font-size: 1.2rem; opacity: 0; transform: translateX(-6px); transition: opacity .16s ease, transform .16s ease; }
.vh-domaine:hover .vh-domaine__arrow { opacity: 1; transform: translateX(0); }

/* --- ATOUTS ----------------------------------------------------------- */
.vh-atouts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.vh-atout { text-align: center; padding: 30px 22px; background: #fff; border: 1px solid var(--venus-alt); border-radius: 14px; box-shadow: var(--venus-shadow); }
.vh-atout__ico {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 16px;
	background: var(--venus-blue); color: var(--venus-gold);
	font-size: 1.5rem; font-weight: 800; margin-bottom: 16px;
}
.vh-atout__ico svg { width: 28px; height: 28px; }
.vh-atout h3 { font-size: 1.12rem; margin: 0 0 8px; color: var(--venus-ink); }
.vh-atout p { margin: 0; color: var(--venus-text); font-size: .95rem; line-height: 1.55; }

/* --- FINANCEMENT ------------------------------------------------------ */
.vh-section--blue { background: linear-gradient(160deg, #081834, #10245a); color: #fff; }
.vh-financement__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.vh-financement__title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; margin: 0 0 14px; }
.vh-financement__inner > div > p { color: #c9d2e6; font-size: 1.05rem; line-height: 1.6; margin: 0 0 24px; }
.vh-financement .vh-hero__actions { justify-content: flex-start; }
.vh-financement__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vh-financement__list li {
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
	border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 3px;
}
.vh-financement__list strong { color: var(--venus-gold); font-size: 1.15rem; }
.vh-financement__list span { color: #aeb7c9; font-size: .88rem; }

/* --- ARTICLES --------------------------------------------------------- */
.vh-articles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vh-article { background: #fff; border: 1px solid var(--venus-alt); border-radius: 14px; overflow: hidden; box-shadow: var(--venus-shadow); transition: transform .16s ease, box-shadow .16s ease; }
.vh-article:hover { transform: translateY(-4px); box-shadow: var(--venus-shadow-hover); }
.vh-article__media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--venus-alt); }
.vh-article__media img { width: 100%; height: 100%; object-fit: cover; }
.vh-article__ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #10245a, #17307a); }
.vh-article__body { padding: 20px; }
.vh-article__date { font-size: .82rem; color: var(--venus-gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.vh-article__title { font-size: 1.12rem; margin: 8px 0 14px; line-height: 1.35; }
.vh-article__title a { color: var(--venus-ink); text-decoration: none; }
.vh-article__title a:hover { color: var(--venus-blue); }
.vh-article__excerpt { color: #5a6473; font-size: .92rem; line-height: 1.55; margin: 0 0 14px; }
.vh-article__link { color: var(--venus-accent); font-weight: 700; text-decoration: none; }
.vh-article__link:hover { color: var(--venus-gold-dark); }

/* ===================================================================== */
/*  BLOG (home.php) - liste des articles                                 */
/* ===================================================================== */
.vb-hero {
	position: relative; overflow: hidden;
	background: linear-gradient(160deg, #081834 0%, #10245a 65%, #17307a 100%);
	color: #fff; padding: 72px 0 64px; text-align: center;
}
.vb-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--venus-gold), transparent); }
.vb-hero__aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.vb-hero__aurora::before, .vb-hero__aurora::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); }
.vb-hero__aurora::before { width: 520px; height: 520px; left: -120px; top: -180px; background: radial-gradient(circle, #1c3a86, transparent 70%); opacity: .55; animation: vh-drift1 16s ease-in-out infinite; }
.vb-hero__aurora::after { width: 460px; height: 460px; right: -100px; bottom: -200px; background: radial-gradient(circle, rgba(255,174,37,.35), transparent 70%); opacity: .45; animation: vh-drift2 20s ease-in-out infinite; }
.vb-hero__dots { position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000, transparent 75%); }
.vb-hero__inner { position: relative; z-index: 1; }
.vb-hero__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 20px 0 0; color: #fff; }
.vb-hero__lead { font-size: 1.12rem; line-height: 1.6; color: #c9d2e6; max-width: 620px; margin: 18px auto 0; }
.vb-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 30px 0 0; }
.vb-cat { display: inline-block; padding: 9px 18px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #dbe2f0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); text-decoration: none; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.vb-cat:hover { background: rgba(255,255,255,.16); color: #fff; }
.vb-cat.is-active { background: var(--venus-gold); color: var(--venus-blue-dark); border-color: var(--venus-gold); }

/* Article à la une */
.vb-featured {
	display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; align-items: stretch;
	background: #fff; border: 1px solid var(--venus-alt); border-radius: 18px; overflow: hidden;
	box-shadow: var(--venus-shadow); margin: 0 0 40px; text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease;
}
.vb-featured:hover { transform: translateY(-4px); box-shadow: var(--venus-shadow-hover); }
.vb-featured__media { position: relative; overflow: hidden; min-height: 320px; background: var(--venus-alt); }
.vb-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.vb-featured__media .vh-article__ph { position: absolute; inset: 0; }
.vb-featured__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.vb-featured__tag { color: var(--venus-gold-dark); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.vb-featured__title { color: var(--venus-ink); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; margin: 12px 0 14px; }
.vb-featured__excerpt { color: #5a6473; font-size: 1rem; line-height: 1.6; margin: 0 0 20px; }
.vb-featured__link { color: var(--venus-blue); font-weight: 700; }
.vb-featured:hover .vb-featured__link { color: var(--venus-gold-dark); }

/* Pagination */
.vb-pagination { margin-top: 44px; }
.vb-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.vb-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 10px; background: #fff; border: 1px solid var(--venus-alt); color: var(--venus-ink); font-weight: 700; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.vb-pagination .page-numbers:hover { background: var(--venus-alt); }
.vb-pagination .page-numbers.current { background: var(--venus-blue); color: #fff; border-color: var(--venus-blue); }
.vb-pagination .page-numbers.dots { background: transparent; border: 0; }

@media (max-width: 760px) {
	.vb-featured { grid-template-columns: 1fr; }
	.vb-featured__media { min-height: 200px; aspect-ratio: 16/9; }
	.vb-featured__body { padding: 26px 24px; }
}

/* --- CTA FINAL -------------------------------------------------------- */
.vh-cta { background: var(--venus-gold); padding: 64px 24px; text-align: center; }
.vh-cta__inner h2 { color: var(--venus-blue-dark); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; }
.vh-cta__inner p { color: #3a2f14; font-weight: 600; margin: 0; }
.vh-cta .venus-btn--outline { border-color: var(--venus-blue-dark); color: var(--venus-blue-dark) !important; }
.vh-cta .venus-btn--outline:hover { background: var(--venus-blue-dark); color: #fff !important; }

/* --- À PROPOS + VIDÉO ------------------------------------------------- */
.vh-apropos__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vh-apropos__text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 16px; color: var(--venus-ink); }
.vh-apropos__text p { color: var(--venus-text); line-height: 1.7; margin: 0 0 16px; font-size: 1.02rem; }
.vh-apropos__text .venus-btn { margin-top: 8px; }
.vh-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; cursor: pointer; background: #000; box-shadow: var(--venus-shadow-hover); }
.vh-video__thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease, filter .3s ease; }
.vh-video:hover .vh-video__thumb { transform: scale(1.04); filter: brightness(.82); }
.vh-video__play {
	position: absolute; inset: 0; margin: auto;
	width: 74px; height: 74px; border: 0; border-radius: 50%;
	background: var(--venus-gold); color: var(--venus-blue-dark);
	display: flex; align-items: center; justify-content: center;
	cursor: pointer; box-shadow: 0 10px 28px rgba(0,0,0,.35);
	transition: transform .15s ease, background-color .15s ease;
}
.vh-video:hover .vh-video__play { transform: scale(1.08); background: #ffc663; }
.vh-video__play svg { margin-left: 3px; }
.vh-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vh-video.is-playing { cursor: default; }

/* --- MÉDIAS ----------------------------------------------------------- */
.vh-medias__strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 60px; }
.vh-media-logo {
	height: 100px; width: auto; max-width: 280px; object-fit: contain;
	border-radius: 16px;
	filter: grayscale(1); opacity: .64;
	transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
.vh-media-logo:hover { filter: grayscale(0); opacity: 1; transform: scale(1.06); }

/* --- AVIS ------------------------------------------------------------- */
.vh-avis__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vh-avis__card {
	margin: 0; background: #fff; border: 1px solid var(--venus-alt);
	border-radius: 14px; padding: 26px; box-shadow: var(--venus-shadow);
	display: flex; flex-direction: column; gap: 12px;
}
.vh-avis__stars { color: var(--venus-gold); letter-spacing: 2px; font-size: 1.05rem; }
.vh-avis__card blockquote { margin: 0; color: var(--venus-ink); line-height: 1.6; font-size: 1.02rem; flex: 1; }
.vh-avis__card figcaption { font-weight: 700; color: var(--venus-blue); }
.vh-avis__more { text-align: center; margin-top: 30px; }

/* --- FAQ -------------------------------------------------------------- */
.vh-faq__inner { max-width: 820px; }
.vh-faq__list { display: flex; flex-direction: column; gap: 12px; }
.vh-faq__item { background: #fff; border: 1px solid var(--venus-alt); border-radius: 12px; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.vh-faq__item[open] { box-shadow: var(--venus-shadow); border-color: transparent; }
.vh-faq__item summary {
	cursor: pointer; list-style: none; padding: 18px 22px;
	font-weight: 700; color: var(--venus-ink);
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.vh-faq__item summary::-webkit-details-marker { display: none; }
.vh-faq__item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--venus-gold-dark); font-weight: 700; flex: 0 0 auto; }
.vh-faq__item[open] summary::after { content: "\2013"; }
.vh-faq__answer { padding: 0 22px 20px; color: var(--venus-text); line-height: 1.7; }
.vh-faq__answer p { margin: 0; }

@media (max-width: 900px) {
	.vh-apropos__inner { grid-template-columns: 1fr; gap: 28px; }
	.vh-avis__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.vh-avis__grid { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) {
	.vh-domaines__grid, .vh-atouts__grid { grid-template-columns: repeat(2, 1fr); }
	.vh-articles__grid { grid-template-columns: repeat(1, 1fr); }
}
@media (max-width: 820px) {
	.vh-financement__inner { grid-template-columns: 1fr; gap: 30px; }
	.vh-section { padding: 56px 0; }
}
@media (max-width: 560px) {
	.vh-domaines__grid, .vh-atouts__grid { grid-template-columns: 1fr; }
}
