/* ============================================================
   WPMove — Landing (Ollie Child v3)
   Chargée sur la page d'accueil seulement (templates/front-page.html).
   Préfixe des classes : .w3- — jamais .wpmove-, réservé au plugin.
   Les surfaces de page suivent les tokens --wp-* (clair/sombre) ; les
   bandes indigo, la bande sombre et les fenêtres d'application (.w3-ui,
   toujours claires : c'est l'application, pas la page) ont des couleurs
   fixes, identiques dans les deux modes.
   Maquette : todo-features/refonte-v3.md § 1.
   ============================================================ */

:root {
	--w3-display: 'Outfit', var(--wp-font-sans);
	--w3-band: linear-gradient(160deg, #1E1B4B 0%, #312E81 55%, #4338CA 100%);
	--w3-dark: #0F1117;
	--w3-darker: #0B0D12;
	--w3-ui-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(15, 23, 42, 0.06);
}

/* ---------- Reset local (le parent Ollie stylise h1/h2/p globalement) ---------- */
.w3,
.w3 * {
	box-sizing: border-box;
}

.w3 {
	font-family: var(--wp-font-sans);
	color: var(--wp-text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* Les sections se touchent : sans ça, l'espacement de blocs du layout
   « flow » (margin-block-start sur > * + *) laisse une bande blanche entre
   deux sections colorées. */
.w3 > * {
	margin-block: 0 !important;
}

.w3 h1,
.w3 h2,
.w3 h3,
.w3 p,
.w3 ul,
.w3 ol {
	margin: 0;
}

.w3 h1,
.w3 h2,
.w3 h3 {
	font-family: var(--w3-display);
	letter-spacing: -0.01em;
	line-height: 1.1;
	color: inherit;
}

.w3 a {
	color: var(--wp-accent);
	text-decoration: none;
}

.w3 a:hover {
	color: var(--wp-accent-hover);
}

/* ---------- Mise en page ---------- */
.w3-container {
	max-width: var(--wp-container-max, 1180px);
	margin: 0 auto;
	padding: 0 32px;
}

.w3-narrow {
	max-width: 860px;
}

.w3-center {
	text-align: center;
	align-items: center;
}

.w3-stack {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.w3-stack--lg { gap: 36px; }
.w3-stack--xl { gap: 48px; }
.w3-stack--xxl { gap: 112px; }

.w3-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px;
	align-items: center;
}

.w3-split--flip > :first-child {
	order: 2;
}

.w3-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.w3-intro {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.w3-intro .w3-h2 {
	max-width: 780px;
}

.w3-row-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

/* ---------- Sections ---------- */
.w3-section {
	padding: 112px 0;
	background: var(--wp-bg);
}

.w3-section--subtle {
	background: var(--wp-bg-subtle);
}

.w3-section--tight-bottom { padding-bottom: 56px; }
.w3-section--tight-top { padding-top: 48px; }

/* ---------- Typographie ---------- */
.w3-eyebrow {
	font-family: var(--w3-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp-accent);
}

.w3-eyebrow--light {
	color: #A5B4FC;
}

.w3-h2 {
	font-size: clamp(32px, 3.4vw, 46px);
	font-weight: 700;
}

.w3-h3 {
	font-size: 24px;
	font-weight: 600;
}

.w3-lead {
	font-size: 18px;
	line-height: 1.65;
	color: var(--wp-text-muted);
}

.w3-punch {
	font-family: var(--w3-display);
	font-size: 24px;
	font-weight: 600;
	color: var(--wp-accent);
}

.w3-muted { color: var(--wp-text-muted); }
.w3-small { font-size: 14px; }
.w3-accent { color: #4F46E5; }

.w3-mono {
	font-family: var(--wp-font-mono);
}

.w3-k {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748B;
}

/* ---------- Boutons ---------- */
.w3-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.w3-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 22px;
	border: 1.5px solid transparent;
	border-radius: 10px;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.w3-btn svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.w3-btn--sm { min-height: 44px; font-size: 15px; padding: 0 18px; }
.w3-btn--lg { min-height: 54px; font-size: 17px; padding: 0 28px; }

.w3 .w3-btn--primary { background: #4F46E5; color: #FFFFFF; }
.w3 .w3-btn--primary:hover { background: #4338CA; color: #FFFFFF; }
.w3 .w3-btn--ghost { border-color: var(--wp-border-strong); color: var(--wp-text); }
.w3 .w3-btn--ghost:hover { border-color: var(--wp-accent); color: var(--wp-accent); }
.w3 .w3-btn--light { background: #FFFFFF; color: #312E81; }
.w3 .w3-btn--light:hover { background: #EEF2FF; color: #312E81; }
.w3 .w3-btn--outline-light { border-color: rgba(255, 255, 255, 0.45); color: #FFFFFF; }
.w3 .w3-btn--outline-light:hover { border-color: #FFFFFF; color: #FFFFFF; }

/* ---------- Hero ---------- */
.w3-hero {
	padding: 96px 0 112px;
	background: var(--wp-bg);
	overflow: hidden;
}

.w3-hero__title {
	font-size: clamp(42px, 5.2vw, 64px);
	line-height: 1.04;
	font-weight: 700;
}

.w3-hero__sub {
	font-size: 22px;
	line-height: 1.5;
	color: var(--wp-text-muted);
}

.w3-hero__sub strong {
	color: var(--wp-accent);
}

.w3-note {
	font-size: 14px;
	color: var(--wp-text-muted);
}

/* ---------- Fenêtre d'application (toujours claire) ---------- */
.w3-ui {
	background: #FFFFFF;
	color: #0F172A;
	border-radius: 14px;
	box-shadow: var(--w3-ui-shadow);
	overflow: hidden;
}

.w3-ui--pad {
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.w3-ui--term {
	background: var(--w3-dark);
	color: #CBD5E1;
	padding: 24px;
	font-size: 13px;
	line-height: 1.9;
}

.w3-ui__title {
	font-family: var(--w3-display);
	font-size: 19px;
	font-weight: 600;
}

.w3-ui__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	background: #F1F5F9;
	border-bottom: 1px solid #E2E8F0;
}

.w3-ui__dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
}

.w3-ui__url {
	margin-left: 12px;
	font-family: var(--wp-font-mono);
	font-size: 12px;
	color: #64748B;
}

.w3-ui__btns {
	display: flex;
	gap: 12px;
}

.w3-ui__btns span {
	flex: 1;
	text-align: center;
	padding: 12px;
	border: 1.5px solid #CBD5E1;
	border-radius: 10px;
	font-weight: 600;
	font-size: 14px;
}

.w3-app {
	display: flex;
	min-height: 340px;
}

.w3-app__side {
	width: 132px;
	flex: none;
	background: var(--w3-dark);
	padding: 18px 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.w3-app__logo {
	height: 10px;
	width: 70px;
	border-radius: 4px;
	background: #4F46E5;
	margin-bottom: 14px;
}

.w3-app__nav {
	font-size: 12px;
	color: #94A3B8;
	padding: 8px 10px;
	border-radius: 6px;
}

.w3-app__nav.is-on {
	color: #FFFFFF;
	background: rgba(129, 140, 248, 0.18);
}

.w3-app__main {
	flex: 1;
	min-width: 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.w3-app__sites {
	display: flex;
	align-items: center;
	gap: 10px;
}

.w3-app__site {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	border: 1px solid #E2E8F0;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 14px;
}

.w3-app__arrow {
	width: 22px;
	height: 22px;
	flex: none;
	fill: none;
	stroke: #4F46E5;
	stroke-width: 2.2;
	stroke-linecap: round;
}

.w3-progress__meta {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	margin-bottom: 8px;
}

.w3-progress__meta span {
	color: #64748B;
}

.w3-progress {
	height: 8px;
	border-radius: 99px;
	background: #E2E8F0;
}

.w3-progress > div {
	height: 100%;
	border-radius: 99px;
	background: #4F46E5;
}

.w3-progress--lg {
	height: 10px;
	margin-top: 8px;
}

.w3-bignum {
	font-family: var(--w3-display);
	font-size: 34px;
	font-weight: 700;
	color: #4F46E5;
	line-height: 1.1;
}

.w3-term {
	background: var(--w3-dark);
	color: #CBD5E1;
	border-radius: 10px;
	padding: 14px;
	font-family: var(--wp-font-mono);
	font-size: 11.5px;
	line-height: 1.8;
}

.w3-term div {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.w3-t-ok { color: #4ADE80; }
.w3-t-skip { color: #FBBF24; }
.w3-t-tag { color: #A5B4FC; }
.w3-t-dim { color: #64748B; }

.w3-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.w3-pill {
	padding: 6px 10px;
	border-radius: 99px;
	background: #F1F5F9;
	color: #475569;
	font-size: 13px;
	font-weight: 600;
}

.w3-pill--done { background: #DCFCE7; color: #166534; }
.w3-pill--on { background: #EEF2FF; color: #3730A3; }

.w3-tile {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 16px;
	border: 1.5px solid #E2E8F0;
	border-radius: 10px;
}

.w3-tile span { color: #64748B; }
.w3-tile.is-on { border-color: #4F46E5; background: #EEF2FF; }
.w3-tile.is-on span { color: #3730A3; }

.w3-switch {
	width: 44px;
	height: 26px;
	border-radius: 99px;
	background: #CBD5E1;
	position: relative;
	flex: none;
}

.w3-switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #FFFFFF;
}

.w3-switch.is-on { background: #4F46E5; }
.w3-switch.is-on::after { left: auto; right: 3px; }

.w3-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	text-align: center;
}

.w3-stats div {
	background: #F8FAFC;
	border-radius: 10px;
	padding: 14px 8px;
	display: flex;
	flex-direction: column;
}

.w3-stats strong {
	font-family: var(--w3-display);
	font-size: 28px;
	line-height: 1.2;
}

.w3-stats span {
	font-size: 12px;
	color: #64748B;
}

.w3-rep {
	display: flex;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.5;
}

.w3-rep--ok { background: #F0FDF4; }
.w3-rep--ok b { color: #15803D; }
.w3-rep--warn { background: #FFFBEB; }
.w3-rep--warn b { color: #B45309; }
.w3-rep--info { background: #F1F5F9; }
.w3-rep--info b { color: #475569; }

/* ---------- Bande « compatible avec » ---------- */
.w3-strip {
	background: var(--w3-dark);
	padding: 28px 0;
}

.w3-strip__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	/* 36 px et non 40 : avec WooCommerce, la version française tient encore sur une
	   ligne dans la largeur de contenu (1 116 px) — il en fallait 1 133 à 40 px. */
	gap: 16px 36px;
}

.w3-strip__label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #94A3B8;
}

.w3-strip__item {
	font-family: var(--w3-display);
	font-size: 20px;
	font-weight: 600;
	color: #E2E8F0;
}

/* ---------- Bandes indigo ---------- */
.w3-band {
	background: var(--w3-band);
	color: #FFFFFF;
	padding: 112px 0;
}

.w3-band .w3-lead {
	color: #E0E7FF;
}

.w3-steps {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.w3-steps li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	font-size: 18px;
	line-height: 1.5;
	color: #E0E7FF;
}

.w3-steps__n {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #FFFFFF;
	color: #312E81;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--w3-display);
	font-weight: 700;
}

/* ---------- Cartes « trois façons » ---------- */
.w3-card {
	background: var(--wp-surface);
	border: 1px solid var(--wp-border);
	border-radius: 16px;
	padding: 28px;
}

.w3 a.w3-card--way {
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: inherit;
	border-top-width: 4px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.w3 a.w3-card--way:hover {
	color: inherit;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.25);
}

.w3-card__tag {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.w3-card__foot {
	margin-top: auto;
	font-size: 14px;
	color: var(--wp-text-muted);
}

.w3-card--indigo { border-top-color: #4F46E5; }
.w3-card--indigo .w3-card__tag { color: var(--wp-accent); }
.w3-card--sky { border-top-color: #0EA5E9; }
.w3-card--sky .w3-card__tag { color: #0369A1; }
.w3-card--slate { border-top-color: #64748B; }
.w3-card--slate .w3-card__tag { color: var(--wp-text-muted); }

:root[data-theme="dark"] .w3-card--sky .w3-card__tag { color: #38BDF8; }

/* ---------- Liste à coches ---------- */
.w3-checks {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.w3-checks li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 16px;
	line-height: 1.5;
}

.w3-checks svg {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	fill: none;
	stroke: var(--wp-accent);
	stroke-width: 2.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------- Tableau des plans ---------- */
.w3-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--wp-border);
	border-radius: 16px;
	background: var(--wp-surface);
}

.w3-table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: 15px;
}

.w3-table th,
.w3-table td {
	padding: 16px 18px;
	border-bottom: 1px solid var(--wp-border);
	text-align: center;
	vertical-align: middle;
}

.w3-table tbody th {
	text-align: left;
	font-weight: 500;
}

.w3-table thead th {
	background: var(--wp-bg-subtle);
	vertical-align: bottom;
}

.w3-table__corner {
	text-align: left !important;
	color: var(--wp-text-muted);
	font-weight: 600;
}

.w3-table .is-featured {
	background: rgba(79, 70, 229, 0.06);
}

.w3-table thead .is-featured {
	background: var(--wp-accent-subtle);
}

.w3-table__cta th,
.w3-table__cta td {
	border-bottom: none;
}

.w3-plan,
.w3-price,
.w3-badge {
	display: block;
}

.w3-plan {
	font-family: var(--w3-display);
	font-size: 20px;
	font-weight: 600;
}

.w3-price {
	font-family: var(--w3-display);
	font-size: 30px;
	font-weight: 700;
}

.w3-price small {
	font-size: 15px;
	font-weight: 500;
	color: var(--wp-text-muted);
}

.w3-badge {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp-accent);
}

.w3-yes {
	color: #16A34A;
	font-weight: 700;
}

.w3-no {
	color: var(--wp-text-subtle);
}

/* ---------- FAQ ---------- */
.w3-faq {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.w3-faq__item {
	background: var(--wp-surface);
	border: 1px solid var(--wp-border);
	border-radius: 14px;
	padding: 20px 26px;
}

.w3-faq__item summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	font-family: var(--w3-display);
	font-size: 19px;
	font-weight: 600;
	min-height: 32px;
}

.w3-faq__item summary::-webkit-details-marker {
	display: none;
}

.w3-faq__item summary::after {
	content: "+";
	flex: none;
	font-size: 24px;
	font-weight: 500;
	color: var(--wp-accent);
}

.w3-faq__item[open] summary::after {
	content: "−";
}

.w3-faq__item p {
	margin-top: 14px;
	color: var(--wp-text-muted);
	line-height: 1.65;
}

.w3-more {
	font-weight: 600;
}

/* ---------- CTA final ---------- */
.w3-final {
	background: var(--w3-dark);
	color: #FFFFFF;
	padding: 96px 0;
}

.w3-final .w3-h2 {
	max-width: 760px;
	font-size: clamp(34px, 3.8vw, 48px);
}

.w3-final .w3-lead {
	color: #CBD5E1;
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
	.w3-container {
		padding: 0 16px;
	}

	.w3-split,
	.w3-grid-3 {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.w3-split--flip > :first-child {
		order: 0;
	}

	.w3-hero,
	.w3-section,
	.w3-band {
		padding: 72px 0;
	}

	.w3-stack--xxl {
		gap: 72px;
	}

	.w3-hero__sub {
		font-size: 19px;
	}

	.w3-app {
		min-height: 0;
	}

	.w3-app__side {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.w3 a.w3-card--way {
		transition: none;
	}
}
