/**
 * SCANDY B2B - front Club Scandy (formulaire d'inscription + boutons wallet).
 * Charte onyx / champagne, autonome (aucune dépendance au thème).
 */

.scandy-club {
	--sc-onyx: #0b0b0b;
	--sc-onyx-2: #121212;
	--sc-onyx-3: #1d1d1d;
	--sc-cream: #f4efe4;
	--sc-champagne: #fbbf52;
	--sc-champagne-2: #fff0aa;
	--sc-champagne-deep: #ba710e;
	--sc-grey: #8a8276;
	--sc-grey-2: #b8b0a1;
	--sc-line: rgba(251, 191, 82, 0.25);

	max-width: 480px;
	margin: 0 auto;
	padding: 40px 32px;
	background: linear-gradient(160deg, var(--sc-onyx), var(--sc-onyx-2));
	border: 1px solid var(--sc-line);
	border-radius: 0;
	color: var(--sc-cream);
	font-family: 'Inter', -apple-system, sans-serif;
	text-align: center;
}

.scandy-club__brand {
	display: block;
	font-family: 'Cinzel', Georgia, serif;
	font-size: 18px;
	letter-spacing: 0.4em;
	color: var(--sc-champagne);
	margin-bottom: 14px;
}

.scandy-club__title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 34px;
	font-weight: 500;
	line-height: 1.15;
	color: var(--sc-cream);
	margin: 0 0 10px;
}

.scandy-club__text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--sc-grey-2);
	margin: 0 0 28px;
}

.scandy-club__form { display: grid; gap: 16px; text-align: left; }

.scandy-club__field { display: grid; gap: 6px; }

.scandy-club__field span {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sc-grey-2);
}

.scandy-club__field input {
	width: 100%;
	box-sizing: border-box;
	background: var(--sc-onyx-3);
	border: 1px solid var(--sc-line);
	border-radius: 0;
	color: var(--sc-cream);
	font-size: 16px; /* ≥16px : pas de zoom auto iOS */
	padding: 13px 16px;
	transition: border-color 0.2s ease;
}

.scandy-club__field input:focus {
	border-color: var(--sc-champagne);
	outline: none;
}

/* Honeypot : hors écran, jamais display:none (certains bots l'ignorent). */
.scandy-club__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.scandy-club__consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 12px;
	line-height: 1.5;
	color: var(--sc-grey-2);
	cursor: pointer;
}

.scandy-club__consent input { margin-top: 2px; accent-color: var(--sc-champagne); }

.scandy-club__submit {
	appearance: none;
	border: none;
	cursor: pointer;
	background: linear-gradient(135deg, var(--sc-champagne-2), var(--sc-champagne), var(--sc-champagne-deep));
	color: var(--sc-onyx);
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border-radius: 0;
	padding: 15px 28px;
	margin-top: 6px;
	transition: filter 0.25s ease, transform 0.15s ease;
}

.scandy-club__submit:hover { filter: brightness(1.08); }
.scandy-club__submit:active { transform: scale(0.98); }
.scandy-club__submit[disabled] { opacity: 0.55; cursor: wait; }

.scandy-club__status {
	min-height: 1.2em;
	font-size: 13px;
	color: var(--sc-grey-2);
	margin: 4px 0 0;
	text-align: center;
}

