/*
Theme Name: Collection Manager
Theme URI: https://www.collection-manager.net/
Author: Collection Manager
Description: Un thème élégant aux couleurs de Collection Manager.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: collection-manager
*/

:root {
	--ink: #17233b;
	--muted: #5f6f83;
	--paper: #f4f8fb;
	--white: #fff;
	--line: #e0e8f0;
	--blue: #1769a6;
	--blue-dark: #0b4f83;
	--cyan: #70d8e6;
	--orange: #b66600;
	--serif: Georgia, "Times New Roman", serif;
	--sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--blue-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 3px;
}

img {
	max-width: 100%;
	height: auto;
}

.site-header {
	position: relative;
	z-index: 2;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--line);
}

.header-inner,
.container {
	width: min(1160px, calc(100% - 48px));
	margin-inline: auto;
}

.header-inner {
	display: flex;
	min-height: 94px;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.brand {
	display: block;
	width: min(100%, 300px);
	flex: 0 1 300px;
	text-decoration: none;
}

.brand-logo {
	display: block;
	width: 100%;
	height: auto;
}

.primary-nav ul {
	display: flex;
	align-items: center;
	gap: 29px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a {
	color: #354765;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
	color: var(--blue);
}

.primary-nav .menu-item-cta > a,
.button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 0 20px;
	border: 1px solid var(--blue);
	border-radius: 8px;
	background: var(--blue);
	color: var(--white);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: background .18s ease, transform .18s ease;
}

.primary-nav .menu-item-cta > a:hover,
.button:hover {
	transform: translateY(-1px);
	background: var(--blue-dark);
	color: var(--white);
}

.button-light {
	border-color: rgba(255, 255, 255, .4);
	background: transparent;
	color: var(--white);
}

.button-light:hover {
	background: rgba(255, 255, 255, .1);
}

.hero {
	position: relative;
	overflow: hidden;
	padding: 92px 0 86px;
	background:
		radial-gradient(ellipse at 79% 46%, rgba(112, 216, 230, .22), transparent 31%),
		var(--blue-dark);
	color: var(--white);
}

.hero::after {
	position: absolute;
	top: -180px;
	right: -130px;
	width: 540px;
	height: 540px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 50%;
	box-shadow: 0 0 0 48px rgba(255, 255, 255, .025), 0 0 0 96px rgba(255, 255, 255, .025);
	content: "";
	pointer-events: none;
}

.hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.06fr .94fr;
	align-items: center;
	gap: 52px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 20px;
	color: var(--cyan);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--orange);
	content: "";
}

.hero h1,
.page-hero h1 {
	max-width: 650px;
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(44px, 6vw, 76px);
	font-weight: 500;
	letter-spacing: -.055em;
	line-height: 1.02;
}

.hero h1 em {
	color: var(--cyan);
	font-weight: 400;
}

.hero-copy {
	max-width: 550px;
	margin: 24px 0 30px;
	color: rgba(255, 255, 255, .78);
	font-size: 18px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero-note {
	margin: 17px 0 0;
	color: rgba(255, 255, 255, .63);
	font-size: 12px;
}

.hero-art {
	position: relative;
	min-height: 385px;
}

.art-card {
	position: absolute;
	top: 26px;
	right: 3%;
	width: min(100%, 435px);
	padding: 13px;
	transform: rotate(2deg);
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 15px;
	background: var(--white);
	box-shadow: 0 26px 70px rgba(0, 0, 0, .27);
}

.art-card img {
	display: block;
	width: 100%;
	border-radius: 8px;
}

.art-card-caption {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 3px 1px;
	color: #34425c;
	font-size: 11px;
	font-weight: 700;
}

.art-card-caption span:last-child {
	color: var(--blue);
}

.floating-note {
	position: absolute;
	right: -2%;
	bottom: 20px;
	padding: 15px 18px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 11px;
	background: rgba(255, 255, 255, .95);
	box-shadow: 0 12px 36px rgba(0, 0, 0, .16);
	color: var(--ink);
	font-size: 12px;
}

.floating-note strong,
.floating-note span {
	display: block;
}

.floating-note strong {
	font-family: var(--serif);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
}

.floating-note span {
	margin-top: 4px;
	color: var(--muted);
}

.trust-strip {
	padding: 25px 0;
	border-bottom: 1px solid var(--line);
	background: var(--white);
}

.trust-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 28px;
}

.trust-lead {
	color: var(--muted);
	font-size: 13px;
}

.collection-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.collection-tags span {
	padding: 7px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	color: #3d4a60;
	font-size: 12px;
	font-weight: 650;
}

