/*
Theme Name: Naked Truth
Theme URI: https://nakedtruth.fun
Author: Armand Graphix
Author URI: https://armandyomi.com
Description: Thème classique pour Naked Truth, le jeu de soirée Action/Vérité en temps réel. Mode sombre par défaut, mode clair complet, FR/EN/ES, boutons Liquid Glass, démo jouable. Extensions compagnes : Polylang, WooCommerce, naked-truth-connect.
Version: 1.0.6
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: naked-truth
*/

/* ============================================================ Design system */
:root {
	--bg: #0D0A13;
	--surface: #171220;
	--surface-2: #1F1829;
	--text-primary: #F3EEF9;
	--text-secondary: #A79BB8;
	--text-tertiary: #6E6280;
	--border-soft: rgba(255, 255, 255, .06);
	--border-mid: rgba(255, 255, 255, .10);
	--brand: #B03FE8;
	--brand-soft: #7A2FB0;
	--on-accent: #1B1330;
	--fun: #F2AE3D;
	--soft: #3DD9A0;
	--hot: #FF4C86;
	--hard: #E12138;
	--extreme: #4A0F22;
	--extreme-text: #D86A8C;
	--fun-rgb: 242, 174, 61;
	--soft-rgb: 61, 217, 160;
	--hot-rgb: 255, 76, 134;
	--hard-rgb: 225, 33, 56;
	--extreme-rgb: 74, 15, 34;
	--radius: 18px;
	--font-serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
	--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--lg-rgb: 176, 63, 232;
	--lg-alpha: .18;
	--lg-blur: 18px;
	--lg-border: 1px;
	--lg-radius: 999px;
}

body[data-theme="light"] {
	--bg: #F5F1FA;
	--surface: #FFFFFF;
	--surface-2: #EFE7F7;
	--text-primary: #211735;
	--text-secondary: #5C5170;
	--text-tertiary: #8B81A0;
	--border-soft: rgba(33, 23, 53, .07);
	--border-mid: rgba(33, 23, 53, .14);
	--brand: #8A2BC9;
	--brand-soft: #6E1FA8;
	--extreme-text: #4A0F22;
}

/* ============================================================ Base */
*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text-primary);
	font-family: var(--font-sans);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }
html body a { color: var(--brand); }
html body a:hover { color: var(--brand-soft); }

html body h1, html body h2, html body h3, html body h4 {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	margin: 0 0 18px;
}
html body h1 { font-size: 56px; line-height: 1.04; letter-spacing: -.5px; }
html body h2 { font-size: 38px; line-height: 1.1; letter-spacing: -.3px; text-align: center; margin-bottom: 14px; }
html body h3 { font-size: 24px; }
html body h4 { font-size: 20px; }

p { margin: 0 0 14px; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 820px; }
.wrap.legal-page { max-width: 760px; }
.wrap.game-page { max-width: 900px; }

.eyebrow {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	font-weight: 700;
	color: var(--brand);
	margin: 0 0 16px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	background: var(--brand);
	color: #fff;
	padding: 8px 14px;
	border-radius: 8px;
	z-index: 1000;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.section { padding: 84px 0; }
.section-note { text-align: center; color: var(--text-secondary); max-width: 640px; margin: 0 auto 36px; font-size: 14.5px; }

.card {
	background: var(--surface);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	padding: 28px;
}

/* ============================================================ Boutons */
.btn-primary, .btn-ghost, .navcta {
	display: inline-block;
	border-radius: 999px;
	font-family: var(--font-sans);
	font-style: normal;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	border: 0;
	padding: 15px 26px;
	text-align: center;
	transition: transform .2s ease, background .2s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-soft); color: #fff; }
.btn-ghost {
	background: transparent;
	color: var(--text-primary);
	border: 1.5px solid var(--border-mid);
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--brand); }
.navcta, .nav-cta {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .8px;
	padding: 10px 20px;
	background: var(--brand);
	color: #fff;
	white-space: nowrap;
}
.navcta:hover { background: var(--brand-soft); color: #fff; }

.round-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border-mid);
	background: var(--surface);
	color: var(--text-primary);
	font-size: 17px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.round-btn:hover { border-color: var(--brand); }

