/*
Theme Name: Location Mascottes V2
Description: Theme sur mesure pour Location-Mascottes.fr V2.
Author: Location Mascottes
Version: 0.1.0
Text Domain: location-mascottes-v2
*/

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/inter-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/inter-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/manrope-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('assets/fonts/manrope-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('assets/fonts/manrope-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('assets/fonts/manrope-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--lmc-primary: #31144c;
	--lmc-primary-light: #4a2170;
	--lmc-accent: #f4b942;
	--lmc-bg: #ffffff;
	--lmc-bg-alt: #f7f4fa;
	--lmc-text: #2a2430;
	--lmc-text-muted: #6b6270;
	--lmc-border: #e4dfe8;
	--lmc-radius: 10px;
	--lmc-max-width: 1180px;
	--lmc-font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--lmc-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--lmc-font-body);
	font-weight: 400;
	color: var(--lmc-text);
	background: var(--lmc-bg);
	line-height: 1.6;
}

a {
	color: var(--lmc-primary);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--lmc-font-heading);
	font-weight: 700;
	line-height: 1.25;
	margin-top: 0;
}

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

/* Header */
.lmc-site-header {
	background: var(--lmc-primary);
	color: #fff;
}

.lmc-site-header .lmc-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	padding-bottom: 16px;
	flex-wrap: wrap;
	gap: 12px;
}

.lmc-logo img {
	max-height: 56px;
	width: auto;
	display: block;
}

.lmc-logo a {
	display: inline-block;
}

.lmc-nav ul {
	list-style: none;
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.lmc-nav a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.lmc-nav a:hover {
	text-decoration: underline;
}

/* Hero */
.lmc-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--lmc-primary) 0%, var(--lmc-primary-light) 100%);
	color: #fff;
	padding: 96px 0;
	text-align: center;
}

.lmc-hero-slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.lmc-hero-slides img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	animation: lmc-hero-fade 24s infinite;
}

.lmc-hero-slides img:nth-child(1) { animation-delay: 0s; }
.lmc-hero-slides img:nth-child(2) { animation-delay: 6s; }
.lmc-hero-slides img:nth-child(3) { animation-delay: 12s; }
.lmc-hero-slides img:nth-child(4) { animation-delay: 18s; }

@keyframes lmc-hero-fade {
	0%   { opacity: 0; }
	4%   { opacity: 1; }
	21%  { opacity: 1; }
	25%  { opacity: 0; }
	100% { opacity: 0; }
}

.lmc-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(135deg, rgba(49, 20, 76, 0.88) 0%, rgba(74, 33, 112, 0.88) 100%);
}

.lmc-hero > .lmc-container {
	position: relative;
	z-index: 2;
}

.lmc-hero h1 {
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 800;
	margin: 0 0 16px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.lmc-hero p {
	font-size: 18px;
	max-width: 640px;
	margin: 0 auto 28px;
	opacity: 0.95;
}

@media (prefers-reduced-motion: reduce) {
	.lmc-hero-slides img {
		animation: none;
	}

	.lmc-hero-slides img:first-child {
		opacity: 1;
	}
}

.lmc-btn {
	display: inline-block;
	background: var(--lmc-accent);
	color: var(--lmc-primary);
	font-weight: 600;
	padding: 14px 28px;
	border-radius: var(--lmc-radius);
	text-decoration: none;
	border: none;
	cursor: pointer;
	font-size: 16px;
}

.lmc-btn:hover {
	opacity: 0.9;
}

.lmc-btn-outline {
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
}

/* Trust badges */
.lmc-trust-strip {
	background: var(--lmc-bg-alt);
	padding: 28px 0;
	border-bottom: 1px solid var(--lmc-border);
}

.lmc-trust-strip ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px;
	text-align: center;
}

.lmc-trust-strip li {
	font-weight: 600;
	color: var(--lmc-primary);
	font-size: 15px;
}

/* Section */
.lmc-section {
	padding: 56px 0;
}

.lmc-section h2 {
	font-size: 28px;
	text-align: center;
	margin-bottom: 36px;
	color: var(--lmc-primary);
}

/* Mascotte grid */
.lmc-mascotte-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 24px;
}

