/*
Theme Name: Wordbeez
Theme URI: https://www.wordbeez.com
Author: Christophe Giraud
Description: Thème sur mesure du site d'Audrey Coppée, consultante éditoriale SEO & GEO — sombre, serif blanc, dégradé rose-violet, accents miel. Léger, sans jQuery, sans appel externe.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: wordbeez
*/

/* ===== Polices auto-hébergées ===== */
@font-face {
	font-family: "Playfair Display";
	src: url("assets/fonts/playfair-var.woff2") format("woff2-variations");
	font-weight: 400 900;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("assets/fonts/inter-var.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-display: swap;
}

/* ===== Jetons ===== */
:root {
	--bg: #120d18;
	--bg-2: #17111f;
	--bg-3: #1d1627;
	--surface: rgba(255, 255, 255, 0.045);
	--surface-2: rgba(255, 255, 255, 0.08);
	--border: rgba(255, 255, 255, 0.09);
	--border-2: rgba(255, 255, 255, 0.18);
	--text: #ece7f3;
	--muted: #b4acc3;
	--faint: #8f87a1;
	--white: #ffffff;
	--pink: #e5407f;
	--pink-soft: #f07aa8;
	--violet: #7c5cff;
	--violet-soft: #a794ff;
	--honey: #f2b844;
	--ok: #4fd39a;
	--grad: linear-gradient(90deg, #ea4a8f 0%, #7c5cff 100%);
	--grad-soft: linear-gradient(135deg, rgba(234, 74, 143, 0.22), rgba(124, 92, 255, 0.22));
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 20px;
	--radius-sm: 12px;
	--container: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--header-h: 92px;
	--shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	color-scheme: dark;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-soft); text-decoration: none; }
a:hover { color: var(--white); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; color: var(--white); margin: 0 0 0.6em; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(234, 74, 143, 0.55); color: #fff; }
:focus-visible { outline: 2px solid var(--honey); outline-offset: 3px; border-radius: 4px; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 10px 16px; background: var(--honey); color: #17111f; font-weight: 600; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container-narrow { width: min(760px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }

.kicker {
	font-family: var(--sans);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--pink-soft);
	margin: 0 0 14px;
}
.kicker a { color: inherit; }
.kicker-gradient, .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--muted); line-height: 1.65; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.is-split .section-title { margin-bottom: 0; }
.section-title { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 0.45em; }
.section-title em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head .lead { margin-bottom: 0; }
.section-more { text-align: center; margin: 40px 0 0; }

.ico { width: 24px; height: 24px; flex: none; }
.ico-honey { color: var(--honey); }
.ico-violet { color: var(--violet-soft); }
.ico-pink { color: var(--pink-soft); }

/* ===== Boutons ===== */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 24px; border-radius: 999px;
	font-weight: 600; font-size: 15.5px; line-height: 1; color: var(--white);
	border: 1px solid transparent; white-space: nowrap;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn .ico { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-primary { background: var(--grad); box-shadow: 0 10px 30px -10px rgba(234, 74, 143, 0.65); }
.btn-primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(124, 92, 255, 0.75); }
.btn-outline { border-color: var(--border-2); background: transparent; }
.btn-outline:hover { color: var(--white); background: var(--surface-2); border-color: rgba(255, 255, 255, 0.32); }
.btn-link { padding: 10px 0; color: var(--pink-soft); border: 0; }
.btn-link:hover { color: var(--white); }
.btn-lg { padding: 18px 32px; font-size: 17px; }
.btn-lg .ico { width: 20px; height: 20px; }

/* ===== En-tête ===== */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	height: var(--header-h);
	transition: background-color 0.3s, border-color 0.3s, height 0.3s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, body.nav-open .site-header {
	background: rgba(18, 13, 24, 0.78);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	border-color: var(--border);
	height: 76px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 100%; }

.logo { display: inline-flex; flex-direction: column; color: var(--white); line-height: 1; position: relative; }
.logo:hover { color: var(--white); }
.logo-word { font-family: var(--serif); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; display: inline-flex; align-items: baseline; position: relative; padding-right: 44px; }
.logo-beez { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .bee { position: absolute; right: -6px; top: -14px; width: 46px; height: 30px; color: var(--pink-soft); }
.logo-sub { margin-top: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pink-soft); white-space: nowrap; }
@media (max-width: 600px) { .logo-word { font-size: 34px; } .logo-sub { font-size: 9.5px; letter-spacing: 0.14em; } .logo .bee { width: 40px; top: -12px; } }
.site-header.is-scrolled .logo-word { font-size: 32px; }
.site-header.is-scrolled .logo-sub { display: none; }
.logo-img { max-height: 48px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 40px; }
.nav-list { display: flex; gap: 30px; list-style: none; }
.nav-list a { position: relative; color: var(--text); font-weight: 500; font-size: 16px; padding: 6px 0; }
.nav-list a:hover { color: var(--white); }
.nav-list a::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 5px; height: 5px; border-radius: 50%; background: var(--violet-soft); transform: translateX(-50%) scale(0); transition: transform 0.25s var(--ease); }
.nav-list a.is-active, .nav-list .current-menu-item > a, .nav-list .current_page_parent > a { color: var(--white); }
.nav-list a.is-active::after, .nav-list .current-menu-item > a::after, .nav-list .current_page_parent > a::after { transform: translateX(-50%) scale(1); }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--border-2); align-items: center; justify-content: center; color: var(--white); }
.nav-toggle .ico-close, body.nav-open .nav-toggle .ico-open { display: none; }
body.nav-open .nav-toggle .ico-close { display: block; }