/* ============================================================ Navigation */
nav.site-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: color-mix(in srgb, var(--bg) 85%, transparent);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border-soft);
}
nav.site-nav .nav-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; max-width: 1240px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-primary); }
.logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px 3px var(--brand); }
.logo-text { font-family: var(--font-serif); font-style: italic; font-size: 22px; }
.logo img { max-height: 40px; width: auto; }

.nav-collapsible { flex: 1; display: flex; align-items: center; gap: 18px; }
.nav-links { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 22px; color: var(--text-secondary); }
.nav-links a { white-space: nowrap; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; text-decoration: none; color: inherit; }
.nav-links a:hover { color: var(--text-primary); }
.nav-tools { display: flex; align-items: center; gap: 12px; }

.nav-hamburger {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--border-mid);
	background: var(--surface);
	cursor: pointer;
	padding: 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.nav-hamburger span { display: block; width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; }

.lang-switch { position: relative; }
.lang-toggle {
	height: 40px;
	padding: 0 14px;
	border-radius: 12px;
	border: 1px solid var(--border-mid);
	background: var(--surface);
	color: var(--text-primary);
	font: 700 13px var(--font-sans);
	white-space: nowrap;
	cursor: pointer;
}
.lang-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	min-width: 84px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--border-mid);
	border-radius: 12px;
	z-index: 20;
}
.lang-menu[hidden] { display: none; }
.lang-menu a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--text-primary); font-size: 13px; font-weight: 700; }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: var(--surface-2); }

/* ============================================================ Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 90px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero-sub { font-size: 17px; color: var(--text-secondary); max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 28px; color: var(--text-secondary); font-size: 13px; }
.hero-stats strong { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 30px; color: var(--text-primary); }
.hero-stats li { max-width: 150px; }

.hero-visual { display: flex; justify-content: center; }
.hero-card-stage { width: 100%; max-width: 340px; min-height: 380px; display: flex; align-items: center; justify-content: center; }

.game-card {
	position: relative;
	overflow: hidden;
	width: 100%;
	min-height: 360px;
	padding: 34px 28px;
	border-radius: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transform: rotate(-3deg);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
	animation: nt-deal .7s cubic-bezier(.2, .8, .2, 1) both;
	background: var(--fun);
	color: var(--on-accent);
}
.game-card p { font-family: var(--font-serif); font-style: italic; font-size: 26px; line-height: 1.25; margin: 0; }
.game-card-level { font: 700 12px var(--font-sans); letter-spacing: 2.5px; text-transform: uppercase; opacity: .8; }
.game-card::after {
	content: "";
	position: absolute;
	top: -20%;
	left: -60%;
	width: 40%;
	height: 140%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
	transform: rotate(12deg);
	animation: nt-shine 3.6s ease-in-out infinite;
	pointer-events: none;
}
.game-card.lvl-fun { background: var(--fun); color: var(--on-accent); }
.game-card.lvl-soft { background: var(--soft); color: var(--on-accent); }
.game-card.lvl-hot { background: var(--hot); color: #fff; }
.game-card.lvl-hard { background: var(--hard); color: #fff; }
.game-card.lvl-extreme { background: var(--extreme); color: #fff; }

@keyframes nt-deal {
	from { opacity: 0; transform: translateY(-60px) rotate(-14deg) scale(.82); }
	to { opacity: 1; transform: translateY(0) rotate(-3deg) scale(1); }
}
@keyframes nt-shine {
	0%, 55% { left: -60%; }
	100% { left: 140%; }
}

.hero-fall { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.fall {
	position: absolute;
	top: -120px;
	width: 70px;
	height: 100px;
	border-radius: 12px;
	opacity: .25;
	animation: nt-fall 14s linear infinite;
}
.fall-fun { left: 6%; background: var(--fun); animation-delay: 0s; }
.fall-soft { left: 30%; background: var(--soft); animation-delay: -4s; animation-duration: 17s; }
.fall-hot { left: 55%; background: var(--hot); animation-delay: -8s; animation-duration: 15s; }
.fall-hard { left: 78%; background: var(--hard); animation-delay: -2s; animation-duration: 19s; }
.fall-extreme { left: 92%; background: var(--extreme); animation-delay: -10s; animation-duration: 16s; }
@keyframes nt-fall {
	from { transform: translateY(0) rotate(-12deg); }
	to { transform: translateY(900px) rotate(24deg); }
}

/* ============================================================ Sections */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.pillar-num { display: block; font-family: var(--font-serif); font-style: italic; font-size: 34px; color: var(--brand); margin-bottom: 8px; }
.pillar p, .step p { color: var(--text-secondary); font-size: 15px; margin: 0; }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { text-align: center; }
.step-num {
	display: inline-flex;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	background: var(--brand);
	color: #fff;
	font-weight: 700;
	margin-bottom: 14px;
}

