/* ==========================================================================
   Transpro Overseas — feuille de style (v2)
   Bleu dominant, en-tête flottant, photos plein cadre, cartes arrondies,
   boutons « pilule ». Polices : Poppins (texte) + Bebas Neue (titres d'impact).
   ========================================================================== */

@font-face { font-family: "Poppins"; src: url("/wp-content/uploads/fonts/poppins-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/wp-content/uploads/fonts/poppins-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/wp-content/uploads/fonts/poppins-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/wp-content/uploads/fonts/poppins-700-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("/wp-content/uploads/fonts/bebas-neue-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
	--tp-navy: #0b2559;
	--tp-navy-2: #123677;
	--tp-deep: #071a40;
	--tp-blue: #1f5fd6;
	--tp-blue-2: #1747c0;
	--tp-sky: #4cb3f0;
	--tp-ice: #eef4fd;
	--tp-ice-2: #e2ebfa;
	--tp-white: #fff;
	--tp-ink: #0f1a2e;
	--tp-muted: #56627a;
	--tp-line: #dce5f3;
	--tp-max: 1240px;
	--tp-gutter: clamp(16px, 4vw, 40px);
	--tp-section: clamp(64px, 8vw, 112px);
	--tp-r: 16px;
	--tp-r-lg: 24px;
	--tp-shadow: 0 24px 60px -28px rgba(11, 37, 89, .38);
	--tp-shadow-sm: 0 10px 30px -18px rgba(11, 37, 89, .35);
	--tp-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--tp-display: "Bebas Neue", "Poppins", Impact, sans-serif;
	--tp-header-h: 168px;       /* hauteur totale de l'en-tête flottant (marge comprise) */
}

html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	font-family: var(--tp-sans);
	color: var(--tp-ink);
	background: var(--tp-white);
	font-size: 1rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.wp-site-blocks > *,
.tp-main > *,
.tp-main .wp-block-post-content > * { margin-block-start: 0; }
.wp-site-blocks { padding: 0; }

:focus-visible { outline: 3px solid var(--tp-sky); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
a { color: var(--tp-blue-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 { font-family: var(--tp-sans); color: var(--tp-navy); text-wrap: balance; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem); font-weight: 700; line-height: 1.18; }
h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 600; line-height: 1.3; }
p { text-wrap: pretty; }
strong { font-weight: 600; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* --------------------------------------------------------------- Conteneurs */
.tp-wrap { width: 100%; max-width: calc(var(--tp-max) + 2 * var(--tp-gutter)); margin-inline: auto; padding-inline: var(--tp-gutter); box-sizing: border-box; }
.tp-narrow { max-width: calc(820px + 2 * var(--tp-gutter)); }
.tp-section { padding-block: var(--tp-section); margin-block: 0 !important; }
.tp-section--tight { padding-block: clamp(48px, 6vw, 80px); }
.tp-section--paper, .tp-section--ice { background: var(--tp-ice); }
.tp-section--navy { background: var(--tp-navy); color: #d3ddf2; }
.tp-section--navy h2, .tp-section--navy h3 { color: #fff; }
.tp-section--line { border-top: 0; }

/* Étiquette « pilule » au-dessus des titres */
.tp-eyebrow, .tp-pill {
	display: inline-flex; align-items: center; gap: .5em;
	font-size: .8rem; font-weight: 600; letter-spacing: .02em;
	color: var(--tp-blue-2); background: var(--tp-ice-2);
	padding: 7px 16px; border-radius: 999px; margin: 0 0 1rem !important; line-height: 1.3;
}
.tp-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tp-sky); }
.tp-section--paper .tp-eyebrow, .tp-section--ice .tp-eyebrow { background: #fff; }
.tp-section--navy .tp-eyebrow, .tp-hero .tp-eyebrow, .tp-pagehead .tp-eyebrow { background: rgba(255,255,255,.12); color: #fff; }

.tp-lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); line-height: 1.7; color: var(--tp-muted); max-width: 64ch; }
.tp-center { text-align: center; }
.tp-center .tp-lead { margin-inline: auto; }

/* ------------------------------------------------------------------ Boutons */
.tp-btn-lg {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 15px 28px; border-radius: 999px;
	font-weight: 600; font-size: .98rem; text-decoration: none !important; line-height: 1.2;
	transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tp-btn-lg:hover { transform: translateY(-2px); }
.tp-btn-lg--light { background: #fff; color: var(--tp-navy) !important; box-shadow: 0 10px 30px -12px rgba(0,0,0,.45); }
.tp-btn-lg--light:hover { background: var(--tp-sky); color: #fff !important; }
.tp-btn-lg--ghost { color: #fff !important; border: 1.5px solid rgba(255,255,255,.55); }
.tp-btn-lg--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.tp-btn-lg--navy { background: var(--tp-navy); color: #fff !important; }
.tp-btn-lg--navy:hover { background: var(--tp-blue); }
.tp-btn-lg--outline { color: var(--tp-navy) !important; border: 1.5px solid var(--tp-navy); }
.tp-btn-lg--outline:hover { background: var(--tp-navy); color: #fff !important; }
.tp-btn-lg svg { width: 18px; height: 18px; flex: none; }
.wp-block-button__link { border-radius: 999px !important; padding: 14px 26px !important; font-weight: 600; }

/* ============================================================== En-tête flottant */
.wp-site-blocks > .wp-block-template-part:has(> .tp-header) { position: sticky; top: 0; z-index: 50; height: 0; overflow: visible; }
.admin-bar .wp-site-blocks > .wp-block-template-part:has(> .tp-header) { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > .wp-block-template-part:has(> .tp-header) { top: 46px; } }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > .wp-block-template-part:has(> .tp-header) { top: 0; } }

.tp-header { padding-top: 14px; background: transparent; }
.tp-header__inner {
	background: #fff; border-radius: 20px; box-shadow: var(--tp-shadow);
	max-width: calc(var(--tp-max) + 2 * var(--tp-gutter) - 2 * var(--tp-gutter));
	width: calc(100% - 2 * var(--tp-gutter)); margin-inline: auto; padding: 10px 14px 10px 26px !important;
	gap: 24px; box-sizing: border-box; transition: padding .25s ease, border-radius .25s ease;
}
.tp-logo { margin: 0 !important; flex-shrink: 0; line-height: 0; }
.tp-logo img { width: 360px !important; max-width: none; height: auto !important; display: block; transition: width .25s ease; }
html.tp-scrolled .tp-logo img { width: 200px !important; }
@media (max-width: 1320px) { .tp-logo img { width: 300px !important; } }
@media (max-width: 1120px) { .tp-logo img { width: 240px !important; } }
.tp-header__right { gap: 22px !important; }

.tp-nav { font-size: .95rem; font-weight: 500; gap: 26px !important; }
.tp-nav, .tp-nav .wp-block-navigation__container { flex-wrap: nowrap !important; }
.tp-nav .wp-block-navigation-item__content { white-space: nowrap; color: var(--tp-navy); text-decoration: none; }
.tp-nav .wp-block-navigation-item__content:hover { color: var(--tp-blue); }
.tp-nav .wp-block-navigation__submenu-container {
	border: 0 !important; border-radius: 16px; box-shadow: var(--tp-shadow); padding: 10px !important;
	min-width: 280px !important; background: #fff; top: calc(100% + 10px) !important;
}
.tp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 14px !important; border-radius: 10px; font-weight: 500; }
.tp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--tp-ice); }

.tp-header__cta { display: flex; align-items: center; gap: 14px; }
.tp-header__tel { display: inline-flex; align-items: center; gap: 10px; color: var(--tp-navy); font-weight: 700; text-decoration: none; font-size: 1rem; white-space: nowrap; line-height: 1.15; }
.tp-header__tel-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--tp-ice); display: grid; place-items: center; color: var(--tp-blue-2); flex: none; }
.tp-header__tel-ico svg { width: 18px; height: 18px; }
.tp-header__tel-label { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tp-muted); }
.tp-header__devis {
	display: inline-flex; align-items: center; padding: 14px 22px; border-radius: 999px;
	background: var(--tp-navy); color: #fff !important; text-decoration: none; font-weight: 600; font-size: .93rem; white-space: nowrap;
	transition: background .2s ease;
}
.tp-header__devis:hover { background: var(--tp-blue); }

@media (max-width: 1240px) { .tp-header__tel-text { display: none; } }
@media (max-width: 1080px) and (min-width: 782px) {
	.tp-nav { gap: 18px !important; font-size: .9rem; }
	.tp-header__right { gap: 14px !important; }
	.tp-header__devis { padding: 11px 16px; font-size: .86rem; }
	.tp-header__tel { display: none; }
}
@media (max-width: 960px) and (min-width: 782px) {
	.tp-logo img { width: 200px !important; }
	html.tp-scrolled .tp-logo img { width: 170px !important; }
}

/* Mobile : barre compacte, logo réduit */
@media (max-width: 781px) {
	:root { --tp-header-h: 92px; }
	.tp-header { padding-top: 10px; }
	.tp-header__inner { border-radius: 16px; padding: 10px 10px 10px 16px !important; }
	.tp-logo img, html.tp-scrolled .tp-logo img { width: 115px !important; }
	html.tp-scrolled .tp-logo img { width: 100px !important; }
	.tp-header__devis, .tp-header__tel { display: none; }
	.tp-nav .wp-block-navigation__responsive-container-open { width: 42px; height: 42px; border-radius: 50%; background: var(--tp-ice); display: grid; place-items: center; }
}
@media (max-width: 380px) { .tp-logo img { width: 105px !important; } }

/* Menu mobile plein écran */
@media (max-width: 781px) {
	.tp-nav .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed !important; inset: 0 !important; width: auto; height: 100dvh; overflow-y: auto; overflow-x: hidden; box-sizing: border-box;
		background: #fff !important; z-index: 100000; padding: 24px 24px 40px !important;
		--navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; --navigation-layout-align: flex-start;
	}
	.admin-bar .tp-nav .wp-block-navigation__responsive-container.is-menu-open { top: 46px !important; }
	.tp-nav .is-menu-open .wp-block-navigation__responsive-container-content,
	.tp-nav .is-menu-open .wp-block-navigation__container,
	.tp-nav .is-menu-open .wp-block-navigation-item,
	.tp-nav .is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; justify-content: flex-start !important; text-align: left !important; width: 100%; }
	.tp-nav .is-menu-open .wp-block-navigation__container { flex-wrap: wrap !important; flex-direction: column; gap: 16px !important; }
	.tp-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 48px !important; }
	.tp-nav .is-menu-open .wp-block-navigation-item__content { font-size: 1.2rem; font-weight: 600; color: var(--tp-navy) !important; white-space: normal; }
	.tp-nav .is-menu-open .wp-block-navigation__submenu-container { box-shadow: none; padding: 6px 0 4px 16px !important; border-left: 2px solid var(--tp-line) !important; border-radius: 0; margin-top: 8px; }
	.tp-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1rem; font-weight: 500; color: var(--tp-ink) !important; padding: 6px 0 !important; }
	html.has-modal-open .tp-callbar { display: none; }
}
@media (max-width: 600px) { .admin-bar .tp-nav .wp-block-navigation__responsive-container.is-menu-open { top: 0 !important; } }