@media (max-width: 1080px) {
	.nav-list { gap: 20px; }
	.nav-list a { font-size: 15px; }
	.site-nav { gap: 24px; }
}
@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
		flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
		padding: 24px var(--gutter) 40px;
		background: rgba(18, 13, 24, 0.97);
		transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
		transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
		overflow-y: auto;
	}
	body.nav-open .site-nav { inset-block-start: 76px; opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
	body.nav-open { overflow: hidden; }
	/* Un backdrop-filter sur l'en-tête en ferait le bloc conteneur du panneau
	   fixe (il resterait coincé dans les 76 px de l'en-tête) : fond opaque à la place. */
	body.nav-open .site-header, body.nav-open .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list li + li { border-top: 1px solid var(--border); }
	.nav-list a { display: block; padding: 18px 4px; font-family: var(--serif); font-size: 26px; }
	.nav-list a::after { display: none; }
	.nav-cta { margin-top: 28px; }
	.nav-cta .btn { width: 100%; justify-content: center; padding: 18px; }
}

/* ===== Héros ===== */
.hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(60% 50% at 78% 30%, rgba(124, 92, 255, 0.22), transparent 70%),
		radial-gradient(45% 40% at 20% 85%, rgba(234, 74, 143, 0.16), transparent 70%),
		radial-gradient(30% 30% at 90% 90%, rgba(242, 184, 68, 0.1), transparent 70%);
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background: url("assets/img/hero-ambiance.webp") center right / cover no-repeat; opacity: 0.16; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 65%); mask-image: linear-gradient(90deg, transparent 20%, #000 65%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { max-width: 620px; }
.hero-title { font-size: clamp(46px, 7.2vw, 96px); font-weight: 700; line-height: 0.98; letter-spacing: -0.03em; margin: 0 0 22px; }
.hero-title .dot { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-name { display: block; margin: 0 0 22px; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); line-height: 1.5; }
.hero-name::before { content: ""; display: inline-block; vertical-align: middle; width: 48px; height: 2px; margin-right: 14px; background: var(--honey); border-radius: 2px; }
.hero-text { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(36px, 4vw, 56px); }
.stats { display: grid; grid-template-columns: auto auto minmax(0, 1.3fr); list-style: none; gap: 20px; }
.stats li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding-left: 20px; border-left: 1px solid var(--border); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats .ico { grid-row: 1 / 3; width: 28px; height: 28px; }
.stats strong { font-size: 21px; font-weight: 700; color: var(--white); line-height: 1.1; }
.stats span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }

.hero-media { position: relative; justify-self: end; width: min(100%, 470px); }
.hero-photo { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18, 13, 24, 0.55)); pointer-events: none; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.float-card {
	position: absolute; display: flex; gap: 14px; align-items: flex-start;
	padding: 16px 20px 20px; border-radius: 16px;
	background: rgba(26, 19, 34, 0.82); border: 1px solid var(--border-2);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
	min-width: 190px;
	animation: float 7s ease-in-out infinite;
}
.float-card .ico { width: 26px; height: 26px; margin-top: 2px; }
.float-card strong { display: block; font-size: 15.5px; color: var(--white); margin-bottom: 4px; }
.float-card span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; }
.float-card .bar { position: absolute; left: 20px; bottom: 10px; width: 46px; height: 3px; border-radius: 3px; }
.bar-violet { background: var(--violet-soft); }
.bar-pink { background: var(--pink); }
.bar-honey { background: var(--honey); }
.float-1 { top: 6%; right: -12%; animation-delay: 0s; }
.float-2 { top: 42%; right: -20%; animation-delay: -2.3s; }
.float-3 { bottom: 8%; left: -16%; animation-delay: -4.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-scroll { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); color: var(--faint); animation: bob 2.2s ease-in-out infinite; }
.hero-scroll:hover { color: var(--white); }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

@media (max-width: 1200px) {
	.float-1 { right: -4%; }
	.float-2 { right: -8%; }
	.float-3 { left: -6%; }
}
@media (max-width: 960px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-copy { max-width: none; }
	.hero-media { justify-self: start; width: 100%; display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 20px; align-items: center; }
	.hero-photo { grid-row: 1 / 4; }
	.float-card { position: static; animation: none; min-width: 0; }
	.hero-scroll { display: none; }
}
@media (max-width: 600px) {
	.hero { padding-top: calc(var(--header-h) + 24px); }
	.hero-media { grid-template-columns: 1fr; }
	.hero-photo { grid-row: auto; max-width: 320px; }
	.stats { grid-template-columns: 1fr; gap: 14px; }
	.stats li { border-left: 0; padding-left: 0; }
	.hero-actions .btn { width: 100%; justify-content: center; }
}

/* ===== Cartes génériques ===== */
.card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 30px 28px;
	transition: transform 0.3s var(--ease), border-color 0.3s, background-color 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-2); background: var(--surface-2); }
.card h3 { font-size: 22px; margin-bottom: 0.5em; }
.card p:last-child { margin-bottom: 0; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px; color: var(--white); background: var(--grad-soft); border: 1px solid var(--border-2); }
.card-probleme p { color: var(--muted); }

/* ===== Constat ===== */
.section-problemes { padding-top: clamp(40px, 6vw, 72px); }
.section-problemes::before { content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 90%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--border-2), transparent); }

