/* =========================================================
   GENESIS — Page Télécharger (style KAYA)
   ========================================================= */

:root {
	--dl-outer: #1a2008;
	--dl-outer-edge: #121608;
	--dl-orange: #f07a0a;
	--dl-orange-hover: #ff9620;
	--dl-orange-text: #fff;
	--dl-title-shadow: 0 3px 0 rgba(0, 0, 0, 0.55);
	--dl-inner-width: 1200px;
}

body.landing-download,
body.landing-download #main-container {
	background: var(--dl-outer) !important;
	color: #f4f4f6;
	overflow-x: hidden;
}

body.landing-download .gx-topnav-solid {
	background: rgba(0, 0, 0, 0.92) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.landing-download .marche-slider-wrap,
body.landing-download #me-page-header {
	display: none !important;
}

body.landing-download .site-content-wrap,
body.landing-download .site-content-wrap.container {
	float: none !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

body.landing-download .site-main-content,
body.landing-download .row,
body.landing-download .column,
body.landing-download .large-12 {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}

/* ---- Shell : fond vert + colonne texture centrée ---- */
.gx-download {
    font-family: "Manrope", sans-serif;
    background: linear-gradient(90deg,#121608 0%,#1a2008 18%,#1a2008 82%,#121608 100%);
    padding: 0;
    margin: 0;
}

.gx-download-shell {
	position: relative;
	width: 100%;
	max-width: calc(var(--dl-inner-width) + 420px);
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}

.gx-download-panel {
	position: relative;
	width: 100%;
	max-width: var(--dl-inner-width);
	margin: 0 auto;
	background: url("../images/backgrounddownload.jpg") center top / cover no-repeat;
	box-shadow:
		-120px 0 80px -60px rgba(0, 0, 0, 0.35),
		120px 0 80px -60px rgba(0, 0, 0, 0.35);
}

/* ---- Hero téléchargement ---- */
.gx-download-hero {
	text-align: center;
	padding: 48px 24px 36px;
}
/* ===== Correction largeur page Télécharger ===== */

body.landing-download .container,
body.landing-download .row,
body.landing-download .site-content-wrap,
body.landing-download .large-12,
body.landing-download .column{
	width:100% !important;
	max-width:100% !important;
	margin:0 !important;
	padding-left:0 !important;
	padding-right:0 !important;
	box-sizing:border-box;
}

body.landing-download .gx-download-shell{
	max-width:1700px !important;
	width:100% !important;
	padding:0 !important;
	margin:0 auto !important;
}

body.landing-download .gx-download-panel{
	max-width:1600px !important;
	width:100% !important;
	margin:0 auto !important;
}

body.landing-download .gx-download-banner,
body.landing-download .gx-download-help,
body.landing-download .gx-download-signup{
	max-width:1600px !important;
}

.gx-download-hero-icon {
	display: block;
	width: 52px;
	height: 52px;
	margin: 0 auto 14px;
	background: url("../images/logo.png") center / contain no-repeat;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}

.gx-download-hero h1 {
	margin: 0 0 28px;
	font-family: "Bebas Neue", sans-serif;
	font-size: 52px;
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1;
	color: #fff;
	text-shadow: var(--dl-title-shadow);
}

.gx-download-btn-wrap {
	display: inline-block;
	margin-bottom: 14px;
}

.gx-download-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 360px;
	padding: 18px 42px 14px;
	background: linear-gradient(180deg, #ffa033 0%, var(--dl-orange) 45%, #d96500 100%);
	border: 2px solid rgba(255, 220, 160, 0.35);
	border-radius: 10px;
	box-shadow:
		0 6px 0 #a34d00,
		0 12px 28px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.35);
	color: var(--dl-orange-text) !important;
	text-decoration: none !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.gx-download-btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.06);
	box-shadow:
		0 8px 0 #a34d00,
		0 16px 32px rgba(0, 0, 0, 0.5),
		inset 0 1px 0 rgba(255, 255, 255, 0.4);
	color: #fff !important;
}

.gx-download-btn:active {
	transform: translateY(2px);
	box-shadow:
		0 3px 0 #a34d00,
		0 8px 18px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.gx-download-btn-label {
	font-family: "Bebas Neue", sans-serif;
	font-size: 42px;
	letter-spacing: 0.08em;
	line-height: 1;
	text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

.gx-download-btn-sub {
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	opacity: 0.92;
}

.gx-download-install-link {
	display: inline-block;
	margin-top: 4px;
	font-size: 14px;
	font-weight: 700;
	color: #ffd080 !important;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(255, 208, 128, 0.45);
}

.gx-download-install-link:hover {
	color: #fff !important;
	border-bottom-color: #fff;
}

/* ---- Étapes ---- */
.gx-download-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	padding: 8px 32px 28px;
}

.gx-download-step {
	text-align: center;
}

.gx-download-step-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	margin-bottom: 14px;
	border: 2px solid rgba(255, 255, 255, 0.12);
	border-radius: 6px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.35);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.gx-download-step-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gx-download-step h2 {
	margin: 0 0 10px;
	font-family: "Bebas Neue", sans-serif;
	font-size: 22px;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.15;
	color: #fff;
	text-shadow: var(--dl-title-shadow);
}