.section {
	padding: 92px 0;
}

.section-white {
	background: var(--white);
}

.section-heading {
	max-width: 650px;
	margin-bottom: 42px;
}

.section-heading .eyebrow {
	color: var(--blue);
}

.section-heading h2,
.split-copy h2,
.closing-cta h2 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 500;
	letter-spacing: -.045em;
	line-height: 1.1;
}

.section-heading p,
.split-copy > p {
	margin: 16px 0 0;
	color: var(--muted);
	font-size: 16px;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.feature-card {
	min-height: 208px;
	padding: 25px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
}

.feature-icon {
	display: grid;
	width: 42px;
	height: 42px;
	margin-bottom: 21px;
	place-items: center;
	border-radius: 12px;
	background: #e5f8fb;
	color: var(--blue);
	font-family: var(--serif);
	font-size: 22px;
}

.feature-card h3 {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 750;
	letter-spacing: -.02em;
}

.feature-card p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.65;
}

.split-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 70px;
}

.benefit-list {
	display: grid;
	gap: 17px;
	margin: 27px 0 30px;
	padding: 0;
	list-style: none;
}

.benefit-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: #39465a;
	font-size: 14px;
}

.benefit-list li::before {
	display: grid;
	width: 21px;
	height: 21px;
	flex: 0 0 21px;
	margin-top: 1px;
	place-items: center;
	border-radius: 50%;
	background: #e5f8fb;
	color: var(--blue);
	content: "✓";
	font-size: 12px;
	font-weight: 800;
}

.interface-preview {
	position: relative;
	padding: 20px;
	border: 1px solid #dce9f0;
	border-radius: 18px;
	background: #eaf3f8;
}

.interface-window {
	overflow: hidden;
	border: 1px solid #dfe7f0;
	border-radius: 10px;
	background: var(--white);
	box-shadow: 0 18px 42px rgba(0, 0, 102, .1);
}

.window-top {
	display: flex;
	height: 38px;
	align-items: center;
	gap: 6px;
	padding: 0 13px;
	border-bottom: 1px solid var(--line);
}

.window-top i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #d2deea;
}

.window-body {
	display: grid;
	min-height: 222px;
	grid-template-columns: 104px 1fr;
}

.window-sidebar {
	padding: 16px 10px;
	border-right: 1px solid var(--line);
	background: #f7fafc;
}

.sidebar-line {
	height: 7px;
	margin-bottom: 12px;
	border-radius: 5px;
	background: #e4ebf2;
}

.sidebar-line.active {
	width: 80%;
	background: #70d8e6;
}

.window-content {
	padding: 18px;
}

.window-title {
	width: 43%;
	height: 10px;
	margin-bottom: 17px;
	border-radius: 5px;
	background: #c8d9ea;
}

.collection-row {
	display: grid;
	grid-template-columns: 35px 1fr 42px;
	align-items: center;
	gap: 9px;
	margin-bottom: 9px;
	padding: 8px;
	border: 1px solid #eef2f6;
	border-radius: 7px;
}

.collection-thumb {
	height: 30px;
	border-radius: 5px;
	background: #ffb666;
}

.collection-row:nth-child(3) .collection-thumb {
	background: #b9ebf1;
}

.collection-row:nth-child(4) .collection-thumb {
	background: #c6d8f1;
}

.collection-details span,
.collection-value {
	display: block;
	height: 6px;
	border-radius: 5px;
	background: #e5ebf2;
}

.collection-details span:last-child {
	width: 58%;
	margin-top: 5px;
	background: #f0f3f7;
}

.collection-value {
	height: 7px;
	background: var(--cyan);
}

.window-badge {
	position: absolute;
	right: -16px;
	bottom: -17px;
	padding: 12px 16px;
	border-radius: 9px;
	background: var(--blue);
	box-shadow: 0 10px 25px rgba(0, 58, 144, .24);
	color: var(--white);
	font-size: 12px;
	font-weight: 700;
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.step {
	padding-top: 20px;
	border-top: 1px solid #dfe7f0;
}

.step-number {
	color: var(--blue);
	font-family: var(--serif);
	font-size: 18px;
}

.step h3 {
	margin: 12px 0 8px;
	font-family: var(--serif);
	font-size: 23px;
	font-weight: 500;
}

.step p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.closing-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 42px 48px;
	border-radius: 14px;
	background: var(--blue-dark);
	color: var(--white);
}

.closing-cta h2 {
	max-width: 570px;
	font-size: clamp(30px, 3.6vw, 43px);
}