/* ===== Offres ===== */
.section-offres { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.offres-grid { align-items: stretch; }
.offre { display: flex; flex-direction: column; padding: 36px 30px 30px; }
.offre .badge { position: absolute; top: -14px; right: 24px; padding: 7px 14px; border-radius: 999px; background: var(--grad); color: var(--white); font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; box-shadow: 0 10px 24px -10px rgba(234, 74, 143, 0.8); }
.offre-name { font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--honey); margin-bottom: 12px; }
.offre-tagline { font-size: 23px; line-height: 1.25; margin: 0 0 14px; }
.offre-prix { font-size: 14.5px; color: var(--muted); font-style: italic; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.offre-body { flex: 1; margin-bottom: 26px; }
.offre .btn { align-self: flex-start; }
.offre.is-reco { background: linear-gradient(var(--bg-3), var(--bg-3)) padding-box, var(--grad) border-box; border-color: transparent; box-shadow: 0 30px 80px -40px rgba(124, 92, 255, 0.7); }
@media (min-width: 1025px) { .offre.is-reco { transform: translateY(-10px); } .offre.is-reco:hover { transform: translateY(-14px); } }
.prose-list ul, .prose-checks ul { list-style: none; }
.prose-list li, .prose-checks li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--text); line-height: 1.5; }
.prose-list li::before, .prose-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--border-2); background-color: rgba(124, 92, 255, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f07aa8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E"); background-size: 12px; background-position: center; background-repeat: no-repeat; }
.prose-list p, .prose-checks p { color: var(--muted); }
.socle { margin-top: 48px; padding: 36px 40px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.socle-title { font-size: 24px; margin-bottom: 20px; }
.prose-checks ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 32px; }
@media (max-width: 720px) { .prose-checks ul { grid-template-columns: 1fr; } .socle { padding: 28px 24px; } }

/* ===== Expertises ===== */
.expertises { display: grid; gap: 14px; }
.expertise { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 0.3s, background-color 0.3s; }
.expertise[open], .expertise:hover { border-color: var(--border-2); background: var(--surface-2); }
.expertise summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 22px 26px; cursor: pointer; }
.expertise summary::-webkit-details-marker { display: none; }
.expertise-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px; background: var(--grad-soft); border: 1px solid var(--border-2); color: var(--white); }
.expertise-icon .ico { width: 26px; height: 26px; }
.expertise-name { display: block; margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--white); line-height: 1.2; letter-spacing: -0.015em; }
.expertise-hook { display: block; margin-top: 5px; color: var(--muted); font-size: 16px; }
.expertise-toggle { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-2); align-items: center; justify-content: center; color: var(--muted); transition: transform 0.3s var(--ease), background-color 0.3s; }
.expertise[open] .expertise-toggle { transform: rotate(180deg); background: var(--grad); border-color: transparent; color: var(--white); }
.expertise-body { padding: 0 26px 28px 102px; animation: fadeIn 0.35s var(--ease); }
.expertise-body .prose p { color: var(--muted); }
.expertise-body .prose p:first-child { color: var(--text); font-size: 18px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
	.expertise summary { grid-template-columns: auto 1fr; padding: 18px 18px; gap: 14px; }
	.expertise-toggle { display: none; }
	.expertise-name { font-size: 20px; }
	.expertise-body { padding: 0 18px 22px; }
}

