/* =============================================================
   Koriburi Art — surcouche maison.
   Chargée APRÈS theme.css : ne jamais modifier theme.css.
   ============================================================= */

:root {
	/* Teal du thème (boutons btn-primary). Un seul endroit à ajuster
	   si la valeur exacte de theme.css diffère. */
	--kam-accent: #16c2b3;
	--kam-ink:    #16181a;
	--kam-dark:   #131517;
}

/* -------------------------------------------------------------
   1. H1 discret sur la page d'accueil
   Posé sous le carrousel plein écran, volontairement effacé :
   petite capitale espacée, blanc à 55 %. Lisible pour un humain,
   pleinement indexable, sans concurrencer les slides.
   ------------------------------------------------------------- */
#tt-intro .gl-carousel-wrap {
	position: relative; /* sert de repère au positionnement du H1 ci-dessous */
}

.tt-baseline {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 38px;
	z-index: 20;
	margin: 0;
	padding: 0 20px;
	text-align: center;
	pointer-events: none;
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 2.4px;
	text-transform: uppercase;
	color: #fff;
	opacity: .55;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}

@media (max-width: 767px) {
	.tt-baseline {
		bottom: 24px;
		font-size: 9px;
		letter-spacing: 1.6px;
	}
}

/* -------------------------------------------------------------
   2. Ligne « Sur devis » dans les blocs tarifs
   ------------------------------------------------------------- */
.price-box-price .price-quote {
	font-size: 22px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* =============================================================
   3. PAGE VIDÉO — Koriburi Art Media
   Bloc entièrement autonome, préfixé #kam, pour ne dépendre
   d'aucune grille de theme.css (c'est elle qui débordait).

   Parti pris : toutes les images de cette page sont verrouillées
   en 16/9. Le site photo vit en ratios libres ; le 16/9 est le
   seul signal dont la page a besoin pour dire « ici, ça bouge ».
   ============================================================= */

#kam {
	font-family: 'Poppins', sans-serif;
	color: var(--kam-ink);
}

#kam *,
#kam *::before,
#kam *::after {
	box-sizing: border-box;
}

.kam-wrap {
	width:95%;
	max-width: 1560px;
	margin: 0 auto;
	padding: 0 clamp(20px, 4vw, 50px);
}

.kam-section {
	padding: clamp(60px, 8vw, 110px) 0;
}

#kam h1,
#kam h2,
#kam h3 {
	margin: 0;
	font-weight: 600;
	letter-spacing: -.01em;
	line-height: 1.12;
}

#kam p {
	margin: 0 0 1.1em;
}

.kam-kicker {
	margin: 0 0 18px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--kam-accent);
}

.kam-rule {
	width: 56px;
	height: 3px;
	margin: 0 0 28px;
	border: 0;
	background: var(--kam-accent);
}

/* ---------- 3.1 Hero ---------- */
.kam-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(78vh, 720px);
	padding: clamp(50px, 8vw, 96px) 0;
	background-color: var(--kam-dark);
	background-size: cover;
	background-position: 50% 42%;
	color: #fff;
	overflow: hidden;
}

.kam-hero::after {
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background: linear-gradient(
		to bottom,
		rgba(10, 11, 12, .72) 0%,
		rgba(10, 11, 12, .42) 42%,
		rgba(10, 11, 12, .88) 100%
	);
}

.kam-hero .kam-wrap {
	position: relative;
	z-index: 2;
	width: 100%;
}

.kam-hero h1 {
	max-width: 16ch;
	font-size: clamp(38px, 6vw, 76px);
	color: #fff;
}

.kam-hero .kam-lede {
	max-width: 54ch;
	margin: 26px 0 34px;
	font-size: clamp(16px, 1.35vw, 19px);
	line-height: 1.65;
	color: rgba(255, 255, 255, .78);
}

/* ---------- 3.2 Extrait vidéo (16/9) ---------- */
.kam-reel {
	padding: clamp(40px, 6vw, 80px) 0;
	background: var(--kam-dark);
}

.kam-ratio {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	overflow: hidden;
}

.kam-ratio > iframe,
.kam-ratio > img,
.kam-ratio > video {
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
	display: block;
}

