/*
Theme Name: Le Phoenix
Theme URI: https://lephoenix-entreprendre.fr
Author: Le Phoenix — CCPOM
Description: Thème sur mesure du Phoenix, pôle entrepreneurial de la CCPOM à Amnéville. Thème en blocs, palette « Soleil ».
Version: 0.6.1
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: phoenix
*/

/* ---------- Base ---------- */
:root {
	/* Largeur utile : 1320 px sur portable, s'élargit jusqu'à 1800 px sur grand écran */
	--ph-wide: clamp(1320px, 86vw, 1800px);
	--ph-radius: 20px;
	--ph-radius-lg: 32px;
	--ph-ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }
/* Grands écrans : tout ce qui est en rem grandit légèrement */
@media (min-width: 1880px) { html { font-size: 109%; } }
@media (min-width: 2300px) { html { font-size: 118%; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--wp--preset--color--soleil); color: var(--wp--preset--color--charbon); }
img { max-width: 100%; height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
:focus-visible { outline: 3px solid var(--wp--preset--color--soleil); outline-offset: 3px; }

.ph-kicker {
	font-family: var(--wp--preset--font-family--body);
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: .7em;
}
.ph-kicker::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
}
.ph-mark { color: var(--wp--preset--color--soleil); }
.ph-mark-terra { color: var(--wp--preset--color--terracotta); }
.ph-underline {
	background: linear-gradient(transparent 62%, var(--wp--preset--color--soleil) 62%, var(--wp--preset--color--soleil) 92%, transparent 92%);
	padding: 0 .08em;
}

/* ---------- Boutons ---------- */
.wp-block-button__link { transition: transform .25s var(--ph-ease), background-color .25s, color .25s, box-shadow .25s; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.is-style-outline > .wp-block-button__link { border-width: 2px; background: transparent; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: currentColor; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover span,
.is-style-outline.on-dark > .wp-block-button__link:hover { color: var(--wp--preset--color--charbon) !important; }
.wp-block-button.is-style-outline.on-dark > .wp-block-button__link:hover { background: var(--wp--preset--color--blanc); }
.wp-block-button.is-style-outline.on-light > .wp-block-button__link:hover { background: var(--wp--preset--color--charbon); color: var(--wp--preset--color--blanc) !important; }
.ph-link-arrow a, a.ph-link-arrow {
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

/* ---------- En-tête : menu pilule fixe ---------- */
.wp-site-blocks { padding-top: 0; }
body.home { background: var(--wp--preset--color--charbon); }
.wp-site-blocks > header:first-child, .wp-site-blocks > .wp-block-template-part:first-child { height: 0; }
.ph-header {
	position: fixed; z-index: 100; top: 14px; left: 0; right: 0;
	display: flex; justify-content: center; padding: 0 clamp(10px, 2vw, 24px);
	pointer-events: none;
}
.admin-bar .ph-header { top: calc(32px + 14px); }
@media (max-width: 782px) { .admin-bar .ph-header { top: calc(46px + 10px); } }
.ph-pill {
	pointer-events: auto; position: relative; isolation: isolate;
	width: 100%; max-width: calc(var(--ph-wide) - 120px);
	gap: 12px !important;
	padding: 8px 8px 8px 18px;
	border-radius: 999px;
	transition: max-width .45s var(--ph-ease), padding .3s;
}
/* Fond flouté sur un pseudo-élément : un backdrop-filter sur la pilule elle-même
   enfermerait le menu mobile plein écran à l'intérieur de la pilule. */
.ph-pill::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
	background: color-mix(in srgb, var(--wp--preset--color--charbon) 78%, transparent);
	-webkit-backdrop-filter: saturate(170%) blur(16px);
	backdrop-filter: saturate(170%) blur(16px);
	border: 1px solid rgba(255, 255, 255, .1);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
	transition: background .3s, box-shadow .3s;
}
.ph-scrolled .ph-pill { max-width: calc(var(--ph-wide) - 240px); }
.ph-scrolled .ph-pill::before { background: color-mix(in srgb, var(--wp--preset--color--charbon) 92%, transparent); box-shadow: 0 14px 40px rgba(0, 0, 0, .3); }
/* Espace réservé sous le menu fixe (pages hors hero sombre) */
.wp-site-blocks > main, .wp-site-blocks > .wp-block-group:not(.ph-header):first-of-type { scroll-margin-top: 100px; }
main.wp-block-group { padding-top: 0; }
.ph-main-padded { padding-top: calc(96px + var(--wp--preset--spacing--40)) !important; }
.ph-hero { padding-top: calc(var(--wp--preset--spacing--60) + 64px) !important; }

.ph-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wp--preset--color--blanc); flex-shrink: 0; }
.ph-logo svg { height: 34px; width: auto; }
.ph-logo span { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 20px; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.ph-logo small { display: block; font-family: var(--wp--preset--font-family--body); font-weight: 400; font-size: 11px; letter-spacing: .02em; opacity: .65; margin-top: 4px; }
.ph-footer .ph-logo svg { height: 40px; }

/* Liens du menu en pastilles */
.ph-nav .wp-block-navigation-item__content {
	padding: 9px 14px !important; border-radius: 999px;
	transition: background .25s, color .25s;
}
.ph-nav .wp-block-navigation-item:hover > .wp-block-navigation-item__content,
.ph-nav .current-menu-item > .wp-block-navigation-item__content { background: rgba(255, 255, 255, .1); }
.ph-nav .wp-block-navigation__submenu-icon { margin-left: -8px; margin-right: 8px; transition: transform .25s; }
.ph-nav .has-child:hover > .wp-block-navigation__submenu-icon { transform: rotate(180deg); }

/* Sous-menu « Nos espaces » */
.ph-nav .has-child > .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--blanc) !important; color: var(--wp--preset--color--charbon) !important;
	border: 0 !important; border-radius: 22px; padding: 8px !important; min-width: 330px !important;
	top: calc(100% + 14px) !important; left: 50% !important;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
	transform: translate(-50%, 8px); opacity: 0; transition: opacity .25s, transform .3s var(--ph-ease), visibility .25s;
}
.ph-nav .has-child > .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.ph-nav .has-child:hover > .wp-block-navigation__submenu-container,
.ph-nav .has-child:focus-within > .wp-block-navigation__submenu-container { transform: translate(-50%, 0); opacity: 1; }
.ph-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: flex !important; flex-direction: column; align-items: stretch !important; padding: 14px 16px !important; border-radius: 16px; color: var(--wp--preset--color--charbon) !important;
}
.ph-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content { background: var(--wp--preset--color--soleil-clair); }
.ph-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__label { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 8px; width: 100%; }
.ph-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__label::after { content: "→"; margin-left: auto; transition: transform .25s; }
.ph-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:hover .wp-block-navigation-item__label::after { transform: translateX(4px); }
.ph-nav .wp-block-navigation-item__description { display: block; font-size: .82rem; font-weight: 400; line-height: 1.4; color: var(--wp--preset--color--ardoise); margin-top: 3px; white-space: normal; }