/* ===== À propos ===== */
.section-apropos { background: radial-gradient(50% 60% at 15% 50%, rgba(242, 184, 68, 0.08), transparent 70%); }
.apropos-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.apropos-photo { position: relative; margin: 0; max-width: 420px; }
.apropos-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 28px; border: 1px solid rgba(242, 184, 68, 0.5); z-index: -1; }
.apropos-photo img { border-radius: 28px; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow); }
.apropos-photo figcaption { position: absolute; left: 20px; bottom: 20px; display: flex; flex-direction: column; padding: 12px 18px; border-radius: 14px; background: rgba(26, 19, 34, 0.85); border: 1px solid var(--border-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.apropos-photo figcaption strong { color: var(--white); font-size: 15px; }
.apropos-photo figcaption span { color: var(--muted); font-size: 12.5px; }
.apropos-copy .lead { margin-bottom: 28px; }
@media (max-width: 900px) { .apropos-grid { grid-template-columns: 1fr; } .apropos-photo { max-width: 340px; } }

/* ===== Méthode ===== */
.etapes { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: etape; }
.etape { position: relative; padding: 30px 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform 0.3s var(--ease), border-color 0.3s; }
.etape:hover { transform: translateY(-4px); border-color: var(--border-2); }
.etape-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 18px; font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--white); background: linear-gradient(var(--bg-3), var(--bg-3)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.etape h2, .etape h3 { font-size: 22px; margin: 0 0 0.4em; }
.etape-text p { color: var(--muted); margin: 0; }
@media (max-width: 1024px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .etapes { grid-template-columns: 1fr; } }

/* ===== Réalisations ===== */
.section-realisations { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; margin: 0 auto clamp(40px, 5vw, 64px); max-width: 1000px; }
.clients li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: 0.01em; transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.clients li:hover { color: var(--white); border-color: var(--border-2); transform: translateY(-2px); }
.phare { display: flex; flex-direction: column; }
.phare-type { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--honey); margin-bottom: 12px; }
.phare-q { font-size: 21px; line-height: 1.3; margin: 0 0 0.6em; }
.phare-a { color: var(--muted); flex: 1; }
.phare-client { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; margin: 8px 0 12px; }
.phare-client .ico { width: 18px; height: 18px; color: var(--pink-soft); }
.phare-link { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14.5px; color: var(--muted); }
.phare-link .ico { width: 16px; height: 16px; }
.phare-link:hover { color: var(--white); }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-side .section-title { font-size: clamp(28px, 3vw, 38px); }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; font-size: 18px; font-weight: 600; color: var(--white); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { color: var(--muted); transition: transform 0.3s var(--ease), color 0.3s; }
.faq-item[open] summary .ico { transform: rotate(180deg); color: var(--pink-soft); }
.faq-item summary:hover .ico { color: var(--white); }
.faq-answer { padding: 0 4px 24px; color: var(--muted); animation: fadeIn 0.3s var(--ease); }
.faq-answer p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ===== Articles : cartes ===== */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: rgba(255, 255, 255, 0.75); background: radial-gradient(80% 80% at 20% 20%, rgba(234, 74, 143, 0.5), transparent 60%), radial-gradient(70% 70% at 90% 90%, rgba(124, 92, 255, 0.55), transparent 60%), var(--bg-3); }
.post-card-placeholder[data-n="1"] { background: radial-gradient(80% 80% at 80% 20%, rgba(242, 184, 68, 0.4), transparent 60%), radial-gradient(70% 70% at 10% 90%, rgba(124, 92, 255, 0.5), transparent 60%), var(--bg-3); }
.post-card-placeholder[data-n="2"] { background: radial-gradient(80% 80% at 50% 0%, rgba(124, 92, 255, 0.5), transparent 60%), radial-gradient(70% 70% at 80% 100%, rgba(234, 74, 143, 0.45), transparent 60%), var(--bg-3); }
.post-card-placeholder[data-n="3"] { background: radial-gradient(80% 80% at 0% 50%, rgba(234, 74, 143, 0.45), transparent 60%), radial-gradient(70% 70% at 100% 50%, rgba(242, 184, 68, 0.35), transparent 60%), var(--bg-3); }
.post-card-placeholder[data-n="4"] { background: radial-gradient(80% 80% at 100% 0%, rgba(124, 92, 255, 0.55), transparent 60%), radial-gradient(70% 70% at 0% 100%, rgba(242, 184, 68, 0.3), transparent 60%), var(--bg-3); }
.post-card-placeholder .ico { width: 44px; height: 44px; }
.post-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--faint); margin-bottom: 12px; }
.post-cat { color: var(--pink-soft); font-weight: 600; }
.post-card-title { font-size: 22px; line-height: 1.25; margin-bottom: 0.5em; }
.post-card-title a { color: var(--white); }
.post-card-title a:hover { color: var(--pink-soft); }
.post-card-excerpt { color: var(--muted); font-size: 15.5px; flex: 1; }
.post-card-more { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; font-size: 15px; margin-top: 8px; }
.post-card-more .ico { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.post-card:hover .post-card-more .ico { transform: translateX(4px); }

.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.cat-filter a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border-2); color: var(--muted); font-size: 14.5px; font-weight: 500; }
.cat-filter a:hover { color: var(--white); }
.cat-filter a.is-active { background: var(--grad); border-color: transparent; color: var(--white); }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; min-width: 44px; height: 44px; padding: 0 16px; justify-content: center; border-radius: 999px; border: 1px solid var(--border-2); color: var(--muted); font-weight: 500; }
.pagination .page-numbers.current { background: var(--grad); color: var(--white); border-color: transparent; }
.pagination a.page-numbers:hover { color: var(--white); }
.empty { text-align: center; padding: 24px 0; }
.empty .search-form { max-width: 520px; margin: 0 auto 28px; }