.lmc-mascotte-card {
	border: 1px solid var(--lmc-border);
	border-radius: var(--lmc-radius);
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.lmc-mascotte-card:hover {
	box-shadow: 0 8px 24px rgba(49, 20, 76, 0.12);
	transform: translateY(-2px);
}

.lmc-mascotte-card a {
	text-decoration: none;
	color: inherit;
}

.lmc-mascotte-card img {
	width: 100%;
	height: 220px;
	object-fit: contain;
	display: block;
	background: var(--lmc-bg-alt);
}

.lmc-mascotte-card h2,
.lmc-mascotte-card h3 {
	font-size: 17px;
	margin: 14px 16px 4px;
	color: var(--lmc-text);
}

.lmc-mascotte-prix {
	margin: 0 16px 16px;
	font-weight: 600;
	color: var(--lmc-primary);
}

/* Recherche catalogue */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.lmc-mascotte-search {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 520px;
	margin: 0 auto 24px;
}

.lmc-mascotte-search input[type="search"] {
	flex: 1 1 260px;
	padding: 12px 16px;
	border: 1px solid var(--lmc-border);
	border-radius: var(--lmc-radius);
	font-family: inherit;
	font-size: 15px;
}

.lmc-mascotte-search input[type="search"]:focus {
	outline: 2px solid var(--lmc-primary-light);
	outline-offset: 1px;
}

.lmc-mascotte-search-result {
	text-align: center;
	color: var(--lmc-text-muted);
	margin: 0 0 24px;
}

/* Pagination (fleches precedent/suivant) */
.lmc-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin: 48px 0 0;
}

.lmc-pagination-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--lmc-primary);
	color: #fff;
	text-decoration: none;
	font-size: 20px;
	line-height: 1;
	transition: background 0.15s ease, transform 0.15s ease;
}

.lmc-pagination-arrow:hover {
	background: var(--lmc-primary-light);
	transform: translateY(-2px);
}

.lmc-pagination-arrow-disabled {
	background: var(--lmc-bg-alt);
	color: var(--lmc-text-muted);
	opacity: 0.6;
	cursor: not-allowed;
	pointer-events: none;
}

.lmc-pagination-arrow-disabled:hover {
	transform: none;
}

/* Taxonomy pages (occasion / zone) */
.lmc-taxonomy-mascotte {
	max-width: var(--lmc-max-width);
	margin: 0 auto;
	padding: 40px 24px 64px;
}

.lmc-taxonomy-mascotte-header h1 {
	color: var(--lmc-primary);
	font-size: 32px;
	text-align: center;
}

.lmc-taxonomy-mascotte-intro {
	max-width: 720px;
	margin: 0 auto 40px;
	text-align: center;
	color: var(--lmc-text-muted);
	font-size: 17px;
}

/* Single mascotte */
.lmc-single-mascotte {
	max-width: var(--lmc-max-width);
	margin: 0 auto;
	padding: 40px 24px 64px;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 40px;
}

@media (max-width: 780px) {
	.lmc-single-mascotte {
		grid-template-columns: 1fr;
	}
}

.lmc-single-mascotte-image img {
	width: 100%;
	border-radius: var(--lmc-radius);
	display: block;
	background: var(--lmc-bg-alt);
}

.lmc-single-mascotte-title {
	color: var(--lmc-primary);
	font-size: 30px;
	margin-top: 0;
}

.lmc-badge-premium {
	display: inline-block;
	background: var(--lmc-bg-alt);
	color: var(--lmc-primary);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid var(--lmc-border);
	margin: 4px 0 12px;
}

.lmc-single-mascotte-prix {
	font-size: 20px;
	font-weight: 600;
	color: var(--lmc-primary);
	line-height: 1.7;
	margin: 8px 0 20px;
}

.lmc-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 20px;
}

.lmc-mobile-cta {
	display: none;
}

.lmc-terms a {
	background: var(--lmc-bg-alt);
	color: var(--lmc-primary);
	border-radius: 999px;
	padding: 4px 14px;
	font-size: 13px;
	text-decoration: none;
	border: 1px solid var(--lmc-border);
}

/* Avis clients */
.lmc-avis-clients {
	background: var(--lmc-bg-alt);
}

.lmc-avis-moyenne {
	text-align: center;
	font-weight: 600;
	color: var(--lmc-primary);
	margin-top: -12px;
	margin-bottom: 32px;
}

.lmc-avis-etoiles {
	color: var(--lmc-accent);
	letter-spacing: 2px;
	font-size: 18px;
}

.lmc-avis-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}

.lmc-avis-card {
	background: #fff;
	border: 1px solid var(--lmc-border);
	border-radius: var(--lmc-radius);
	padding: 20px;
	margin: 0;
}

