/*
Theme Name: NEOX2 & Orca Pro
Theme URI: https://neox2-orca.com
Author: NEOX2 & Orca Pro
Description: Thème WordPress professionnel, autonome (sans thème parent), pour la vente des abonnements NEOX2 et Orca Pro (Orca Pro Max, Orca Pro Plus). Rapide, responsive, sécurisé et optimisé SEO.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: neox2-orca
*/

/* ---------- Design tokens (extracted from the official Orca Pro logo) ---------- */
:root {
	--nxo-brand-start: #c9105f;
	--nxo-brand-mid: #e0632f;
	--nxo-brand-end: #f5aa1d;
	--nxo-primary: #b8155f;
	--nxo-primary-dark: #8a0f47;
	--nxo-ink: #2d1a4a;
	--nxo-text: #1d2327;
	--nxo-muted: #656271;
	--nxo-border: #e7e3ec;
	--nxo-bg: #ffffff;
	--nxo-bg-soft: #f8f6fb;
	--nxo-radius: 14px;
	--nxo-max: 1160px;
	--nxo-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--nxo-gradient: linear-gradient(135deg, var(--nxo-brand-start) 0%, var(--nxo-brand-mid) 55%, var(--nxo-brand-end) 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--nxo-font);
	color: var(--nxo-text);
	background: var(--nxo-bg);
	line-height: 1.65;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--nxo-primary); text-decoration: none; }
a:hover { color: var(--nxo-primary-dark); }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 16px; font-weight: 800; color: var(--nxo-ink); }
h1 { font-size: clamp(28px, 4vw, 46px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }

.nxo-container {
	max-width: var(--nxo-max);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Skip link (accessibility) ---------- */
.nxo-skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	background: var(--nxo-ink);
	color: #fff;
	padding: 12px 20px;
	z-index: 10000;
	border-radius: 0 0 8px 0;
}
.nxo-skip-link:focus {
	left: 0;
	top: 0;
}

/* ---------- Header ---------- */
.nxo-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--nxo-border);
}

.nxo-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 24px;
	max-width: var(--nxo-max);
	margin: 0 auto;
}

.nxo-logo {
	display: flex;
	align-items: center;
	font-weight: 800;
	font-size: 20px;
	color: var(--nxo-ink);
	flex-shrink: 0;
}
.nxo-logo:hover { color: var(--nxo-primary); }
.nxo-logo img,
.nxo-logo .custom-logo { max-height: 64px !important; width: auto !important; display: block; }

.nxo-primary-nav {
	margin-left: auto;
}

.nxo-primary-nav ul {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 0;
}

.nxo-primary-nav a {
	color: var(--nxo-text);
	font-weight: 600;
	font-size: 15px;
}

.nxo-primary-nav a:hover { color: var(--nxo-primary); }

.nxo-header-cta {
	flex-shrink: 0;
	background: var(--nxo-gradient);
	color: #fff;
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 14px;
}
.nxo-header-cta:hover { opacity: 0.92; color: #fff; }

.nxo-nav-toggle {
	display: none;
}

.nxo-nav-toggle-label {
	display: none;
	cursor: pointer;
	width: 26px;
	height: 20px;
	position: relative;
	flex-shrink: 0;
}

.nxo-nav-toggle-label span,
.nxo-nav-toggle-label::before,
.nxo-nav-toggle-label::after {
	content: '';
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--nxo-ink);
	transition: transform 0.2s ease;
}
.nxo-nav-toggle-label span { top: 9px; }
.nxo-nav-toggle-label::before { top: 0; }
.nxo-nav-toggle-label::after { top: 18px; }

/* ---------- Buttons ---------- */
.nxo-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 10px;
	background: var(--nxo-gradient);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	border: none;
	cursor: pointer;
}
.nxo-btn:hover { opacity: 0.92; color: #fff; }

.nxo-btn-outline {
	display: inline-block;
	padding: 13px 27px;
	border-radius: 10px;
	background: transparent;
	color: var(--nxo-ink);
	font-weight: 700;
	font-size: 15px;
	border: 1.5px solid var(--nxo-border);
}
.nxo-btn-outline:hover { border-color: var(--nxo-primary); color: var(--nxo-primary); }

/* ---------- Hero ---------- */
.nxo-hero-section {
	padding: 56px 0 40px;
	overflow: hidden;
}

.nxo-hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}

.nxo-hero-copy .nxo-eyebrow {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 20px;
	background: var(--nxo-bg-soft);
	color: var(--nxo-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.nxo-hero-copy h1 { margin-bottom: 18px; }

.nxo-hero-copy p.nxo-lede {
	max-width: 520px;
	color: var(--nxo-muted);
	font-size: 18px;
	margin-bottom: 28px;
}

.nxo-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 32px;
}

.nxo-hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--nxo-muted);
}
.nxo-hero-trust li { display: flex; align-items: center; gap: 6px; }
.nxo-hero-trust li::before {
	content: '✔';
	color: var(--nxo-primary);
	font-weight: 800;
}