.scandy-club__status.is-error { color: #d98a8a; }

/* ---------- Écran succès + wallets ---------- */

.scandy-club__success { animation: scandy-club-in 0.5s ease; }

@keyframes scandy-club-in {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

.scandy-club__message {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 21px;
	line-height: 1.4;
	color: var(--sc-cream);
	margin: 0 0 24px;
}

.scandy-club__wallets {
	display: grid;
	gap: 12px;
	justify-items: center;
	margin-bottom: 20px;
}

.scandy-club__wallet-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 300px;
	box-sizing: border-box;
	justify-content: center;
	background: #000;
	border: 1px solid var(--sc-line);
	border-radius: 0;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	padding: 13px 20px;
	transition: border-color 0.2s ease;
}

.scandy-club__wallet-btn:hover { border-color: var(--sc-champagne); color: #fff; }

.scandy-club__wallet-btn--none {
	background: transparent;
	color: var(--sc-grey-2);
	font-size: 13px;
	border-style: dashed;
}

.scandy-club__hint { font-size: 12px; color: var(--sc-grey); margin: 0; }

@media (max-width: 560px) {
	.scandy-club { padding: 32px 20px; border-radius: 0; }
	.scandy-club__title { font-size: 28px; }
}

/* ==================================================================
   Page portant (template de secours + widgets Elementor)
   ================================================================== */

.scandy-portant {
	background: #0b0b0b;
	color: #f4efe4;
	font-family: 'Inter', -apple-system, sans-serif;
}

.scandy-portant-heading {
	font-family: 'Cinzel', Georgia, serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #fbbf52;
	text-align: center;
	margin: 0 0 36px;
}

/* ---------- Hero ---------- */

.scandy-portant-hero {
	position: relative;
	min-height: 62vh;
	display: flex;
	align-items: flex-end;
	background-color: #0b0b0b;
	background-size: cover;
	background-position: center;
}

.scandy-portant-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11,11,11,0.35), rgba(11,11,11,0.92));
}

.scandy-portant-hero__content {
	position: relative;
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	padding: 80px 24px 64px;
	text-align: center;
}

.scandy-portant-hero__brand {
	display: block;
	font-family: 'Cinzel', Georgia, serif;
	font-size: 15px;
	letter-spacing: 0.45em;
	color: #fbbf52;
	margin-bottom: 18px;
}

.scandy-portant-hero__title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(34px, 6vw, 58px);
	font-weight: 500;
	line-height: 1.08;
	color: #f4efe4;
	margin: 0 0 8px;
}

.scandy-portant-hero__city {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #b8b0a1;
	margin: 0 0 20px;
}

.scandy-portant-hero__desc {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 19px;
	line-height: 1.6;
	color: #ece5d3;
	max-width: 620px;
	margin: 0 auto;
}

/* ---------- Sections communes ---------- */

.scandy-portant-contact,
.scandy-portant-gallery,
.scandy-portant-products,
.scandy-portant-club {
	max-width: 1080px;
	margin: 0 auto;
	padding: 72px 24px;
}

/* ---------- Contact ---------- */

.scandy-portant-contact__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 28px;
}

.scandy-portant-contact__block {
	border: 1px solid rgba(251, 191, 82, 0.25);
	border-radius: 0;
	padding: 26px;
	background: #121212;
}

.scandy-portant-contact__block h3 {
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #b8b0a1;
	margin: 0 0 12px;
}

.scandy-portant-contact__block p {
	font-size: 14px;
	line-height: 1.8;
	color: #f4efe4;
	margin: 0;
}

.scandy-portant-link {
	color: #fbbf52;
	text-decoration: none;
	transition: color 0.2s ease;
}

.scandy-portant-link:hover { color: #fff0aa; }

/* ---------- Galerie ---------- */

.scandy-portant-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
}

.scandy-portant-gallery__grid figure {
	margin: 0;
	border-radius: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.scandy-portant-gallery__grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.scandy-portant-gallery__grid figure:hover img { transform: scale(1.04); }

/* ---------- Produits ---------- */

.scandy-portant-products__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}

.scandy-portant-product {
	display: block;
	text-decoration: none;
	background: #121212;
	border: 1px solid rgba(251, 191, 82, 0.2);
	border-radius: 0;
	overflow: hidden;
	transition: border-color 0.25s ease, transform 0.25s ease;
}

.scandy-portant-product:hover {
	border-color: #fbbf52;
	transform: translateY(-3px);
}

.scandy-portant-product img {
	width: 100%;
	height: auto;
	display: block;
}

.scandy-portant-product__name {
	display: block;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 19px;
	color: #f4efe4;
	padding: 16px 18px 4px;
}

.scandy-portant-product__price {
	display: block;
	font-size: 13px;
	color: #fbbf52;
	padding: 0 18px 18px;
}

/* ==================================================================
   Espace partenaire (front)
   ================================================================== */