/* Menu mobile plein écran */
@media (max-width: 599px) { .ph-nav .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; } }
.ph-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 28px 24px; }
.ph-nav .is-menu-open .wp-block-navigation__container, .ph-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; text-align: left; }
.ph-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--display); font-size: 26px; font-weight: 700; padding: 6px 0 !important; }
.ph-nav .is-menu-open .wp-block-navigation__submenu-container { background: transparent !important; color: inherit !important; box-shadow: none; transform: none !important; opacity: 1 !important; min-width: 0 !important; padding: 0 0 0 16px !important; }
.ph-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { color: var(--wp--preset--color--blanc) !important; font-size: 19px !important; }
.ph-nav .is-menu-open .wp-block-navigation-item__description { color: #b3a99e; }
.ph-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__label::after { content: none; }

@media (max-width: 1080px) {
	.ph-pill .ph-pill-cta { display: none !important; }
}
@media (max-width: 600px) {
	.ph-pill { padding: 6px 6px 6px 14px; }
	.ph-logo svg { height: 30px; }
	.ph-logo span { font-size: 18px; }
}

/* ---------- Hero ---------- */
.ph-hero { position: relative; overflow: hidden; }
.ph-hero::before {
	content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%;
	background: radial-gradient(circle, rgba(245, 200, 64, .22), rgba(245, 200, 64, 0) 65%);
	pointer-events: none;
}
.ph-hero h1 {
	font-size: clamp(3rem, 8.2vw, 8.4rem) !important;
	line-height: .92 !important;
	letter-spacing: -.055em !important;
}
.ph-hero-media { position: relative; }
.ph-hero-media .ph-hero-photo img {
	border-radius: var(--ph-radius-lg);
	aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
}
.ph-sticker {
	position: absolute; z-index: 2; margin: 0 !important;
	background: var(--wp--preset--color--blanc); color: var(--wp--preset--color--charbon);
	border-radius: 999px; padding: 8px 18px 8px 8px !important;
	display: flex !important; align-items: center; gap: 12px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
	animation: ph-float 6s ease-in-out infinite;
}
.ph-sticker img { width: 52px !important; height: 52px !important; border-radius: 50% !important; object-fit: cover; }
.ph-sticker figure { margin: 0 !important; }
.ph-sticker p { margin: 0 !important; font-size: 13px; line-height: 1.25; }
.ph-sticker strong { font-family: var(--wp--preset--font-family--display); font-size: 14px; display: block; }
.ph-sticker--1 { left: -48px; top: 14%; }
.ph-sticker--2 { right: -28px; top: 46%; animation-delay: -2s; }
.ph-sticker--3 { left: -20px; bottom: 9%; animation-delay: -4s; }
.ph-sun-badge {
	position: absolute; right: -22px; top: -22px; z-index: 3; width: 128px; height: 128px; margin: 0 !important;
	border-radius: 50%; background: var(--wp--preset--color--soleil); color: var(--wp--preset--color--charbon);
	display: grid !important; place-items: center; text-align: center;
	font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 15px; line-height: 1.05;
	transform: rotate(-12deg); padding: 12px !important;
}
@keyframes ph-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Bandeau défilant ---------- */
.ph-marquee { overflow: hidden; white-space: nowrap; }
.ph-marquee__track { display: inline-flex; gap: 0; animation: ph-scroll 38s linear infinite; }
.ph-marquee__track span {
	font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.8rem);
	letter-spacing: -.03em; padding: 0 .55em; display: inline-flex; align-items: center; gap: 1.1em;
}
.ph-marquee__track span::after { content: "✦"; font-size: .55em; }
@keyframes ph-scroll { to { transform: translateX(-50%); } }

/* ---------- Cartes « vous pouvez » ---------- */
.ph-offer { position: relative; overflow: hidden; border-radius: var(--ph-radius-lg); min-height: 500px !important; isolation: isolate; }
.ph-offer p:last-child { max-width: 46ch; }
.ph-offer .wp-block-cover__image-background { transition: transform .9s var(--ph-ease); }
.ph-offer:hover .wp-block-cover__image-background { transform: scale(1.06); }
.ph-offer .ph-offer-num { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 14px; letter-spacing: .1em; opacity: .85; }
.ph-offer h3 a { color: inherit; text-decoration: none; }
.ph-offer h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.ph-offer-arrow {
	width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
	background: var(--wp--preset--color--soleil); color: var(--wp--preset--color--charbon); font-size: 22px;
	transition: transform .35s var(--ph-ease);
}
.ph-offer:hover .ph-offer-arrow { transform: rotate(-45deg); }

/* ---------- Chiffres ---------- */
.ph-stat { border-top: 2px solid var(--wp--preset--color--charbon); padding-top: 18px !important; }
.ph-stat .ph-stat-num {
	font-family: var(--wp--preset--font-family--display); font-weight: 800; line-height: .9;
	font-size: clamp(3rem, 5.6vw, 5.4rem); letter-spacing: -.06em; white-space: nowrap; margin: 0;
}
.ph-stat .ph-stat-num sup { font-size: .38em; letter-spacing: 0; vertical-align: top; margin-left: 4px; }