.nxo-hero-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nxo-hero-visual::before {
	content: '';
	position: absolute;
	inset: -10%;
	background: var(--nxo-gradient);
	opacity: 0.16;
	filter: blur(60px);
	border-radius: 50%;
	z-index: 0;
}

.nxo-hero-visual img {
	position: relative;
	z-index: 1;
	max-width: 360px;
	margin: 0 auto;
}

.nxo-hero-visual-dual {
	gap: 16px;
}

.nxo-hero-visual-dual img {
	max-width: 46%;
}

/* ---------- Feature / app preview section ---------- */
.nxo-feature-section {
	padding: 48px 0;
	background: var(--nxo-bg-soft);
}

.nxo-feature-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 48px;
	align-items: center;
}

.nxo-feature-grid img { border-radius: var(--nxo-radius); }

.nxo-feature-copy ul {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}
.nxo-feature-copy li {
	padding: 10px 0;
	border-bottom: 1px solid var(--nxo-border);
	font-weight: 600;
}
.nxo-feature-copy li::before {
	content: '✔';
	color: var(--nxo-primary);
	margin-right: 10px;
	font-weight: 800;
}

/* ---------- Page / entry content ---------- */
.nxo-content {
	padding: 40px 0 80px;
}

.entry-content {
	max-width: 780px;
	margin: 0 auto;
}

.entry-content.nxo-wide { max-width: var(--nxo-max); }

.nxo-entry-header {
	max-width: 780px;
	margin: 0 auto 24px;
}

.nxo-entry-meta {
	color: var(--nxo-muted);
	font-size: 13px;
	margin-bottom: 12px;
}

.nxo-reading-time {
	display: inline-block;
	margin: 0 0 16px;
	padding: 4px 12px;
	border-radius: 20px;
	background: var(--nxo-bg-soft);
	color: var(--nxo-muted);
	font-size: 12px;
	font-weight: 600;
}

.nxo-featured-image {
	max-width: var(--nxo-max);
	margin: 0 auto 32px;
	border-radius: var(--nxo-radius);
	overflow: hidden;
}

/* ---------- Blog archive ---------- */
.nxo-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nxo-post-card {
	border: 1px solid var(--nxo-border);
	border-radius: var(--nxo-radius);
	overflow: hidden;
	background: var(--nxo-bg);
}

.nxo-post-card img { aspect-ratio: 16/9; object-fit: cover; }

.nxo-post-card-body { padding: 18px 20px 22px; }

.nxo-post-card h2 { font-size: 19px; margin-bottom: 8px; }

.nxo-post-card .nxo-entry-meta { margin-bottom: 8px; }

.nxo-post-card p { color: var(--nxo-muted); font-size: 14px; }

/* ---------- Footer ---------- */
.nxo-site-footer {
	background: var(--nxo-ink);
	color: #cfc7dd;
	padding: 56px 0 0;
	margin-top: 60px;
}

.nxo-footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
	gap: 32px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nxo-footer-col h3 {
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 18px;
}

.nxo-footer-logo-chip {
	display: inline-block;
	background: #fff;
	padding: 10px 16px;
	border-radius: 10px;
	margin-bottom: 16px;
}

.nxo-footer-brand img,
.nxo-footer-brand .custom-logo {
	max-height: 44px !important;
	width: auto !important;
	display: block;
}

.nxo-footer-brand p {
	color: #b4aac4;
	font-size: 14px;
	max-width: 280px;
}

.nxo-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nxo-footer-col li { margin-bottom: 10px; }

.nxo-footer-col a {
	color: #cfc7dd;
	font-size: 14px;
}
.nxo-footer-col a:hover { color: #fff; }

.nxo-footer-col p { color: #cfc7dd; font-size: 14px; }

.nxo-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
	font-size: 13px;
	color: #9d92b3;
}

/* ---------- 404 / search ---------- */
.nxo-error-page {
	text-align: center;
	padding: 100px 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.nxo-hero-grid,
	.nxo-feature-grid {
		grid-template-columns: 1fr;
	}
	.nxo-hero-copy p.nxo-lede { max-width: 100%; }
	.nxo-hero-visual { order: -1; }
	.nxo-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
	.nxo-primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--nxo-border);
		display: none;
	}
	.nxo-primary-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 24px 16px;
	}
	.nxo-primary-nav ul li { padding: 10px 0; border-bottom: 1px solid var(--nxo-border); }
	.nxo-nav-toggle-label { display: block; margin-left: auto; }
	.nxo-nav-toggle:checked ~ .nxo-primary-nav { display: block; }
}

@media (max-width: 480px) {
	.nxo-header-cta { display: none; }
	.nxo-footer-grid { grid-template-columns: 1fr; }
}