.cta-block { text-align: center; margin-top: 44px; }
.cta-block p { font-family: var(--font-serif); font-style: italic; font-size: 24px; margin-bottom: 18px; }

.level-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.level-card { border-radius: var(--radius); border: 1px solid var(--border-soft); padding: 24px 18px; }
.level-card h4 { margin-bottom: 8px; }
.level-card p { font-size: 14px; color: var(--text-secondary); margin: 0; }
.level-card.lvl-fun { background: linear-gradient(160deg, rgba(var(--fun-rgb), .28), var(--surface)); }
.level-card.lvl-soft { background: linear-gradient(160deg, rgba(var(--soft-rgb), .28), var(--surface)); }
.level-card.lvl-hot { background: linear-gradient(160deg, rgba(var(--hot-rgb), .28), var(--surface)); }
.level-card.lvl-hard { background: linear-gradient(160deg, rgba(var(--hard-rgb), .28), var(--surface)); }
.level-card.lvl-extreme { background: linear-gradient(160deg, rgba(var(--extreme-rgb), .55), var(--surface)); }
.level-card.lvl-fun h4 { color: var(--fun); }
.level-card.lvl-soft h4 { color: var(--soft); }
.level-card.lvl-hot h4 { color: var(--hot); }
.level-card.lvl-hard h4 { color: var(--hard); }
.level-card.lvl-extreme h4 { color: var(--extreme-text); }

.price-group { text-align: center; font-size: 18px; color: var(--text-secondary); margin: 34px 0 16px; }
.price-grid { display: grid; gap: 18px; }
.price-grid-public { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.price-grid-packs { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.price-card { min-width: 0; position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.price-card.featured { border: 2px solid var(--brand); }
.pill-popular {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--brand);
	color: #fff;
	font: 700 11px var(--font-sans);
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
	white-space: nowrap;
}
.price { font-family: var(--font-serif); font-style: italic; font-size: 36px; margin: 0 0 4px; }
.price-hour { color: var(--text-tertiary); font-size: 13px; margin: 0 0 16px; min-height: 20px; }
.price-foot { text-align: center; color: var(--text-secondary); font-size: 14px; margin: 18px 0 0; }

.faq-item { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 0 22px; margin-bottom: 12px; }
.faq-item summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--brand); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--text-secondary); font-size: 15px; padding-bottom: 18px; margin: 0; }

