/*
Theme Name: GeneratePress Child - Allo Photographe Marrakech
Template: generatepress
Version: 1.0.2
*/

:root {
	--apm-bg: #0d0d0d;
	--apm-surface: #161616;
	--apm-accent: #e50914;
	--apm-accent-hover: #ff2a35;
	--apm-text: #ffffff;
	--apm-muted: #a8a8a8;
	--apm-border: rgba(255, 255, 255, 0.08);
	--apm-font-heading: "Montserrat", "Outfit", -apple-system, sans-serif;
}

body {
	background-color: var(--apm-bg);
	color: var(--apm-muted);
}

h1, h2, h3, h4,
.apm-service-title {
	color: var(--apm-text);
	font-family: var(--apm-font-heading);
	letter-spacing: -0.02em;
	font-weight: 700;
}

a {
	color: var(--apm-accent);
	transition: color 0.25s ease;
}

a:hover {
	color: var(--apm-accent-hover);
}

/* Micro-badges éditoriaux */
.apm-badge {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 0.75rem;
	color: var(--apm-accent);
	border: 1px solid var(--apm-border);
	padding: 0.35em 0.9em;
	border-radius: 999px;
	margin-bottom: 1rem;
}

/*
 * template-home.php / template-service.php insèrent leur contenu directement
 * dans #content, sans passer par le wrapper #primary/.content-area de
 * GeneratePress. Or GP applique `.site-content{display:flex;flex-direction:
 * column}` en attendant ce wrapper : sans lui, certains styles hérités du
 * thème réduisent les sections à leur largeur de contenu minimale. On
 * repasse ces conteneurs en display:block pour garantir un empilement
 * vertical pleine largeur.
 */
#page,
#content,
.site-content {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* ==========================================================================
   Header
   ========================================================================== */

.apm-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #0d0d0d;
	border-bottom: 1px solid var(--apm-border);
}

.apm-header-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 12px 30px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 24px;
}

.apm-logo img {
	display: block;
	height: 54px !important;
	max-height: 60px !important;
	width: auto;
	object-fit: contain;
}

.apm-main-nav .apm-menu {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.apm-main-nav .apm-menu a {
	color: var(--apm-text);
	text-decoration: none;
	font-family: var(--apm-font-heading);
	font-size: 0.92rem;
	font-weight: 600;
	padding-bottom: 4px;
	border-bottom: 2px solid transparent;
}

.apm-main-nav .apm-menu a:hover {
	color: var(--apm-accent);
}

.apm-main-nav .apm-menu li.current-menu-item > a,
.apm-main-nav .apm-menu li.current_page_item > a {
	color: var(--apm-accent);
	border-bottom-color: var(--apm-accent);
}

/* Dropdown "Services" */
.apm-main-nav .apm-menu li.menu-item-has-children {
	position: relative;
}

.apm-main-nav .apm-menu li.menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.apm-main-nav .apm-menu li.menu-item-has-children > a::after {
	content: '';
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	margin-top: -4px;
	transition: transform 0.25s ease;
}

.apm-main-nav .apm-menu li.menu-item-has-children:hover > a::after,
.apm-main-nav .apm-menu li.menu-item-has-children:focus-within > a::after {
	transform: rotate(-135deg);
	margin-top: 2px;
}

.apm-main-nav .apm-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 200;
	list-style: none;
	margin: 8px 0 0;
	background-color: #141414 !important;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
	border-radius: 4px;
	min-width: 260px;
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.apm-main-nav .apm-menu li.menu-item-has-children:hover > .sub-menu,
.apm-main-nav .apm-menu li.menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.apm-main-nav .apm-menu .sub-menu li a {
	display: block;
	font-size: 0.88rem !important;
	padding: 10px 20px !important;
	color: #d1d1d1 !important;
	border-left: 2px solid transparent;
	border-bottom: none;
	white-space: nowrap;
	transition: all 0.25s ease;
}

.apm-main-nav .apm-menu .sub-menu li a:hover,
.apm-main-nav .apm-menu .sub-menu li.current-menu-item a {
	background-color: #1a1a1a !important;
	color: #ffffff !important;
	border-left-color: var(--apm-accent, #e50914) !important;
	padding-left: 24px !important;
}

.apm-header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.apm-menu-toggle {
	display: none;
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
}

@media (max-width: 860px) {
	.apm-header-inner {
		padding: 14px 20px !important;
	}

	.apm-logo img {
		height: 40px !important;
		max-height: 44px !important;
	}

	.apm-main-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #0d0d0d;
		border-bottom: 1px solid var(--apm-border);
	}

	.apm-main-nav.apm-nav-open {
		display: block;
	}

	.apm-main-nav .apm-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 8px 20px 16px;
	}

	.apm-main-nav .apm-menu li {
		width: 100%;
	}

	.apm-main-nav .apm-menu a {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid var(--apm-border);
	}

	.apm-main-nav .apm-menu li.menu-item-has-children > a::after {
		margin-left: auto;
	}

	.apm-main-nav .apm-menu .sub-menu {
		position: static;
		display: block;
		opacity: 1;
		visibility: visible;
		transform: none;
		background-color: transparent !important;
		border: none;
		box-shadow: none;
		border-radius: 0;
		min-width: 0;
		margin: 0;
		padding: 0 0 8px 16px;
	}

	.apm-main-nav .apm-menu .sub-menu li a {
		padding: 10px 0 !important;
		border-bottom: 1px solid var(--apm-border);
	}

	.apm-btn-header {
		display: none;
	}

	.apm-menu-toggle {
		display: block;
	}
}

/* ==========================================================================
   Hero d'accueil
   ========================================================================== */