/* ---------- Visages ---------- */
.ph-faces { --gap: 20px; }
.ph-face { position: relative; border-radius: var(--ph-radius); overflow: hidden; background: var(--wp--preset--color--sable-fonce); }
.ph-face img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ph-ease), transform .9s var(--ph-ease); display: block; }
.ph-face:hover img { filter: grayscale(0); transform: scale(1.04); }
.ph-face figure { margin: 0 !important; }
.ph-face-body {
	position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
	background: var(--wp--preset--color--blanc); border-radius: 14px; padding: 14px 16px !important;
	transform: translateY(0); transition: transform .4s var(--ph-ease);
}
.ph-face-body h3 { margin: 0 !important; }
.ph-face-body p { margin: 4px 0 0 !important; }
.ph-tag {
	display: inline-block; font-size: 11px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	background: var(--wp--preset--color--soleil); color: var(--wp--preset--color--charbon); padding: 4px 10px; border-radius: 999px;
}
.ph-tag--terra { background: var(--wp--preset--color--terracotta); color: var(--wp--preset--color--blanc); }
.ph-tag--status { background: transparent; color: var(--wp--preset--color--charbon); box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--charbon); }
.ph-tag--dark { background: var(--wp--preset--color--charbon); color: var(--wp--preset--color--soleil); }
.ph-face--offset { margin-top: 56px !important; }

/* ---------- Parcours ---------- */
.ph-step { position: relative; border-radius: var(--ph-radius-lg); border: 1px solid rgba(255, 255, 255, .12); transition: background .4s, border-color .4s, transform .4s var(--ph-ease); }
.ph-step:hover { background: rgba(245, 200, 64, .07); border-color: var(--wp--preset--color--soleil); transform: translateY(-6px); }
.ph-step .ph-step-num { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 5.5rem; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--wp--preset--color--soleil); margin: 0; }
.ph-step .ph-step-milestone { border-top: 1px dashed rgba(255, 255, 255, .2); padding-top: 16px !important; }