.closing-cta p {
	margin: 11px 0 0;
	color: rgba(255, 255, 255, .72);
	font-size: 14px;
}

.site-footer {
	margin-top: 78px;
	padding: 28px 0;
	border-top: 1px solid var(--line);
	background: var(--white);
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 15px 26px;
	color: var(--muted);
	font-size: 12px;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.footer-links a {
	color: #53627a;
	text-decoration: none;
}

.page-hero {
	padding: 67px 0 60px;
	background: var(--blue-dark);
	color: var(--white);
}

.page-hero h1 {
	font-size: clamp(39px, 5vw, 60px);
}

.page-hero .eyebrow {
	margin-bottom: 14px;
}

.page-content {
	max-width: 790px;
	padding-top: 55px;
}

.page-content > :first-child {
	margin-top: 0;
}

.page-content h2 {
	margin: 40px 0 13px;
	font-family: var(--serif);
	font-size: 32px;
	font-weight: 500;
	letter-spacing: -.035em;
	line-height: 1.2;
}

.page-content h3 {
	margin: 28px 0 10px;
	font-size: 19px;
}

.page-content p,
.page-content li {
	color: #46546a;
}

.page-content li {
	margin: 7px 0;
}

.page-content .button {
	margin: 10px 0 22px;
}

.page-content .download-badge img {
	width: 190px;
}

.contact-form {
	display: grid;
	gap: 17px;
	margin: 28px 0;
}

.contact-form label {
	display: grid;
	gap: 7px;
	color: #35445b;
	font-size: 14px;
	font-weight: 650;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 12px 13px;
	border: 1px solid #d6e0eb;
	border-radius: 7px;
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-weight: 400;
}

.contact-form textarea {
	min-height: 160px;
	resize: vertical;
}

.notice {
	margin: 22px 0;
	padding: 14px 17px;
	border: 1px solid #b8e5ed;
	border-radius: 8px;
	background: #eaf9fb;
	color: #17415b;
	font-size: 14px;
}

.notice-error {
	border-color: #e7c6bd;
	background: #fff1ed;
	color: #783a2c;
}

.not-found {
	padding: 80px 0;
}

.not-found h1 {
	font-family: var(--serif);
	font-size: 48px;
	font-weight: 500;
}

@media (max-width: 820px) {
	.header-inner,
	.container {
		width: min(100% - 36px, 650px);
	}

	.header-inner {
		min-height: 74px;
		flex-wrap: wrap;
		gap: 12px;
		padding: 15px 0;
	}

	.brand {
		width: min(100%, 280px);
		flex-basis: 280px;
	}

	.primary-nav {
		width: 100%;
	}

	.primary-nav ul {
		flex-wrap: wrap;
		gap: 12px 20px;
	}

	.primary-nav a {
		font-size: 13px;
	}

	.primary-nav .menu-item-cta > a {
		min-height: 39px;
		padding: 0 13px;
	}

	.hero {
		padding: 67px 0 55px;
	}

	.hero-inner,
	.split-section {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.hero-art {
		min-height: 340px;
	}

	.art-card {
		right: 7%;
		width: min(87%, 435px);
	}

	.floating-note {
		right: 0;
		bottom: 0;
	}

	.feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.section {
		padding: 68px 0;
	}

	.closing-cta {
		align-items: flex-start;
		flex-direction: column;
		padding: 32px;
	}
}

@media (max-width: 540px) {
	.header-inner,
	.container {
		width: calc(100% - 32px);
	}

	.brand {
		width: min(100%, 260px);
		flex-basis: 260px;
	}

	.primary-nav ul {
		gap: 10px 15px;
	}

	.primary-nav .menu-item-cta > a {
		min-height: auto;
		padding: 0;
		border: 0;
		background: none;
		color: var(--blue);
	}

	.hero h1 {
		font-size: 47px;
	}

	.hero-copy {
		font-size: 16px;
	}

	.hero-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.hero-actions .button {
		width: 100%;
	}

	.hero-art {
		min-height: 275px;
	}

	.art-card {
		top: 11px;
		right: 3%;
		width: 92%;
		padding: 8px;
	}

	.trust-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.feature-grid,
	.steps-grid {
		grid-template-columns: 1fr;
	}

	.feature-card {
		min-height: auto;
	}

	.feature-icon {
		margin-bottom: 14px;
	}

	.section-heading {
		margin-bottom: 30px;
	}

	.section-heading h2,
	.split-copy h2 {
		font-size: 37px;
	}

	.closing-cta {
		padding: 26px 22px;
	}

	.footer-inner {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition-duration: .01ms !important;
	}
}