.apm-hero-home {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	min-height: 75vh;
	padding: 2rem 1.5rem;
	background: linear-gradient(180deg, rgba(13, 13, 13, 0.7) 0%, rgba(13, 13, 13, 0.92) 100%),
		url('https://images.unsplash.com/photo-1491425432462-010715fd7ed7?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.apm-hero-home h1 {
	font-size: clamp(2.2rem, 5vw, 3.8rem);
	font-family: var(--apm-font-heading);
	color: #ffffff;
	letter-spacing: -0.01em;
	max-width: 900px;
}

.apm-hero-subtitle {
	max-width: 700px;
	color: var(--apm-muted);
	font-size: 1.15rem;
	line-height: 1.7;
	margin: 24px auto 36px;
}

.apm-hero-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.btn-gold,
.btn-whatsapp {
	display: inline-block;
	font-family: var(--apm-font-heading);
	font-weight: 600;
	padding: 14px 28px;
	border-radius: 2px;
	text-decoration: none;
}

.btn-gold {
	background: var(--apm-accent);
	color: #ffffff;
}

.btn-gold:hover {
	background: var(--apm-accent-hover);
	color: #ffffff;
}

.btn-whatsapp {
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	margin-left: 12px;
}

.btn-whatsapp:hover {
	border-color: var(--apm-accent);
	color: var(--apm-accent);
}

/* Bouton WhatsApp officiel (vert, icône SVG) */
.apm-btn-whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	background-color: #25D366;
	color: #ffffff !important;
	font-family: inherit;
	font-weight: 700;
	text-decoration: none !important;
	border-radius: 6px;
	transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
	box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.apm-btn-whatsapp:hover {
	background-color: #20ba59;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
	color: #ffffff !important;
}

.apm-btn-header {
	padding: 9px 18px;
	font-size: 0.9rem;
	border-radius: 4px;
}

.apm-btn-hero {
	padding: 16px 36px;
	font-size: 1.1rem;
	border-radius: 8px;
}

.apm-wa-icon {
	flex-shrink: 0;
}

/* ==========================================================================
   Sections pleine largeur, contenu centré
   ========================================================================== */

.apm-section-services,
.apm-section-about,
.apm-section-testimonials,
.apm-section-faq {
	width: 100%;
	max-width: 1200px;
	margin: 80px auto;
	padding: 0 24px;
}

.apm-section-services h2,
.apm-section-about h2,
.apm-section-testimonials h2,
.apm-section-faq h2 {
	font-family: var(--apm-font-heading);
	font-size: 2.2rem;
	color: var(--apm-accent);
	text-align: center;
	margin-bottom: 40px;
}

/* Double silo des prestations */
.apm-services-silo {
	margin-bottom: 56px;
}

.apm-services-silo:last-child {
	margin-bottom: 0;
}

.apm-silo-title {
	font-family: var(--apm-font-heading);
	font-size: 1.1rem;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 auto 24px;
	padding-bottom: 12px;
	max-width: 320px;
	border-bottom: 2px solid rgba(229, 9, 20, 0.4);
}

.apm-services-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
	gap: 24px;
}

.apm-service-card {
	background: #141414;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	text-align: left;
	overflow: hidden;
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.apm-service-card:hover {
	transform: translateY(-4px);
	border-color: rgba(229, 9, 20, 0.4);
}

.apm-service-card-media {
	display: block;
	overflow: hidden;
	border-radius: 4px;
	margin: -24px -24px 20px;
}

.apm-service-card-thumb {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
	transition: transform 0.4s ease, filter 0.4s ease;
}

.apm-service-card:hover .apm-service-card-thumb {
	transform: scale(1.05);
	filter: brightness(0.85);
}

.apm-service-card .apm-badge {
	font-size: 0.72rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--apm-accent);
	margin-bottom: 12px;
}

.apm-service-card h3 {
	color: #ffffff;
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 12px;
	line-height: 1.4;
}

.apm-service-desc {
	color: #b0b0b0;
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 20px;
	flex-grow: 1;
}

.apm-service-desc a {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: rgba(229, 9, 20, 0.75);
	text-underline-offset: 3px;
	font-weight: 600;
	transition: color 0.2s, text-decoration-color 0.2s;
}

.apm-service-desc a:hover {
	color: #e50914;
	text-decoration-color: #e50914;
}

.apm-service-link {
	color: #e50914;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	display: inline-block;
	margin-top: auto;
}

.apm-service-link:hover {
	text-decoration: underline;
}

/* Processus en 3 étapes */
.apm-process {
	width: 100%;
	max-width: 1200px;
	margin: 80px auto;
	padding: 0 24px;
	text-align: center;
}

.apm-process h2 {
	font-family: var(--apm-font-heading);
	font-size: 2.2rem;
	color: var(--apm-accent);
	margin-bottom: 40px;
}

.apm-process-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.apm-process-steps li {
	background: var(--apm-surface);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 4px;
	padding: 32px;
}

.apm-process-number {
	display: block;
	font-family: var(--apm-font-heading);
	font-weight: 700;
	font-size: 2rem;
	color: var(--apm-accent);
	margin-bottom: 12px;
}

.apm-process-steps h3 {
	color: #ffffff;
	font-size: 1.15rem;
	margin-bottom: 10px;
}

.apm-process-steps p {
	color: #888888;
	font-size: 0.95rem;
	line-height: 1.6;
}

/* À propos — layout asymétrique 2 colonnes */
.apm-section-about {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 48px;
	align-items: center;
	max-width: 1200px;
	margin: 80px auto;
	padding: 0 24px;
}

.apm-section-about h2 {
	text-align: left;
}

.apm-about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 30px;
}

.apm-about-feature {
	background: #141414;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 6px;
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 14px;
	transition: border-color 0.3s ease;
}

.apm-about-feature:hover {
	border-color: rgba(229, 9, 20, 0.4);
}

.apm-feature-icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	background: rgba(229, 9, 20, 0.08);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.apm-about-feature strong {
	display: block;
	color: #ffffff;
	font-size: 0.95rem;
	line-height: 1.3;
}

.apm-about-feature span {
	display: block;
	color: #a0a0a0;
	font-size: 0.8rem;
	margin-top: 2px;
}

.apm-brand-card {
	background: #141414;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 48px 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 380px;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.apm-brand-card img {
	max-width: 240px;
	height: auto;
	object-fit: contain;
	margin-bottom: 20px;
}