/* ---------- Histoire / avant-après ---------- */
.ph-history .ph-before img, .ph-history .ph-after img { border-radius: var(--ph-radius-lg); object-fit: cover; width: 100%; }
.ph-history .ph-before img { aspect-ratio: 4 / 3; filter: grayscale(1) sepia(.25); }
.ph-history .ph-after img { aspect-ratio: 4 / 3; }
.ph-history .ph-caption { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.ph-quote { font-family: var(--wp--preset--font-family--display); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.ph-quote::before { content: "“"; display: block; font-size: 4em; line-height: .6; color: var(--wp--preset--color--soleil); }

/* ---------- Partenaires ---------- */
.ph-logos { align-items: center; }
.ph-logos figure { margin: 0 !important; display: flex; align-items: center; justify-content: center; background: var(--wp--preset--color--sable); border-radius: var(--ph-radius); padding: 22px; min-height: 120px; }
.ph-logos figure { padding: 8px; background: #fff; }
.ph-logos img { width: 100% !important; max-height: 130px; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s var(--ph-ease); }
.ph-logos figure:hover img { transform: scale(1.05); }
.ph-perk { border-radius: var(--ph-radius); background: var(--wp--preset--color--blanc); border: 1px solid var(--wp--preset--color--sable-fonce); }
.ph-perk img { width: 44px !important; height: 44px !important; }

/* ---------- Actualités ---------- */
.ph-news .wp-block-post { border-radius: var(--ph-radius); overflow: hidden; background: var(--wp--preset--color--blanc); transition: transform .4s var(--ph-ease), box-shadow .4s; position: relative; }
.ph-news .wp-block-post:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(26, 23, 20, .12); }
.ph-news .wp-block-post-featured-image { margin: 0 !important; }
.ph-news .wp-block-post-featured-image img { aspect-ratio: 16 / 10; object-fit: cover; }
.ph-news .wp-block-post-title a { text-decoration: none; }
.ph-news .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }

/* ---------- CTA final ---------- */
.ph-cta { position: relative; overflow: hidden; border-radius: var(--ph-radius-lg); }
.ph-cta h2 { font-size: clamp(2.6rem, 6.5vw, 6rem) !important; line-height: .95 !important; letter-spacing: -.05em !important; }
.ph-cta-bird { position: absolute; right: -40px; bottom: -60px; width: 340px; opacity: .12; pointer-events: none; }

/* ---------- Pied de page ---------- */
.ph-footer a { text-decoration: none; }
.ph-footer a:hover { color: var(--wp--preset--color--soleil); }
.ph-footer .ph-footer-big { font-size: clamp(2.6rem, 9.4vw, 8.6rem) !important; line-height: .85 !important; letter-spacing: -.06em !important; color: transparent; -webkit-text-stroke: 1px rgba(245, 239, 230, .25); white-space: nowrap; overflow: hidden; }

/* ---------- Pages intérieures : hero ---------- */
.ph-hero--page h1 { font-size: clamp(2.8rem, 7.4vw, 7.6rem) !important; }
.ph-hero--page .ph-hero-photo img { aspect-ratio: 4 / 5; }
.ph-word-1 { color: var(--wp--preset--color--soleil-clair); }
.ph-word-2 { color: var(--wp--preset--color--soleil); }
.ph-word-3 { color: var(--wp--preset--color--terracotta); }

/* ---------- En bref ---------- */
.ph-brief .ph-stat-num { font-size: clamp(2.6rem, 5vw, 4.6rem); }

/* ---------- Méthode ---------- */
.ph-method-step { border-radius: var(--ph-radius); background: var(--wp--preset--color--blanc); position: relative; overflow: hidden; }
.ph-method-step .ph-method-num { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 13px; letter-spacing: .14em; color: var(--wp--preset--color--terracotta-fonce); margin: 0; }
.ph-h2-sm { font-size: clamp(2rem, 3.6vw, 3.3rem) !important; }
.ph-strike { text-decoration: line-through; text-decoration-color: var(--wp--preset--color--terracotta); text-decoration-thickness: .08em; opacity: .55; }

/* ---------- Parcours en frise ---------- */
.ph-timeline { position: relative; }
.ph-tl-row { position: relative; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: var(--wp--preset--spacing--40) !important; padding-bottom: var(--wp--preset--spacing--40) !important; transition: background .4s; }
.ph-tl-row:hover { background: linear-gradient(90deg, rgba(245, 200, 64, .06), transparent 70%); }
.ph-tl-row .ph-step-num { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(4rem, 9vw, 8rem); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px var(--wp--preset--color--soleil); margin: 0; }
.ph-tl-row h3 { font-size: clamp(2.2rem, 4.6vw, 4rem) !important; letter-spacing: -.045em !important; font-weight: 800 !important; margin: 0 !important; }
.ph-tl-milestone { border-radius: var(--ph-radius); background: rgba(245, 200, 64, .08); border: 1px dashed rgba(245, 200, 64, .45); }
.ph-tl-row--3 .ph-step-num { -webkit-text-stroke-color: var(--wp--preset--color--terracotta); }
.ph-tl-row--3 .ph-tl-milestone { background: rgba(196, 71, 43, .12); border-color: rgba(237, 143, 108, .5); }

/* ---------- FAQ ---------- */
.ph-faq .wp-block-details { border-top: 1px solid var(--wp--preset--color--sable-fonce); padding: 22px 0; }
.ph-faq .wp-block-details:last-child { border-bottom: 1px solid var(--wp--preset--color--sable-fonce); }
.ph-faq summary { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -.02em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.ph-faq summary::-webkit-details-marker { display: none; }
.ph-faq summary::after { content: "+"; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--wp--preset--color--soleil); font-size: 22px; font-weight: 600; transition: transform .3s var(--ph-ease); }
.ph-faq details[open] summary::after { transform: rotate(45deg); }
.ph-faq .wp-block-details > *:not(summary) { margin-top: 12px; max-width: 62ch; color: var(--wp--preset--color--charbon-clair); }

/* ---------- Salles ---------- */
.ph-cap-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ph-cap-nav a {
	display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--wp--preset--color--charbon);
	background: var(--wp--preset--color--blanc); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: .95rem;
	transition: background .25s, color .25s, transform .25s var(--ph-ease);
}
.ph-cap-nav a strong { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; }
.ph-cap-nav a:hover { background: var(--wp--preset--color--charbon); color: var(--wp--preset--color--soleil); transform: translateY(-2px); }
.ph-room { scroll-margin-top: 110px; padding-top: var(--wp--preset--spacing--50) !important; padding-bottom: var(--wp--preset--spacing--50) !important; border-top: 1px solid var(--wp--preset--color--sable-fonce); }
.ph-room:first-child { border-top: 0; }
.ph-room-media { position: relative; }
.ph-room-media figure { margin: 0 !important; }
.ph-room-media img { border-radius: var(--ph-radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.ph-room-cap {
	position: absolute; left: 18px; top: 18px; z-index: 2; margin: 0 !important;
	background: var(--wp--preset--color--soleil); color: var(--wp--preset--color--charbon); border-radius: 999px;
	padding: 8px 16px !important; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em;
}
.ph-room h3 { font-size: clamp(2rem, 3.8vw, 3.2rem) !important; letter-spacing: -.045em !important; font-weight: 800 !important; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 0; }
.ph-chips li { font-size: .85rem; font-weight: 600; border: 1.5px solid var(--wp--preset--color--sable-fonce); border-radius: 999px; padding: 6px 14px; background: var(--wp--preset--color--blanc); }
.ph-price { border-radius: var(--ph-radius); background: var(--wp--preset--color--sable); display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 !important; overflow: hidden; }
.ph-price > * { margin: 0 !important; padding: 16px 20px !important; }
.ph-price > * + * { border-left: 1px solid var(--wp--preset--color--sable-fonce); }
.ph-price small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--ardoise); }
.ph-price strong { font-family: var(--wp--preset--font-family--display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
.ph-price strong span { font-family: var(--wp--preset--font-family--body); font-size: .8rem; font-weight: 600; letter-spacing: 0; margin-left: 4px; color: var(--wp--preset--color--ardoise); }
.ph-room--reverse > .wp-block-column:first-child { order: 2; }
.ph-include { border-radius: var(--ph-radius); border: 1px solid rgba(255, 255, 255, .12); }
.ph-perk .ph-include-icon { font-size: 28px; line-height: 1; margin: 0; color: var(--wp--preset--color--terracotta); }
.ph-include .ph-include-icon { font-size: 28px; line-height: 1; margin: 0; color: var(--wp--preset--color--soleil); }
@media (max-width: 781px) {
	.ph-room--reverse > .wp-block-column:first-child { order: 0; }
	.ph-price strong { font-size: 1.3rem; }
}

/* ---------- Espaces événementiels ---------- */
.ph-space { scroll-margin-top: 100px; position: relative; overflow: hidden; }
.ph-space h2 { font-size: clamp(2.4rem, 5.4vw, 5rem) !important; }
.ph-space .ph-space-sub { font-family: var(--wp--preset--font-family--display); font-weight: 600; font-style: italic; letter-spacing: -.01em; margin-top: .5rem !important; }
.ph-space-quote { border-left: 4px solid var(--wp--preset--color--soleil); padding: 4px 0 4px 22px !important; margin: 0 !important; }
.ph-space-quote p { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.3; letter-spacing: -.02em; margin: 0; }
.ph-space-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.ph-space-photos { position: relative; padding-bottom: 18%; }
.ph-space-photos img { border-radius: var(--ph-radius-lg); object-fit: cover; width: 100%; display: block; }
.ph-space-photos .ph-sp-main { aspect-ratio: 4 / 3; }
.ph-space-photos .ph-sp-second { position: absolute; width: 52%; right: -4%; bottom: 0; aspect-ratio: 4 / 3; border: 6px solid currentColor; border-radius: calc(var(--ph-radius-lg) + 6px); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.ph-space-photos .ph-sp-art { position: absolute; left: -6%; bottom: 2%; width: 30%; opacity: .5; pointer-events: none; border-radius: 0; }
.ph-space--dark .ph-space-photos .ph-sp-second { color: var(--wp--preset--color--charbon); }
.ph-space--light .ph-space-photos .ph-sp-second { color: var(--wp--preset--color--sable); }
.ph-space--dark .ph-chips li { background: transparent; border-color: rgba(255, 255, 255, .22); color: var(--wp--preset--color--blanc); }
.ph-space--dark .ph-price { background: rgba(255, 255, 255, .06); }
.ph-space--dark .ph-price > * + * { border-color: rgba(255, 255, 255, .12); }
.ph-space--dark .ph-price small, .ph-space--dark .ph-price strong span { color: #b3a99e; }
.ph-space--light .ph-price { background: var(--wp--preset--color--blanc); }
.ph-space--light .ph-space-quote { border-color: var(--wp--preset--color--terracotta); }
@media (max-width: 781px) {
	.ph-space-photos { padding-bottom: 30%; margin-top: 12px; }
	.ph-space-photos .ph-sp-second { right: 0; width: 60%; }
}

/* ---------- Les visages ---------- */
.ph-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; transform: rotate(-3deg); }
.ph-mosaic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; filter: grayscale(1); transition: filter .5s, transform .5s var(--ph-ease); display: block; }
.ph-mosaic img:hover { filter: none; transform: scale(1.04) rotate(2deg); }
.ph-mosaic img:nth-child(3n+2) { margin-top: 36px; }
.ph-mosaic img:nth-child(2), .ph-mosaic img:nth-child(4) { filter: none; }
.ph-resident { scroll-margin-top: 110px; border-top: 1px solid var(--wp--preset--color--sable-fonce); padding-top: var(--wp--preset--spacing--50) !important; padding-bottom: var(--wp--preset--spacing--50) !important; }
.ph-resident:first-child { border-top: 0; }
.ph-resident-photo { position: relative; margin: 0 !important; }
.ph-resident-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--ph-radius-lg); display: block; }
.ph-resident-photo figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--wp--preset--color--blanc); color: var(--wp--preset--color--charbon); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 700; margin: 0; }
.ph-resident h2 { font-size: clamp(2.2rem, 4.6vw, 4rem) !important; }
.ph-resident .ph-person { font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 1.15rem; margin-top: .25rem !important; }
.ph-contact { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 0; }
.ph-contact a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--wp--preset--color--charbon); border: 1.5px solid var(--wp--preset--color--charbon); border-radius: 999px; padding: 7px 14px; transition: background .25s, color .25s; }
.ph-contact a:hover { background: var(--wp--preset--color--charbon); color: var(--wp--preset--color--soleil); }
.ph-contact li:first-child a { background: var(--wp--preset--color--soleil); border-color: var(--wp--preset--color--soleil); }
.ph-contact li:first-child a:hover { background: var(--wp--preset--color--charbon); border-color: var(--wp--preset--color--charbon); }
.ph-resident--reverse > .wp-block-column:first-child { order: 2; }
@media (max-width: 781px) {
	.ph-resident--reverse > .wp-block-column:first-child { order: 0; }
	.ph-resident-photo img { aspect-ratio: 1; }
	.ph-mosaic { transform: none; }
}