.lmc-avis-texte {
	margin: 10px 0;
	color: var(--lmc-text);
	font-style: italic;
}

.lmc-avis-auteur {
	font-style: normal;
	font-weight: 600;
	color: var(--lmc-text-muted);
	font-size: 14px;
}

/* Footer */
.lmc-site-footer {
	background: var(--lmc-primary);
	color: #fff;
	padding: 48px 0 24px;
	margin-top: 40px;
}

.lmc-footer-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 32px;
	margin-bottom: 32px;
}

.lmc-site-footer h3 {
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 14px;
	color: var(--lmc-accent);
}

.lmc-site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lmc-site-footer li {
	margin-bottom: 8px;
}

.lmc-site-footer a {
	color: #fff;
	text-decoration: none;
	opacity: 0.9;
}

.lmc-site-footer a:hover {
	opacity: 1;
	text-decoration: underline;
}

.lmc-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 18px;
	font-size: 13px;
	opacity: 0.75;
	text-align: center;
}

.lmc-footer-legal {
	display: block;
	margin-top: 6px;
}

.lmc-footer-legal a {
	color: #fff;
}

.lmc-page-content {
	max-width: 780px;
	margin: 0 auto;
	padding: 48px 24px 64px;
}

/* Guides */
.lmc-guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}

.lmc-guide-card {
	border: 1px solid var(--lmc-border);
	border-radius: var(--lmc-radius);
	overflow: hidden;
	background: #fff;
}

.lmc-guide-card a {
	text-decoration: none;
	color: inherit;
}

.lmc-guide-card img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
	background: var(--lmc-bg-alt);
}

.lmc-guide-card h2 {
	font-size: 18px;
	margin: 14px 16px 6px;
	color: var(--lmc-primary);
}

.lmc-guide-card p {
	margin: 0 16px 16px;
	color: var(--lmc-text-muted);
	font-size: 14px;
}

.lmc-guide-single-image img {
	width: 100%;
	border-radius: var(--lmc-radius);
	margin-bottom: 24px;
}

.lmc-guide-single-content h2 {
	color: var(--lmc-primary);
	margin-top: 32px;
}

.lmc-guide-cta {
	margin-top: 40px;
}

/* Contact */
.lmc-contact-coords {
	list-style: none;
	margin: 24px 0 32px;
	padding: 20px;
	background: var(--lmc-bg-alt);
	border-radius: var(--lmc-radius);
	border: 1px solid var(--lmc-border);
}

.lmc-contact-coords li {
	margin-bottom: 10px;
}

.lmc-contact-coords li:last-child {
	margin-bottom: 0;
}

.lmc-contact-notice {
	padding: 14px 18px;
	border-radius: var(--lmc-radius);
	margin-bottom: 24px;
	font-weight: 600;
}

.lmc-contact-notice-ok {
	background: #e6f4ea;
	color: #1e6b34;
	border: 1px solid #b7ddc2;
}

.lmc-contact-notice-erreur {
	background: #fdecea;
	color: #a3271e;
	border: 1px solid #f3c1bc;
}

.lmc-contact-form {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 520px;
}

.lmc-contact-form label {
	font-weight: 600;
	margin-top: 12px;
}

.lmc-contact-form input,
.lmc-contact-form textarea {
	padding: 10px 12px;
	border: 1px solid var(--lmc-border);
	border-radius: var(--lmc-radius);
	font-family: inherit;
	font-size: 15px;
}

.lmc-contact-form button {
	margin-top: 20px;
	align-self: flex-start;
}

/* Mobile */
@media (max-width: 640px) {
	.lmc-nav a {
		display: inline-block;
		padding: 10px 6px;
	}

	.lmc-site-header .lmc-container {
		padding-top: 12px;
		padding-bottom: 8px;
	}

	.lmc-hero {
		padding: 56px 0;
	}

	.lmc-section {
		padding: 40px 0;
	}

	.lmc-single-mascotte {
		padding-bottom: 24px;
	}

	.lmc-mobile-cta {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, 0.97);
		border-top: 1px solid var(--lmc-border);
		box-shadow: 0 -4px 16px rgba(49, 20, 76, 0.12);
	}

	.lmc-mobile-cta .lmc-btn {
		display: block;
		width: 100%;
		text-align: center;
	}

	/* Laisse de la place en bas de la fiche mascotte pour ne pas etre cache par la barre flottante. */
	.lmc-single-mascotte-content {
		padding-bottom: 88px;
	}
}