.apm-brand-caption {
	color: #888888;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

@media (max-width: 768px) {
	.apm-section-about {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.apm-section-about h2 {
		text-align: center;
	}

	.apm-about-grid {
		grid-template-columns: 1fr;
	}

	.apm-brand-card {
		min-height: 240px;
		padding: 32px 20px;
	}
}

/* Témoignages (widget avis Google dynamique) */
.apm-testimonials-intro {
	max-width: 640px;
	margin: -20px auto 0;
	text-align: center;
	color: var(--apm-muted);
}

.apm-testimonials-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 24px;
	max-width: 1200px;
	margin: 32px auto 0;
}

.apm-testimonial-card {
	background: #161616;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.apm-testimonial-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.apm-rating {
	color: #f5b300;
	font-size: 1.15rem;
	letter-spacing: 2px;
}

.apm-verified-badge {
	font-size: 0.75rem;
	color: #888888;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-decoration: none;
	white-space: nowrap;
}

.apm-verified-badge:hover {
	color: var(--apm-accent);
}

.apm-testimonial-quote {
	color: #d1d1d1;
	font-size: 0.95rem;
	line-height: 1.65;
	font-style: italic;
	margin: 16px 0 20px;
}

.apm-testimonial-author strong {
	color: #ffffff;
	display: block;
	font-size: 1rem;
}

.apm-testimonial-author span {
	color: var(--apm-accent);
	font-size: 0.85rem;
}

@media (max-width: 900px) {
	.apm-testimonials-grid {
		grid-template-columns: 1fr;
	}
}

/* FAQ native HTML5 details/summary */
.apm-faq {
	max-width: 800px;
	margin: 0 auto;
}

.apm-faq details {
	background-color: var(--apm-surface);
	border: 1px solid var(--apm-border);
	border-radius: 4px;
	margin-bottom: 12px;
}

.apm-faq summary {
	cursor: pointer;
	color: #f0f0f0;
	font-weight: 500;
	letter-spacing: -0.01em;
	list-style: none;
	padding: 20px 24px;
}

.apm-faq summary::-webkit-details-marker {
	display: none;
}

.apm-faq summary::after {
	content: '+';
	float: right;
	color: var(--apm-accent);
	transition: transform 0.25s ease;
}

.apm-faq details[open] summary::after {
	transform: rotate(45deg);
}

.apm-faq p,
.apm-faq ul {
	padding: 0 24px 20px;
	color: #999999;
	line-height: 1.7;
}

/* ==========================================================================
   Gabarit des pages de prestation (template-service.php)
   ========================================================================== */

.apm-service-hero {
	text-align: center;
	padding: 100px 24px 80px;
	min-height: 55vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: #0d0d0d;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.apm-service-hero .apm-service-title {
	color: #ffffff;
	font-size: clamp(1.9rem, 4vw, 2.8rem);
	max-width: 800px;
}

.apm-hero-divider {
	display: block;
	width: 64px;
	height: 2px;
	background: var(--apm-accent);
	margin: 20px 0;
}

.apm-service-tagline {
	max-width: 640px;
	margin: 0 auto;
	color: var(--apm-muted);
	font-size: 1.1rem;
	line-height: 1.7;
}

.apm-service-hero-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 32px;
}

.btn-glass {
	display: inline-block;
	font-family: var(--apm-font-heading);
	font-weight: 600;
	padding: 14px 28px;
	border-radius: 2px;
	text-decoration: none;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: background 0.25s ease, border-color 0.25s ease;
}

.btn-glass:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--apm-accent);
	color: #ffffff;
}

/* Grille 2 colonnes : texte + carte de tarifs */
.apm-service-layout {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 48px;
	align-items: start;
	max-width: 1200px;
	margin: 60px auto;
	padding: 0 24px;
}

.apm-service-content p {
	color: var(--apm-muted);
	line-height: 1.75;
	margin-bottom: 1.25rem;
}

.apm-service-content p a {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: rgba(229, 9, 20, 0.7);
	text-underline-offset: 4px;
	font-weight: 600;
	transition: color 0.2s, text-decoration-color 0.2s;
}

.apm-service-content p a:hover {
	color: #e50914;
	text-decoration-color: #e50914;
}

.apm-service-content h2 {
	font-size: 1.5rem;
	margin: 2rem 0 1rem;
}

/* Mini-cartes "Ce que vous obtenez" */
.apm-deliverables-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 32px;
}

.apm-deliverable-item {
	background: #141414;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-left: 3px solid #e50914;
	border-radius: 6px;
	padding: 18px;
	display: flex;
	gap: 12px;
}

.apm-deliv-icon {
	color: #f5b300;
	font-size: 1.1rem;
}

.apm-deliverable-item strong {
	display: block;
	color: #ffffff;
	font-size: 0.95rem;
	margin-bottom: 4px;
}

.apm-deliverable-item span {
	color: #a0a0a0;
	font-size: 0.82rem;
	line-height: 1.4;
}

/* Carte des formules */
.apm-service-sidebar {
	position: sticky;
	top: 100px;
}

.apm-pricing-card {
	background: #141414;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 28px;
}

.apm-pricing-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 1.25rem;
}

.apm-pricing-header h2 {
	font-size: 1.2rem;
	margin: 0;
}

.apm-pricing-badge {
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--apm-accent);
	border: 1px solid rgba(229, 9, 20, 0.4);
	border-radius: 999px;
	padding: 4px 10px;
	white-space: nowrap;
}

.apm-package-card {
	background: #1b1b1b;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 6px;
	padding: 16px;
	margin-bottom: 14px;
}

.apm-package-card h3 {
	font-size: 1rem;
	color: #ffffff;
	margin-bottom: 4px;
}

.apm-package-price {
	display: block;
	color: #ffffff !important;
	font-weight: 700;
	font-size: 1.15rem;
	margin: 4px 0 6px;
}

.apm-package-card p {
	color: #999999;
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0;
}

.apm-package-cta {
	width: 100%;
	margin-top: 8px;
}

