/*
Theme Name: parquet
Author: Deolys
Description: Thème vitrine de Solibois Déco, pose et entretien de parquet sur la Côte d’Azur.
Version: 2.2.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: parquet
*/

/* ========== Fonts ========== */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/manrope-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("assets/fonts/manrope-latin-600.woff2") format("woff2"); }

/* ========== Tokens ========== */
:root {
	--pp-blue: #9a5b2a;
	--pp-blue-dark: #7a4420;
	--pp-navy: #2a1d15;
	--pp-ink: #3a2c22;
	--pp-muted: #6f6157;
	--pp-line: #ece2d6;
	--pp-soft: #f8f3ec;
	--pp-white: #fff;
	--pp-grad: linear-gradient(135deg, #2a1d15 0%, #6b4426 100%);
	--pp-radius: 18px;
	--pp-shadow: 0 18px 40px -18px rgba(42, 29, 21, .35);
	--pp-wrap: 1180px;
	--pp-header-h: 76px;
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--pp-white); color: var(--pp-ink);
	font: 400 17px/1.7 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pp-blue); text-underline-offset: 3px; }
a:hover { color: var(--pp-blue-dark); }
h1, h2, h3, h4 { color: var(--pp-navy); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin-top: 1.8em; }
h3 { font-size: 1.22rem; margin-top: 1.4em; }
p, ul, ol { margin: 0 0 1.1em; }
strong { color: var(--pp-navy); }
:focus-visible { outline: 3px solid var(--pp-blue); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 9999; width: auto; height: auto; clip: auto; background: var(--pp-navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.pp-wrap { width: min(var(--pp-wrap), 100% - 32px); margin-inline: auto; }

/* ========== Buttons ========== */
.pp-btn, .wpcf7-submit {
	display: inline-flex; align-items: center; gap: .5em; justify-content: center;
	padding: .85em 1.5em; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--pp-blue); color: #fff; font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
	text-decoration: none; box-shadow: 0 8px 20px -10px rgba(154, 91, 42, .6);
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.pp-btn:hover, .wpcf7-submit:hover { transform: translateY(-1px); background: var(--pp-blue-dark); color: #fff; box-shadow: 0 10px 22px -10px rgba(122, 68, 32, .7); }
.pp-btn--ghost { background: transparent; color: var(--pp-blue); box-shadow: inset 0 0 0 2px currentColor; }
.pp-btn--ghost:hover { background: var(--pp-blue); color: #fff; box-shadow: none; }
.pp-hero .pp-btn--ghost, .pp-cta .pp-btn--ghost { color: #fff; }
.pp-hero .pp-btn--ghost:hover, .pp-cta .pp-btn--ghost:hover { background: #fff; color: var(--pp-blue-dark); }

/* ========== Header ========== */
.pp-topline { height: 3px; background: var(--pp-blue); }
.pp-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--pp-line); }
.admin-bar .pp-header { top: 32px; }
.pp-header__in { display: flex; align-items: center; gap: 20px; min-height: var(--pp-header-h); }
.pp-logo { flex-shrink: 0; }
.pp-logo img { height: 48px; width: auto; }
@media (max-width: 420px) { .pp-logo img { height: 36px; } }
.pp-nav { margin-left: auto; }
.pp-nav ul { list-style: none; margin: 0; padding: 0; }
.pp-menu { display: flex; align-items: center; gap: 4px; }
.pp-menu > li { position: relative; }
.pp-menu a { display: block; white-space: nowrap; padding: 10px 12px; border-radius: 10px; color: var(--pp-navy); font-weight: 600; text-decoration: none; font-size: .98rem; }
.pp-menu > li > a:hover, .pp-menu > .current-menu-item > a, .pp-menu > .current-menu-ancestor > a, .pp-menu > .current-page-ancestor > a { color: var(--pp-blue); background: var(--pp-soft); }
.pp-menu .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 7px; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.pp-menu .sub-menu {
	position: absolute; left: 0; top: 100%; min-width: 290px; padding: 10px; background: #fff; border-radius: 16px;
	border: 1px solid var(--pp-line); box-shadow: var(--pp-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease;
}
.pp-menu li:hover > .sub-menu, .pp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.pp-menu .sub-menu a { font-weight: 600; font-size: .95rem; padding: 9px 12px; }
.pp-menu .sub-menu a:hover, .pp-menu .sub-menu .current-menu-item > a { background: var(--pp-soft); color: var(--pp-blue); }
.pp-header__cta { white-space: nowrap; padding: .7em 1.2em; }
.pp-header__phone { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; color: var(--pp-navy); font-weight: 800; text-decoration: none; white-space: nowrap; }
.pp-header__phone:hover { color: var(--pp-blue); }
.pp-header__phone-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pp-blue); color: #fff; }
@media (max-width: 1320px) { .pp-header__phone-num { display: none; } }
@media (max-width: 1180px) {
	.pp-header__phone { order: 1; margin-left: auto; }
	.pp-header .pp-burger { order: 2; margin-left: 0; }
	.pp-header__phone-icon { width: 46px; height: 46px; }
}
@media (max-width: 420px) { .pp-header__in { gap: 12px; } }
.pp-burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--pp-soft); cursor: pointer; }
.pp-burger span, .pp-burger span::before, .pp-burger span::after { display: block; position: relative; width: 22px; height: 2.5px; margin: auto; background: var(--pp-navy); border-radius: 2px; transition: .2s; }
.pp-burger span::before, .pp-burger span::after { content: ""; position: absolute; left: 0; }
.pp-burger span::before { top: -7px; } .pp-burger span::after { top: 7px; }
.pp-nav-open .pp-burger span { background: transparent; }
.pp-nav-open .pp-burger span::before { top: 0; transform: rotate(45deg); }
.pp-nav-open .pp-burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1180px) {
	.pp-burger { display: block; }
	.pp-header__cta { display: none; }
	.pp-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--pp-header-h)); overflow-y: auto; background: #fff; border-bottom: 1px solid var(--pp-line); box-shadow: var(--pp-shadow); padding: 12px 16px 20px; }
	.pp-nav-open .pp-nav { display: block; }
	.pp-menu { flex-direction: column; align-items: stretch; }
	.pp-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; display: none; }
	.pp-menu li.pp-open > .sub-menu { display: block; }
	.pp-menu .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
}
@media (max-width: 782px) { .admin-bar .pp-header { top: 0; } }