.gx-download-step p {
	margin: 0;
	font-size: 12px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

/* ---- Bannière héros ---- */
.gx-download-banner {
	display: block;
	width: calc(100% - 64px);
	margin: 12px auto 28px;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
	line-height: 0;
}

.gx-download-banner img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---- Bas de page : cartes + actions ---- */
.gx-download-bottom {
	padding: 0 32px 40px;
}

.gx-download-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-bottom: 18px;
}

.gx-download-card {
	position: relative;
	display: block;
	min-height: 180px;
	border-radius: 4px;
	overflow: hidden;
	text-decoration: none !important;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.gx-download-card img {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.gx-download-card-label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 14px 16px;
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.88) 100%);
	font-family: "Bebas Neue", sans-serif;
	font-size: 22px;
	letter-spacing: 0.04em;
	line-height: 1.15;
	color: #fff;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.gx-download-actions {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.gx-download-action {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 72px;
	padding: 14px 16px;
	background: rgba(0, 0, 0, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	font-family: "Bebas Neue", sans-serif;
	font-size: 18px;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-align: center;
	color: #fff !important;
	text-decoration: none !important;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.gx-download-action:hover {
	background: rgba(0, 0, 0, 0.88);
	border-color: rgba(255, 160, 50, 0.45);
	color: #ffd080 !important;
}

/* ---- Panneau latéral (grand écran) ---- */
.gx-download-aside {
	display: none;
	position: absolute;
	top: 120px;
	right: 0;
	width: 300px;
	padding: 22px 20px;
	background: rgba(0, 0, 0, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 4px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	box-sizing: border-box;
}

.gx-download-aside h3 {
	margin: 0 0 16px;
	font-family: "Bebas Neue", sans-serif;
	font-size: 21px;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1.25;
	color: #fff;
}

.gx-download-aside h3 em {
	font-style: normal;
	color: var(--dl-orange);
}

.gx-download-aside p {
	margin: 0 0 12px;
	font-size: 12px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

.gx-download-aside p strong,
.gx-download-aside p b {
	color: #fff;
	font-weight: 700;
}

.gx-download-aside p em {
	font-style: normal;
	color: #ffd080;
}

@media (min-width: 1560px) {
	.gx-download-aside {
		display: block;
	}
}

/* ---- Aide / FAQ ---- */
.gx-download-help {
	max-width: var(--dl-inner-width);
	margin: 0 auto;
	padding: 0 32px 16px;
}

.gx-download-help-toggle {
	display: none;
}

.gx-download-help-panel {
	background: rgba(0, 0, 0, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	padding: 24px 28px;
	color: rgba(255, 255, 255, 0.85);
}

.gx-download-help-panel h3 {
	margin: 0 0 16px;
	font-family: "Bebas Neue", sans-serif;
	font-size: 26px;
	font-weight: 400;
	color: #fff;
}

.gx-download-help-panel details {
	margin-bottom: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.35);
}

.gx-download-help-panel summary {
	padding: 12px 16px;
	cursor: pointer;
	font-weight: 700;
	font-size: 14px;
	color: #fff;
	list-style: none;
}

.gx-download-help-panel summary::-webkit-details-marker {
	display: none;
}

.gx-download-help-panel details[open] summary {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gx-download-help-body {
	padding: 14px 16px 16px;
	font-size: 13px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

.gx-download-help-body a {
	color: #ffd080 !important;
}

.gx-download-help-body img {
	max-width: 100%;
	height: auto;
	margin: 8px 0;
	border-radius: 4px;
}

.gx-download-signup {
	max-width: var(--dl-inner-width);
	margin: 0 auto 24px;
	padding: 0 32px;
}

.gx-download-signup-box {
	text-align: center;
	padding: 20px 24px;
	background: rgba(0, 0, 0, 0.55);
	border: 1px solid rgba(255, 160, 50, 0.25);
	border-radius: 6px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
}

.gx-download-signup-box a {
	display: inline-block;
	margin-top: 10px;
	padding: 10px 22px;
	background: var(--dl-orange);
	border-radius: 4px;
	color: #fff !important;
	font-weight: 800;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 13px;
}

.gx-download-signup-box a:hover {
	background: var(--dl-orange-hover);
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
	.gx-download-hero h1 {
		font-size: 40px;
	}

	.gx-download-btn {
		min-width: 280px;
		padding: 16px 28px 12px;
	}

	.gx-download-btn-label {
		font-size: 34px;
	}

	.gx-download-steps {
		grid-template-columns: 1fr;
		padding-left: 20px;
		padding-right: 20px;
	}

	.gx-download-banner {
		width: calc(100% - 40px);
	}

	.gx-download-cards {
		grid-template-columns: 1fr;
	}

	.gx-download-actions {
		grid-template-columns: 1fr;
	}

	.gx-download-bottom,
	.gx-download-help,
	.gx-download-signup {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media (max-width: 560px) {
	.gx-download-hero {
		padding-top: 32px;
	}

	.gx-download-hero h1 {
		font-size: 32px;
	}

	.gx-download-btn {
		min-width: 0;
		width: 100%;
		max-width: 320px;
	}
}