.apm-pricing-reassurance {
	display: block;
	text-align: center;
	color: #888888;
	font-size: 0.78rem;
	margin-top: 10px;
}

/* Atouts & Spots recommandés */
.apm-service-spots {
	max-width: 1100px;
	margin: 0 auto 4rem;
	padding: 0 1.5rem;
}

.apm-service-spots h2 {
	font-size: 1.6rem;
	margin-bottom: 1.5rem;
	text-align: center;
}

.apm-service-spots-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 24px;
}

.apm-spot-card {
	background: #161616;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	padding: 24px 18px;
	text-align: center;
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.apm-spot-card:hover {
	transform: translateY(-4px);
	border-color: rgba(229, 9, 20, 0.4);
}

.apm-spot-card .apm-feature-icon {
	margin: 0 auto;
}

.apm-spot-card h4 {
	color: #ffffff;
	font-size: 1rem;
	margin: 10px 0 6px;
}

.apm-spot-card p {
	color: #999999;
	font-size: 0.82rem;
	line-height: 1.4;
	margin: 0;
}

/* Galerie & Atmosphère (mosaïque asymétrique à 3 visuels) */
.apm-service-visuals {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	text-align: center;
}

.apm-section-title-wrap {
	margin-bottom: 8px;
}

.apm-mosaic-gallery {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 16px;
	max-width: 1200px;
	margin: 40px auto 80px;
	padding: 0;
}

.apm-mosaic-main img {
	width: 100%;
	height: 100%;
	min-height: 520px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.apm-mosaic-stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.apm-mosaic-sub img {
	width: 100%;
	height: 252px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

/* Bannière CTA de fin de page service */
.apm-service-cta-banner {
	background: #161616;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	text-align: center;
	padding: 48px 24px;
	max-width: 1200px;
	margin: 60px auto;
}

.apm-service-cta-banner h3 {
	color: #ffffff;
	font-size: 1.6rem;
	margin-bottom: 8px;
}

.apm-service-cta-banner p {
	color: #a8a8a8;
	margin-bottom: 24px;
}

/* Conteneur FAQ centré */
.apm-faq-container {
	max-width: 800px;
	margin: 0 auto;
}

/* FAQ des pages de prestation */
.apm-faq--service details {
	background-color: #141414;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 6px;
	padding: 20px;
	margin-bottom: 12px;
}

.apm-faq--service summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0;
}

.apm-faq--service summary::after {
	content: none;
}

.apm-faq-chevron {
	flex-shrink: 0;
	color: var(--apm-accent);
	transition: transform 0.3s ease;
}

.apm-faq--service details[open] .apm-faq-chevron {
	transform: rotate(180deg);
}

.apm-faq--service p {
	padding: 0;
	margin-top: 14px;
	color: #cccccc;
}

.apm-service-content-legacy {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 1.5rem 3rem;
}

.apm-service-content-legacy:empty {
	display: none;
}

@media (max-width: 768px) {
	.apm-service-hero {
		padding: 72px 20px 56px;
	}

	.apm-service-layout {
		grid-template-columns: 1fr;
	}

	.apm-service-sidebar {
		position: static;
	}

	.apm-deliverables-grid,
	.apm-service-spots-grid,
	.apm-mosaic-gallery {
		grid-template-columns: 1fr;
	}

	.apm-mosaic-main img {
		min-height: 320px;
	}

	.apm-mosaic-sub img {
		height: 180px;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */

.apm-site-footer {
	width: 100%;
	background: #090909;
	border-top: 1px solid var(--apm-border);
	padding-top: 60px;
}

.apm-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px 48px;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
}

.apm-footer-col h3 {
	font-size: 1rem;
	color: var(--apm-text);
	margin-bottom: 16px;
}

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

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

.apm-footer-col a {
	color: var(--apm-muted);
	text-decoration: none;
	font-size: 0.92rem;
}

.apm-footer-col a:hover {
	color: var(--apm-accent);
}

/* Logo footer agrandi */
.apm-footer-logo {
	width: 150px;
	height: auto;
	max-width: 100%;
	display: block;
	margin-bottom: 18px;
}

/* Grille à 2 colonnes pour les 10 liens prestations */
.apm-footer-services-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apm-footer-services-grid li {
	margin: 0;
	padding: 0;
}

.apm-footer-services-grid a {
	color: var(--apm-muted);
	font-size: 0.9rem;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.apm-footer-services-grid a:hover {
	color: var(--apm-accent);
}

@media (max-width: 900px) {
	.apm-footer-services-grid {
		grid-template-columns: 1fr;
	}

	.apm-footer-services-grid a {
		white-space: normal;
	}
}

.apm-footer-brand p {
	color: var(--apm-muted);
	font-size: 0.9rem;
	line-height: 1.6;
	max-width: 340px;
}

.apm-footer-socials {
	display: flex;
	gap: 14px;
	margin-top: 16px;
}

.apm-footer-socials a {
	color: var(--apm-muted);
	display: inline-flex;
}

.apm-footer-socials a:hover {
	color: var(--apm-accent);
}

.apm-footer-bottom {
	border-top: 1px solid var(--apm-border);
	padding: 20px 24px;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.apm-footer-bottom p {
	color: #777777;
	font-size: 0.82rem;
	margin: 0;
}

.apm-footer-legal {
	display: flex;
	gap: 20px;
}

.apm-footer-legal a {
	color: #777777;
	font-size: 0.82rem;
	text-decoration: none;
}

.apm-footer-legal a:hover {
	color: var(--apm-accent);
}

/* ==========================================================================
   Guides & Tarifs (blog)
   ========================================================================== */

.apm-section-blog {
	width: 100%;
	max-width: 1200px;
	margin: 80px auto;
	padding: 0 24px;
}

.apm-section-blog h2 {
	font-family: var(--apm-font-heading);
	font-size: 2.2rem;
	color: var(--apm-accent);
	text-align: center;
	margin-bottom: 40px;
}

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

.apm-blog-card {
	background: #161616;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 4px;
	padding: 28px;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 160px;
	transition: border-color 0.3s ease, transform 0.3s ease;
}

.apm-blog-card:hover {
	border-color: var(--apm-accent);
	transform: translateY(-4px);
}

.apm-blog-card h3 {
	color: #ffffff;
	font-size: 1.05rem;
	line-height: 1.4;
	margin-bottom: 20px;
}

.apm-blog-link {
	color: var(--apm-accent);
	font-size: 0.88rem;
	font-weight: 600;
}

.apm-blog-card:hover .apm-blog-link {
	color: var(--apm-accent-hover);
}

/* ==========================================================================
   Bouton flottant WhatsApp
   ========================================================================== */

.apm-floating-whatsapp {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 9999;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #25d366;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
	transition: transform 0.25s ease;
}

.apm-floating-whatsapp:hover {
	transform: scale(1.08);
}

@media (max-width: 782px) {
	.apm-blog-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 782px) {
	.apm-portfolio-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.apm-portfolio-item.apm-format-vertical,
	.apm-portfolio-item.apm-format-wide {
		grid-column: span 2;
	}

	.btn-whatsapp {
		margin-left: 0;
		margin-top: 12px;
	}

	.apm-footer-inner {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Teaser Galerie
   ========================================================================== */

.apm-section-gallery-preview {
	max-width: 1200px;
	margin: 80px auto;
	padding: 0 24px;
	text-align: center;
}

.apm-section-gallery-preview h2 {
	font-family: var(--apm-font-heading);
	font-size: 2.2rem;
}

.apm-gallery-intro {
	max-width: 640px;
	margin: 0 auto;
	color: var(--apm-muted);
}

.apm-gallery-preview-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-flow: dense;
	gap: 16px;
	margin: 32px 0;
}

.apm-gallery-item {
	position: relative;
}

.apm-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

.apm-gallery-item figcaption {
	position: absolute;
	bottom: 14px;
	left: 0;
	right: 0;
	text-align: center;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
	pointer-events: none;
	z-index: 2;
	padding: 0 10px;
}

.apm-gallery-item--large {
	grid-row: span 2;
	min-height: 420px;
}

.apm-gallery-item--wide {
	grid-column: span 2;
	max-height: 200px;
}

.apm-gallery-cta {
	text-align: center;
	margin-top: 24px;
}

@media (max-width: 768px) {
	.apm-gallery-preview-grid {
		grid-template-columns: 1fr;
	}

	.apm-gallery-item--large,
	.apm-gallery-item--wide {
		grid-row: auto;
		grid-column: auto;
		min-height: 0;
		max-height: none;
	}
}

/* ==========================================================================
   Harmonisation des titres de sections
   ========================================================================== */

.apm-section-services h2,
.apm-process h2,
.apm-section-about h2,
.apm-section-testimonials h2,
.apm-section-faq h2,
.apm-section-blog h2,
.apm-section-gallery-preview h2 {
	color: #ffffff !important;
}

/* ==========================================================================
   Pages statiques — fond/texte communs
   ========================================================================== */

body.page {
	background-color: #101010;
}

/* ---- Page Galerie ---- */
.apm-gallery-hero {
	text-align: center;
	padding: 100px 24px 60px;
	background-color: #0d0d0d;
}

.apm-gallery-hero p {
	max-width: 640px;
	margin: 16px auto 0;
	color: var(--apm-muted);
}

.apm-gallery-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 24px 0;
}

.apm-gallery-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 32px;
}

.apm-filter-btn {
	background: #161616;
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--apm-muted);
	font-family: var(--apm-font-heading);
	font-size: 0.82rem;
	font-weight: 600;
	padding: 10px 18px;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.25s ease;
}

.apm-filter-btn:hover {
	border-color: var(--apm-accent);
	color: #ffffff;
}

.apm-filter-btn.is-active {
	background: var(--apm-accent);
	border-color: var(--apm-accent);
	color: #ffffff;
}

.apm-gallery-masonry {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 240px;
	gap: 16px;
	margin-bottom: 24px;
}

.apm-gallery-tile {
	margin: 0;
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.apm-gallery-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.apm-gallery-tile:hover img {
	transform: scale(1.05);
}

.apm-gallery-tile--tall {
	grid-row: span 2;
}

.apm-gallery-tile--wide {
	grid-column: span 2;
}

.apm-gallery-cta-section {
	text-align: center;
	padding: 24px 24px 80px;
}

@media (max-width: 768px) {
	.apm-gallery-masonry {
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
	}

	.apm-gallery-tile--tall,
	.apm-gallery-tile--wide {
		grid-row: auto;
		grid-column: auto;
		height: 280px;
	}
}

/* ---- Page À Propos ---- */
.apm-about-hero {
	text-align: center;
	padding: 100px 24px 60px;
	background-color: #0d0d0d;
}

.apm-about-hero p {
	max-width: 640px;
	margin: 16px auto 0;
	color: var(--apm-muted);
}

.apm-about-story {
	max-width: 800px;
	margin: 0 auto;
	padding: 60px 24px;
	text-align: center;
}

.apm-about-story a {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: rgba(229, 9, 20, 0.7);
	text-underline-offset: 3px;
	font-weight: 600;
	transition: color 0.2s, text-decoration-color 0.2s;
}

.apm-about-story a:hover {
	color: #e50914;
	text-decoration-color: #e50914;
}

.apm-about-story p {
	color: var(--apm-muted);
	line-height: 1.75;
	margin-bottom: 1.25rem;
	text-align: left;
}

.apm-about-pillars {
	max-width: 1200px;
	margin: 0 auto 80px;
	padding: 0 24px;
	text-align: center;
}

.apm-pillars-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 32px;
}

.apm-pillar-card {
	background: #161616;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	padding: 28px 20px;
	text-align: center;
	transition: transform 0.3s ease, border-color 0.3s ease;
}

.apm-pillar-card:hover {
	transform: translateY(-4px);
	border-color: rgba(229, 9, 20, 0.4);
}

.apm-pillar-card .apm-feature-icon {
	margin: 0 auto;
}

.apm-pillar-card h3 {
	font-size: 1rem;
	margin: 14px 0 8px;
}

.apm-pillar-card p {
	color: #999999;
	font-size: 0.85rem;
	line-height: 1.5;
	margin: 0;
}

.apm-about-cta {
	text-align: center;
	padding: 40px 24px 80px;
}

.apm-about-cta h2 {
	margin-bottom: 24px;
}

@media (max-width: 768px) {
	.apm-pillars-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* ---- Page Contact ---- */
.apm-contact-hero {
	text-align: center;
	padding: 100px 24px 60px;
	background-color: #0d0d0d;
}

.apm-contact-hero p {
	max-width: 640px;
	margin: 16px auto 0;
	color: var(--apm-muted);
}

.apm-contact-layout {
	max-width: 1200px;
	margin: 0 auto 80px;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

.apm-contact-info h2,
.apm-contact-channels h2 {
	margin-bottom: 20px;
}

.apm-contact-details {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.apm-contact-details li {
	background: #161616;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	padding: 16px 20px;
	margin-bottom: 12px;
}

.apm-contact-details strong {
	display: block;
	color: var(--apm-accent);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 4px;
}

.apm-contact-details span,
.apm-contact-details a {
	color: #ffffff;
	text-decoration: none;
}

.apm-contact-map {
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.apm-contact-map iframe {
	display: block;
}

.apm-whatsapp-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #161616;
	border: 1px solid rgba(37, 211, 102, 0.35);
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 28px;
	text-decoration: none;
	transition: border-color 0.3s ease;
}

.apm-whatsapp-card:hover {
	border-color: #25d366;
}

.apm-whatsapp-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	background: #25d366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.apm-whatsapp-card strong {
	display: block;
	color: #ffffff;
	font-size: 1rem;
}

.apm-whatsapp-sub {
	display: block;
	color: var(--apm-muted);
	font-size: 0.82rem;
	margin-top: 2px;
}

.apm-contact-form {
	background: #161616;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.apm-contact-form label {
	color: #cccccc;
	font-size: 0.85rem;
	margin-top: 12px;
}

.apm-contact-form input,
.apm-contact-form select,
.apm-contact-form textarea {
	background: #1c1c1c;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	color: #ffffff;
	padding: 10px 12px;
	font-family: inherit;
	font-size: 0.9rem;
}

.apm-contact-form input:focus,
.apm-contact-form select:focus,
.apm-contact-form textarea:focus {
	outline: none;
	border-color: var(--apm-accent);
}

.apm-contact-form button {
	margin-top: 20px;
	border: none;
	cursor: pointer;
	font-size: 0.95rem;
}

.apm-form-notice {
	padding: 12px 14px;
	border-radius: 4px;
	font-size: 0.85rem;
}

.apm-form-notice.is-success {
	background: rgba(37, 211, 102, 0.12);
	color: #25d366;
	border: 1px solid rgba(37, 211, 102, 0.3);
}

.apm-form-notice.is-error {
	background: rgba(229, 9, 20, 0.12);
	color: #ff6b6b;
	border: 1px solid rgba(229, 9, 20, 0.3);
}

@media (max-width: 768px) {
	.apm-contact-layout {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Grille tarifaire (accueil)
   ========================================================================== */

.apm-section-pricing {
	width: 100%;
	max-width: 1200px;
	margin: 80px auto;
	padding: 0 24px;
}

.apm-section-pricing h2 {
	font-family: var(--apm-font-heading);
	font-size: 2.2rem;
	color: #ffffff;
	text-align: center;
	margin-bottom: 40px;
}

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

.apm-price-card {
	background: #141414;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 36px 28px;
	display: flex;
	flex-direction: column;
	position: relative;
}

.apm-price-card--featured {
	border-color: rgba(212, 175, 55, 0.4);
	background: #171717;
}

.apm-price-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: #d4af37;
	color: #111111;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 5px 14px;
	border-radius: 999px;
	white-space: nowrap;
}

.apm-price-card h3 {
	color: #ffffff;
	font-size: 1.15rem;
	margin: 8px 0 4px;
	text-align: center;
}

.apm-price-tag {
	display: block;
	color: #f5b300;
	font-size: 1.65rem;
	font-weight: 700;
	text-align: center;
	margin: 8px 0 20px;
}

.apm-price-card ul {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	flex-grow: 1;
}

.apm-price-card ul li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 12px;
	color: var(--apm-muted);
	font-size: 0.92rem;
	line-height: 1.4;
}

.apm-price-card ul li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: #25d366;
	font-weight: 700;
}

.apm-price-card--featured ul li::before {
	color: #d4af37;
}

.apm-price-cta {
	width: 100%;
}

@media (max-width: 768px) {
	.apm-pricing-grid {
		grid-template-columns: 1fr;
	}
}

.apm-section-intro {
	color: #a8a8a8;
	font-size: 1rem;
	line-height: 1.6;
	max-width: 720px;
	margin: 0 auto 36px;
	text-align: center;
}

/* ==========================================================================
   CTA de clôture (accueil)
   ========================================================================== */

.apm-badge--gold {
	color: #d4af37;
	border-color: rgba(212, 175, 55, 0.4);
}

.apm-section-final-cta {
	max-width: 1200px;
	margin: 80px auto 40px;
	padding: 0 24px;
}

.apm-final-cta-container {
	background: linear-gradient(180deg, #161616 0%, #111111 100%);
	border: 1px solid rgba(229, 9, 20, 0.35);
	border-radius: 12px;
	padding: 64px 32px;
	text-align: center;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.apm-final-cta-container h2 {
	color: #ffffff !important;
	font-size: 2.2rem;
	font-weight: 700;
	margin: 16px 0 12px;
}

.apm-final-cta-container p {
	color: #b5b5b5;
	font-size: 1.05rem;
	max-width: 680px;
	margin: 0 auto 32px;
	line-height: 1.6;
}

.apm-final-cta-buttons {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.apm-final-cta-buttons .btn-outline {
	padding: 14px 28px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 6px;
	text-decoration: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.apm-final-cta-buttons .btn-outline {
	background: transparent;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.apm-final-cta-buttons .btn-outline:hover {
	border-color: #ffffff;
	background: rgba(255, 255, 255, 0.05);
}

.apm-final-cta-perks {
	display: flex;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
	color: #888888;
	font-size: 0.85rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding-top: 24px;
	max-width: 600px;
	margin: 0 auto;
}

.apm-final-cta-perks span {
	display: inline-flex;
	align-items: center;
}

@media (max-width: 768px) {
	.apm-final-cta-container {
		padding: 40px 20px;
	}

	.apm-final-cta-container h2 {
		font-size: 1.65rem;
	}

	.apm-final-cta-buttons {
		flex-direction: column;
	}

	.apm-final-cta-buttons a {
		width: 100%;
	}

	.apm-final-cta-perks {
		flex-direction: column;
		gap: 8px;
	}
}

.apm-about-text a,
.apm-faq a {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: rgba(229, 9, 20, 0.6);
	text-underline-offset: 3px;
	transition: color 0.2s, text-decoration-color 0.2s;
}

.apm-about-text a:hover,
.apm-faq a:hover {
	color: #e50914;
	text-decoration-color: #e50914;
}

/* ===================================================
   BLOG ARCHIVE & SINGLE POST - LUXURY DARK DESIGN
   =================================================== */

/* Annulation des fonds blancs GeneratePress */
body.blog,
body.archive,
body.single-post,
body.blog #page,
body.archive #page,
body.single-post #page,
body.blog #content,
body.archive #content,
body.single-post #content,
body.blog .site-main,
body.archive .site-main,
body.single-post .site-main,
body.blog .inside-article,
body.archive .inside-article,
body.single-post .inside-article {
	background-color: #0b0b0b !important;
	color: #cccccc !important;
}

/* Masquer sidebar résiduelle si présente dans le DOM */
body.blog .sidebar,
body.archive .sidebar,
body.single-post .sidebar {
	display: none !important;
}

/* Largeur conteneur */
body.blog .site-content,
body.archive .site-content {
	max-width: 1200px !important;
	margin: 40px auto 80px !important;
	padding: 0 24px !important;
	width: 100% !important;
}

/* Neutraliser le page-header pour éviter qu'il n'occupe une colonne de la grille */
body.blog .page-header,
body.archive.category-blog .page-header {
	display: none !important;
}

/* Grille Blog Archive (3 colonnes) */
body.blog .site-main,
body.archive.category-blog .site-main {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 30px !important;
	width: 100% !important;
	max-width: 1200px !important;
	margin: 40px auto 80px !important;
	padding: 0 24px !important;
}

/* Carte d'article Blog */
body.blog article.post,
body.archive.category-blog article.post {
	background: #141414 !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 8px !important;
	padding: 30px !important;
	display: flex !important;
	flex-direction: column !important;
	box-sizing: border-box !important;
}

body.blog article.post:hover,
body.archive.category-blog article.post:hover {
	border-color: rgba(229, 9, 20, 0.5) !important;
	transform: translateY(-3px);
}

body.blog .inside-article,
body.archive .inside-article {
	padding: 30px !important;
	display: flex !important;
	flex-direction: column !important;
	flex-grow: 1 !important;
}

body.blog .entry-title,
body.archive .entry-title {
	font-size: 1.35rem !important;
	line-height: 1.4 !important;
	margin: 0 0 16px 0 !important;
}

body.blog .entry-title a,
body.archive .entry-title a {
	color: #ffffff !important;
	text-decoration: none !important;
}

body.blog .entry-title a:hover,
body.archive .entry-title a:hover {
	color: #e50914 !important;
}

body.blog .entry-summary p,
body.archive .entry-summary p {
	color: #a0a0a0 !important;
	font-size: 0.92rem !important;
	line-height: 1.6 !important;
	margin-bottom: 20px !important;
}

/* Masquer les métas parasites GeneratePress */
body.blog .entry-meta,
body.archive .entry-meta,
body.blog footer.entry-meta,
body.archive footer.entry-meta {
	display: none !important;
}

body.blog a.read-more,
body.archive a.read-more {
	margin-top: auto;
	display: inline-block;
	color: #e50914 !important;
	font-weight: 700 !important;
	font-size: 0.85rem !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none !important;
}

body.blog a.read-more:hover,
body.archive a.read-more:hover {
	text-decoration: underline !important;
}

/* ===================================================
   ARTICLE SEUL (SINGLE POST) - CENTRÉ ET ÉDITORIAL
   =================================================== */

body.single-post .site-content {
	max-width: 860px !important;
	margin: 50px auto 100px !important;
	padding: 0 24px !important;
	width: 100% !important;
}

body.single-post article.post {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.single-post .inside-article {
	padding: 0 !important;
}

body.single-post .entry-title {
	color: #ffffff !important;
	font-size: 2.3rem !important;
	line-height: 1.25 !important;
	margin-bottom: 30px !important;
	text-align: center;
}

body.single-post .entry-content {
	color: #cfcfcf !important;
	font-size: 1.1rem !important;
	line-height: 1.85 !important;
}

body.single-post .entry-content h2 {
	color: #ffffff !important;
	font-size: 1.65rem !important;
	margin-top: 50px !important;
	margin-bottom: 18px !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 10px;
}

body.single-post .entry-content h3 {
	color: #ffffff !important;
	font-size: 1.3rem !important;
	margin-top: 36px !important;
	margin-bottom: 14px !important;
}

body.single-post .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 30px 0;
	background: #141414;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

body.single-post .entry-content th,
body.single-post .entry-content td {
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
	color: #cccccc;
}

body.single-post .entry-content th {
	background: #1c1c1c;
	color: #ffffff;
}

body.single-post .entry-content a {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: #e50914;
	text-underline-offset: 3px;
}

body.single-post .entry-content a:hover {
	color: #e50914;
}

/* Forcer la lisibilité du texte et des liens contre les classes Gutenberg */
body.single-post .entry-content p,
body.single-post .entry-content p.has-black-color,
body.single-post .entry-content li,
body.single-post .entry-content li.has-black-color {
	color: #d1d1d1 !important;
	font-size: 1.08rem !important;
	line-height: 1.85 !important;
}

body.single-post .entry-content a,
body.single-post .entry-content [class*="wp-elements-"] a {
	color: #ffffff !important;
	text-decoration: underline !important;
	text-decoration-color: #e50914 !important;
	text-underline-offset: 3px !important;
	font-weight: 600 !important;
}

body.single-post .entry-content a:hover,
body.single-post .entry-content [class*="wp-elements-"] a:hover {
	color: #e50914 !important;
}

body.single-post h1.entry-title {
	color: #ffffff !important;
	font-size: 2.3rem !important;
	line-height: 1.3 !important;
	margin-bottom: 35px !important;
	text-align: center;
}

body.single-post .entry-content table thead td {
	background: #1e1e1e !important;
	color: #ffffff !important;
	font-weight: 700;
}

@media (max-width: 768px) {
	body.blog .site-main,
	body.archive .site-main {
		grid-template-columns: 1fr !important;
	}

	body.single-post .entry-title {
		font-size: 1.7rem !important;
	}
}

/* =========================================================
   SINGLE POST DEDICATED LAYOUT
   ========================================================= */
.apm-single-post-wrapper {
	background-color: #0b0b0b;
	padding: 60px 20px 100px;
	width: 100%;
	box-sizing: border-box;
}

.apm-single-post-main {
	max-width: 820px;
	margin: 0 auto;
}

.apm-post-header {
	text-align: center;
	margin-bottom: 45px;
}

.apm-post-title {
	color: #ffffff !important;
	font-size: 2.3rem !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	margin-top: 16px !important;
}

/* Corps de l'article */
.apm-post-body {
	color: #d1d1d1 !important;
	font-size: 1.05rem !important;
	line-height: 1.85 !important;
}

.apm-post-body p {
	margin-bottom: 24px !important;
	color: #d1d1d1 !important;
}

.apm-post-body h2 {
	color: #ffffff !important;
	font-size: 1.6rem !important;
	font-weight: 700 !important;
	margin-top: 48px !important;
	margin-bottom: 18px !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	padding-bottom: 10px;
}

.apm-post-body h3 {
	color: #ffffff !important;
	font-size: 1.25rem !important;
	margin-top: 32px !important;
	margin-bottom: 14px !important;
}

.apm-post-body ul, .apm-post-body ol {
	margin: 0 0 28px 24px !important;
	padding: 0 !important;
}

.apm-post-body li {
	margin-bottom: 10px !important;
	color: #c5c5c5 !important;
}

.apm-post-body strong {
	color: #ffffff !important;
}

.apm-post-body a {
	color: #ffffff !important;
	text-decoration: underline !important;
	text-decoration-color: #e50914 !important;
	text-underline-offset: 3px !important;
	font-weight: 600 !important;
}

.apm-post-body a:hover {
	color: #e50914 !important;
}

/* Tableaux Gutenberg Dark */
.apm-post-body table {
	width: 100% !important;
	border-collapse: collapse !important;
	margin: 35px 0 !important;
	background: #141414 !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 6px;
	overflow: hidden;
}

.apm-post-body table th,
.apm-post-body table td {
	padding: 14px 16px !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	text-align: left !important;
	font-size: 0.95rem !important;
}

.apm-post-body table thead td,
.apm-post-body table thead th {
	background: #1f1f1f !important;
	color: #ffffff !important;
	font-weight: 700;
}

/* Box CTA de conversion en fin d'article */
.apm-post-cta-box {
	background: #141414;
	border: 1px solid rgba(229, 9, 20, 0.4);
	border-radius: 8px;
	padding: 36px 28px;
	text-align: center;
	margin-top: 60px;
}

.apm-post-cta-box h3 {
	color: #ffffff !important;
	font-size: 1.45rem;
	margin-bottom: 10px;
}

.apm-post-cta-box p {
	color: #a8a8a8 !important;
	margin-bottom: 24px;
}

@media (max-width: 768px) {
	.apm-post-title {
		font-size: 1.75rem !important;
	}

	.apm-single-post-wrapper {
		padding: 40px 16px 80px;
	}
}

/* ==========================================================================
   Pages Légales (Dark Mode & Pleine Largeur)
   ========================================================================== */
body.page-id-9,
body.page-id-3 {
	background-color: #0b0b0b !important;
}

.page-id-9 .site-content,
.page-id-3 .site-content,
.page-id-9 #content,
.page-id-3 #content,
.page-id-9 .inside-article,
.page-id-3 .inside-article {
	background-color: #0b0b0b !important;
	color: #cccccc !important;
}

.apm-legal-wrapper {
	max-width: 900px;
	margin: 50px auto 80px;
	padding: 40px 48px;
	background: #141414;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.apm-legal-wrapper h1 {
	color: #ffffff !important;
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 8px;
	border-bottom: 2px solid #e50914;
	padding-bottom: 16px;
}

.apm-legal-wrapper .apm-legal-meta {
	color: #888888;
	font-size: 0.9rem;
	margin-bottom: 32px;
}

.apm-legal-wrapper h2 {
	color: #ffffff !important;
	font-size: 1.3rem;
	font-weight: 600;
	margin-top: 32px;
	margin-bottom: 12px;
}

.apm-legal-wrapper p {
	color: #d1d5db !important;
	font-size: 1rem;
	line-height: 1.8;
	margin-bottom: 16px;
}

.apm-legal-wrapper strong {
	color: #ffffff;
}

@media (max-width: 768px) {
	.apm-legal-wrapper {
		margin: 20px 16px 60px;
		padding: 24px 20px;
	}

	.apm-legal-wrapper h1 {
		font-size: 1.7rem;
	}
}