/* ==================================================================== Héros */
.tp-hero {
	position: relative; overflow: hidden; isolation: isolate;
	min-height: max(640px, 94vh); display: flex; align-items: center;
	background: var(--tp-deep); color: #e3eaf8;
	padding: calc(var(--tp-header-h) + 40px) 0 clamp(90px, 10vw, 140px);
	border-radius: 0 0 clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px);
}
.tp-hero__slides { position: absolute; inset: 0; z-index: -2; }
.tp-hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.tp-hero__slides img:first-child { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
	.tp-hero__slides img { animation: tpFade 21s infinite; }
	.tp-hero__slides img:nth-child(1) { animation-delay: 0s; }
	.tp-hero__slides img:nth-child(2) { animation-delay: 7s; }
	.tp-hero__slides img:nth-child(3) { animation-delay: 14s; }
	.tp-hero__slides img:first-child { opacity: 0; }
	@keyframes tpFade { 0% { opacity: 0; transform: scale(1.06); } 5% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
	.tp-hero__slides img:nth-child(1) { animation-name: tpFadeFirst; }
	@keyframes tpFadeFirst { 0% { opacity: 1; transform: scale(1.06); } 33% { opacity: 1; } 40% { opacity: 0; transform: scale(1); } 95% { opacity: 0; } 100% { opacity: 1; transform: scale(1.06); } }
}
.tp-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(7,26,64,.92) 0%, rgba(7,26,64,.72) 42%, rgba(7,26,64,.25) 75%, rgba(7,26,64,.15) 100%),
		linear-gradient(0deg, rgba(7,26,64,.65) 0%, rgba(7,26,64,0) 40%);
}
.tp-hero__grid { position: relative; width: 100%; }
.tp-hero__text { max-width: 720px; }
.tp-hero__motto { margin: 0 0 1.2rem !important; }
.tp-hero h1 {
	color: #fff; margin: 0 0 1.3rem;
	font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.1rem);
	font-weight: 700; line-height: 1.08; letter-spacing: -0.025em;
}
.tp-hero p.tp-hero__lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: #d3ddf2; max-width: 58ch; margin: 0 0 2rem; }
.tp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tp-hero__chips { position: absolute; right: 0; bottom: calc(-1 * clamp(40px, 6vw, 80px)); display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.tp-hero__chips span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 500; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@media (max-width: 900px) { .tp-hero__chips { position: static; justify-content: flex-start; margin-top: 28px; } }
@media (max-width: 781px) {
	.tp-hero { min-height: auto; padding-top: calc(var(--tp-header-h) + 36px); border-radius: 0 0 24px 24px; }
	.tp-hero::before { background: linear-gradient(180deg, rgba(7,26,64,.78) 0%, rgba(7,26,64,.86) 100%); }
	.tp-hero__actions .tp-btn-lg { flex: 1 1 100%; }
}

/* ======================================================== Bandeau de page (cover) */
.tp-pagehead.wp-block-cover {
	min-height: clamp(380px, 46vw, 520px) !important; padding: calc(var(--tp-header-h) + 30px) 0 clamp(48px, 6vw, 76px) !important;
	align-items: flex-end; background: var(--tp-navy); overflow: hidden;
	border-radius: 0 0 clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px);
}
.tp-pagehead.wp-block-cover::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(90deg, rgba(7,26,64,.92) 0%, rgba(7,26,64,.7) 50%, rgba(7,26,64,.35) 100%), linear-gradient(0deg, rgba(7,26,64,.55), rgba(7,26,64,0) 50%);
}
.tp-pagehead .wp-block-cover__inner-container { position: relative; z-index: 3 !important; width: 100% !important; max-width: none !important; color: #d3ddf2; }
.tp-pagehead .wp-block-cover__image-background { z-index: 0; }
.tp-pagehead__title, .tp-pagehead h1 { color: #fff !important; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem) !important; font-weight: 700 !important; line-height: 1.1 !important; letter-spacing: -0.02em; max-width: 22ch; margin: 0 0 16px !important; }
.tp-pagehead__lead, .tp-pagehead__lead p { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: #d3ddf2; max-width: 62ch; margin: 0 !important; }
/* Ancien bandeau (sans image) conservé pour les modèles 404/archives */
div.tp-pagehead:not(.wp-block-cover) { background: var(--tp-navy); color: #d3ddf2; padding: calc(var(--tp-header-h) + 40px) 0 70px; border-radius: 0 0 clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px); }

.tp-crumbs { font-size: .82rem; margin: 0 0 18px; }
.tp-crumbs ol { list-style: none; display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.12); }
.tp-crumbs li { margin: 0; color: #c7d4ee; }
.tp-crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.tp-crumbs a { color: #fff; text-decoration: none; }
.tp-crumbs a:hover { text-decoration: underline; }
.tp-crumbs [aria-current] { color: #c7d4ee; }

/* ===================================================== Titres de section */
.tp-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.tp-head h2 { margin: 0; }
.tp-head p { margin: 0; color: var(--tp-muted); }
.tp-head--center { display: block; text-align: center; max-width: 760px; margin-inline: auto; }
.tp-head--center p { margin-top: 14px; }
@media (max-width: 860px) { .tp-head { grid-template-columns: 1fr; } }

/* ================================================================ En bref */
.tp-brief { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(24px, 3vw, 44px); align-items: center; }
.tp-brief__col { display: grid; gap: clamp(24px, 3vw, 40px); }
.tp-brief__item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.tp-brief__item h3 { margin: 4px 0 6px; font-size: 1.08rem; }
.tp-brief__item p { margin: 0; color: var(--tp-muted); font-size: .95rem; line-height: 1.65; }
.tp-brief__img { border-radius: var(--tp-r-lg); overflow: hidden; box-shadow: var(--tp-shadow); aspect-ratio: 4 / 5; }
.tp-brief__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1000px) { .tp-brief { grid-template-columns: 1fr 1fr; } .tp-brief__img { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 9; } }
@media (max-width: 640px) { .tp-brief { grid-template-columns: 1fr; } }

.tp-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tp-ice-2); color: var(--tp-blue-2); flex: none; }
.tp-ico svg { width: 24px; height: 24px; }
.tp-section--navy .tp-ico { background: rgba(255,255,255,.1); color: var(--tp-sky); }

/* ============================================================ Chiffres clés */
.tp-stats {
	position: relative; overflow: hidden; border-radius: var(--tp-r-lg);
	background: linear-gradient(120deg, var(--tp-navy) 0%, var(--tp-navy-2) 60%, var(--tp-blue-2) 130%);
	display: grid; grid-template-columns: repeat(4, 1fr); color: #fff; box-shadow: var(--tp-shadow);
}
.tp-stats::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 50px rgba(255,255,255,.03), 0 0 0 100px rgba(255,255,255,.02); pointer-events: none; }
.tp-stat { padding: clamp(28px, 3.5vw, 44px) 20px; text-align: center; position: relative; }
.tp-stat + .tp-stat::before { content: ""; position: absolute; left: 0; top: 28%; height: 44%; width: 1px; background: rgba(255,255,255,.2); }
.tp-stat__n { display: block; font-family: var(--tp-display); font-size: clamp(3rem, 2rem + 3vw, 4.4rem); line-height: .95; letter-spacing: .01em; }
.tp-stat__l { display: block; margin-top: 8px; font-size: .9rem; color: #c7d4ee; }
@media (max-width: 760px) { .tp-stats { grid-template-columns: 1fr 1fr; } .tp-stat:nth-child(3)::before { display: none; } .tp-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.15); } }

/* ======================================================== Cartes prestations */
.tp-cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 26px); list-style: none; margin: 0; padding: 0; }
.tp-cards > li { grid-column: span 3; margin: 0; display: flex; }
.tp-cards > li:nth-last-child(-n+3):nth-child(n+5) { grid-column: span 4; }
.tp-cards--3 > li, .tp-cards--3 > li:nth-last-child(-n+3):nth-child(n+5) { grid-column: span 4; }
@media (max-width: 1100px) { .tp-cards > li, .tp-cards > li:nth-last-child(-n+3):nth-child(n+5) { grid-column: span 6; } .tp-cards > li:last-child:nth-child(odd) { grid-column: span 12; } .tp-cards--3 > li { grid-column: span 6; } }
@media (max-width: 640px) { .tp-cards > li, .tp-cards > li:nth-last-child(-n+3):nth-child(n+5), .tp-cards > li:last-child:nth-child(odd), .tp-cards--3 > li { grid-column: span 12; } }
.tp-card {
	display: flex; flex-direction: column; width: 100%; background: #fff; border-radius: var(--tp-r-lg); overflow: hidden;
	text-decoration: none !important; color: inherit; box-shadow: var(--tp-shadow-sm); border: 1px solid var(--tp-line);
	transition: transform .25s ease, box-shadow .25s ease;
}
.tp-card:hover { transform: translateY(-5px); box-shadow: var(--tp-shadow); }
.tp-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tp-ice-2); }
.tp-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.tp-card:hover .tp-card__img img { transform: scale(1.05); }
.tp-card__no { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.92); color: var(--tp-navy); font-weight: 700; font-size: .78rem; padding: 5px 11px; border-radius: 999px; }
.tp-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tp-card__title { font-family: var(--tp-display); font-size: 2rem; line-height: 1; color: var(--tp-navy); letter-spacing: .01em; margin: 0 0 10px; }
.tp-card__desc { color: var(--tp-muted); font-size: .94rem; line-height: 1.6; margin: 0 0 18px; flex: 1; }
.tp-card__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--tp-blue-2); }
.tp-card__more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.tp-card:hover .tp-card__more svg { transform: translateX(4px); }

