/* ===========================================================================
   Pépite Web — Section d'introduction (hero + points forts)
   ---------------------------------------------------------------------------
   Charte dark noir / or, mobile-first, sans dépendance ni build.
   Effets : dégradés or/noir, halo doré, grain léger, dégradé animé,
   parallax léger et apparitions au scroll (classe .is-visible posée par le JS,
   avec repli pleinement visible si JS absent).
   =========================================================================== */

/* ---------------------------------------------------------------------------
   Hero plein écran
--------------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--noir);
	isolation: isolate;
	padding: 96px 20px 120px;
	text-align: center;
}

/* Dégradé radial animé + base noir profond */
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -3;
	background:
		radial-gradient(120% 90% at 50% -10%, rgba(200, 150, 12, 0.22) 0%, rgba(200, 150, 12, 0.05) 35%, transparent 60%),
		linear-gradient(180deg, #0a0a0a 0%, #000000 70%);
}

/* Halo doré qui « respire » (glow) */
.hero__glow {
	position: absolute;
	z-index: -2;
	top: 8%;
	left: 50%;
	width: min(820px, 120vw);
	aspect-ratio: 1 / 1;
	transform: translateX(-50%);
	background: radial-gradient(circle, rgba(200, 150, 12, 0.35) 0%, rgba(200, 150, 12, 0.08) 40%, transparent 70%);
	filter: blur(40px);
	border-radius: 50%;
	animation: hero-pulse 9s ease-in-out infinite;
	will-change: transform, opacity;
}

/* Couche de grain léger (lumière diffuse) via SVG inline en data-URI */
.hero__grain {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0.06;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
}

.hero__inner {
	position: relative;
	max-width: 880px;
	margin: 0 auto;
}

.hero__eyebrow {
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--or);
	font-weight: 600;
	padding: 7px 16px;
	border: 1px solid rgba(200, 150, 12, 0.4);
	border-radius: 999px;
	background: rgba(200, 150, 12, 0.06);
	margin-bottom: 26px;
}

.hero__title {
	margin: 0;
	font-size: clamp(56px, 16vw, 150px);
	line-height: 0.92;
	font-weight: 800;
	letter-spacing: -0.04em;
	background: linear-gradient(180deg, #ffffff 0%, #d8d8d8 55%, #8a8a8a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero__title b {
	/* Le point « . » en or, signature de la marque. */
	background: linear-gradient(180deg, var(--or-clair), var(--or));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero__tagline {
	margin: 22px auto 0;
	max-width: 560px;
	font-size: clamp(17px, 3.4vw, 23px);
	line-height: 1.45;
	color: var(--gris-clair);
	font-weight: 400;
}

.hero__actions {
	margin-top: 40px;
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	padding: 15px 28px;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn--or {
	color: #1a1300;
	background: linear-gradient(180deg, var(--or-clair), var(--or));
	box-shadow: 0 10px 30px -10px rgba(200, 150, 12, 0.7);
}

.btn--or:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 40px -12px rgba(200, 150, 12, 0.85);
}

.btn--ghost {
	color: var(--gris-clair);
	border-color: var(--bordure);
	background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
	color: var(--blanc);
	border-color: var(--or);
}

.btn svg {
	width: 18px;
	height: 18px;
}

/* Indicateur de défilement */
.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	color: var(--gris);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.hero__scroll span {
	width: 1px;
	height: 36px;
	background: linear-gradient(180deg, var(--or), transparent);
	animation: hero-scroll 1.8s ease-in-out infinite;
}

/* ---------------------------------------------------------------------------
   Bande des points forts
--------------------------------------------------------------------------- */
.atouts {
	border-top: 1px solid var(--bordure);
	border-bottom: 1px solid var(--bordure);
	background:
		radial-gradient(80% 120% at 50% 0%, rgba(200, 150, 12, 0.06), transparent 60%),
		var(--noir-2);
	padding: 56px 0;
}

.atouts__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}

.atout {
	background: var(--noir-3);
	border: 1px solid var(--bordure);
	border-radius: var(--radius);
	padding: 26px 22px;
	transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.atout:hover {
	transform: translateY(-4px);
	border-color: rgba(200, 150, 12, 0.55);
	box-shadow: 0 18px 40px -20px rgba(200, 150, 12, 0.5);
}

.atout__icon {
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: rgba(200, 150, 12, 0.1);
	border: 1px solid rgba(200, 150, 12, 0.28);
	color: var(--or);
	margin-bottom: 16px;
}

.atout__icon svg {
	width: 24px;
	height: 24px;
}

.atout__title {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.atout__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--gris);
}

/* ---------------------------------------------------------------------------
   Apparitions au scroll
   Repli : sans JS, .reveal reste visible (la classe .js est posée par le JS).
--------------------------------------------------------------------------- */
.js .reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------------------------------------------------------------------------
   Animations
--------------------------------------------------------------------------- */
@keyframes hero-pulse {
	0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.85; }
	50%      { transform: translateX(-50%) scale(1.12); opacity: 1; }
}

@keyframes hero-scroll {
	0%, 100% { opacity: 0.2; transform: scaleY(0.7); transform-origin: top; }
	50%      { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* Respect des préférences d'accessibilité : on coupe le mouvement. */
@media (prefers-reduced-motion: reduce) {
	.hero__glow,
	.hero__scroll span {
		animation: none;
	}
	.js .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ---------------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------------- */
@media (max-width: 600px) {
	.hero {
		min-height: 92svh;
		padding: 80px 18px 100px;
	}
	.hero__actions .btn {
		width: 100%;
		justify-content: center;
	}
	.atouts {
		padding: 40px 0;
	}
}
