/*
Theme Name: Kpeto Portfolio
Description: Thème portfolio clair (bleu, blanc, noir) pour Dr Kounde Innocent Kpeto, pharmacien sénior. Une page par rubrique : accueil, À propos, Expertises, Portfolio, Médias, Blog, Conseils, Contact. Bouton WhatsApp et retour en haut. Aucune dépendance.
Version: 1.1.0
Requires at least: 6.3
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: kpeto-portfolio
Tags: portfolio, one-column, light, blue, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   Variables : bleu, blanc, noir
   ========================================================================== */
:root {
	--ink: #0b1220;
	--bg: #f3f7ff;
	--bg-soft: #e6eefc;
	--surface: #ffffff;
	--text: #0b1220;
	--muted: #46536d;
	--accent: #1a56db;
	--accent-text: #ffffff;
	--accent-soft: #e3ecfd;
	--deep: #0a1e5c;
	--line: #d5e0f4;
	--shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 8px 24px rgba(26, 86, 219, .07);
	--radius: 12px;
	--container: 1140px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-title: "Iowan Old Style", "Palatino Linotype", Palatino, Charter, Georgia, "Times New Roman", serif;
}
@supports (color: color-mix(in srgb, red, blue)) {
	:root {
		--accent-soft: color-mix(in srgb, var(--accent) 11%, white);
		--deep: color-mix(in srgb, var(--accent) 38%, #000);
	}
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--text);
	background: var(--bg);
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.15; font-family: var(--font-title); font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section--tight { padding-top: 2.25rem; }
.section--soft { background: var(--bg-soft); }

.kicker { margin: 0 0 .5rem; font-size: .95rem; font-weight: 600; }

.section__head { max-width: 640px; margin-bottom: 2.25rem; }
.section__head p { color: var(--muted); margin-bottom: 0; }
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; max-width: none; }
.section__head--row h2 { margin-bottom: .25rem; }
.more-link { font-weight: 700; }
.more-link::after { content: " \2192"; }

.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 !important;
	top: .5rem; left: .5rem;
	width: auto; height: auto;
	clip: auto;
	padding: .6rem 1rem;
	color: var(--accent-text);
	background: var(--accent);
	z-index: 100000;
	border-radius: 8px;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
#top:focus { outline: none; }

/* ==========================================================================
   Boutons
   ========================================================================== */