/* ============================================================ Démo */
.demo-stage { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 24px; padding: 32px; min-height: 340px; text-align: center; }
.demo-stage h3 { font-size: 22px; margin-bottom: 16px; }
.demo-players { display: flex; gap: 10px; justify-content: center; margin-bottom: 14px; }
.demo-players input {
	flex: 1;
	max-width: 280px;
	padding: 12px 16px;
	border-radius: 999px;
	border: 1px solid var(--border-mid);
	background: var(--surface-2);
	color: var(--text-primary);
	font: 15px var(--font-sans);
}
.chips { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 999px; padding: 6px 8px 6px 14px; font-size: 14px; }
.chip button { border: 0; background: transparent; color: var(--text-tertiary); cursor: pointer; font-size: 16px; line-height: 1; padding: 2px 6px; }
.demo-err { min-height: 20px; color: var(--hard); font-size: 14px; margin: 0 0 8px; }
.level-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 22px; }
.level-pill {
	border-radius: 999px;
	border: 1.5px solid var(--border-mid);
	background: transparent;
	color: var(--text-primary);
	font: 700 12px var(--font-sans);
	letter-spacing: 1px;
	padding: 9px 16px;
	cursor: pointer;
}
.level-pill[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.level-pill[disabled] { opacity: .45; cursor: not-allowed; }
.demo-turn { color: var(--text-secondary); margin: 0 0 4px; font-size: 14px; }
.demo-name { font-family: var(--font-serif); font-style: italic; font-size: 30px; margin: 0 0 18px; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.demo-stage .game-card { max-width: 420px; margin: 0 auto; min-height: 220px; }
.demo-stats { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 0 0 22px; padding: 0; list-style: none; }
.demo-stats li { background: var(--surface-2); border-radius: 14px; padding: 12px 18px; font-size: 14px; color: var(--text-secondary); }
.demo-stats strong { display: block; color: var(--text-primary); font-size: 18px; }

.wheel-wrap { position: relative; width: min(280px, 80vw); margin: 0 auto 22px; }
.wheel-pointer { position: absolute; left: 50%; top: -10px; transform: translateX(-50%); width: 0; height: 0; border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 22px solid var(--text-primary); z-index: 2; }
.wheel { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; border: 4px solid var(--surface-2); transition: transform 3.4s cubic-bezier(.12, .7, .1, 1); overflow: hidden; }
.wl { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)); }
.wl span { position: absolute; left: 0; top: calc(var(--r) * -1); transform: translate(-50%, -50%); white-space: nowrap; font: 700 13px var(--font-sans); color: #fff; max-width: 90px; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }

/* ============================================================ Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; margin-top: 36px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
.contact-form label:first-of-type { margin-top: 0; }
.contact-form input, .contact-form textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--border-mid);
	background: var(--surface-2);
	color: var(--text-primary);
	font: 15px var(--font-sans);
}
.contact-form .btn-primary { margin-top: 18px; }
.form-note { color: var(--text-tertiary); font-size: 13px; margin: 12px 0 0; }
.form-msg { margin: 10px 0 0; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: var(--soft); }
.form-msg.err { color: var(--hard); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-info p { color: var(--text-secondary); font-size: 15px; }

/* ============================================================ Pied de page */
.site-footer { border-top: 1px solid var(--border-soft); padding: 56px 0 28px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-brand p { color: var(--text-secondary); font-size: 14px; max-width: 320px; margin-top: 14px; }
.foot-col h4 { font-family: var(--font-sans); font-style: normal; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-tertiary); margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; color: var(--text-secondary); }
.foot-col li { margin-bottom: 8px; font-size: 14px; }
.foot-col a { text-decoration: none; color: inherit; }
.foot-col a:hover { color: var(--text-primary); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border-soft); color: var(--text-tertiary); font-size: 13px; }
.foot-bottom a { color: inherit; }

/* ============================================================ Pages */
.legal-page { padding-top: 56px; padding-bottom: 56px; color: var(--text-secondary); font-size: 14.5px; }
.legal-page h1 { color: var(--text-primary); }
.legal-page h2 { text-align: left; font-size: 24px; color: var(--text-primary); margin: 32px 0 10px; }
.legal-page li { margin-bottom: 6px; }
.not-found { text-align: center; }

.game-page { padding-top: 40px; padding-bottom: 56px; }
.game-page .nt-app, .nt-game-page .nt-app {
	--surface: #171220;
	--surface-2: #1F1829;
	--text-primary: #F3EEF9;
	--text-secondary: #A79BB8;
	--text-tertiary: #6E6280;
	--border-soft: rgba(255, 255, 255, .06);
	--border-mid: rgba(255, 255, 255, .10);
	--brand: #B03FE8;
	--brand-soft: #7A2FB0;
	background: var(--surface);
	color: var(--text-primary);
	border-radius: 24px;
	padding: 28px;
}
body[data-theme="light"] .game-page .nt-app, body[data-theme="light"] .nt-game-page .nt-app {
	--surface: #FFFFFF;
	--surface-2: #EFE7F7;
	--text-primary: #211735;
	--text-secondary: #5C5170;
	--text-tertiary: #8B81A0;
	--border-soft: rgba(33, 23, 53, .07);
	--border-mid: rgba(33, 23, 53, .14);
	--brand: #8A2BC9;
	--brand-soft: #6E1FA8;
	box-shadow: 0 1px 0 rgba(33, 23, 53, .04), 0 12px 32px rgba(33, 23, 53, .08);
}
.game-page .nt-app table { width: 100%; border-collapse: collapse; }
.game-page .nt-app th, .game-page .nt-app td { padding: 10px 12px; border-bottom: 1px solid var(--border-soft); text-align: left; }
.game-page .nt-app button { font-family: var(--font-sans); }

