/* ==========================================================================
   DHI — Plomb Venus · landing page autonome
   Charte distincte du site principal. Tout est préfixé #pv-root (sauf le fond
   de page sur html/body) pour ne rien laisser fuir dans un sens ou l'autre.
   Reconstruit à partir de l'ancien site Divi (_plomb-venus-disabled).
   ========================================================================== */

:root {
	--pv-orange: #dc6e2d;
	--pv-orange-soft: rgba(220, 110, 45, .6);
	--pv-black: #000;
	--pv-wrap: 1200px;
}

/* -- fond de page (le viewport derrière #pv-root) ------------------------- */
html.pv-html,
body.pv-body {
	margin: 0;
	padding: 0;
	background: #000;
}

/* -- reset local -------------------------------------------------------- */
#pv-root,
#pv-root *,
#pv-root *::before,
#pv-root *::after {
	box-sizing: border-box;
}

#pv-root {
	position: relative;
	overflow-x: hidden;
	color: #fff;
	background: #000;
	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

#pv-root img {
	max-width: 100%;
	height: auto;
	display: block;
}

#pv-root a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

#pv-root p {
	margin: 0 0 1em;
}

#pv-root strong {
	font-size: 1.05em;
}

#pv-root sup {
	font-size: .7em;
}

.pv-wrap {
	width: 90%;
	max-width: var(--pv-wrap);
	margin: 0 auto;
}

/* ======================================================================
   HEADER
   ====================================================================== */
.pv-header {
	position: absolute;
	top: 0;
	left: 5%;
	z-index: 20;
	padding: 25px 0;
}

.pv-header__logo {
	display: block;
	border: 0;
}

.pv-header__logo img {
	width: 220px;
	max-width: 60vw;
	height: auto;
}

/* ======================================================================
   HERO
   ====================================================================== */
.pv-hero {
	position: relative;
	overflow: hidden;
	min-height: 65vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
	padding: 120px 5% 60px;
}

.pv-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
	background: #000;
}

/* voile léger pour garder le logo + le bouton lisibles quelle que soit l'image vidéo */
.pv-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(0, 0, 0, .18);
	pointer-events: none;
}

.pv-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
}

@media (prefers-reduced-motion: reduce) {
	.pv-hero__video {
		display: none;
	}
}

.pv-hero__logo {
	width: min(700px, 82vw);
	background: rgba(0, 0, 0, .4);
	padding: 35px 50px;
}

/* ======================================================================
   BOUTON
   ====================================================================== */
.pv-btn {
	display: inline-block;
	border: 0;
	border-radius: 10px;
	background: var(--pv-orange-soft);
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 1.05rem;
	letter-spacing: .04em;
	padding: 12px 50px;
	cursor: pointer;
	transition: transform .2s ease, background .2s ease;
}

.pv-btn:hover,
.pv-btn:focus-visible {
	transform: scale(1.08);
	background: var(--pv-orange);
}

/* ======================================================================
   INTRO
   ====================================================================== */
.pv-intro {
	background: #000;
	border-top: 1px solid var(--pv-orange);
	padding: 48px 0 56px;
	text-align: center;
}

.pv-intro h1 {
	font-weight: 300;
	font-size: clamp(1.7rem, 4vw, 3rem);
	line-height: 1.6;
	letter-spacing: .02em;
	text-transform: uppercase;
	margin: 0 0 .6em;
	color: #fff;
}

.pv-intro p {
	max-width: 980px;
	margin: 0 auto;
	font-size: 1.02rem;
}

/* ======================================================================
   SECTIONS
   ====================================================================== */
.pv-section {
	padding: 90px 0;
	background: #000;
}

.pv-section--black {
	background: #000;
}

/* dégradé vertical noir -> orange -> noir (repris de l'ancien Divi child) */
.pv-section--orange {
	background: linear-gradient(180deg,
			#000 0%, #170b05 3%, #391c0c 8%, #633115 14%, #8f471e 21%,
			#b55a26 28%, #d1682c 35%, #d56f35 46%, #d56f35 54%,
			#d1682c 65%, #b55a26 72%, #8f471e 79%, #633115 86%,
			#391c0c 92%, #170b05 97%, #000 100%);
}

.pv-row {
	display: flex;
	align-items: center;
	gap: 56px;
}

.pv-row--reverse {
	/* garde l'ordre DOM (texte puis média) mais visuellement média à droite */
}

.pv-col {
	flex: 1 1 50%;
	min-width: 0;
}

.pv-col--media {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* ======================================================================
   TITRES H2 (bandeau qui se fond dans le fond de section)
   ====================================================================== */
.pv-h2 {
	display: block;
	margin: 0 0 .8em -25px;
	padding: 10px 25px;
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	font-weight: 400;
	text-transform: uppercase;
	color: #fff;
	width: max-content;
	max-width: 100%;
}

.pv-section--orange .pv-h2 {
	background: linear-gradient(90deg, #000 65%, transparent 100%);
}

.pv-section--black .pv-h2 {
	background: linear-gradient(90deg, var(--pv-orange) 65%, transparent 100%);
}

/* ======================================================================
   GALERIE RONDE (cross-fade auto)
   ====================================================================== */
.pv-gallery {
	position: relative;
	width: min(440px, 78vw);
	aspect-ratio: 1;
	border-radius: 50%;
	border: 3px solid var(--pv-orange);
	overflow: hidden;
	filter: drop-shadow(-5px 5px 6px #000);
	background: #000;
}

.pv-gallery__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .9s ease;
}

.pv-gallery__img.is-active {
	opacity: 1;
}

.pv-gallery--single .pv-gallery__img {
	position: static;
	opacity: 1;
}

.pv-portrait-caption {
	margin-top: 14px;
	text-align: center;
	font-size: .95rem;
}

/* ======================================================================
   PANNEAU DÉPLIABLE
   ====================================================================== */
.pv-toggle {
	margin-top: 22px;
	background: transparent;
	text-align: center;
}

.pv-section--orange .pv-toggle {
	border: 1px solid #000;
}

.pv-section--black .pv-toggle {
	border: 1px solid #fff;
}

.pv-toggle__title {
	list-style: none;
	cursor: pointer;
	padding: 12px 34px 12px 14px;
	position: relative;
	text-transform: uppercase;
	font-weight: 400;
	color: #fff;
}

.pv-section--orange .pv-toggle__title {
	color: #000;
}

.pv-toggle__title::-webkit-details-marker {
	display: none;
}

.pv-toggle__title::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s ease;
}

.pv-toggle[open] .pv-toggle__title::after {
	transform: translateY(-30%) rotate(-135deg);
}

.pv-toggle__content {
	background: rgba(0, 0, 0, .4);
	padding: 16px;
	text-align: left;
	font-size: .9rem;
}

.pv-toggle__content p {
	margin: 0 0 .8em;
}

.pv-toggle__content p:last-child {
	margin-bottom: 0;
}

/* ======================================================================
   FORMULAIRE (Contact Form 7)
   ====================================================================== */
.pv-section--form {
	padding-top: 70px;
	padding-bottom: 90px;
}

#pv-root .contact_form {
	max-width: 900px;
	margin: 0 auto;
}

#pv-root .cf_box_bottom {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 32px;
}

