/*
Theme Name: Présence Tarn
Theme URI: https://presence-tarn.fr
Author: Présence Tarn
Description: Thème bloc du site Présence Tarn, visites de contrôle de maisons dans le Tarn. Palette pastel du pays de Cocagne, polices Outfit et Gilda Display, sections en motifs.
Version: 1.3.1
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: presence-tarn
*/

/* ---------- Jetons ---------- */
:root {
	--pt-navy: var(--wp--preset--color--navy, #3e5f86);
	--pt-navy-2: var(--wp--preset--color--navy-2, #355377);
	--pt-pale: var(--wp--preset--color--pale, #eeebe4);
	--pt-pale-2: var(--wp--preset--color--pale-2, #f6f4ef);
	--pt-yellow: var(--wp--preset--color--yellow, #f0d9a0);
	--pt-brick: var(--wp--preset--color--brick, #f6efe2);
	--pt-on-brick: var(--wp--preset--color--on-brick, #2c4a6e);
	--pt-ink: var(--wp--preset--color--ink, #1f2a36);
	--pt-white: var(--wp--preset--color--white, #ffffff);
	--pt-muted-navy: var(--wp--preset--color--muted-navy, #dbe5f0);
	--pt-muted-pale: var(--wp--preset--color--muted-pale, #5a5650);
	--pt-shade: 28, 46, 70;
	--pt-line-navy: rgba(255, 255, 255, .18);
	--pt-line-pale: rgba(31, 42, 54, .16);
	--pt-ok: #8be3b4;
	--pt-warn: #ffd27a;
	--pt-alert: #ffb0a8;
	--smile: var(--wp--preset--color--smile, #e2c37a);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--pt-yellow); outline-offset: 3px; }

/* Pas d'espace entre en-tête, contenu, pied de page et sections pleine largeur */
body .wp-site-blocks > * { margin-block: 0; }
body .wp-block-post-content > .alignfull { margin-block: 0; }

/* ---------- Boutons ---------- */
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	border: 0;
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
	transition: transform .15s ease;
}
.wp-element-button:hover,
.wp-block-button__link:hover { transform: translateY(-2px); }
body .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--pt-white);
	border: 0;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
	clip-path: none;
	padding: 14px 22px;
}
body .pt-btn-small > .wp-block-button__link { padding: 10px 16px; font-size: .9rem; }

/* ---------- Textes communs ---------- */
.pt-eyebrow {
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--pt-yellow);
}
.pt-lead { font-size: 1.12rem; }
.pt-muted { color: var(--pt-muted-navy); }
.pt-pale .pt-eyebrow,
.pt-pale .pt-lead,
.pt-pale .pt-muted { color: var(--pt-muted-pale); }
.pt-pale :is(.pt-fix, .pt-report, .pt-card, .pt-form-box) :is(.pt-muted, .pt-lead) { color: var(--pt-muted-navy); }
.pt-pale :is(.pt-fix, .pt-report, .pt-form-box) .pt-eyebrow { color: var(--pt-yellow); }

/* Marqueurs [à valider] */
.has-todo em {
	font-style: normal;
	font-weight: 500;
	background: rgba(15, 29, 42, .08);
	border-radius: 6px;
	padding: 2px 8px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.pt-navy .has-todo em { background: rgba(255, 255, 255, .12); }

/* ---------- Bandes ---------- */
.pt-band { padding-block: clamp(56px, 8vw, 110px); }
.pt-pale { background: var(--pt-pale); color: var(--pt-ink); }
.pt-navy { background: var(--pt-navy); color: var(--pt-white); }

/* Mot fantôme */
body .pt-ghost {
	display: block;
	font-size: clamp(64px, 13vw, 170px);
	font-weight: 700;
	line-height: .8;
	letter-spacing: -.02em;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1.2px rgba(255, 255, 255, .2);
	margin: 0 0 -.28em;
	user-select: none;
	overflow: hidden;
}
.pt-pale .pt-ghost { -webkit-text-stroke-color: rgba(15, 29, 42, .18); }
body .pt-ghost + * { margin-block-start: 0; }

/* Deux colonnes */
body .pt-split { gap: clamp(28px, 5vw, 72px); margin: 0; }
body .pt-split > .wp-block-column { min-width: 0; }
@media (max-width: 860px) {
	body .pt-split { flex-wrap: wrap !important; }
	body .pt-split > .wp-block-column { flex-basis: 100% !important; }
}

/* En-tête de section */
body .pt-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
body .pt-head > * { margin-block: 0; }
body .pt-head > * + * { margin-block-start: 14px; }

/* Photos à coin biseauté */
body .pt-photo {
	margin: 0;
	border-radius: 26px;
	overflow: hidden;
	clip-path: polygon(0 0, calc(100% - 38px) 0, 100% 38px, 100% 100%, 0 100%);
	aspect-ratio: 4 / 4.2;
}
body .pt-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- En-tête du site ---------- */
.pt-header { background: var(--pt-navy); color: var(--pt-white); }
body .pt-nav { gap: 24px; padding-block: 22px; }
body .pt-logo { gap: 12px; flex-shrink: 0; }
.pt-logo-mark { display: block; color: var(--pt-white); line-height: 0; }
.pt-logo-mark svg { width: 70px; height: 69px; display: block; }
body .pt-logo-text > * { margin: 0; }
.pt-logo-text .wp-block-site-title a { text-decoration: none; color: inherit; }
body .pt-logo-text .wp-block-site-tagline {
	margin-top: 2px;
	font-size: .8rem;
	letter-spacing: .01em;
	line-height: 1.4;
	color: var(--pt-muted-navy);
}
.pt-menu { font-size: .95rem; font-weight: 500; }
.pt-menu .wp-block-navigation-item__content { text-decoration: none; opacity: .92; }
.pt-menu .wp-block-navigation-item__content:hover { color: var(--pt-yellow); opacity: 1; }
body .pt-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	width: 100%;
	margin: 0;
	align-items: center;
	gap: 18px;
}
body .pt-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: auto; }
body .pt-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.4rem; }
body .pt-nav-cta { flex-shrink: 0; }
/* Menu repliable jusqu'à 1140 px (la maquette masquait le menu sous 1020 px) */
@media (min-width: 600px) and (max-width: 1140px) {
	body .pt-menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	body .pt-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 1140px) {
	body .pt-menu { margin-left: auto; }
}
@media (max-width: 560px) {
	body .pt-logo-text .wp-block-site-tagline { display: none; }
	body .pt-logo { gap: 8px; flex-shrink: 1; min-width: 0; }
	body .pt-logo-text { min-width: 0; }
	body .pt-logo-text .wp-block-site-title {
		font-size: 1.2rem;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.pt-logo-mark svg { width: 48px; height: 47px; }
	body .pt-nav { gap: 10px; }
	body .pt-btn-small > .wp-block-button__link { white-space: nowrap; padding: 8px 11px; font-size: .84rem; }
}

/* ---------- Bandeau principal ---------- */
.pt-hero {
	background: linear-gradient(var(--pt-navy) 0 52%, var(--pt-pale) 52% 100%);
	padding-bottom: clamp(40px, 6vw, 72px);
}
body .pt-hero-card {
	min-height: clamp(440px, 56vw, 580px);
	padding: 0;
	border-radius: 30px;
	overflow: hidden;
	clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
	align-items: center;
}
body .pt-hero-card .wp-block-cover__inner-container { position: static; width: 100%; }
body .pt-hero-copy {
	position: relative;
	z-index: 2;
	max-width: 700px;
	padding: clamp(28px, 5vw, 64px);
}
body .pt-hero-copy > * { margin-block: 0; }
body .pt-hero-copy > * + * { margin-block-start: 22px; }
body .pt-hero-copy > .wp-block-buttons { margin-block-start: 28px; gap: 14px; }
body .pt-hero-tag {
	position: absolute;
	z-index: 2;
	right: 28px;
	bottom: 24px;
	margin: 0;
	font-size: .78rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	opacity: .9;
}
@media (max-width: 640px) { body .pt-hero-tag { display: none; } }

/* ---------- Repères ---------- */
.pt-stats { background: var(--pt-pale); color: var(--pt-ink); padding-block: clamp(36px, 5vw, 56px); }
body .pt-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 28px;
	text-align: center;
}
body .pt-stats-grid > *,
body .pt-stat > * { margin: 0; }
.pt-stat-num { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; line-height: 1; }
body .pt-stat-label {
	margin-top: 8px;
	font-size: .78rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--pt-muted-pale);
}

/* ---------- Visite ---------- */
body .pt-checks {
	list-style: none;
	margin-left: 0;
	margin-right: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 10px 24px;
	width: 100%;
}
body .pt-checks li {
	display: flex;
	gap: 10px;
	align-items: baseline;
	margin: 0;
	padding-block: 8px;
	font-size: .98rem;
	border-bottom: 1px solid var(--pt-line-navy);
}
.pt-checks li::before {
	content: "";
	width: 9px;
	height: 9px;
	flex: none;
	background: var(--pt-yellow);
	border-radius: 2px;
	transform: translateY(-1px);
}

/* ---------- Services ---------- */
body .pt-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 20px;
}
body .pt-cards > *,
body .pt-card > * { margin: 0; }
.pt-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	padding: 30px;
	border-radius: 22px;
	background: var(--pt-navy);
	color: var(--pt-white);
}
.pt-card p { color: var(--pt-muted-navy); font-size: .98rem; }
.pt-card::before {
	content: "";
	display: block;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background-color: rgba(240, 217, 160, .18);
	background-image: var(--pt-ico, none);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 28px 28px;
}
.pt-ico-maison { --pt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23f0d9a0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13 14 4l11 9'/%3E%3Cpath d='M6 11.5V24h16V11.5'/%3E%3Cpath d='M11 24v-7h6v7'/%3E%3C/svg%3E"); }
.pt-ico-urgence { --pt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23f0d9a0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3 6 16h7l-1 9 10-13h-7z'/%3E%3C/svg%3E"); }
.pt-ico-cle { --pt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23f0d9a0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='14' r='4'/%3E%3Cpath d='M13 14h12M21 14v4M25 14v3'/%3E%3C/svg%3E"); }
.pt-ico-colis { --pt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23f0d9a0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9 14 4l10 5v11l-10 5L4 20z'/%3E%3Cpath d='M4 9l10 5 10-5M14 14v11'/%3E%3C/svg%3E"); }
.pt-ico-nuisibles { --pt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23f0d9a0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 23C5 12 12 6 23 5c0 11-6 18-17 18z'/%3E%3Cpath d='M5 23 15 13'/%3E%3C/svg%3E"); }
.pt-ico-toiture { --pt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23f0d9a0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 15 14 5l12 10'/%3E%3Cpath d='M6 13v11h16V13'/%3E%3Cpath d='M9 17h4M15 17h4M9 21h4M15 21h4'/%3E%3C/svg%3E"); }

/* ---------- Formules ---------- */
body .pt-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 22px;
	align-items: stretch;
}
body .pt-plans > *,
body .pt-plan > * { margin: 0; }
.pt-plan {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
	padding: 32px 30px;
	border-radius: 24px;
	background: var(--pt-brick);
	color: var(--pt-on-brick);
}
.pt-plan.is-best { background: var(--pt-white); }
.pt-from { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.pt-price { font-size: 2.8rem; font-weight: 700; line-height: 1; }
.pt-price em { font-style: normal; font-size: 1rem; font-weight: 500; opacity: .8; }
body .pt-plan ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: .98rem;
}
body .pt-plan li { display: flex; gap: 10px; align-items: baseline; margin: 0; }
.pt-plan li::before {
	content: "";
	width: 8px;
	height: 8px;
	flex: none;
	background: currentColor;
	border-radius: 2px;
	opacity: .75;
}
body .pt-plan > .wp-block-buttons { margin-top: auto; }
body .pt-plan .wp-block-button__link { background: var(--pt-navy); color: var(--pt-white); }

body .pt-oneoff {
	margin-top: 44px;
	padding-top: 34px;
	border-top: 1px solid var(--pt-line-navy);
}
body .pt-oneoff > * { margin-block: 0; }
body .pt-oneoff > * + * { margin-block-start: 8px; }
body .pt-oneoff > .pt-oneoff-list { margin-block-start: 22px; }
body .pt-oneoff-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 16px;
}
body .pt-oneoff-list > *,
body .pt-oneoff-item > * { margin: 0; }
.pt-oneoff-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding: 22px;
	border-radius: 18px;
	background: var(--pt-pale-2);
	color: var(--pt-ink);
}
.pt-oneoff-item .pt-muted { font-size: .95rem; color: var(--pt-muted-pale); }
body .pt-oneoff-price { margin-top: auto; padding-top: 6px; color: var(--pt-on-brick); font-weight: 700; }
body .pt-fineprint { margin-top: 26px; max-width: 760px; font-size: .92rem; color: var(--pt-muted-navy); }

/* ---------- Comment ça marche ---------- */
body .pt-steps { counter-reset: pt-step; }
body .pt-steps > * { margin: 0; }
.pt-step {
	counter-increment: pt-step;
	display: grid;
	grid-template-columns: 52px 1fr;
	column-gap: 18px;
	padding-block: 22px;
	border-top: 1px solid var(--pt-line-pale);
}
.pt-step:last-child { border-bottom: 1px solid var(--pt-line-pale); }
.pt-step::before {
	content: counter(pt-step);
	grid-row: 1 / span 2;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--pt-navy);
	color: var(--pt-yellow);
	display: grid;
	place-items: center;
	font-weight: 700;
}
body .pt-step > * { margin: 0; grid-column: 2; }
body .pt-step > h3 { margin-bottom: 4px; }
.pt-step p { color: var(--pt-muted-pale); font-size: .98rem; }

.pt-report {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
	padding: 28px;
	border-radius: 26px;
	background: var(--pt-navy);
	color: var(--pt-white);
}
body .pt-report > * { margin: 0; }
body .pt-keys { margin: 0; background: var(--pt-pale); border-radius: 18px; overflow: hidden; }
body .pt-keys img { width: 100%; height: 230px; object-fit: contain; mix-blend-mode: multiply; }
body .pt-report h3 { font-size: 1.1rem; }
body .pt-chips { display: flex; flex-wrap: wrap; gap: 10px; }
body .pt-chips > * { margin: 0; }
.pt-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: .86rem;
	font-weight: 600;
	background: rgba(255, 255, 255, .08);
}
.pt-chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.pt-chip-ok { color: var(--pt-ok); }
.pt-chip-warn { color: var(--pt-warn); }
.pt-chip-alert { color: var(--pt-alert); }
.pt-report p:not(.pt-chip) { color: var(--pt-muted-navy); font-size: .95rem; }

body .pt-fix {
	margin-top: clamp(40px, 6vw, 72px);
	display: flex;
	flex-direction: column;
	gap: 30px;
	padding: clamp(24px, 4vw, 48px);
	border-radius: 28px;
	background: var(--pt-navy);
	color: var(--pt-white);
	clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}
body .pt-fix > * { margin: 0; }
.pt-fix a { color: var(--pt-yellow); }
body .pt-fix-head { max-width: 760px; }
body .pt-fix-head > * { margin-block: 0; }
body .pt-fix-head > * + * { margin-block-start: 14px; }
body .pt-fix-steps {
	counter-reset: pt-fix;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 18px;
}
body .pt-fix-steps > *,
body .pt-fix-step > *,
body .pt-fix-services > *,
body .pt-fix-service > * { margin: 0; }
.pt-fix-step {
	counter-increment: pt-fix;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding-top: 16px;
	border-top: 2px solid var(--pt-yellow);
}
.pt-fix-step::before { content: counter(pt-fix); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--pt-yellow); }
.pt-fix-step p + p,
.pt-fix-service p + p { color: var(--pt-muted-navy); font-size: .95rem; }
body .pt-fix-services {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 16px;
}
.pt-fix-service {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding: 20px;
	border: 1.5px solid var(--pt-line-navy);
	border-radius: 18px;
	background: var(--pt-navy-2);
}
.pt-fix-service.is-tbd { background: transparent; border-style: dashed; border-color: rgba(255, 255, 255, .35); }

/* ---------- Qui suis-je ---------- */
body .pt-creds { display: flex; flex-wrap: wrap; gap: 10px; }
body .pt-creds > * { margin: 0; }
.pt-cred {
	border: 1.5px solid var(--pt-navy);
	color: var(--pt-navy);
	border-radius: 8px;
	padding: 6px 12px;
	font-size: .84rem;
	font-weight: 600;
	letter-spacing: .04em;
}
body .pt-portrait {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 22px;
	border: 1.5px dashed rgba(15, 29, 42, .35);
	border-radius: 22px;
	color: var(--pt-muted-pale);
	font-size: .95rem;
}
.pt-portrait::before { content: ""; width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--pt-pale-2); }
body .pt-portrait > * { margin: 0; }
.pt-portrait strong { color: var(--pt-ink); }

/* ---------- FAQ ---------- */
.pt-faq-box {
	padding: 12px 28px;
	border-radius: 24px;
	background: var(--pt-pale);
	color: var(--pt-ink);
}
body .pt-faq-box > * { margin: 0; }
body .pt-faq-box .wp-block-details { padding-block: 4px; border-top: 1px solid var(--pt-line-pale); }
body .pt-faq-box .wp-block-details:last-child { border-bottom: 1px solid var(--pt-line-pale); }
body .pt-faq-box .wp-block-details > * { margin-block: 0; }
.pt-faq-box summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 18px 40px 18px 0;
	font-size: 1.12rem;
	font-weight: 600;
}
.pt-faq-box summary::-webkit-details-marker { display: none; }
.pt-faq-box summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.6rem;
	font-weight: 400;
}
.pt-faq-box details[open] > summary::after { content: "\2013"; }
.pt-faq-box details p { max-width: 760px; padding: 0 0 20px; color: var(--pt-muted-pale); }
body .pt-faq-box details p + p { margin-top: -10px; }

/* ---------- Contact ---------- */
body .pt-banner { margin: 0; height: 150px; border-radius: 22px; overflow: hidden; }
body .pt-banner img { width: 100%; height: 100%; object-fit: cover; }
body .pt-contact-info { width: 100%; color: var(--pt-ink); }
body .pt-contact-info > *,
body .pt-contact-row > * { margin: 0; }
.pt-contact-row { padding-block: 14px; border-top: 1px solid var(--pt-line-pale); }
body .pt-label {
	margin-bottom: 4px;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--pt-muted-pale);
}
.pt-form-box {
	padding: clamp(22px, 4vw, 36px);
	border-radius: 26px;
	background: var(--pt-navy);
	color: var(--pt-white);
}
/* Formulaire Contact Form 7 (classe pt-form ajoutée au formulaire) */
.pt-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.pt-form .full,
.pt-form .wpcf7-response-output { grid-column: 1 / -1; }
@media (max-width: 560px) { .pt-form { grid-template-columns: 1fr; } }
.pt-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	font-size: .86rem;
	font-weight: 500;
	color: var(--pt-muted-navy);
}
.pt-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.pt-form input:not([type="checkbox"]):not([type="submit"]),
.pt-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 14px;
	font: inherit;
	color: var(--pt-white);
	background: var(--pt-navy-2);
	border: 1.5px solid var(--pt-line-navy);
	border-radius: 12px;
}
.pt-form textarea { min-height: 120px; height: 132px; resize: vertical; }
.pt-form ::placeholder { color: rgba(180, 194, 205, .6); }
.pt-form .rgpd label { flex-direction: row; align-items: flex-start; gap: 10px; font-size: .84rem; line-height: 1.5; }
body .pt-form .rgpd .wpcf7-list-item { margin: 0; }
.pt-form .rgpd input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--pt-yellow); }
.pt-form .rgpd a { color: inherit; }
.pt-form input[type="submit"] { width: auto; }
.pt-form input[type="submit"]:disabled { opacity: .55; cursor: not-allowed; transform: none; }
body .pt-form .wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; }
body .pt-form .wpcf7-not-valid-tip { margin-top: 4px; font-size: .82rem; color: var(--pt-alert); }
.pt-form .wpcf7-not-valid { border-color: var(--pt-alert) !important; }
body .wpcf7 form.pt-form .wpcf7-response-output {
	margin: 4px 0 0;
	padding: 12px 14px;
	border: 1.5px solid var(--pt-yellow);
	border-radius: 12px;
	color: var(--pt-yellow);
	font-size: .92rem;
	font-weight: 500;
}
body .wpcf7 form.pt-form.sent .wpcf7-response-output { border-color: var(--pt-ok); color: var(--pt-ok); }
body .wpcf7 form.pt-form:is(.invalid, .unaccepted, .failed, .aborted, .spam) .wpcf7-response-output { border-color: var(--pt-alert); color: var(--pt-alert); }

/* ---------- Pages légales ---------- */
body .pt-legal > * { margin-block: 0; }
body .pt-legal > * + * { margin-block-start: 14px; }
body .pt-legal > .pt-head { margin-bottom: clamp(16px, 3vw, 28px); }

/* ---------- Pied de page ---------- */
.pt-footer { background: var(--pt-ink); color: var(--pt-muted-navy); font-size: .88rem; padding-block: 30px; }
body .pt-footer-row { gap: 12px 28px; }
body .pt-footer-row > * { margin: 0; }
.pt-footer a { text-decoration: none; margin-right: 18px; }
.pt-footer a:last-child { margin-right: 0; }
.pt-footer a:hover { color: var(--pt-yellow); }

/* ---------- Gabarits simples (articles, 404) ---------- */
body .pt-simple > * { margin-block: 0; }
body .pt-simple > * + * { margin-block-start: 22px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.wp-element-button,
	.wp-block-button__link { transition: none; }
}