/* ---------- Formulaire de contact ---------- */
.ph-hero--compact h1 { font-size: clamp(2.8rem, 7vw, 6.4rem) !important; }
.ph-contact--dark a { color: var(--wp--preset--color--blanc) !important; border-color: rgba(255, 255, 255, .35); }
.ph-contact--dark li:first-child a { background: transparent; border-color: rgba(255, 255, 255, .35); }
.ph-contact--dark a:hover { background: var(--wp--preset--color--soleil) !important; color: var(--wp--preset--color--charbon) !important; border-color: var(--wp--preset--color--soleil) !important; }
.ph-form { --ph-line: var(--wp--preset--color--sable-fonce); }
.ph-form *, .ph-form *::before, .ph-form *::after { box-sizing: border-box; }
.ph-form input, .ph-form select, .ph-form textarea, .ph-field, .ph-grid > * { min-width: 0; max-width: 100%; }
.ph-form fieldset { border: 0; padding: 0; margin: 0 0 2.5rem; min-width: 0; }
.ph-form .ph-field--choices { margin: 0; }
.ph-form legend { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: -.03em; margin-bottom: 1.1rem; display: flex; align-items: center; gap: 12px; padding: 0; }
.ph-step-n { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--wp--preset--color--charbon); color: var(--wp--preset--color--soleil); font-size: 1rem; flex-shrink: 0; }
.ph-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); gap: 10px; }
.ph-type { position: relative; cursor: pointer; }
.ph-type input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ph-type-card { display: flex; flex-direction: column; gap: 4px; height: 100%; border: 2px solid var(--ph-line); border-radius: 18px; padding: 16px 16px 18px; background: var(--wp--preset--color--blanc); transition: border-color .2s, background .2s, transform .25s var(--ph-ease), box-shadow .25s; }
.ph-type-card strong { font-family: var(--wp--preset--font-family--display); font-size: 1.02rem; line-height: 1.2; letter-spacing: -.02em; }
.ph-type-card small { font-size: .82rem; color: var(--wp--preset--color--ardoise); }
.ph-type-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--wp--preset--color--sable); font-size: 18px; margin-bottom: 8px; transition: background .2s; }
.ph-type:hover .ph-type-card { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(26, 23, 20, .08); }
.ph-type input:checked + .ph-type-card { border-color: var(--wp--preset--color--charbon); background: var(--wp--preset--color--soleil-clair); box-shadow: 0 0 0 3px var(--wp--preset--color--soleil); }
.ph-type input:checked + .ph-type-card .ph-type-icon { background: var(--wp--preset--color--soleil); }
.ph-type input:focus-visible + .ph-type-card { outline: 3px solid var(--wp--preset--color--terracotta); outline-offset: 3px; }
.ph-form-rest:not([hidden]) { animation: ph-fade-in .45s var(--ph-ease); }
.ph-step--details:not([hidden]) { animation: ph-fade-in .45s var(--ph-ease); }
@keyframes ph-fade-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.ph-grid > * { grid-column: 1 / -1; }
.ph-grid > .ph-field--half { grid-column: auto; }
.ph-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.ph-field > label, .ph-field--choices > legend { font-weight: 700; font-size: .92rem; font-family: var(--wp--preset--font-family--body); letter-spacing: 0; }
.ph-field--choices > legend { margin-bottom: .6rem; }
.ph-form input:not([type=radio]):not([type=checkbox]), .ph-form select, .ph-form textarea {
	font: inherit; font-size: 1rem; color: var(--wp--preset--color--charbon); background: var(--wp--preset--color--blanc);
	border: 2px solid var(--ph-line); border-radius: 14px; padding: 13px 16px; width: 100%; transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
.ph-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%231A1714' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.ph-form input:hover, .ph-form select:hover, .ph-form textarea:hover { border-color: #d6cbbb; }
.ph-form input:focus, .ph-form select:focus, .ph-form textarea:focus { outline: 0; border-color: var(--wp--preset--color--charbon); box-shadow: 0 0 0 4px rgba(245, 200, 64, .45); }
.ph-form ::placeholder { color: #a99f94; }
.ph-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.ph-choice { position: relative; cursor: pointer; }
.ph-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ph-choice span { display: inline-block; border: 2px solid var(--ph-line); border-radius: 999px; padding: 9px 16px; font-size: .92rem; font-weight: 600; background: var(--wp--preset--color--blanc); transition: background .2s, border-color .2s, color .2s; }
.ph-choice:hover span { border-color: var(--wp--preset--color--charbon); }
.ph-choice input:checked + span { background: var(--wp--preset--color--charbon); border-color: var(--wp--preset--color--charbon); color: var(--wp--preset--color--soleil); }
.ph-choice input:focus-visible + span { outline: 3px solid var(--wp--preset--color--terracotta); outline-offset: 2px; }
.ph-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .92rem; line-height: 1.45; }
.ph-check input { width: 22px; height: 22px; flex-shrink: 0; margin: 0; accent-color: var(--wp--preset--color--charbon); cursor: pointer; }
.ph-field--nosiren { justify-content: flex-end; padding-bottom: 6px; }
.ph-field.is-muted { opacity: .45; }
.ph-field--siren.is-valid input { border-color: #3f8f5a; }
.ph-field--siren.is-valid .ph-help { color: #2f7a48; font-weight: 700; }
.ph-help { font-size: .8rem; color: var(--wp--preset--color--ardoise); }
.ph-req { color: var(--wp--preset--color--terracotta); }
.has-error input:not([type=radio]):not([type=checkbox]), .has-error select, .has-error textarea { border-color: var(--wp--preset--color--terracotta); }
.has-error .ph-choice span { border-color: #e7a693; }
.ph-error { margin: 2px 0 0; font-size: .82rem; font-weight: 600; color: var(--wp--preset--color--terracotta-fonce); }
.ph-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ph-form-footer { border-top: 2px solid var(--ph-line); padding-top: 1.75rem; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ph-consent { max-width: 60ch; }
.ph-submit { font: inherit; font-weight: 700; font-size: 1.05rem; border: 0; cursor: pointer; border-radius: 999px; padding: 18px 34px; background: var(--wp--preset--color--charbon); color: var(--wp--preset--color--soleil); transition: transform .25s var(--ph-ease), background .2s; }
.ph-submit:hover { transform: translateY(-2px); background: #000; }
.ph-submit span { display: inline-block; transition: transform .25s var(--ph-ease); }
.ph-submit:hover span { transform: translateX(4px); }
.ph-submit.is-loading { opacity: .7; cursor: progress; }
.ph-form-note { margin: 0; font-size: .85rem; color: var(--wp--preset--color--ardoise); }
.ph-form-success, .ph-form-error { border-radius: var(--ph-radius-lg); padding: 2.25rem; }
.ph-form-success { background: var(--wp--preset--color--soleil-clair); border: 2px solid var(--wp--preset--color--soleil); }
.ph-form-success h3 { margin: .25rem 0 .5rem; }
.ph-success-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wp--preset--color--charbon); color: var(--wp--preset--color--soleil); font-size: 26px; font-weight: 800; margin: 0; }
.ph-form-error { background: #fbe6df; color: var(--wp--preset--color--terracotta-fonce); font-weight: 600; margin-bottom: 2rem; padding: 1.25rem 1.5rem; }
.ph-contact-card { border-radius: var(--ph-radius-lg); position: sticky; top: 110px; }
.ph-contact-card a { color: inherit; }
.ph-contact-line { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px !important; }
.ph-contact-line small { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--soleil); }
.ph-contact-line strong { font-family: var(--wp--preset--font-family--display); font-size: 1.2rem; letter-spacing: -.02em; }
.ph-map { border-radius: var(--ph-radius); overflow: hidden; }
@media (max-width: 781px) {
	.ph-grid { grid-template-columns: 1fr; }
	.ph-types { grid-template-columns: 1fr 1fr; }
	.ph-type-card { padding: 12px; }
	.ph-contact-card { position: static; }
}

/* ---------- Actualités ---------- */
.ph-blog-title { font-size: clamp(2.8rem, 7vw, 6.4rem) !important; margin-top: 1.25rem !important; margin-bottom: 1rem !important; }
.ph-blog-desc { color: #d8cfc4; max-width: 60ch; margin-top: 0 !important; margin-bottom: 0 !important; }
.ph-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.ph-filters a {
	display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--wp--preset--color--charbon);
	background: var(--wp--preset--color--blanc); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: .95rem;
	transition: background .25s, color .25s, transform .25s var(--ph-ease);
}
.ph-filters a span { font-size: .78rem; min-width: 22px; height: 22px; border-radius: 999px; display: inline-grid; place-items: center; padding: 0 6px; background: var(--wp--preset--color--sable); }
.ph-filters a:hover { transform: translateY(-2px); }
.ph-filters a.is-active { background: var(--wp--preset--color--charbon); color: var(--wp--preset--color--soleil); }
.ph-filters a.is-active span { background: var(--wp--preset--color--soleil); color: var(--wp--preset--color--charbon); }
/* couleurs de catégories */
.ph-cat--vie-au-phoenix { --cat-bg: var(--wp--preset--color--soleil); --cat-fg: var(--wp--preset--color--charbon); }
.ph-cat--actu-entrepreneurs { --cat-bg: var(--wp--preset--color--terracotta); --cat-fg: #fff; }
.ph-cat--actu-tech { --cat-bg: #2d3a8c; --cat-fg: #fff; }
.ph-cat--actu-phoenix { --cat-bg: var(--wp--preset--color--charbon); --cat-fg: var(--wp--preset--color--soleil); }
.ph-card-cats { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0; }
.ph-card-cats .wp-block-post-terms__separator { display: none; }
.ph-card-cats a, .ph-card-cat {
	display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
	border-radius: 999px; padding: 5px 11px; background: var(--cat-bg, var(--wp--preset--color--sable-fonce)); color: var(--cat-fg, var(--wp--preset--color--charbon)) !important;
	position: relative; z-index: 2; margin: 0;
}
.ph-card-date, .ph-card-date time { font-size: .85rem; color: var(--wp--preset--color--ardoise); margin: 0; }
.ph-news--index .wp-block-post { display: flex; flex-direction: column; }
.ph-news--index .ph-card-body { flex: 1; display: flex; flex-direction: column; }
.ph-card-title { font-size: 1.3rem !important; line-height: 1.2 !important; letter-spacing: -.025em !important; margin: 0 !important; }
.ph-card-title a { color: var(--wp--preset--color--charbon); text-decoration: none; }
.ph-card-excerpt { color: var(--wp--preset--color--charbon-clair); font-size: .95rem; margin: 0 !important; }
.ph-card-excerpt p { margin: 0; }
.ph-card-more { margin-top: auto !important; font-weight: 700; color: var(--wp--preset--color--terracotta-fonce); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; position: relative; z-index: 2; align-self: flex-start; padding-top: .4rem; }
.ph-news--index .wp-block-post-featured-image { overflow: hidden; }
.ph-news--index .wp-block-post-featured-image img { transition: transform .8s var(--ph-ease); }
.ph-news--index .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.05); }
/* article à la une */
@media (min-width: 900px) {
	.ph-blog-first .ph-news--index .wp-block-post:first-child { grid-column: span 2; flex-direction: row; }
	.ph-blog-first .ph-news--index .wp-block-post:first-child .wp-block-post-featured-image { flex: 0 0 50%; }
	.ph-blog-first .ph-news--index .wp-block-post:first-child .wp-block-post-featured-image a, .ph-blog-first .ph-news--index .wp-block-post:first-child .wp-block-post-featured-image img { height: 100%; aspect-ratio: auto; }
	.ph-blog-first .ph-news--index .wp-block-post:first-child .ph-card-body { justify-content: center; padding: 2.5rem !important; gap: 1rem; }
	.ph-blog-first .ph-news--index .wp-block-post:first-child .ph-card-title { font-size: clamp(1.5rem, 2.2vw, 2rem) !important; }
	.ph-blog-first .ph-news--index .wp-block-post:first-child .ph-card-excerpt { font-size: 1.05rem; }
}
@media (max-width: 781px) {
	.ph-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--wp--style--root--padding-left, 16px)); padding: 2px var(--wp--style--root--padding-left, 16px); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.ph-filters::-webkit-scrollbar { display: none; }
	.ph-filters a { flex-shrink: 0; }
}
.ph-empty { text-align: center; max-width: 560px; margin: 2rem auto; padding: 3rem 2rem !important; background: var(--wp--preset--color--blanc); border-radius: var(--ph-radius-lg); }
.ph-empty-icon { font-size: 2rem; color: var(--wp--preset--color--terracotta); margin: 0; }
.ph-pagination { margin-top: var(--wp--preset--spacing--50) !important; gap: 8px; font-weight: 700; }
.ph-pagination a, .ph-pagination .current { text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--wp--preset--color--blanc); color: var(--wp--preset--color--charbon); }
.ph-pagination .current { background: var(--wp--preset--color--charbon); color: var(--wp--preset--color--soleil); }
/* article */
.ph-back { margin-top: 0 !important; margin-bottom: 1.5rem !important; font-size: .9rem; font-weight: 700; }
.ph-back a { color: var(--wp--preset--color--soleil); text-decoration: none; }
.ph-article-hero { padding-top: calc(var(--wp--preset--spacing--50) + 64px) !important; }
.ph-article-hero .ph-article-title { font-size: clamp(2.1rem, 4.4vw, 3.9rem) !important; font-weight: 800 !important; letter-spacing: -.04em !important; line-height: 1.02 !important; margin-top: 1rem !important; margin-bottom: 1.25rem !important; }
.ph-article-meta { color: #b3a99e; font-size: .95rem; }
.ph-article-meta p, .ph-article-meta .wp-block-post-date { margin: 0; }
.ph-article-cover { margin-top: calc(-1 * var(--wp--preset--spacing--60)) !important; margin-bottom: var(--wp--preset--spacing--50) !important; }
.ph-article-cover img { border-radius: var(--ph-radius-lg); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; box-shadow: 0 30px 60px rgba(26, 23, 20, .18); }
.ph-article-content { font-size: 1.12rem; line-height: 1.75; }
.ph-article-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem) !important; margin-top: 2.5rem !important; letter-spacing: -.03em; }
.ph-article-content h3 { font-size: 1.35rem !important; margin-top: 2rem !important; }
.ph-article-content img { border-radius: var(--ph-radius); height: auto; }
.ph-article-content iframe { max-width: 100%; border-radius: var(--ph-radius); }
.ph-article-content a { color: var(--wp--preset--color--terracotta-fonce); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ph-article-content blockquote { border-left: 4px solid var(--wp--preset--color--soleil); margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 1.3rem; }
.ph-article-content > p:first-child { font-size: 1.3rem; line-height: 1.55; }
.ph-article-content > p:first-child em { font-style: normal; }
.ph-article-end { border-top: 2px solid var(--wp--preset--color--sable-fonce); padding-top: 1.5rem; margin-top: var(--wp--preset--spacing--50) !important; }
.ph-related { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.ph-related .wp-block-post { border-radius: var(--ph-radius); overflow: hidden; background: var(--wp--preset--color--blanc); position: relative; transition: transform .4s var(--ph-ease), box-shadow .4s; }
.ph-related .wp-block-post:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(26, 23, 20, .12); }
.ph-related figure { margin: 0; }
.ph-related img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.ph-related .ph-card-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.ph-related h3 { font-size: 1.2rem; margin: 0; line-height: 1.2; }
.ph-related h3 a { color: var(--wp--preset--color--charbon); text-decoration: none; }
.ph-related h3 a::after { content: ""; position: absolute; inset: 0; }

/* ---------- À propos ---------- */
.ph-years { list-style: none; margin: 0; padding: 0 !important; position: relative; display: grid; gap: 0; }
.ph-years::before { content: ""; position: absolute; left: 140px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--wp--preset--color--ardoise), var(--wp--preset--color--soleil)); }
.ph-years li { display: grid; grid-template-columns: 140px 1fr; gap: 0 40px; padding: 18px 0; position: relative; }
.ph-years li::before { content: ""; position: absolute; left: 134px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--wp--preset--color--charbon); box-shadow: 0 0 0 4px var(--wp--preset--color--sable); }
.ph-years li.is-now::before { background: var(--wp--preset--color--soleil); box-shadow: 0 0 0 4px var(--wp--preset--color--sable), 0 0 0 9px rgba(245, 200, 64, .35); }
.ph-years .ph-y { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.04em; line-height: 1.1; text-align: right; padding-right: 22px; }
.ph-years h3 { margin: 0 0 4px; font-size: 1.3rem; letter-spacing: -.02em; }
.ph-years p { margin: 0; color: var(--wp--preset--color--charbon-clair); max-width: 56ch; }
.ph-years li.is-now .ph-y { color: var(--wp--preset--color--terracotta-fonce); }
.ph-idcard { border-radius: var(--ph-radius-lg); border: 1px solid rgba(255, 255, 255, .14); }
.ph-idcard dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ph-idcard dl > div { padding: 18px 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ph-idcard dl > div:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .12); }
.ph-idcard dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--soleil); margin-bottom: 4px; }
.ph-idcard dd { margin: 0; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.25; }
.ph-gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.ph-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--ph-radius); display: block; }
.ph-gallery img:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.ph-gallery figcaption { grid-column: 1 / -1; font-size: .78rem; color: var(--wp--preset--color--ardoise); }
.ph-money { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.05em; line-height: 1; margin: 0; }
.ph-pillar { border-radius: var(--ph-radius-lg); position: relative; overflow: hidden; }
.ph-pillar .ph-pillar-verb { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -.05em; line-height: 1; margin: 0; }
@media (max-width: 781px) {
	.ph-years::before { left: 6px; }
	.ph-years li { grid-template-columns: 1fr; padding-left: 32px; }
	.ph-years li::before { left: 0; top: 24px; }
	.ph-years .ph-y { text-align: left; padding: 0 0 4px; }
	.ph-idcard dl { grid-template-columns: 1fr; }
	.ph-idcard dl > div:nth-child(odd) { border-right: 0; }
	.ph-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.ph-gallery img:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
}