.scandy-dash {
	max-width: 760px;
	margin: 0 auto;
	padding: 44px 32px;
	background: linear-gradient(160deg, #0b0b0b, #121212);
	border: 1px solid rgba(251, 191, 82, 0.25);
	border-radius: 0;
	color: #f4efe4;
	font-family: 'Inter', -apple-system, sans-serif;
}

.scandy-dash--locked { text-align: center; }
.scandy-dash--locked p { color: #b8b0a1; margin: 16px 0 24px; }

.scandy-dash__header { text-align: center; margin-bottom: 32px; }

.scandy-dash__title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 32px;
	font-weight: 500;
	color: #f4efe4;
	margin: 8px 0 2px;
}

.scandy-dash__subtitle {
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #8a8276;
	margin: 0;
}

.scandy-dash__kpis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 14px;
	margin-bottom: 26px;
}

.scandy-dash__kpi {
	background: #1d1d1d;
	border: 1px solid rgba(251, 191, 82, 0.2);
	border-radius: 0;
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.scandy-dash__kpi-label {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #b8b0a1;
}

.scandy-dash__kpi-value {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 36px;
	line-height: 1;
	color: #f4efe4;
}

.scandy-dash__kpi-hint { font-size: 11px; color: #8a8276; }

.scandy-dash__commissions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 20px;
}

.scandy-dash__month {
	border: 1px solid #fbbf52;
	border-radius: 0;
	padding: 20px 22px;
	text-align: center;
	background: rgba(251, 191, 82, 0.06);
}

.scandy-dash__month--prev { border-color: rgba(251, 191, 82, 0.3); background: transparent; }

.scandy-dash__month h3 {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #b8b0a1;
	margin: 0 0 8px;
}

.scandy-dash__amount {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 34px;
	color: #fbbf52;
	margin: 0 0 4px;
}

.scandy-dash__detail { font-size: 12px; color: #8a8276; margin: 0; }

.scandy-dash__notice {
	font-size: 12px;
	font-style: italic;
	color: #8a8276;
	text-align: center;
	margin: 0 0 26px;
}

.scandy-dash__heading {
	font-family: 'Cinzel', Georgia, serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fbbf52;
	margin: 26px 0 14px;
}

.scandy-dash__chart { width: 100%; height: auto; display: block; }

.scandy-dash__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.scandy-dash__table th {
	text-align: left;
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8a8276;
	padding: 8px 10px;
	border-bottom: 1px solid rgba(251, 191, 82, 0.25);
}

.scandy-dash__table td {
	padding: 10px;
	border-bottom: 1px solid rgba(251, 191, 82, 0.1);
}

.scandy-dash__footer { text-align: center; margin-top: 30px; font-size: 13px; }

@media (max-width: 560px) {
	.scandy-dash { padding: 30px 18px; }
	.scandy-dash__commissions { grid-template-columns: 1fr; }
}

/* ---------- Écran verrouillé de l'espace partenaire ---------- */

.scandy-dash--locked .scandy-dash__title { margin: 10px 0 6px; }

.scandy-dash__cta {
	display: inline-block;
	background: linear-gradient(135deg, #fff0aa, #fbbf52, #ba710e);
	color: #0b0b0b;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 0;
	padding: 14px 32px;
	margin: 6px 0 8px;
	transition: filter 0.25s ease;
}

.scandy-dash__cta:hover { filter: brightness(1.08); color: #0b0b0b; }

.scandy-dash__alt {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid rgba(251, 191, 82, 0.2);
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}

.scandy-dash__alt-sep {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-style: italic;
	font-size: 16px;
	color: #8a8276;
}

.scandy-dash__alt-link { font-size: 14px; }

/* ---------- Autofill + sélection : jamais de bleu navigateur ---------- */

.scandy-club__field input:-webkit-autofill,
.scandy-club__field input:-webkit-autofill:hover,
.scandy-club__field input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--sc-cream);
	-webkit-box-shadow: 0 0 0 1000px var(--sc-onyx-3) inset;
	box-shadow: 0 0 0 1000px var(--sc-onyx-3) inset;
	caret-color: var(--sc-champagne);
	transition: background-color 99999s ease-in-out 0s;
}

.scandy-club ::selection,
.scandy-dash ::selection,
.scandy-portant ::selection {
	background: #fbbf52;
	color: #0b0b0b;
}