/* ============================================================ Accessibilité */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================================ Responsive (sélecteurs préfixés) */
@media (min-width: 1041px) and (max-width: 1160px) {
	nav.site-nav .nav-collapsible { gap: 10px; }
	nav.site-nav .nav-links { gap: 12px; }
	nav.site-nav .nav-links a { font-size: 11.5px; letter-spacing: .3px; }
	nav.site-nav .nav-tools { gap: 6px; }
	nav.site-nav .nav-cta { padding: 9px 12px; font-size: 11.5px; letter-spacing: .4px; }
	nav.site-nav .logo-text { font-size: 18px; }
	nav.site-nav .lang-toggle { padding: 0 9px; }
}

@media (max-width: 1040px) {
	nav.site-nav .nav-hamburger { display: inline-flex; }
	nav.site-nav .nav-collapsible {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 18px;
		padding: 20px 28px 26px;
		background: var(--bg);
		border-bottom: 1px solid var(--border-soft);
	}
	nav.site-nav .nav-collapsible.open { display: flex; }
	nav.site-nav .nav-collapsible .nav-links { flex-direction: column; gap: 14px; margin: 0; }
	nav.site-nav .nav-collapsible .nav-tools { flex-wrap: wrap; }
	nav.site-nav .nav-collapsible .nav-cta { flex: 1 1 100%; }
}

@media (max-width: 860px) {
	body.nt-site h1 { font-size: 38px; }
	body.nt-site h2 { font-size: 30px; }
	body.nt-site .hero .hero-grid { grid-template-columns: 1fr; gap: 36px; }
	body.nt-site .hero .hero-visual { order: -1; }
	body.nt-site .hero .hero-fall { display: none; }
	body.nt-site .pillars, body.nt-site .steps { grid-template-columns: 1fr; }
	body.nt-site .level-grid { grid-template-columns: repeat(2, 1fr); }
	body.nt-site .price-grid-public { grid-template-columns: repeat(2, 1fr); }
	body.nt-site .price-grid-packs { grid-template-columns: 1fr; }
	body.nt-site .contact-grid { grid-template-columns: 1fr; }
	body.nt-site .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
	body.nt-site .wrap { padding: 0 20px; }
	body.nt-site .section { padding: 60px 0; }
	body.nt-site .hero { padding: 48px 0 60px; }
	body.nt-site .hero .hero-actions .btn-primary, body.nt-site .hero .hero-actions .btn-ghost { flex: 1 1 100%; }
	body.nt-site .level-grid, body.nt-site .price-grid-public { grid-template-columns: 1fr; }
	body.nt-site .foot-grid { grid-template-columns: 1fr; }
	body.nt-site .demo-stage { padding: 22px 16px; }
	body.nt-site .demo-players { flex-direction: column; align-items: center; }
	body.nt-site .demo-players input { max-width: none; width: 100%; }
}

/* ============================================================ Bouclier (dernier bloc, ne change rien à l'affichage normal) */
/* Neutralise la feuille d'erreur de WordPress si une erreur fatale survient en milieu de page. */
html body.nt-site {
	background: var(--bg) !important;
	color: var(--text-primary) !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
html body.nt-site h1 {
	color: var(--text-primary);
	border: 0;
	padding: 0;
	margin: 0 0 18px;
}
html body.nt-site .nav-links a,
html body.nt-site .logo,
html body.nt-site .site-footer a {
	color: inherit;
}

.price-thumb { display: block; width: 100%; max-width: 220px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; margin: 0 auto 12px; background: var(--surface); }