#pv-root .cf_box_end {
	margin-top: 26px;
}

#pv-root .cf-field {
	display: flex;
	flex-direction: column;
	margin-bottom: 14px;
}

#pv-root .cf-field label {
	font-size: .9rem;
	margin-bottom: 6px;
	display: block;
}

#pv-root .contact_form input[type="text"],
#pv-root .contact_form input[type="email"],
#pv-root .contact_form input[type="tel"],
#pv-root .contact_form input[type="number"] {
	width: 100%;
	background: #fff;
	border: 0;
	border-radius: 2px;
	padding: 10px 12px;
	font: inherit;
	color: #111;
}

#pv-root .cf_box_end .cf-field {
	flex-direction: row;
	align-items: center;
	gap: 14px;
	justify-content: space-between;
	max-width: 520px;
}

#pv-root .cf_box_end .cf-field label {
	margin: 0;
}

#pv-root .cf_box_end input[type="number"] {
	width: 90px;
	flex: 0 0 auto;
}

#pv-root .cf_end {
	margin-top: 20px;
}

#pv-root .cf_end .info p {
	display: inline;
	margin: 0 0 0 8px;
}

#pv-root .cf_finish {
	margin-top: 26px;
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

#pv-root .cf_finish .wpcf7-quiz {
	width: 70px;
	background: #fff;
	border: 0;
	padding: 10px 12px;
	color: #111;
}

#pv-root .cf_submit input[type="submit"],
#pv-root .contact_form input[type="submit"] {
	border: 0;
	border-radius: 10px;
	background: var(--pv-orange);
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 12px 40px;
	font: inherit;
	cursor: pointer;
	transition: transform .2s ease;
}

#pv-root .cf_submit input[type="submit"]:hover {
	transform: scale(1.05);
}

#pv-root .wpcf7-not-valid-tip {
	color: #ffe0d6;
	font-size: .82rem;
}

#pv-root .wpcf7-response-output {
	border-color: #fff !important;
	margin: 20px 0 0;
	padding: 12px 16px;
}

/* ======================================================================
   FOOTER
   ====================================================================== */
.pv-footer {
	background: var(--pv-orange);
	padding: 36px 0;
}

.pv-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.pv-footer__title {
	font-size: 1.25rem;
	margin: 0 0 .4em;
}

.pv-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pv-footer__menu a {
	color: #fff;
	text-decoration: none;
	line-height: 1.9;
}

.pv-footer__menu a:hover {
	text-decoration: underline;
}

.pv-footer__social {
	display: flex;
	gap: 22px;
}

.pv-footer__social img {
	width: 28px;
	height: 28px;
}

.pv-footer__logo img {
	width: 180px;
	margin-left: auto;
}

/* ======================================================================
   NAVIGATION À POINTS
   ====================================================================== */
.pv-dots {
	position: fixed;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 30;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pv-dots a {
	position: relative;
	width: 25px;
	height: 25px;
	border: 1px solid #fff;
	border-radius: 50%;
	display: block;
	text-indent: -9999px;
}

.pv-dots a::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .5);
	transition: background .2s ease;
}

.pv-dots a.is-active::after {
	background: #fff;
}

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 980px) {
	.pv-section {
		padding: 56px 0;
	}

	.pv-row,
	.pv-row--reverse {
		flex-direction: column;
		gap: 30px;
	}

	.pv-col {
		flex-basis: auto;
		width: 100%;
	}

	.pv-col--media {
		order: 2;
	}

	.pv-h2 {
		margin-left: 0;
	}

	.pv-dots {
		display: none;
	}

	#pv-root .cf_box_bottom {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.pv-header {
		left: 4%;
		padding: 16px 0;
	}

	.pv-header__logo img {
		width: 150px;
	}

	.pv-hero {
		padding-top: 90px;
	}

	.pv-hero__logo {
		padding: 20px 24px;
	}

	.pv-footer__inner {
		justify-content: center;
		text-align: center;
	}

	.pv-footer__logo img {
		margin: 0 auto;
	}
}