/* ========== Hero ========== */
.pp-hero { position: relative; overflow: hidden; background: var(--pp-grad); color: #fff; isolation: isolate; }
.pp-hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 64px 0 72px; }
.pp-hero--home .pp-hero__in { padding: 84px 0 96px; }
.pp-hero--noimg .pp-hero__in { grid-template-columns: 1fr; max-width: 860px; padding: 56px 0 60px; }
.pp-hero h1 { color: #fff; margin-bottom: .35em; }
.pp-hero--home h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
.pp-hero__sub { font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: rgba(255, 255, 255, .92); max-width: 60ch; }
.pp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pp-hero__media { position: relative; }
.pp-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; box-shadow: 0 30px 60px -20px rgba(20, 12, 6, .6); border: 6px solid rgba(255, 255, 255, .25); }
.pp-hero__badge { position: absolute; left: -18px; bottom: 22px; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--pp-navy); font-weight: 800; padding: 12px 16px; border-radius: 16px; box-shadow: var(--pp-shadow); font-size: .95rem; }
.pp-hero__badge i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--pp-blue); color: #fff; font-style: normal; }
.pp-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.pp-hero__tags li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); font-weight: 600; font-size: .88rem; }
.pp-breadcrumb { font-size: .9rem; margin-bottom: 16px; color: rgba(255, 255, 255, .85); }
.pp-breadcrumb a { color: #fff; text-decoration: none; font-weight: 600; }
.pp-breadcrumb a:hover { text-decoration: underline; color: #fff; }
.pp-breadcrumb span[aria-hidden] { margin: 0 8px; opacity: .7; }
@media (max-width: 900px) {
	.pp-hero__in { grid-template-columns: 1fr; padding: 44px 0 52px; gap: 32px; }
	.pp-hero__badge { left: 12px; }
}

/* ========== Content ========== */
.pp-main { padding: 56px 0 80px; }
.pp-content { max-width: 900px; margin-inline: auto; }
.pp-content--wide { max-width: var(--pp-wrap); }
.pp-content > h2:first-child, .pp-content > .pp-lead:first-child { margin-top: 0; }
.pp-content h2 { position: relative; padding-top: 14px; }
.pp-content h2::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 4px; border-radius: 4px; background: var(--pp-blue); }
.pp-content ul:not([class]), .pp-content ol:not([class]) { padding-left: 1.3em; }
.pp-content li { margin-bottom: .4em; }
.pp-content li::marker { color: var(--pp-blue); font-weight: 800; }
.pp-lead { font-size: 1.2rem; line-height: 1.65; color: var(--pp-ink); padding: 22px 26px; border-left: 5px solid var(--pp-blue); background: var(--pp-soft); border-radius: 0 var(--pp-radius) var(--pp-radius) 0; }

.pp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 28px 0 36px; }
.pp-card { position: relative; background: #fff; border: 1px solid var(--pp-line); border-radius: var(--pp-radius); padding: 26px 24px 22px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s; overflow: hidden; }
.pp-card:hover { transform: translateY(-3px); box-shadow: var(--pp-shadow); border-color: var(--pp-blue); }
.pp-card h3 { margin-top: .2em; font-size: 1.15rem; }
.pp-card h3 a { color: var(--pp-navy); text-decoration: none; }
.pp-card h3 a::before { content: ""; position: absolute; inset: 0; }
.pp-card h3 a:hover { color: var(--pp-blue); }
.pp-card p { color: var(--pp-muted); font-size: .98rem; margin-bottom: 0; }
.pp-icon { display: none; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--pp-soft); font-size: 1.5rem; margin-bottom: 10px; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }

.pp-check { list-style: none; padding: 0; margin: 20px 0 28px; }
.pp-check li { position: relative; padding-left: 38px; margin-bottom: .75em; }
.pp-check li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--pp-soft); color: var(--pp-blue); font-weight: 800; font-size: .85rem; }

.pp-steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin: 28px 0 36px; }
.pp-step { counter-increment: step; position: relative; padding: 64px 22px 22px; background: var(--pp-soft); border-radius: var(--pp-radius); }
.pp-step::before { content: counter(step); position: absolute; top: 18px; left: 22px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--pp-blue); color: #fff; font-weight: 800; }
.pp-step h3 { margin-top: 0; font-size: 1.1rem; }
.pp-step p { margin: 0; color: var(--pp-muted); font-size: .98rem; }

.pp-callout { margin: 28px 0; padding: 20px 24px; border-radius: 0 var(--pp-radius) var(--pp-radius) 0; background: var(--pp-soft); border-left: 5px solid var(--pp-blue); }
.pp-callout--warn { background: #f4efe9; border-left-color: var(--pp-navy); }

.pp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin: 36px 0; }
.pp-split > div > h2:first-child { margin-top: 0; }
@media (max-width: 800px) { .pp-split { grid-template-columns: 1fr; gap: 20px; } }
.pp-figure { margin: 28px 0; }
.pp-figure img, .pp-split img { width: 100%; border-radius: var(--pp-radius); box-shadow: var(--pp-shadow); aspect-ratio: 4 / 3; object-fit: cover; }