/* =================================================== Blocs éditoriaux */
.tp-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.tp-split--even { grid-template-columns: 1fr 1fr; }
.tp-split--center { align-items: center; }
.tp-split > * { margin-block-start: 0 !important; }
@media (max-width: 900px) { .tp-split, .tp-split--even { grid-template-columns: 1fr; } }

.tp-media { border-radius: var(--tp-r-lg); overflow: hidden; box-shadow: var(--tp-shadow); position: relative; }
.tp-media img { width: 100%; height: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 3; }
.tp-media__badge { position: absolute; left: 18px; bottom: 18px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--tp-shadow-sm); display: flex; align-items: center; gap: 12px; }
.tp-media__badge strong { font-family: var(--tp-display); font-size: 2.2rem; color: var(--tp-navy); line-height: 1; font-weight: 400; }
.tp-media__badge span { font-size: .82rem; color: var(--tp-muted); line-height: 1.3; }

.tp-prose > * + * { margin-block-start: 1.05em; }
.tp-prose h2 { margin-block-start: 1.6em; margin-bottom: .2em; }
.tp-prose h2:first-child, .tp-prose > .tp-eyebrow + h2, .tp-prose > .tp-eyebrow + h3 { margin-block-start: 0 !important; }
.tp-prose h3 { margin-block-start: 1.5em; }
.tp-prose p, .tp-prose li { max-width: 70ch; }
.tp-prose ul, .tp-prose ol { padding-left: 0; list-style: none; }
.tp-prose ul li { position: relative; padding-left: 30px; }
.tp-prose ul li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--tp-ice-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231747c0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.tp-prose li + li { margin-top: .55em; }