.kam-reel .kam-ratio {
	max-width: 1180px;
	margin: 0 auto;
}

/* ---------- 3.3 Intro ---------- */
.kam-intro {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(30px, 5vw, 80px);
	align-items: start;
}

.kam-intro h2 {
	font-size: clamp(26px, 2.6vw, 36px);
}

.kam-intro-body {
	font-size: clamp(15px, 1.2vw, 17px);
	line-height: 1.75;
	color: #3c4247;
}

.kam-intro-body p:last-child {
	margin-bottom: 0;
}

/* ---------- 3.4 Prestations ---------- */
.kam-services {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 44px);
	margin-top: clamp(46px, 6vw, 78px);
}

.kam-service {
	display: flex;
	flex-direction: column;
}

.kam-service .kam-ratio {
	margin-bottom: 24px;
	filter: saturate(.9);
	transition: filter .35s ease;
}

.kam-service:hover .kam-ratio {
	filter: saturate(1.05);
}

.kam-service h3 {
	padding-top: 18px;
	border-top: 2px solid var(--kam-accent);
	font-size: clamp(19px, 1.7vw, 23px);
}

.kam-service ul {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.kam-service li {
	position: relative;
	padding: 11px 0 11px 20px;
	border-bottom: 1px solid rgba(22, 24, 26, .09);
	font-size: 14.5px;
	line-height: 1.55;
	color: #4a5055;
}

.kam-service li::before {
	content: "";
	position: absolute;
	top: 20px;
	left: 0;
	width: 9px;
	height: 1px;
	background: var(--kam-accent);
}

.kam-service li:last-child {
	border-bottom: 0;
}

/* ---------- 3.5 Références ---------- */
.kam-clients {
	padding: clamp(48px, 6vw, 76px) 0;
	background: var(--kam-dark);
	color: #fff;
	text-align: center;
}

.kam-clients .kam-kicker {
	margin-bottom: 26px;
}

.kam-clients ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px clamp(28px, 5vw, 64px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.kam-clients li {
	font-size: clamp(15px, 1.5vw, 20px);
	font-weight: 500;
	letter-spacing: .04em;
	color: rgba(255, 255, 255, .82);
}

/* ---------- 3.6 Matériel ---------- */
.kam-gear {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(30px, 5vw, 80px);
	align-items: start;
}

.kam-gear h2 {
	font-size: clamp(26px, 2.6vw, 36px);
}

.kam-gear-note {
	max-width: 40ch;
	font-size: 15px;
	line-height: 1.7;
	color: #4a5055;
}

.kam-gear dl {
	margin: 0;
	border-top: 1px solid rgba(22, 24, 26, .1);
}

.kam-gear dt {
	padding-top: 18px;
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	color: var(--kam-accent);
}

.kam-gear dd {
	margin: 4px 0 0;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(22, 24, 26, .1);
	font-size: 15.5px;
	line-height: 1.55;
}

.kam-gear dd em {
	display: block;
	margin-top: 3px;
	font-style: normal;
	font-size: 14px;
	color: #6a7176;
}

/* ---------- 3.7 Appel final ---------- */
.kam-cta {
	padding: clamp(56px, 7vw, 96px) 0;
	background: #f4f5f6;
}

.kam-cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.kam-cta h2 {
	max-width: 20ch;
	font-size: clamp(24px, 2.4vw, 34px);
}

.kam-cta p {
	max-width: 46ch;
	margin: 14px 0 0;
	font-size: 15.5px;
	line-height: 1.7;
	color: #4a5055;
}

.kam-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- 3.8 Adaptations ---------- */
@media (max-width: 991px) {
	.kam-services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.kam-intro,
	.kam-gear {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	.kam-services {
		grid-template-columns: minmax(0, 1fr);
	}
	.kam-hero {
		min-height: 62vh;
	}
}

/* Repli pour les navigateurs sans aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
	.kam-ratio {
		height: 0;
		padding-top: 56.25%;
	}
}

/* -------------------------------------------------------------
   4. Accessibilité
   ------------------------------------------------------------- */
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--kam-accent);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.animsition,
	.animsition-overlay,
	.kam-service .kam-ratio {
		animation-duration: 1ms !important;
		transition-duration: 1ms !important;
	}
}