/* ===== En-tête de page intérieure ===== */
.page-head { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(24px, 3vw, 40px); overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 70% 20%, rgba(124, 92, 255, 0.18), transparent 70%), radial-gradient(40% 50% at 10% 80%, rgba(234, 74, 143, 0.12), transparent 70%); }
.page-title { font-size: clamp(38px, 5.5vw, 68px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; max-width: 900px; margin-bottom: 20px; }
.page-title .dot { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-head .lead { max-width: 760px; margin-bottom: 0; }
.page-head + .section, .page-head + .container + .section { padding-top: clamp(32px, 4vw, 56px); }
.page-intro { padding: 8px 0 32px; }

/* ===== Article ===== */
.article-head { padding: calc(var(--header-h) + clamp(32px, 5vw, 64px)) 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--faint); margin-bottom: 28px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--white); }
.article-title { font-size: clamp(34px, 4.8vw, 58px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; margin-bottom: 20px; }
.article-lead { margin-bottom: 28px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 14.5px; color: var(--muted); padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.article-meta .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-2); }
.article-meta strong { color: var(--white); }
.article-meta time, .article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .ico { width: 16px; height: 16px; }
.article-maj { color: var(--faint); }
.article-cover { margin: 40px auto 0; }
.article-cover img { border-radius: 24px; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.article-body { padding: clamp(32px, 5vw, 56px) 0 0; }

/* ===== Prose (contenu rédigé dans l'éditeur) ===== */
.prose { font-size: 18.5px; line-height: 1.75; color: var(--text); }
.prose > * { margin-bottom: 1.3em; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 2em 0 0.7em; line-height: 1.2; }
.prose h3 { font-size: clamp(21px, 2vw, 25px); margin: 1.7em 0 0.6em; }
.prose h4 { font-size: 19px; font-family: var(--sans); font-weight: 700; margin: 1.5em 0 0.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.3em; }
.prose a { color: var(--pink-soft); text-decoration: underline; text-decoration-color: rgba(240, 122, 168, 0.4); text-underline-offset: 3px; }
.prose a:hover { color: var(--white); text-decoration-color: var(--white); }
.prose strong { color: var(--white); font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--pink-soft); }
.prose blockquote, .prose .wp-block-quote { margin: 1.6em 0; padding: 18px 26px; border-left: 3px solid var(--pink); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--surface); color: var(--white); font-family: var(--serif); font-size: 1.05em; font-style: italic; }
.prose blockquote p { margin: 0; }
.prose blockquote p + p { margin-top: 0.6em; }
.prose blockquote cite { display: block; margin-top: 0.6em; font-family: var(--sans); font-style: normal; font-size: 0.8em; color: var(--honey); }
.prose .wp-block-pullquote { border: 0; padding: 0; text-align: left; }
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 14px; color: var(--faint); margin-top: 10px; text-align: center; }
.prose hr { border: 0; height: 1px; background: var(--border-2); margin: 2.4em 0; }
.prose code { font-size: 0.9em; padding: 2px 7px; border-radius: 6px; background: var(--bg-3); border: 1px solid var(--border); }
.prose pre { padding: 20px; border-radius: var(--radius-sm); background: var(--bg-3); border: 1px solid var(--border); overflow-x: auto; font-size: 0.85em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92em; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { color: var(--white); font-weight: 600; }
.prose .wp-block-table { overflow-x: auto; }
.prose .wp-block-button__link { display: inline-flex; padding: 14px 24px; border-radius: 999px; background: var(--grad); color: var(--white); text-decoration: none; font-weight: 600; }
.prose .has-text-align-center { text-align: center; }
.prose .alignwide { width: min(1100px, 100vw - var(--gutter) * 2); margin-left: 50%; transform: translateX(-50%); }
.prose .wp-block-embed iframe { max-width: 100%; border-radius: var(--radius-sm); }
.prose .wp-block-separator { border: 0; height: 1px; background: var(--border-2); }
.prose .wbz-encart, .prose .has-background { padding: 22px 26px; border-radius: var(--radius-sm); background: var(--surface) !important; border: 1px solid var(--border-2); }

.article-tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags a { font-size: 14px; color: var(--muted); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border); }
.article-tags a:hover { color: var(--white); border-color: var(--border-2); }
.author-box { display: flex; gap: 26px; align-items: flex-start; margin-top: 56px; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--border-2); }
.author-box .kicker { margin-bottom: 6px; }
.author-name { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.author-box p { color: var(--muted); }
.author-box p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .author-box { flex-direction: column; } }
.section-related { padding-top: clamp(56px, 7vw, 96px); }