/* ---------- Pages légales ---------- */
.ph-legal-hero { padding-top: calc(var(--wp--preset--spacing--50) + 64px) !important; }
.ph-legal-title { font-size: clamp(2.4rem, 5.6vw, 5rem) !important; font-weight: 800 !important; letter-spacing: -.045em !important; line-height: 1 !important; margin-top: 1rem !important; margin-bottom: 1.5rem !important; }
.ph-legal-nav a { background: rgba(255, 255, 255, .08); color: var(--wp--preset--color--blanc); }
.ph-legal-nav a:hover { background: rgba(255, 255, 255, .16); }
.ph-legal-nav a.is-active { background: var(--wp--preset--color--soleil); color: var(--wp--preset--color--charbon); }
.ph-legal-updated { margin-top: 1.25rem !important; margin-bottom: 0 !important; font-size: .88rem; color: #b3a99e; }
.ph-toc { position: sticky; top: 110px; border-radius: var(--ph-radius); background: var(--wp--preset--color--sable); padding: 1.5rem; }
.ph-toc-title { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--terracotta-fonce); margin: 0 0 .75rem; }
.ph-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; font-size: .92rem; }
.ph-toc a { color: var(--wp--preset--color--charbon); text-decoration: none; }
.ph-toc a:hover, .ph-toc a.is-active { color: var(--wp--preset--color--terracotta-fonce); text-decoration: underline; text-underline-offset: 3px; }
.ph-legal-content { max-width: 78ch; font-size: 1.05rem; line-height: 1.75; }
.ph-legal-content h2 { scroll-margin-top: 110px; font-size: clamp(1.4rem, 2.4vw, 1.8rem) !important; margin: 2.5rem 0 .75rem !important; padding-top: 1.75rem; border-top: 2px solid var(--wp--preset--color--sable-fonce); letter-spacing: -.025em; }
.ph-legal-content h2:first-child { margin-top: 0 !important; padding-top: 0; border-top: 0; }
.ph-legal-content ul { padding-left: 1.25rem; }
.ph-legal-content li { margin-bottom: .35rem; }
.ph-legal-content a { color: var(--wp--preset--color--terracotta-fonce); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.ph-legal-content .ph-legal-card { background: var(--wp--preset--color--sable); border-radius: var(--ph-radius); padding: 1.25rem 1.5rem; margin: 1rem 0; }
.ph-legal-content dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; margin: 0; }
.ph-legal-content dt { font-weight: 700; }
.ph-legal-content dd { margin: 0; }
@media (max-width: 781px) {
	.ph-toc { position: static; }
	.ph-legal-content dl { grid-template-columns: 1fr; gap: 0; }
	.ph-legal-content dd { margin-bottom: .6rem; }
}

/* ---------- Apparition au scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
	.ph-js .ph-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ph-ease), transform .9s var(--ph-ease); }
	.ph-js .ph-reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ph-marquee__track, .ph-sticker { animation: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.ph-hero-media { margin-top: 24px; padding: 0 12px; }
	.ph-sticker--1 { left: -6px; }
	.ph-sticker--2 { right: -6px; }
	.ph-sticker--3 { display: none !important; }
	.ph-sun-badge { width: 100px; height: 100px; font-size: 12px; right: 0; }
	.ph-face--offset { margin-top: 0 !important; }
	.ph-offer { min-height: 360px; }
}