.pp-table { overflow-x: auto; margin: 26px 0 32px; border-radius: var(--pp-radius); border: 1px solid var(--pp-line); }
.pp-table table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 520px; }
.pp-table th { background: var(--pp-navy); color: #fff; text-align: left; padding: 14px 16px; font-weight: 800; }
.pp-table td { padding: 13px 16px; border-top: 1px solid var(--pp-line); vertical-align: top; }
.pp-table tbody tr:nth-child(even) { background: var(--pp-soft); }

.pp-faq { margin: 24px 0 36px; }
.pp-faq details { border: 1px solid var(--pp-line); border-radius: 14px; margin-bottom: 12px; background: #fff; }
.pp-faq details[open] { border-color: var(--pp-blue); box-shadow: 0 10px 26px -18px rgba(154, 91, 42, .6); }
.pp-faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative; font-weight: 800; color: var(--pp-navy); }
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--pp-soft); color: var(--pp-blue); font-size: 1.3rem; }
.pp-faq details[open] summary::after { content: "–"; background: var(--pp-blue); color: #fff; }
.pp-faq details > *:not(summary) { padding: 0 22px; }
.pp-faq details > p:last-child { padding-bottom: 18px; margin: 0; }

.pp-cta { position: relative; overflow: hidden; margin: 56px 0 0; padding: 46px 40px; border-radius: 24px; background: var(--pp-navy); color: #fff; text-align: center; isolation: isolate; }
.pp-cta h2 { color: #fff; margin-top: 0; padding-top: 0; }
.pp-cta h2::before { display: none; }
.pp-cta p { color: rgba(255, 255, 255, .95); font-size: 1.1rem; max-width: 60ch; margin-inline: auto; }
.pp-cta .pp-btn { background: #fff; color: var(--pp-navy); margin: 6px; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
.pp-cta .pp-btn:hover { background: var(--pp-soft); color: var(--pp-blue-dark); }
.pp-cta .pp-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }

/* Sibling pages */
.pp-related { background: var(--pp-soft); padding: 64px 0; }
.pp-related h2 { margin-top: 0; text-align: center; }
.pp-related .pp-grid { margin-bottom: 0; }

/* Encart téléphone */
.pp-phone { display: flex; align-items: center; gap: 18px; margin: 24px 0 8px; padding: 20px 26px; border-radius: 22px; background: var(--pp-grad); color: #fff; text-decoration: none; box-shadow: 0 18px 40px -18px rgba(154, 91, 42, .7); transition: transform .15s ease; }
.pp-phone:hover { color: #fff; transform: translateY(-2px); }
.pp-phone__icon { flex: 0 0 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #fff; font-size: 1.6rem; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.pp-phone__label { display: block; font-weight: 600; opacity: .92; }
.pp-phone__num { display: block; color: #fff; font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 800; letter-spacing: .02em; line-height: 1.2; }

/* Contact Form 7 */
.wpcf7 { margin: 28px 0; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--pp-line); box-shadow: var(--pp-shadow); }
.wpcf7 label { display: block; font-weight: 700; color: var(--pp-navy); margin-bottom: 16px; }
.wpcf7 input:not([type=submit]):not([type=checkbox]), .wpcf7 textarea, .wpcf7 select {
	width: 100%; margin-top: 6px; padding: 13px 16px; border: 2px solid var(--pp-line); border-radius: 12px; font: inherit; color: var(--pp-ink); background: #fff; transition: border-color .15s;
}
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { outline: none; border-color: var(--pp-blue); }
.wpcf7 textarea { min-height: 150px; }
.wpcf7 .wpcf7-list-item { margin: 0; font-weight: 400; }
.wpcf7-not-valid-tip { color: #c62828; font-size: .9rem; }
.wpcf7-response-output { border-radius: 12px; }

/* Blog / archive */
.pp-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.pp-pagination { margin-top: 40px; text-align: center; }
.pp-pagination .page-numbers { display: inline-block; padding: 8px 14px; border-radius: 10px; background: var(--pp-soft); margin: 2px; text-decoration: none; }
.pp-pagination .current { background: var(--pp-blue); color: #fff; }

/* ========== Footer ========== */
.pp-footer { background: var(--pp-navy); color: #e5d8c8; padding: 70px 0 0; font-size: .96rem; }
.pp-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.pp-footer__brand img { width: 250px; height: auto; }
.pp-footer__brand p { margin-top: 18px; }
.pp-footer h2 { color: #fff; font-size: 1.02rem; margin: 0 0 16px; letter-spacing: .02em; }
.pp-footer ul { list-style: none; margin: 0; padding: 0; }
.pp-footer li { margin-bottom: 8px; }
.pp-footer a { color: #e5d8c8; text-decoration: none; }
.pp-footer a:hover { color: #fff; }
.pp-footer__slogan { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pp-footer__slogan span { padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--pp-navy); }
.pp-footer__slogan span { color: #e5d8c8; border: 1px solid rgba(255, 255, 255, .25); }
.pp-footer__bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }
@media (max-width: 1000px) { .pp-footer__grid { grid-template-columns: 1fr 1fr; } .pp-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pp-footer__grid { grid-template-columns: 1fr; } }

/* Mobile CTA bar */
.pp-mobilebar { display: none; }
@media (max-width: 700px) {
	.pp-mobilebar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -10px 30px -12px rgba(42, 29, 21, .35); }
	.pp-mobilebar .pp-btn { flex: 1; padding: .8em .6em; font-size: .92rem; white-space: nowrap; }
	.pp-mobilebar .pp-mobilebar__tel { background: var(--pp-navy); color: #fff; box-shadow: none; }
	.pp-mobilebar .pp-mobilebar__mail { flex: 0 0 48px; padding: .8em 0; }
	.pp-mobilebar span { font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
	body { padding-bottom: 72px; }
}
@media (max-width: 400px) {
	.pp-mobilebar { gap: 6px; padding-inline: 8px; }
	.pp-mobilebar .pp-btn { font-size: .82rem; padding-inline: .4em; }
	.pp-mobilebar .pp-mobilebar__mail { flex-basis: 44px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Sobriété : bouton principal blanc sur fond bleu, icônes SVG */
.pp-hero .pp-btn:not(.pp-btn--ghost) { background: #fff; color: var(--pp-blue-dark); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4); }
.pp-hero .pp-btn:not(.pp-btn--ghost):hover { background: var(--pp-soft); }
.pp-svg { flex-shrink: 0; vertical-align: -3px; }
.pp-footer__contact { display: flex; align-items: center; gap: 8px; }
.pp-footer__contact a { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.pp-phone__icon { color: var(--pp-blue); }

/* SEO / GEO : résumé et ligne d'auteur */
.pp-meta { margin: -24px 0 24px; font-size: .9rem; color: var(--pp-muted); }
.pp-meta a { color: var(--pp-muted); font-weight: 700; }
.pp-summary { margin: 28px 0 8px; padding: 22px 26px 8px; border: 1px solid var(--pp-line); border-radius: var(--pp-radius); background: #fff; }
.pp-content .pp-summary h2 { margin: 0 0 12px; padding-top: 0; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; color: var(--pp-blue); }
.pp-content .pp-summary h2::before { display: none; }
.pp-summary ul { margin: 0 0 14px; padding-left: 1.2em; }

/* Bandeau cookies */
.pp-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: flex; justify-content: center; pointer-events: none; }
.pp-cookies[hidden] { display: none; }
.pp-cookies__box { pointer-events: auto; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; color: var(--pp-ink); border: 1px solid var(--pp-line); border-radius: 20px; box-shadow: 0 24px 60px -20px rgba(42, 29, 21, .45); padding: 24px 26px; font-size: .95rem; }
.pp-cookies__title { margin: 0 0 8px; font-weight: 800; font-size: 1.1rem; color: var(--pp-navy); }
.pp-cookies__text { margin: 0 0 16px; color: var(--pp-muted); }
.pp-cookies__prefs { display: grid; gap: 10px; margin: 0 0 18px; }
.pp-cookies__prefs[hidden] { display: none; }
.pp-cookies__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--pp-line); border-radius: 12px; cursor: pointer; }
.pp-cookies__opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--pp-blue); flex-shrink: 0; }
.pp-cookies__opt strong { display: block; }
.pp-cookies__opt span { color: var(--pp-muted); }
.pp-cookies__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.pp-cookies__actions .pp-btn { padding: .7em 1.2em; font-size: .95rem; }
.pp-cookies__actions [hidden] { display: none; }
.pp-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #e5d8c8; cursor: pointer; }
.pp-linkbtn:hover { color: #fff; text-decoration: underline; }
@media (max-width: 700px) {
	.pp-cookies { left: 8px; right: 8px; bottom: 8px; }
	.pp-cookies__box { padding: 18px; }
	.pp-cookies__actions .pp-btn { flex: 1 1 100%; }
	.pp-cookies-open .pp-mobilebar { display: none; }
}

/* ========== Solibois Déco ========== */
.sb-areas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 28px; }
.sb-areas li { margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--pp-soft); border: 1px solid var(--pp-line); font-size: .93rem; font-weight: 600; color: var(--pp-navy); }
.sb-areas a { color: inherit; text-decoration: none; }
.sb-areas a:hover { color: var(--pp-blue); }
.sb-cities { columns: 3 220px; column-gap: 28px; list-style: none; padding: 0; margin: 20px 0 32px; }
.sb-cities li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--pp-line); margin: 0; }
.sb-cities strong { display: block; }
.sb-cities a { font-size: .95rem; margin-right: 12px; }
.sb-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 26px 0 34px; padding: 0; list-style: none; }
.sb-facts li { margin: 0; padding: 18px 20px; border-radius: var(--pp-radius); background: var(--pp-soft); border: 1px solid var(--pp-line); }
.sb-facts strong { display: block; font-size: 1.15rem; }
.sb-facts span { color: var(--pp-muted); font-size: .93rem; }
.pp-hero__tags li { background: rgba(255, 255, 255, .12); }
.pp-content .pp-figure img { aspect-ratio: 16 / 9; }
.pp-figure figcaption { margin-top: 10px; font-size: .9rem; color: var(--pp-muted); }

/* ========== Hero avec photo de fond et devis rapide ========== */
.pp-hero--bg .pp-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pp-hero--bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(34, 22, 14, .94) 0%, rgba(34, 22, 14, .8) 55%, rgba(34, 22, 14, .5) 100%); }
.pp-hero--form .pp-hero__in, .pp-hero--noimg.pp-hero--form .pp-hero__in { grid-template-columns: 1.15fr minmax(320px, .85fr); max-width: none; padding: 56px 0 64px; }
.pp-hero__note { margin: 18px 0 0; font-weight: 700; color: rgba(255, 255, 255, .9); }
@media (max-width: 900px) { .pp-hero--form .pp-hero__in, .pp-hero--noimg.pp-hero--form .pp-hero__in { grid-template-columns: 1fr; padding: 40px 0 44px; } }

.sb-qform { background: #fff; color: var(--pp-ink); border-radius: 22px; padding: 22px 22px 18px; box-shadow: 0 30px 60px -24px rgba(20, 12, 6, .6); }
.sb-qform__title { margin: 0; font-weight: 800; font-size: 1.3rem; color: var(--pp-navy); line-height: 1.25; }
.sb-qform__sub { margin: 4px 0 14px; color: var(--pp-muted); font-size: .92rem; line-height: 1.45; }
.sb-qform .wpcf7 { margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
.sb-qform .wpcf7 label { font-size: .86rem; margin-bottom: 10px; }
.sb-qform .wpcf7 input:not([type=submit]):not([type=checkbox]), .sb-qform .wpcf7 select, .sb-qform .wpcf7 textarea { margin-top: 4px; padding: 10px 12px; font-size: .95rem; border-width: 1.5px; }
.sb-qform .wpcf7 textarea { min-height: 64px; height: 64px; resize: vertical; }
.sb-qform__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.sb-qform__row > label, .sb-qform .wpcf7-form-control-wrap { min-width: 0; display: block; }
@media (max-width: 380px) { .sb-qform__row { grid-template-columns: 1fr; } }
.sb-qform .wpcf7-acceptance { display: block; font-size: .8rem; color: var(--pp-muted); line-height: 1.4; margin: 2px 0 12px; }
.sb-qform .wpcf7-acceptance input { margin-right: 6px; }
.sb-qform .wpcf7-submit { width: 100%; }
.sb-qform .wpcf7-spinner { position: absolute; }
.sb-qform .wpcf7-response-output { margin: 12px 0 0 !important; font-size: .88rem; }

/* ========== Panneau flottant : téléphone + devis ========== */
.sb-float { position: fixed; right: 16px; top: calc(var(--pp-header-h) + 24px); z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transform: translateX(calc(100% + 32px)); transition: transform .3s ease; pointer-events: none; }
.admin-bar .sb-float { top: calc(var(--pp-header-h) + 56px); }
.sb-float--on, .sb-float--open { transform: none; pointer-events: auto; }
.sb-float__bar { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.sb-float__tel, .sb-float__toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .75em 1.2em; border: 0; border-radius: 999px; font-family: inherit; font-weight: 800; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(42, 29, 21, .55); white-space: nowrap; }
.sb-float__tel { background: var(--pp-navy); color: #fff; }
.sb-float__tel:hover { background: #000; color: #fff; }
.sb-float__toggle { background: var(--pp-blue); color: #fff; }
.sb-float__toggle:hover, .sb-float__toggle[aria-expanded="true"] { background: var(--pp-blue-dark); }
.sb-float__body { position: relative; width: 340px; overflow-x: hidden; max-height: calc(100vh - var(--pp-header-h) - 170px); overflow-y: auto; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(42, 29, 21, .45); }
.sb-float__body[hidden] { display: none; }
.sb-float__body .sb-qform { box-shadow: none; border: 1px solid var(--pp-line); }
.sb-float__close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--pp-soft); color: var(--pp-navy); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.sb-float__body .sb-qform__title { padding-right: 40px; }

/* Mobile : la barre du bas remplace les boutons, le formulaire s'ouvre en panneau par le bas. */
@media (max-width: 700px) {
	.sb-float { display: none; left: 0; right: 0; top: auto; bottom: 0; transform: none; z-index: 150; }
	.sb-float.sb-float--open { display: block; }
	.sb-float__bar { display: none; }
	.sb-float__body { width: 100%; max-height: 88vh; border-radius: 22px 22px 0 0; }
	.sb-float__body .sb-qform { border-radius: 22px 22px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
	.sb-float-sheet::after { content: ""; position: fixed; inset: 0; z-index: 140; background: rgba(20, 12, 6, .5); }
	.pp-mobilebar button.pp-btn { font-family: inherit; }
}

/* Question anti-spam (quiz Contact Form 7) */
.wpcf7 .sb-quiz { margin: 0 0 14px; }
.wpcf7 .sb-quiz__label { display: block; font-weight: 700; color: var(--pp-navy); margin-bottom: 6px; }
.wpcf7 .sb-quiz label { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 700; }
.wpcf7 .sb-quiz .wpcf7-quiz-label { color: var(--pp-blue-dark); white-space: nowrap; }
.wpcf7 .sb-quiz input.wpcf7-quiz { width: 90px !important; margin-top: 0 !important; }
.sb-qform .sb-quiz { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 10px; }
.sb-qform .sb-quiz__label { display: inline; margin: 0; font-size: .86rem; }
.sb-qform .sb-quiz label { font-size: .9rem; }

/* Liste des communes (page zones) : texte simple, en colonnes */
.sb-communes { columns: 4 170px; column-gap: 24px; list-style: none; padding: 0; margin: 18px 0 32px; font-size: .9rem; }
.sb-communes li { break-inside: avoid; margin: 0; padding: 4px 0; border-bottom: 1px dashed var(--pp-line); display: flex; justify-content: space-between; gap: 8px; }
.sb-communes span { color: var(--pp-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Conseils : liste des articles */
.sb-post-card { display: flex; flex-direction: column; gap: 10px; padding: 0 0 22px; }
.sb-post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sb-post-card h2 { font-size: 1.15rem; margin: 6px 22px 0; }
.sb-post-card h2 a { color: var(--pp-navy); text-decoration: none; }
.sb-post-card h2 a::before { content: ""; position: absolute; inset: 0; }
.sb-post-card p { margin: 0 22px; }

/* Pour aller plus loin (fin d'article) */
.sb-further { margin: 40px 0 0; padding: 22px 26px; border: 1px solid var(--pp-line); border-radius: var(--pp-radius); background: var(--pp-soft); }
.pp-content .sb-further h2 { margin: 0 0 12px; padding-top: 0; font-size: 1.2rem; }
.pp-content .sb-further h2::before { display: none; }
.sb-further ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sb-further li { margin: 0; }
.sb-further a { font-weight: 700; }
.sb-further span { display: block; color: var(--pp-muted); font-size: .92rem; }
/* Nos conseils (pages de service) */
.sb-page-posts h2 { text-align: center; }
.sb-page-posts .sb-post-card h3 { font-size: 1.1rem; margin: 6px 22px 0; }
.sb-page-posts .sb-post-card h3 a { color: var(--pp-navy); text-decoration: none; }
.sb-page-posts .sb-post-card h3 a::before { content: ""; position: absolute; inset: 0; }
.sb-page-posts__all { text-align: center; margin: 24px 0 0; font-weight: 700; }

/* Liens sans soulignement : couleur bois et graisse pour les repérer, soulignés au survol. */
a { text-decoration: none; }
.pp-content a:not(.pp-btn), .sb-further a, .pp-footer__bottom a, .sb-page-posts__all a { font-weight: 600; }
.pp-content a:not(.pp-btn):hover, .pp-content a:not(.pp-btn):focus-visible, .sb-further a:hover, .sb-page-posts__all a:hover { text-decoration: underline; text-underline-offset: 3px; }