/* Encadré « En bref » */
.tp-aside { background: var(--tp-ice); border-radius: var(--tp-r-lg); padding: 28px 28px 10px; position: sticky; top: 120px; overflow: hidden; }
.tp-aside__title { margin: 0 0 6px !important; display: inline-flex; font-size: .78rem !important; font-weight: 600; color: var(--tp-blue-2); background: #fff; padding: 6px 14px; border-radius: 999px; }
.tp-aside dl { margin: 0; }
.tp-aside dt { font-weight: 600; color: var(--tp-navy); font-size: .95rem; margin-top: 16px; }
.tp-aside dd { margin: 3px 0 0; color: var(--tp-muted); font-size: .93rem; line-height: 1.55; padding-bottom: 16px; border-bottom: 1px solid var(--tp-line); }
.tp-aside dd:last-of-type { border-bottom: 0; }
.tp-aside .tp-aside__cta { display: flex; justify-content: center; margin: 10px -28px 0; padding: 18px 28px; background: var(--tp-navy); color: #fff; text-decoration: none; font-weight: 600; }
.tp-aside .tp-aside__cta:hover { background: var(--tp-blue); }
@media (max-width: 900px) { .tp-aside { position: static; } }

/* Engagements (cartes) */
.tp-pillars { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.tp-pillars > div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--tp-r); padding: 24px; }
.tp-pillars h3 { margin: 0 0 8px; font-size: 1.08rem; color: #fff; }
.tp-pillars p { margin: 0; color: #c7d4ee; font-size: .93rem; line-height: 1.6; }
.tp-pillars__k { display: inline-flex !important; margin: 0 0 12px !important; font-family: var(--tp-display); font-size: 1.15rem !important; letter-spacing: .06em; color: var(--tp-sky) !important; white-space: nowrap; }
.tp-pillars--light > div { background: #fff; border-color: var(--tp-line); box-shadow: var(--tp-shadow-sm); }
.tp-pillars--light h3 { color: var(--tp-navy); }
.tp-pillars--light p { color: var(--tp-muted); }
.tp-pillars--light .tp-pillars__k { color: var(--tp-blue-2) !important; }
@media (max-width: 640px) { .tp-pillars { grid-template-columns: 1fr; } }

/* Étapes */
.tp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; counter-reset: tpstep; position: relative; }
.tp-steps li { counter-increment: tpstep; margin: 0; background: #fff; border-radius: var(--tp-r); padding: 26px 22px 24px; box-shadow: var(--tp-shadow-sm); border: 1px solid var(--tp-line); color: var(--tp-muted); font-size: .93rem; line-height: 1.6; position: relative; }
.tp-steps li::before {
	content: counter(tpstep); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	background: var(--tp-navy); color: #fff; font-family: var(--tp-display); font-size: 1.5rem; margin-bottom: 16px;
}
.tp-steps strong { display: block; color: var(--tp-navy); font-size: 1.02rem; margin-bottom: 6px; line-height: 1.35; font-weight: 600; }
@media (max-width: 1100px) { .tp-steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tp-steps { grid-template-columns: 1fr; } }

/* Comparatif */
.tp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tp-compare > div { background: #fff; border-radius: var(--tp-r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--tp-shadow-sm); border: 1px solid var(--tp-line); }
.tp-compare > div > *:first-child { margin-top: 0; }
.tp-compare h3 { margin-top: 0; font-family: var(--tp-display); font-weight: 400; font-size: 2rem; letter-spacing: .01em; line-height: 1; }
.tp-compare ul { padding-left: 0; list-style: none; margin: 0 0 14px; }
.tp-compare li { position: relative; padding-left: 28px; }
.tp-compare li + li { margin-top: .5em; }
.tp-compare li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 16px; border-radius: 50%; background: var(--tp-ice-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231747c0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat; }
.tp-compare p { color: var(--tp-muted); margin-bottom: 0; }
.tp-compare__note { margin-top: 20px !important; background: #fff; border-radius: var(--tp-r); padding: 18px 22px; border-left: 4px solid var(--tp-blue-2); color: var(--tp-ink); }
@media (max-width: 760px) { .tp-compare { grid-template-columns: 1fr; } }

/* Note d'expert */
.tp-note { background: var(--tp-ice); border-radius: var(--tp-r); border-left: 4px solid var(--tp-blue-2); padding: 18px 22px; margin: 1.6em 0 !important; }
.tp-note p { margin: 0; }
.tp-note strong { color: var(--tp-navy); }

/* Zones desservies */
.tp-places { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.tp-places li { margin: 0; padding: 7px 14px; border-radius: 999px; font-size: .86rem; color: var(--tp-navy); background: #fff; border: 1px solid var(--tp-line); font-weight: 500; }
.tp-mapfig { background: #fff; border-radius: var(--tp-r-lg); padding: 12px; box-shadow: var(--tp-shadow); }
.tp-map { width: 100%; height: auto; display: block; border-radius: 14px; }

/* =================================================================== FAQ */
.tp-faq { display: grid; gap: 12px; }
.tp-faq .wp-block-details { background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-r); margin: 0 !important; padding: 0 22px; box-shadow: 0 6px 18px -14px rgba(11,37,89,.3); transition: box-shadow .2s ease; }
.tp-faq .wp-block-details[open] { box-shadow: var(--tp-shadow-sm); }
.tp-faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 600; color: var(--tp-navy); font-size: 1.02rem; line-height: 1.45; }
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--tp-ice-2); color: var(--tp-blue-2); display: grid; place-items: center; font-size: 1.25rem; font-weight: 500; transition: transform .2s ease, background .2s ease; }
.tp-faq details[open] summary::after { content: "–"; background: var(--tp-navy); color: #fff; }
.tp-faq details > :not(summary) { margin: 0 0 20px; color: var(--tp-muted); max-width: 72ch; }

/* =============================================================== Appel final */
.tp-cta-wrap { padding: clamp(48px, 6vw, 80px) 0 var(--tp-section); }
.tp-cta {
	position: relative; overflow: hidden; isolation: isolate; color: #d3ddf2;
	border-radius: var(--tp-r-lg); padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
	background: var(--tp-navy);
}
.tp-cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tp-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,26,64,.94) 0%, rgba(7,26,64,.78) 55%, rgba(7,26,64,.45) 100%); }
.tp-cta__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 56px; align-items: center; }
.tp-cta h2 { color: #fff; margin: 0 0 10px; }
.tp-cta p { margin: 0; max-width: 56ch; }
.tp-cta__actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .tp-cta__grid { grid-template-columns: 1fr; } .tp-cta__actions { flex-direction: row; flex-wrap: wrap; } }
@media (max-width: 480px) { .tp-cta__actions .tp-btn-lg { flex: 1 1 100%; } }

/* Liens connexes (cartes avec photo) */
.tp-related { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
@media (max-width: 900px) { .tp-related { grid-template-columns: 1fr; } }

/* ============================================================ Formulaire */
.tp-form { background: #fff; border: 1px solid var(--tp-line); border-radius: var(--tp-r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--tp-shadow-sm); }
.tp-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.tp-form__full { grid-column: 1 / -1; }
.tp-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--tp-navy); margin-bottom: 6px; }
.tp-form label .tp-opt { font-weight: 400; color: var(--tp-muted); }
.tp-form input[type=text], .tp-form input[type=email], .tp-form input[type=tel], .tp-form input[type=date], .tp-form select, .tp-form textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--tp-ink);
	padding: 13px 15px; border: 1px solid #cfd9ea; border-radius: 12px; background: var(--tp-ice);
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.tp-form textarea { min-height: 150px; resize: vertical; }
.tp-form input:focus, .tp-form select:focus, .tp-form textarea:focus { outline: none; background: #fff; border-color: var(--tp-blue); box-shadow: 0 0 0 4px rgba(31,95,214,.14); }
.tp-form__consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--tp-muted) !important; font-size: .86rem !important; line-height: 1.55; }
.tp-form__consent input { margin-top: 4px; accent-color: var(--tp-blue-2); }
.tp-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tp-form button { margin-top: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 1rem; padding: 16px 30px; border-radius: 999px; background: var(--tp-navy); color: #fff; transition: background .2s ease, transform .18s ease; }
.tp-form button:hover { background: var(--tp-blue); transform: translateY(-2px); }
.tp-form__small { font-size: .82rem; color: var(--tp-muted); margin: 14px 0 0; }
.tp-alert { padding: 16px 18px; margin-bottom: 20px; border-radius: 12px; font-weight: 500; }
.tp-alert--ok { background: #e8f6ee; color: #1d5a31; }
.tp-alert--err { background: #fbecea; color: #7d2116; }
@media (max-width: 640px) { .tp-form__grid { grid-template-columns: 1fr; } }

.tp-contact-card { background: var(--tp-navy); color: #d3ddf2; padding: 30px; border-radius: var(--tp-r-lg); box-shadow: var(--tp-shadow); }
.tp-contact-card h2 { font-size: 1.3rem; margin: 0 0 16px; color: #fff; }
.tp-contact-card p { margin: 0 0 14px; }
.tp-contact-card a { color: #fff; }
.tp-contact-card .tp-big { font-family: var(--tp-display); font-size: 2.4rem; letter-spacing: .02em; color: #fff; text-decoration: none; display: inline-block; line-height: 1; }
.tp-contact-side > * + * { margin-top: 24px !important; }

/* Fiche d'identité */
.tp-id { display: grid; grid-template-columns: 200px 1fr; margin: 0; }
.tp-id dt, .tp-id dd { padding: 14px 0; border-bottom: 1px solid var(--tp-line); margin: 0; }
.tp-id dt { color: var(--tp-muted); font-size: .9rem; }
.tp-id dd { font-weight: 600; color: var(--tp-navy); }
@media (max-width: 600px) { .tp-id { grid-template-columns: 1fr; } .tp-id dt { border-bottom: 0; padding-bottom: 0; } }

/* ============================================================== Pied de page */
.tp-footer { background: var(--tp-deep); color: #a9b8d6; font-size: .93rem; padding-top: clamp(56px, 7vw, 88px); margin-top: 0 !important; border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0; }
.tp-footer a { color: #dbe5f8; text-decoration: none; }
.tp-footer a:hover { color: #fff; text-decoration: underline; }
.tp-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; padding-bottom: 48px; }
.tp-footer__logo { display: inline-block; background: #fff; border-radius: 16px; padding: 12px 18px; margin-bottom: 18px; line-height: 0; }
.tp-footer__logo img { width: 200px; height: auto; }
.tp-footer__name { font-size: 1.3rem; font-weight: 700; color: #fff; margin: 0 0 2px; }
.tp-footer__tag { font-family: var(--tp-display); font-size: 1.5rem; letter-spacing: .04em; color: var(--tp-sky); margin: 0 0 14px; line-height: 1.1; }
.tp-footer__title { color: #fff; font-weight: 600; font-size: .95rem; margin: 4px 0 16px; }
.tp-footer__list { list-style: none; margin: 0; padding: 0; }
.tp-footer__list li { margin: 0 0 9px; }
.tp-footer__nap { font-style: normal; line-height: 1.8; }
.tp-footer__nap strong { color: #fff; }
.tp-footer__hours { margin-top: 12px; display: inline-flex; font-size: .82rem; color: #fff; background: rgba(76,179,240,.18); padding: 6px 14px; border-radius: 999px; }
.tp-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-block: 22px 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: #8597bb; }
@media (max-width: 960px) { .tp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tp-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Barre d'appel mobile */
.tp-callbar { display: none; }
@media (max-width: 781px) {
	.tp-callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; }
	.tp-callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; font-weight: 600; text-decoration: none; font-size: .95rem; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(7,26,64,.5); }
	.tp-callbar__tel { background: #fff; color: var(--tp-navy); border: 1px solid var(--tp-line); }
	.tp-callbar__devis { background: var(--tp-navy); color: #fff; }
	body { padding-bottom: 76px; }
}

/* Apparition douce au défilement */
@media (prefers-reduced-motion: no-preference) {
	.tp-js .tp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
	.tp-js .tp-reveal.is-in { opacity: 1; transform: none; }
}

/* Engagements sur 4 colonnes avec icône */
.tp-pillars--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.tp-pillars--4 .tp-ico { margin-bottom: 18px; }
@media (max-width: 1000px) { .tp-pillars--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .tp-pillars--4 { grid-template-columns: 1fr; } }
.tp-hero .tp-hero__motto { background: rgba(255,255,255,.14); color: #fff; }
.tp-prose ul.tp-places li { padding-left: 14px; }
.tp-prose ul.tp-places li::before { display: none; }
.tp-section--navy .tp-head p { color: #c7d4ee; }

/* ============================================================== BLOG */
.tp-pagehead--article .tp-pagehead__title { max-width: 26ch; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem) !important; }
.tp-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 22px; font-size: .86rem; color: #c7d4ee; }
.tp-article-meta span + span::before { content: "·"; margin-right: 18px; opacity: .6; }
.tp-pill--light { background: rgba(255,255,255,.16) !important; color: #fff !important; margin: 0 !important; text-decoration: none; }
.tp-pill--light::before { display: none; }

.tp-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.tp-article-layout > * { margin-block-start: 0 !important; }
@media (max-width: 1000px) { .tp-article-layout { grid-template-columns: minmax(0, 1fr); } .tp-article-side { order: -1; position: static !important; } .tp-side-cta { display: none; } }

.tp-article { font-size: 1.06rem; line-height: 1.8; color: #1d2940; max-width: 760px; }
.tp-article > * + * { margin-block-start: 1.15em !important; }
.tp-article > p:first-child { font-size: 1.15rem; color: var(--tp-navy); line-height: 1.75; }
.tp-article h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem); margin-block-start: 2.1em !important; margin-bottom: .1em; scroll-margin-top: 120px; }
.tp-article h3 { font-size: 1.2rem; margin-block-start: 1.7em !important; }
.tp-article ul, .tp-article ol { padding-left: 0; list-style: none; }
.tp-article ul > li { position: relative; padding-left: 30px; }
.tp-article ul > li::before { content: ""; position: absolute; left: 0; top: .5em; width: 18px; height: 18px; border-radius: 50%; background: var(--tp-ice-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231747c0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.tp-article ol { counter-reset: tpol; }
.tp-article ol > li { counter-increment: tpol; position: relative; padding-left: 42px; }
.tp-article ol > li::before { content: counter(tpol); position: absolute; left: 0; top: .1em; width: 28px; height: 28px; border-radius: 50%; background: var(--tp-navy); color: #fff; display: grid; place-items: center; font-size: .82rem; font-weight: 600; }
.tp-article li + li { margin-top: .6em; }
.tp-article a { font-weight: 500; }
.tp-article strong { color: var(--tp-navy); }

/* Encadré « L'essentiel » */
.tp-keypoints { background: linear-gradient(135deg, var(--tp-navy), var(--tp-navy-2)); color: #e3eaf8; border-radius: var(--tp-r-lg); padding: 26px 28px; box-shadow: var(--tp-shadow); }
.tp-keypoints > * + * { margin-top: .6em !important; }
.tp-keypoints .tp-keypoints__title { font-family: var(--tp-display); font-size: 1.6rem; letter-spacing: .03em; color: var(--tp-sky); margin: 0 0 6px !important; line-height: 1; }
.tp-keypoints ul > li { color: #e3eaf8; }
.tp-keypoints ul > li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234cb3f0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.tp-keypoints strong { color: #fff; }

/* Figures et tableaux dans les articles */
.tp-article figure.wp-block-image { margin: 2em 0 !important; }
.tp-article figure.wp-block-image img { border-radius: var(--tp-r-lg); box-shadow: var(--tp-shadow); width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.tp-article figcaption { font-size: .85rem; color: var(--tp-muted); text-align: center; margin-top: 10px; }
.tp-article .wp-block-table { overflow-x: auto; margin: 1.8em 0 !important; }
.tp-article table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .94rem; border: 1px solid var(--tp-line); border-radius: var(--tp-r); overflow: hidden; }
.tp-article thead th { background: var(--tp-navy); color: #fff; text-align: left; font-weight: 600; padding: 13px 16px; }
.tp-article td { padding: 12px 16px; border-top: 1px solid var(--tp-line); vertical-align: top; }
.tp-article tbody tr:nth-child(even) td { background: var(--tp-ice); }
.tp-article .tp-faq { margin-top: 1em !important; }

/* Sommaire + appel latéral */
.tp-article-side { position: sticky; top: 120px; display: grid; gap: 20px; }
.tp-toc { background: var(--tp-ice); border-radius: var(--tp-r-lg); padding: 22px 24px; }
.tp-toc__title { font-family: var(--tp-display); font-size: 1.4rem; letter-spacing: .03em; color: var(--tp-navy); margin: 0 0 10px; line-height: 1; }
.tp-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.tp-toc li { counter-increment: toc; margin: 0; }
.tp-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 8px 0; border-top: 1px solid var(--tp-line); color: var(--tp-ink); text-decoration: none; font-size: .9rem; line-height: 1.45; }
.tp-toc li:first-child a { border-top: 0; }
.tp-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--tp-blue-2); font-weight: 600; font-size: .8rem; padding-top: 1px; }
.tp-toc a:hover { color: var(--tp-blue-2); }
.tp-side-cta { background: var(--tp-navy); color: #c7d4ee; border-radius: var(--tp-r-lg); padding: 24px; font-size: .92rem; }
.tp-side-cta__title { color: #fff; font-weight: 700; font-size: 1.1rem; margin: 0 0 8px; }
.tp-side-cta p { margin: 0 0 16px; }
.tp-side-cta .tp-btn-lg { width: 100%; box-sizing: border-box; }
.tp-side-cta__tel { display: block; text-align: center; margin-top: 12px; color: #fff !important; font-weight: 600; text-decoration: none; }

/* Liste d'articles */
.tp-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.tp-filters a { padding: 9px 18px; border-radius: 999px; background: var(--tp-ice); color: var(--tp-navy); text-decoration: none; font-size: .9rem; font-weight: 500; border: 1px solid var(--tp-line); }
.tp-filters a:hover { border-color: var(--tp-navy); }
.tp-filters a[aria-current] { background: var(--tp-navy); color: #fff; border-color: var(--tp-navy); }
.tp-card__meta { font-size: .8rem; color: var(--tp-muted); margin-bottom: 8px; }
.tp-card__title--post { font-family: var(--tp-sans); font-size: 1.12rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.tp-card--post .tp-card__no { max-width: calc(100% - 28px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 44px; }
.tp-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; box-sizing: border-box; display: inline-grid; place-items: center; border-radius: 999px; background: var(--tp-ice); color: var(--tp-navy); text-decoration: none; font-weight: 600; }
.tp-pagination .page-numbers.current { background: var(--tp-navy); color: #fff; }
.tp-link-more { font-weight: 600; text-decoration: none; }

/* Boutons d'action dans les articles */
.tp-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap; background: linear-gradient(120deg, var(--tp-navy) 0%, var(--tp-blue-2) 140%); color: #d3ddf2; border-radius: var(--tp-r-lg); padding: 24px 28px; margin: 2.2em 0 !important; box-shadow: var(--tp-shadow); }
.tp-inline-cta p { margin: 0; font-size: .95rem; }
.tp-inline-cta .tp-inline-cta__title { color: #fff; font-weight: 700; font-size: 1.15rem; margin-bottom: 4px; }
.tp-inline-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-inline-cta .tp-btn-lg { padding: 13px 22px; font-size: .92rem; }
.tp-end-cta { margin-top: 2.6em !important; border: 1px solid var(--tp-line); background: var(--tp-ice); border-radius: var(--tp-r-lg); padding: 28px; }
.tp-end-cta p { margin: 0 0 16px; color: var(--tp-muted); }
.tp-end-cta .tp-end-cta__title { font-size: 1.3rem; font-weight: 700; color: var(--tp-navy); margin-bottom: 8px; }
.tp-end-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-end-cta .tp-btn-lg { padding: 13px 22px; font-size: .92rem; }
.tp-article .tp-inline-cta a, .tp-article .tp-end-cta a { font-weight: 600; }
@media (max-width: 560px) { .tp-inline-cta__actions .tp-btn-lg, .tp-end-cta__actions .tp-btn-lg { flex: 1 1 100%; } }
.tp-article { min-width: 0; }
@media (max-width: 640px) {
	.tp-article table { font-size: .84rem; }
	.tp-article thead th, .tp-article td { padding: 10px 10px; }
	.tp-article { font-size: 1rem; }
}