/* ===== Formulaire de devis ===== */
.devis-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.devis-side .page-intro { padding: 0 0 20px; }
.devis-points { list-style: none; display: grid; gap: 14px; margin-bottom: 28px; }
.devis-points li { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; }
.devis-points .ico { color: var(--pink-soft); width: 22px; height: 22px; }
.devis-alt { color: var(--muted); }
.form { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin: 0 0 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.req { color: var(--pink-soft); }
.field input, .field select, .field textarea, .search-form input {
	width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
	background: var(--bg); border: 1px solid var(--border-2); color: var(--white);
	font: inherit; font-size: 16px; line-height: 1.4;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4acc3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus, .search-form input:focus { outline: 0; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(234, 74, 143, 0.22); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field-check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14.5px; line-height: 1.5; cursor: pointer; }
.field-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--pink); }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-actions { margin: 8px 0 0; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 15.5px; line-height: 1.5; }
.notice .ico { flex: none; margin-top: 2px; }
.notice.is-ok { background: rgba(79, 211, 154, 0.12); border: 1px solid rgba(79, 211, 154, 0.4); color: #d7f7e8; }
.notice.is-ok .ico { color: var(--ok); }
.notice.is-err { background: rgba(234, 74, 143, 0.12); border: 1px solid rgba(234, 74, 143, 0.45); color: #ffd9e7; }
.notice.is-err .ico { color: var(--pink-soft); }
.notice strong { color: var(--white); }
@media (max-width: 900px) { .devis-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; gap: 0; } .form-actions .btn { width: 100%; justify-content: center; } }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; }
.search-form .btn { flex: none; }
@media (max-width: 480px) { .search-form { flex-direction: column; } }

/* ===== Appel à l'action ===== */
.cta-band { padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 100px); }
.cta-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	padding: clamp(32px, 4.5vw, 60px);
	border-radius: 28px;
	background:
		radial-gradient(70% 90% at 0% 0%, rgba(234, 74, 143, 0.28), transparent 60%),
		radial-gradient(70% 90% at 100% 100%, rgba(124, 92, 255, 0.3), transparent 60%),
		var(--bg-3);
	border: 1px solid var(--border-2);
	box-shadow: var(--shadow);
}
.cta-inner > div { max-width: 640px; }
.cta-title { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 0.4em; }
.cta-text { color: var(--muted); margin: 0; font-size: 17.5px; }
@media (max-width: 640px) { .cta-inner .btn { width: 100%; justify-content: center; } }

/* ===== Pied de page ===== */
.site-footer { border-top: 1px solid var(--border); padding: clamp(48px, 6vw, 80px) 0 32px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand .logo-word { font-size: 34px; }
.footer-text { margin: 20px 0 14px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.footer-social { display: flex; gap: 18px; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--muted); font-size: 14.5px; }
.footer-social a:hover { color: var(--white); }
.footer-social .ico { width: 18px; height: 18px; }
.footer-heading { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.footer-list { list-style: none; display: grid; gap: 4px; }
.footer-list a { display: inline-block; padding: 6px 0; color: var(--muted); font-size: 15.5px; }
.footer-list a:hover { color: var(--white); }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 15px; overflow-wrap: anywhere; min-width: 0; }
.footer-mail .ico { width: 18px; height: 18px; color: var(--pink-soft); }
.footer-contact p { margin-bottom: 16px; }
.footer-legal { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13.5px; color: var(--faint); }
.footer-legal p { margin: 0; }
.legal-list { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; }
.legal-list a { display: inline-block; padding: 8px 0; color: var(--faint); }
.legal-list a:hover { color: var(--white); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===== Bandeau cookies (mesure d'audience) ===== */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-inline: auto; padding: 20px 22px; border-radius: 18px; background: rgba(26, 19, 34, 0.96); border: 1px solid var(--border-2); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: fadeIn 0.4s var(--ease); }
.cookie-banner p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.cookie-banner strong { color: var(--white); }
.cookie-banner a { color: var(--pink-soft); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 18px; font-size: 14.5px; }

/* ===== Apparition au défilement ===== */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html.js .reveal { opacity: 1; transform: none; transition: none; }
	.float-card, .hero-scroll { animation: none; }
	.card, .etape, .btn, .clients li { transition: none; }
}

/* ===== Barre d'admin ===== */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