.btn,
.wp-element-button,
button[type="submit"],
input[type="submit"] {
	display: inline-block;
	padding: .8rem 1.5rem;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	color: var(--accent-text);
	background: var(--accent);
	border: 2px solid var(--accent);
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover, button[type="submit"]:hover, input[type="submit"]:hover {
	background: var(--deep);
	border-color: var(--deep);
	color: #fff;
	text-decoration: none;
}
.btn--ghost { color: var(--accent); background: transparent; border-color: var(--accent); }
.btn--ghost:hover { color: #fff; }
.btn--light { color: var(--deep); background: #fff; border-color: #fff; }
.btn--light:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.btn--outline-light { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { color: var(--deep); background: #fff; border-color: #fff; }
.btn--whatsapp { background: #128c4a; border-color: #128c4a; }
.btn--whatsapp:hover { background: #0b6b38; border-color: #0b6b38; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ==========================================================================
   Formulaires
   ========================================================================== */
label { display: block; margin-bottom: .35rem; font-size: .9rem; font-weight: 600; }
input[type="text"], input[type="email"], input[type="search"], textarea {
	width: 100%;
	padding: .8rem 1rem;
	font: inherit;
	color: var(--text);
	background: #fff;
	border: 1px solid #b9c8e4;
	border-radius: 10px;
}
input:focus, textarea:focus { border-color: var(--accent); outline: 3px solid var(--accent-soft); }
textarea { min-height: 150px; resize: vertical; }
.field { margin-bottom: 1.1rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.site-title { font-family: var(--font-title); font-size: 1.3rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.site-title:hover { text-decoration: none; color: var(--accent); }
.custom-logo { max-height: 40px; width: auto; }

.site-nav { flex: 1; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; justify-content: flex-end; }
.site-nav a { display: block; padding: .35rem 0; color: var(--muted); font-weight: 600; font-size: .95rem; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav .current-menu-item > a,
.site-nav .current-menu-parent > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current_page_item > a { color: var(--accent); border-bottom-color: var(--accent); }
.header-cta { margin-left: .5rem; padding: .55rem 1.1rem; font-size: .9rem; }

.menu-toggle {
	display: none;
	margin-left: auto;
	padding: .5rem .9rem;
	font: inherit;
	font-weight: 600;
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	cursor: pointer;
}

@media (max-width: 960px) {
	.header-inner { flex-wrap: wrap; gap: .75rem; padding-top: .6rem; padding-bottom: .6rem; }
	.menu-toggle { display: inline-block; }
	.header-cta { display: none; }
	.site-nav { display: none; flex-basis: 100%; }
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; gap: 0; justify-content: flex-start; }
	.site-nav li a { padding: .8rem 0; border-bottom: 0; border-top: 1px solid var(--line); }
}

/* ==========================================================================
   Accueil : bandeau de présentation (bleu)
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	padding: 5.5rem 0 5rem;
	color: #fff;
	background:
		radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255, 255, 255, .16), transparent 60%),
		linear-gradient(135deg, var(--deep) 0%, var(--accent) 100%);
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
	mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr 1fr; gap: 3.5rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .25em; font-size: clamp(2.6rem, 7vw, 4.6rem); }
.hero__hello { margin: 0 0 .5rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.hero__role { margin-bottom: 1rem; font-family: var(--font-title); font-size: clamp(1.2rem, 2.6vw, 1.65rem); font-weight: 600; color: #fff; }
.hero__intro { max-width: 600px; margin-bottom: 2rem; font-size: 1.12rem; color: rgba(255, 255, 255, .88); }

.hero__panel-title { margin: 0 0 .75rem; font-family: var(--font-title); font-size: 1.15rem; font-weight: 700; }
.hero__panel ul { margin: 0 0 1.1rem; padding: 0; list-style: none; }
.hero__panel li { padding: .65rem 0; font-weight: 600; border-top: 1px solid var(--line); }
.hero__panel a { font-weight: 700; }
.hero__panel a::after { content: " \2192"; }

.hero__photo img {
	width: 100%;
	max-width: 380px;
	margin-left: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius);
	border: 4px solid rgba(255, 255, 255, .9);
	box-shadow: 0 20px 50px rgba(3, 12, 48, .35);
}
@media (max-width: 860px) {
	.hero { padding: 3.25rem 0; }
	.hero__inner { grid-template-columns: 1fr; gap: 2.25rem; }
	.hero__photo { order: -1; }
	.hero__photo img { margin: 0; max-width: 240px; }
}

/* ==========================================================================
   À propos
   ========================================================================== */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.about__text { font-size: 1.08rem; color: var(--muted); max-width: 66ch; }
.about__photo { margin-bottom: 1.5rem; }
.about__photo img { width: 100%; max-width: 300px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about .entry-content { margin-bottom: 1.5rem; }
.facts { margin: 0; padding: 1.5rem; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.facts li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts li:first-child { padding-top: 0; }
.facts li:last-child { padding-bottom: 0; border-bottom: 0; }
.facts span { display: block; font-size: .88rem; font-weight: 700; color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 2rem; } }

/* ==========================================================================
   Services
   ========================================================================== */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.service { padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow); }
.service h3 { margin-bottom: .5rem; }
.service p { margin: 0; color: var(--muted); }
.services + .entry-content { margin-top: 3rem; }

/* ==========================================================================
   Cartes (réalisations, actualités, astuces) et filtres
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.filters a {
	display: inline-block;
	padding: .45rem 1rem;
	font-size: .92rem;
	font-weight: 600;
	color: var(--muted);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
}
.filters a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.filters a.is-active { color: var(--accent-text); background: var(--accent); border-color: var(--accent); }
.filters small { opacity: .75; margin-left: .25rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); text-decoration: none; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--accent-soft), var(--bg-soft)); }
.card__body { flex: 1; padding: 1.1rem 1.3rem 1.3rem; }
.card__body h3 { margin: .35rem 0 .35rem; }
.card__excerpt { margin: 0 0 .75rem; font-size: .95rem; color: var(--muted); }
.card__meta { margin: 0; font-size: .85rem; color: var(--muted); }
.card__more { margin: 0; font-size: .92rem; font-weight: 700; color: var(--accent); }
.card__more::after { content: " \2192"; }
.card--tip { border-left: 4px solid var(--accent); }
.card--tip .card__body { padding: 1.4rem 1.5rem; }

.tag { display: inline-block; padding: .1rem .65rem; font-size: .82rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; }
a.tag:hover { text-decoration: none; background: var(--accent); color: var(--accent-text); }

/* Pages d'archive et de contenu */
.page-hero { padding: 3.5rem 0 1.25rem; background: linear-gradient(180deg, var(--bg-soft), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: .3em; font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero__text { max-width: 62ch; margin-bottom: 1.25rem; color: var(--muted); font-size: 1.1rem; }

.project__media { margin: 0 0 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); box-shadow: var(--shadow); }
.project__layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; }
.project__details { padding: 1.5rem; margin: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.project__details li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.project__details li:first-child { padding-top: 0; }
.project__details li:last-child { padding-bottom: 0; border-bottom: 0; }
.project__details span { display: block; font-size: .88rem; font-weight: 700; color: var(--muted); }
.project__details .btn { margin-top: 1rem; }
@media (max-width: 860px) { .project__layout { grid-template-columns: 1fr; gap: 2rem; } }

.post-navigation { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 1rem; }
.share { margin: 2rem 0 0; }

/* ==========================================================================
   Compétences
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.chips li { padding: .5rem 1.1rem; font-weight: 600; font-size: .95rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; }

/* ==========================================================================
   Parcours
   ========================================================================== */
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
@media (max-width: 860px) { .columns { grid-template-columns: 1fr; gap: 3rem; } }

.timeline { margin: 0; padding: 0 0 0 1.5rem; list-style: none; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.75rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
	content: "";
	position: absolute;
	left: calc(-1.5rem - 7px);
	top: .45rem;
	width: 12px; height: 12px;
	background: var(--accent);
	border: 2px solid var(--bg);
	border-radius: 50%;
}
.timeline__date { display: block; font-size: .88rem; font-weight: 700; color: var(--accent); }
.timeline h3 { margin: .15rem 0 .2rem; font-size: 1.12rem; }
.timeline p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact__info p { color: var(--muted); }
.social { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.social a { display: inline-block; padding: .45rem 1rem; font-size: .9rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.social a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.contact__form { padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-notice { margin-bottom: 1.25rem; padding: .9rem 1.1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); }
.form-notice--ok { border-color: #1f9d63; background: #e8f7ef; }
.form-notice--error { border-color: #d6393f; background: #fdecee; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 2rem; } }

/* ==========================================================================
   Bandeau d'appel à l'action (noir)
   ========================================================================== */
.cta-band { padding: 3.25rem 0; color: #fff; background: var(--ink); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { margin-bottom: .2em; color: #fff; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .78); }
.cta-band .btn--light:hover { color: var(--ink); background: var(--accent-soft); border-color: var(--accent-soft); }

/* ==========================================================================
   Contenu standard (pages, articles)
   ========================================================================== */
.content-narrow { max-width: 760px; margin: 0 auto; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; color: var(--muted); font-size: .92rem; }
.entry-content { color: #1f2a44; }
.entry-content a { text-decoration: underline; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; }
.entry-content li { margin-bottom: .4rem; }
.post-thumbnail { margin-bottom: 1.5rem; border-radius: var(--radius); overflow: hidden; }
.pagination, .navigation.pagination { margin-top: 2.5rem; text-align: center; }
.page-numbers { display: inline-block; padding: .4rem .85rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.page-numbers.current, .page-numbers:hover { color: var(--accent-text); background: var(--accent); border-color: var(--accent); text-decoration: none; }

/* ==========================================================================
   Pied de page (noir)
   ========================================================================== */
.site-footer { padding: 3.25rem 0 0; font-size: .95rem; color: rgba(255, 255, 255, .72); background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem 3rem; padding-bottom: 2.5rem; }
.footer-about p { margin: 0 0 .25rem; }
.footer-name { font-family: var(--font-title); font-size: 1.3rem; font-weight: 700; color: #fff; }
.footer-nav ul, .footer-links { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.footer-nav ul { grid-template-columns: 1fr 1fr; }
.footer-legal { padding-top: 1.25rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.footer-legal p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Boutons flottants : WhatsApp et retour en haut
   ========================================================================== */
.floating-actions { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.fab {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	padding: 0;
	color: #fff;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 6px 18px rgba(11, 18, 32, .3);
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease;
}
.fab:hover { transform: scale(1.07); text-decoration: none; color: #fff; }
.fab[hidden] { display: none; }
.fab--whatsapp { width: 58px; height: 58px; background: #128c4a; }
.fab--whatsapp:hover { background: #0b6b38; }
.fab--top { width: 46px; height: 46px; background: var(--ink); border: 2px solid #fff; }
.fab--top:hover { background: var(--accent); }
@media (max-width: 480px) { .floating-actions { right: .75rem; bottom: .75rem; } }

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


/* ==========================================================================
   Kpeto : compléments
   ========================================================================== */
.hero__photo img { width: 100%; max-width: 380px; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border: 4px solid rgba(255, 255, 255, .9); border-radius: 999px 999px var(--radius) var(--radius); box-shadow: 0 20px 50px rgba(3, 12, 48, .35); }
@media (max-width: 860px) { .hero__photo img { max-width: 260px; margin: 0; } }
.hero__intro { max-width: 56ch; }

.lead { max-width: 70ch; margin-bottom: 2.5rem; font-size: 1.12rem; color: var(--muted); }
.btn-row--spaced { margin-top: 2rem; }
.about__photo img { max-width: 340px; }
.about--home .about__photo img { max-width: 100%; }
.about__text p { margin-bottom: 1em; }

.services--lists { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.service ul, .check-list { margin: 0; padding: 0; list-style: none; }
.service li, .check-list li { position: relative; padding: .45rem 0 .45rem 1.6rem; color: var(--muted); }
.service li::before, .check-list li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 10px; height: 10px; background: linear-gradient(var(--accent), var(--accent)) center / 100% 3px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 3px 100% no-repeat; }
.service .more-link { display: inline-block; margin-top: 1rem; }

.card--media .card__media { background: #fff; }
.card--media .card__media img { object-fit: contain; padding: 1rem; object-position: center; }
.card--media:hover .card__media img { transform: none; }
.card__placeholder--play { background: linear-gradient(135deg, var(--accent-soft), var(--bg-soft)); position: relative; }
.card__placeholder--play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: -20px 0 0 -12px; border-left: 34px solid var(--accent); border-top: 20px solid transparent; border-bottom: 20px solid transparent; }

.quote-band { padding: 4rem 0; color: #fff; background: linear-gradient(135deg, var(--deep), var(--accent)); }
.quote-band__inner { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: center; }
.quote-band__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 20%; border-radius: 999px 999px var(--radius) var(--radius); border: 4px solid rgba(255, 255, 255, .9); }
.quote-band figure { margin: 0; }
.quote-band blockquote { margin: 0 0 1.25rem; font-family: var(--font-title); font-size: clamp(1.3rem, 2.8vw, 1.9rem); line-height: 1.35; }
.quote-band blockquote p { margin: 0; }
.quote-band figcaption { color: rgba(255, 255, 255, .85); }
@media (max-width: 760px) { .quote-band__inner { grid-template-columns: 1fr; gap: 1.75rem; } .quote-band__photo { max-width: 200px; } }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.quotes blockquote { margin: 0; padding: 1.5rem 1.75rem; background: #fff; border-left: 4px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow); }
.quotes blockquote p { margin: 0 0 .75rem; font-family: var(--font-title); font-size: 1.15rem; line-height: 1.45; }
.quotes footer { font-weight: 700; color: var(--muted); }
.closing { text-align: center; }
.closing p { color: var(--muted); font-size: 1.1rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.stats li { padding: 1.5rem; font-weight: 700; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stats strong { font-family: var(--font-title); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.stats span { display: block; margin-top: .4rem; font-weight: 500; color: var(--muted); }

.timeline ul { margin: .5rem 0 0; padding: 0; list-style: none; }
.timeline ul li { position: static; padding: .2rem 0; font-size: .95rem; color: var(--muted); }
.timeline ul li::before { display: none; }
.timeline__place { margin-bottom: .25rem; }
.columns .chips { margin-top: 1.5rem; }

.gallery { columns: 3 240px; column-gap: 1rem; }
.gallery img { width: 100%; margin: 0 0 1rem; border-radius: var(--radius); break-inside: avoid; box-shadow: var(--shadow); }

.contact__list { margin: 0 0 1.5rem; }
.contact__list dt { font-size: .88rem; font-weight: 700; color: var(--muted); }
.contact__list dd { margin: 0 0 1rem; }
.map { margin-top: 3rem; }
.map iframe { display: block; width: 100%; height: 360px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

.footer-contact p { margin: 0 0 .35rem; }
.footer-contact .footer-name, .footer-about .footer-name { margin-bottom: .5rem; }

/* ==========================================================================
   Pages construites avec Elementor : pleine largeur, sans marge du thème
   ========================================================================== */
.kpeto-elementor { width: 100%; }
.kpeto-elementor::after { content: ""; display: table; clear: both; }
