/* Marges de page a l'impression. Hors de toute @media : @page ne concerne
   que les medias pagines, et y est honore plus surement. */
@page {
	margin: 14mm 12mm 16mm;
}

/* Mariage Capucine & Killian — site public
   Palette du Generalife : vert cyprès, papier crème, terracotta en accent unique. */

:root {
	--vert: #2c4636;
	--vert-fonce: #163021;
	--papier: #f2ede3;
	--papier-clair: #f8f3e9;
	--blanc: #ffffff;
	--terracotta: #c1714f;
	--terracotta-fonce: #a85e3e;
	--sauge: #8a9a83;
	--sauge-clair: #c2c8c1;
	--texte-doux: #5c6b5e;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--papier);
	color: var(--vert);
	font-family: 'Karla', system-ui, -apple-system, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Hauteur de la barre de navigation, réservée sous le contenu */
:root { --nav-h: 60px; }

/* Les marges latérales sont portées ici : le contenu vient de Gutenberg
   et n'est plus enveloppé dans des conteneurs à marges. */
:root { --marge: clamp(20px, 5.5vw, 30px); }

main {
	display: block;
	max-width: 520px;
	margin: 0 auto;
	width: 100%;
	padding: calc(clamp(28px, 7vw, 44px) + env(safe-area-inset-top, 0px))
	         var(--marge)
	         clamp(48px, 12vw, 72px);
}

/* Les pages à navigation réservent la place en bas, sinon la barre
   recouvre les dernières lignes. */
body.kc-avec-nav main {
	padding-bottom: clamp(24px, 6vw, 36px);
}

/* C'est le dernier élément de la page qui réserve la hauteur de la barre. */
body.kc-avec-nav .kc-pied {
	padding-bottom: calc(var(--nav-h) + clamp(24px, 6vw, 36px) + env(safe-area-inset-bottom, 0px));
}

/* Pages sans pied de page : la réserve reste sur le contenu */
body.kc-avec-nav main:last-of-type {
	padding-bottom: clamp(24px, 6vw, 36px);
}

.kc-pad { padding: 0; }
.kc-haut { padding-top: 0; }
.kc-centre { text-align: center; }
.kc-petit { font-size: 14px; }
.kc-doux { color: var(--texte-doux); }
.kc-note { margin-top: 24px; }

/* —— Typographie —— */

h1 {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 400;
	font-size: clamp(30px, 8.5vw, 42px);
	line-height: 1.15;
	letter-spacing: -.01em;
	margin: 14px 0 clamp(14px, 3.5vw, 20px);
	hyphens: none;
}

h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 400;
	font-size: clamp(17px, 4.8vw, 20px);
	line-height: 1.3;
	margin: 0;
}

p { margin: 0; }
p + p { margin-top: 12px; }

/* —— Liens ——
   Le bleu par défaut du navigateur jure avec la palette :
   on garde le soulignement, on change la couleur. */

a {
	color: var(--terracotta);
	text-decoration: underline;
	text-underline-offset: .18em;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(193, 113, 79, .45);
	transition: color .15s, text-decoration-color .15s;
}

a:hover {
	color: var(--terracotta-fonce);
	text-decoration-color: currentColor;
}

a:focus-visible {
	outline: 2px solid var(--terracotta);
	outline-offset: 3px;
}

/* Les éléments déjà stylisés ne prennent ni soulignement ni couleur de lien.
   a:hover est plus spécifique que .kc-btn : il faut le contrer explicitement,
   sinon le libellé disparaît sur le fond au survol. */
.kc-btn,
.kc-btn:hover,
.kc-btn:focus,
.kc-lien,
.kc-nav a,
.kc-carte,
.kc-tuile-info {
	text-decoration: none;
}

.kc-btn,
.kc-btn:hover,
.kc-btn:focus {
	color: #fff;
}

.kc-btn--ligne,
.kc-btn--ligne:hover,
.kc-btn--ligne:focus {
	color: var(--vert);
}

.kc-lien:hover {
	color: var(--terracotta);
}

.kc-carte:hover,
.kc-tuile-info:hover,
.kc-carte:hover .kc-tuile-titre,
.kc-tuile-info:hover .kc-tuile-titre {
	color: var(--vert);
}

.kc-nav a:hover {
	color: var(--vert);
}

.kc-nav a.is-active,
.kc-nav a.is-active:hover {
	color: var(--vert);
}

.kc-caps {
	font-size: clamp(11px, 3.1vw, 13px);
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--sauge);
	margin: 0;
}

.kc-serif-it {
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	font-weight: 400;
}

.kc-salut { font-size: clamp(17px, 5vw, 21px); }
.kc-intro { margin-top: 22px; }
.kc-titre-sect { margin-bottom: 28px; }

/* —— Arche —— */

/* L'arche déborde jusqu'aux bords de l'écran, mais sa hauteur est plafonnée :
   un conteneur pleine largeur porte le débordement, l'arche se centre dedans. */
/* L'arche déborde jusqu'aux bords, mais sa hauteur est plafonnée.
   Un conteneur pleine largeur porte le débordement ; l'arche se centre dedans. */

.kc-arche {
	margin: 0 calc(var(--marge) * -1) clamp(28px, 7vw, 40px);
	/* la marge haute est portée par main */
	display: flex;
	justify-content: center;
}

.kc-arche__forme {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	max-height: 54vh;
	max-width: calc(54vh * 3 / 4);
	background-size: cover;
	background-position: center;
	border-radius: 50% 50% 0 0 / 32% 32% 0 0;
}

.kc-arche__forme.is-vide {
	background: linear-gradient(170deg, var(--vert-fonce) 0%, var(--vert) 45%, var(--sauge) 100%);
}

/* Arche fine dessinée au centre, quand aucune photo n'est choisie */
.kc-arche__forme.is-vide::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 46%;
	width: 42%;
	aspect-ratio: 3 / 4;
	transform: translate(-50%, -50%);
	border: 1px solid rgba(242, 237, 227, .45);
	border-bottom: none;
	border-radius: 50% 50% 0 0 / 34% 34% 0 0;
}

/* —— Séparateur —— */

.kc-sep {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: clamp(34px, 9vw, 52px) 0;
}

.kc-sep::before, .kc-sep::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--sauge-clair);
}

.kc-glyphe {
	width: 13px;
	height: 17px;
	flex: none;
	border: 1px solid var(--sauge);
	border-bottom: none;
	border-radius: 50% 50% 0 0 / 60% 60% 0 0;
}

/* —— Entrée —— */

.kc-entree .kc-pad { padding-bottom: 60px; }

.kc-form-code { margin-top: clamp(30px, 8vw, 44px); }

.kc-form-code label {
	display: block;
	margin-bottom: 12px;
	text-align: center;
}

/* Le bouton suit le champ, avec de l'air entre les deux */
.kc-form-code .kc-btn {
	display: block;
	width: 100%;
	margin-top: clamp(26px, 7vw, 34px);
}

.kc-code {
	width: 100%;
	border: 0;
	border-bottom: 1px solid var(--sauge);
	background: transparent;
	font-family: 'Karla', sans-serif;
	font-size: 30px;
	letter-spacing: .42em;
	text-indent: .42em;
	text-align: center;
	text-transform: uppercase;
	padding: 14px 0;
	color: var(--vert);
	border-radius: 0;
	-webkit-appearance: none;
}

.kc-code:focus {
	outline: none;
	border-bottom-color: var(--terracotta);
}

.kc-code::placeholder { color: #c8cec6; letter-spacing: .42em; }

/* Aide sous le formulaire : détachée du bouton */
.kc-aide { margin-top: clamp(22px, 6vw, 30px); }

.kc-aide a { color: var(--vert); }

/* —— Alerte —— */

.kc-alerte {
	border: 1px solid var(--terracotta);
	color: var(--terracotta-fonce);
	font-size: 14px;
	padding: 14px 16px;
	margin-top: 24px;
	text-align: center;
}

/* —— Boutons —— */

.kc-btn {
	display: inline-block;
	border: 0;
	background: var(--terracotta);
	color: #fff;
	font-family: 'Karla', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	padding: 17px 26px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s;
	-webkit-appearance: none;
	border-radius: 0;
}

.kc-btn:hover { background: var(--terracotta-fonce); }

.kc-btn--bloc {
	display: block;
	width: 100%;
	margin-top: clamp(24px, 7vw, 32px);
	padding-left: 12px;
	padding-right: 12px;
}

.kc-btn--ligne {
	background: transparent;
	color: var(--vert);
	border: 1px solid var(--sauge);
}

.kc-btn--ligne:hover { background: rgba(138, 154, 131, .12); }

.kc-lien {
	display: block;
	text-align: center;
	color: var(--vert);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 14px;
}

.kc-lien:hover { color: var(--terracotta); }

/* —— Cartes —— */

.kc-carte {
	background: var(--blanc);
	padding: 24px;
	display: block;
	text-decoration: none;
	color: inherit;
}

.kc-carte + .kc-carte { margin-top: 16px; }

.kc-grille2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

/* —— Déroulé —— */

.kc-timeline {
	list-style: none;
	margin: 0;
	padding: 0 0 0 26px;
	position: relative;
}

.kc-timeline::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 6px;
	bottom: 6px;
	width: 1px;
	background: var(--sauge-clair);
}

.kc-timeline li {
	position: relative;
	padding-bottom: clamp(20px, 5.5vw, 30px);
}

.kc-timeline li:last-child { padding-bottom: 0; }

.kc-timeline li::before {
	content: "";
	position: absolute;
	left: -26px;
	top: 7px;
	width: 7px;
	height: 7px;
	background: var(--papier);
	border: 1px solid var(--sauge);
	border-radius: 50%;
}

.kc-heure {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	color: var(--terracotta);
	text-transform: uppercase;
}

.kc-timeline h3 { margin-top: 6px; }

/* —— Galerie —— */

.kc-galerie { display: grid; gap: 16px; }

.kc-galerie img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
	border-radius: 50% 50% 0 0 / 22% 22% 0 0;
}

/* —— RSVP —— */

.kc-invite { margin-top: 20px; }
.kc-nom { color: var(--vert); margin-bottom: 6px; }

.kc-moment {
	border-top: 1px solid var(--sauge-clair);
	padding: 18px 0 0;
	margin-top: 18px;
}

.kc-invite .kc-moment:first-of-type { border-top: 0; margin-top: 10px; padding-top: 0; }

.kc-moment-tete {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.kc-moment-nom {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 18px;
}

.kc-lieu { margin-top: 2px; }

.kc-segment {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--sauge-clair);
	margin-top: 12px;
}

.kc-segment label {
	position: relative;
	text-align: center;
	cursor: pointer;
}

.kc-segment input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.kc-segment span {
	display: block;
	padding: 13px 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--vert);
	transition: background .12s, color .12s;
}

.kc-segment input:checked + span {
	background: var(--terracotta);
	color: #fff;
}

.kc-segment input:focus-visible + span {
	outline: 2px solid var(--vert);
	outline-offset: -2px;
}

/* —— Régimes —— */

.kc-regime {
	margin-top: 22px;
	border-top: 1px solid var(--sauge-clair);
	padding-top: 14px;
}

.kc-regime summary {
	cursor: pointer;
	font-size: 13px;
	color: var(--texte-doux);
	list-style: none;
}

.kc-regime summary::-webkit-details-marker { display: none; }

.kc-regime summary::after {
	content: " +";
	color: var(--sauge);
	font-weight: 700;
}

.kc-regime[open] summary::after { content: " –"; }

.kc-regime-corps { margin-top: 12px; }

.kc-case {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 14px;
	padding: 5px 0;
	cursor: pointer;
}

.kc-case input { width: 17px; height: 17px; margin: 0; accent-color: var(--terracotta); }

/* —— Champs —— */

.kc-champ {
	width: 100%;
	border: 0;
	border-bottom: 1px solid var(--sauge);
	background: transparent;
	font-family: inherit;
	font-size: 16px;
	color: var(--vert);
	padding: 8px 0;
	margin-top: 10px;
	border-radius: 0;
	-webkit-appearance: none;
	resize: vertical;
}

.kc-champ:focus { outline: none; border-bottom-color: var(--terracotta); }
.kc-champ::placeholder { color: #a8b0a5; }

.kc-bloc-champ { margin-top: 34px; }

/* —— Accordéon infos —— */

.kc-acc { border-bottom: 1px solid var(--sauge-clair); }

.kc-acc summary {
	padding: 17px 0;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 17px;
}

.kc-acc summary::-webkit-details-marker { display: none; }

.kc-acc summary::after {
	content: "+";
	color: var(--sauge);
	font-family: 'Karla', sans-serif;
	font-size: 19px;
}

.kc-acc[open] summary::after { content: "–"; }

.kc-acc-corps { padding-bottom: 18px; font-size: 15px; color: var(--texte-doux); }
.kc-acc-corps p { margin: 0 0 10px; }

/* —— Merci —— */

.kc-cypres { color: var(--sauge); margin-bottom: 8px; }

.kc-recap {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 0;
	border-top: 1px solid var(--sauge-clair);
	font-size: 15px;
}

.kc-carte .kc-recap:first-of-type { border-top: 0; }

.kc-recap-detail { text-align: right; font-size: 13px; }

.kc-liens-fin { margin-top: 32px; }

/* —— Navigation basse —— */

.kc-nav {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	width: 100%;
	max-width: 520px;
	z-index: 20;
	background: var(--papier-clair);
	border-top: 1px solid var(--sauge-clair);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

.kc-nav a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 60px;
	padding: 8px 4px;
	font-size: clamp(10px, 2.7vw, 12px);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--sauge);
	text-decoration: none;
	text-align: center;
	border-top: 2px solid transparent;
	margin-top: -1px;
}

.kc-nav a.is-active {
	color: var(--vert);
	border-top-color: var(--terracotta);
}

/* —— Pied —— */

.kc-pied {
	padding: clamp(40px, 10vw, 56px) var(--marge) clamp(32px, 8vw, 44px);
	text-align: center;
	font-size: 12px;
	color: var(--sauge);
}

.kc-pied p { margin: 0 0 6px; }
.kc-pied strong { color: var(--texte-doux); letter-spacing: .12em; }
.kc-pied a { color: var(--sauge); text-decoration: underline; }

/* —— Écrans larges —— */

@media (max-width: 380px) {
	.kc-grille2 { grid-template-columns: 1fr; }
	.kc-photos { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
	.kc-galerie { grid-template-columns: 1fr 1fr; }
}

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

/* —— Réponse verrouillée —— */

.kc-fige {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.kc-fige li {
	font-size: 15px;
	padding: 7px 0 7px 24px;
	position: relative;
}

.kc-fige li::before {
	position: absolute;
	left: 0;
	top: 7px;
}

.kc-fige .is-oui::before {
	content: "\2713";
	color: #00611c;
}

.kc-fige .is-non {
	color: #8c8f94;
}

.kc-fige .is-non::before {
	content: "\2013";
	color: #b0b3b6;
}

.kc-regime-fige {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--sauge-clair);
}

.kc-encadre {
	margin-top: 36px;
	padding: 20px 22px;
	border: 1px solid var(--sauge-clair);
	text-align: center;
	color: var(--texte-doux);
}

.kc-encadre .kc-lien {
	margin-top: 6px;
	padding-bottom: 0;
}

/* —— Contact —— */

.kc-piege {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.kc-form-contact .kc-bloc-champ:first-of-type {
	margin-top: 24px;
}

.kc-form-contact textarea {
	min-height: 120px;
}

.kc-nav a {
	font-size: 10px;
	letter-spacing: .12em;
}

/* —— Dépôt des photos —— */

.kc-trombi { margin-top: 44px; }

.kc-photos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 18px;
	margin-top: 24px;
}

.kc-photo {
	text-align: center;
	background: var(--blanc);
	padding: 14px 12px;
}

.kc-photo-cadre {
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--papier);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sauge-clair);
	border-radius: 50% 50% 0 0 / 18% 18% 0 0;
}

.kc-photo-cadre img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.kc-photo-cadre svg { width: 46%; }

.kc-photo-nom {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 16px;
	margin-top: 10px;
}

.kc-photo-choix { display: block; margin-top: 8px; cursor: pointer; }

.kc-photo-choix input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.kc-photo-choix span {
	font-size: 12px;
	color: var(--terracotta);
	text-decoration: underline;
}

.kc-btn--petit {
	padding: 9px 14px;
	font-size: 10px;
	margin-top: 10px;
	width: 100%;
}

.kc-photo-suppr {
	border: 0;
	background: none;
	color: var(--sauge);
	font-size: 11px;
	text-decoration: underline;
	cursor: pointer;
	margin-top: 8px;
	font-family: inherit;
}

.kc-succes {
	border: 1px solid var(--sauge);
	color: var(--vert);
	background: rgba(138,154,131,.12);
	font-size: 14px;
	padding: 14px 16px;
	margin-top: 20px;
	text-align: center;
}

/* —— Recadrage embarqué —— */

.kc-crop-cadre,
.kc-crop-zoom,
.kc-crop-annuler { display: none; }

.kc-crop.is-active .kc-crop-repos,
.kc-crop.is-active .kc-photo-suppr { display: none; }

.kc-crop.is-active .kc-crop-cadre,
.kc-crop.is-active .kc-crop-zoom,
.kc-crop.is-active .kc-crop-annuler { display: block; }

/* Le bouton d'envoi vaut pour toute la page : toujours visible */
.kc-crop-valider { display: block; margin-top: clamp(22px, 6vw, 30px); }

.kc-crop-cadre {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--vert-fonce);
	cursor: grab;
	touch-action: none;
	user-select: none;
	border-radius: 50% 50% 0 0 / 18% 18% 0 0;
}

.kc-crop-cadre.is-glisse { cursor: grabbing; }

/* L'aperçu est un canevas : même rendu que l'export */
.kc-crop-toile {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	pointer-events: none;
}

.kc-crop-aide {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	text-align: center;
	font-size: 10px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0,0,0,.6);
	pointer-events: none;
}

.kc-crop-zoom {
	width: 100%;
	margin: 12px 0 4px;
	accent-color: var(--terracotta);
}

.kc-crop-annuler {
	border: 0;
	background: none;
	color: var(--sauge);
	font-size: 11px;
	text-decoration: underline;
	cursor: pointer;
	margin: 8px auto 0;
	font-family: inherit;
}

/* —— Organisation —— */

.kc-nav--3 { grid-template-columns: repeat(3, 1fr); }
.kc-nav--4 { grid-template-columns: repeat(4, 1fr); }
.kc-nav--5 { grid-template-columns: repeat(5, 1fr); }

.kc-nav--5 a {
	font-size: clamp(10px, 2.6vw, 12px);
	letter-spacing: .04em;
	padding-left: 2px;
	padding-right: 2px;
}

.kc-jour { margin: 34px 0 20px; color: var(--terracotta); }

.kc-contacts { display: grid; gap: 14px; margin-top: 20px; }

.kc-contact {
	background: var(--blanc);
	padding: 16px 18px;
	border-left: 3px solid var(--terracotta);
}

.kc-contact-role {
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--sauge);
}

.kc-contact-nom {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 18px;
	margin-top: 3px;
}

.kc-contact-tel, .kc-contact-mail {
	display: inline-block;
	margin-top: 8px;
	color: var(--vert);
	font-size: 15px;
}

.kc-contact-tel { font-weight: 700; letter-spacing: .04em; }

.kc-trombi-grille {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 12px;
	margin-top: 20px;
}

.kc-trombi-fiche { margin: 0; text-align: center; }

.kc-trombi-fiche img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
	border-radius: 50% 50% 0 0 / 16% 16% 0 0;
}

.kc-trombi-fiche figcaption {
	font-size: 13px;
	margin-top: 6px;
	line-height: 1.3;
}

.kc-trombi-role {
	display: block;
	font-size: 10px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sauge);
}

/* ══════════════════ PAGE D'ACCUEIL SUR GRAND ÉCRAN ══════════════════
   Sur mobile, la colonne unique va bien. Au-delà, l'arche devient
   minuscule et la page paraît vide : on passe en deux colonnes,
   l'image à gauche, la saisie à droite. */

@media (min-width: 860px) {

	.kc-role-entree main {
		max-width: 1040px;
		display: flex;
		align-items: center;
		gap: clamp(48px, 6vw, 88px);
		min-height: min(100vh, 820px);
		padding-top: clamp(40px, 5vh, 72px);
		padding-bottom: clamp(40px, 5vh, 72px);
	}

	/* Colonne gauche : l'arche */
	.kc-role-entree .kc-arche {
		flex: 0 0 44%;
		margin: 0;
	}

	.kc-role-entree .kc-arche__forme {
		max-height: min(70vh, 600px);
		max-width: none;
	}

	/* Colonne droite : tout le reste, rassemblé par le thème */
	.kc-role-entree .kc-colonne {
		flex: 1 1 auto;
		max-width: 420px;
		text-align: left;
	}

	.kc-role-entree .kc-colonne > * {
		text-align: left;
	}

	.kc-role-entree h1 {
		font-size: clamp(40px, 3.6vw, 52px);
		margin-top: 10px;
	}

	.kc-role-entree .kc-form-code label,
	.kc-role-entree .kc-aide {
		text-align: left;
	}

	.kc-role-entree .kc-code {
		text-align: left;
		text-indent: 0;
	}

	.kc-role-entree .kc-form-code .kc-btn {
		max-width: 260px;
	}
}



/* La phrase amène, la mention date la situe */
.kc-intro-galerie {
	font-size: clamp(19px, 5.2vw, 23px);
	color: var(--vert);
}

.kc-intro-galerie + .kc-titre-sect {
	margin-top: 10px;
}

/* —— Tuiles des infos pratiques —— */

.kc-tuiles-infos {
	display: grid;
	gap: 14px;
	margin-top: clamp(24px, 6vw, 34px);
}

.kc-tuile-info {
	display: flex;
	align-items: stretch;
	gap: 16px;
	background: var(--blanc);
	color: inherit;
	text-decoration: none;
	border-left: 3px solid var(--terracotta);
	transition: transform .15s, box-shadow .15s;
}

.kc-tuile-info:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(44, 70, 54, .1);
}

.kc-tuile-img {
	flex: 0 0 86px;
	background-size: cover;
	background-position: center;
}

.kc-tuile-corps {
	display: block;
	padding: 18px 20px 18px 0;
	flex: 1;
}

.kc-tuile-info:not(:has(.kc-tuile-img)) .kc-tuile-corps {
	padding-left: 20px;
}

.kc-tuile-titre {
	display: block;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(18px, 4.8vw, 21px);
	color: var(--vert);
	line-height: 1.25;
}

.kc-tuile-resume {
	display: block;
	font-size: 14px;
	color: var(--texte-doux);
	margin-top: 5px;
	line-height: 1.45;
}

.kc-retour {
	margin-top: clamp(30px, 8vw, 44px);
}

@media (min-width: 620px) {
	.kc-tuiles-infos { grid-template-columns: 1fr 1fr; }
	.kc-tuile-info { flex-direction: column; }
	.kc-tuile-img { flex: 0 0 120px; }
	.kc-tuile-corps { padding: 18px 20px; }
}

/* Titre de jour dans le déroulé, quand l'événement court sur deux jours */
.kc-jour-deroule {
	color: var(--terracotta);
	margin-bottom: 16px;
}

.kc-timeline + .kc-jour-deroule {
	margin-top: clamp(30px, 7vw, 42px);
}

/* —— Pictogrammes de navigation —— */

.kc-picto {
	width: 21px;
	height: 21px;
	flex: none;
	opacity: .75;
	transition: opacity .15s, transform .15s;
}

.kc-nav a.is-active .kc-picto {
	opacity: 1;
}

.kc-nav a:hover .kc-picto {
	opacity: 1;
	transform: translateY(-1px);
}

.kc-nav-lib {
	display: block;
	line-height: 1.2;
}

/* Cinq onglets : le picto porte la lecture, le libellé se fait discret */
.kc-nav--5 .kc-picto {
	width: 20px;
	height: 20px;
}

/* Écrans très étroits : garder le picto, réduire le libellé */
@media (max-width: 360px) {
	.kc-nav a { font-size: 9px; letter-spacing: .02em; }
}

/* —— Réponse par jetons —— */

.kc-personne { margin-top: 18px; }




.kc-aide-jetons {
	margin-top: 16px;
	text-align: center;
}

.kc-jetons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
	justify-content: center;
}

.kc-jeton { cursor: pointer; }

.kc-jeton input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.kc-jeton > span {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	padding: 9px 14px;
	border: 1px solid var(--sauge-clair);
	font-size: 14px;
	color: var(--texte-doux);
	background: transparent;
	transition: background .12s, color .12s, border-color .12s;
}

.kc-jeton > span em {
	font-style: normal;
	font-size: 12px;
	opacity: .75;
}

/* Coché = présent. Le contraste porte l'information, pas la seule couleur :
   le libellé passe en gras et un signe apparaît. */
.kc-jeton input:checked + span {
	background: var(--terracotta);
	border-color: var(--terracotta);
	color: #fff;
	font-weight: 600;
}

.kc-jeton input:checked + span::before {
	content: "\2713";
	font-size: 12px;
}

.kc-jeton input:focus-visible + span {
	outline: 2px solid var(--vert);
	outline-offset: 2px;
}

.kc-jeton:hover > span { border-color: var(--sauge); }

/* Raccourci actif : l'état courant se lit sans compter les jetons */


/* Jour au-dessus des jetons */
.kc-jour-jetons {
	margin-top: 18px;
	text-align: center;
	color: var(--sauge);
}

.kc-jour-jetons + .kc-jetons { margin-top: 8px; }

/* Absent partout : les jetons se replient, un mot les remplace */





/* —— Réponse : la question d'abord, le détail ensuite —— */

.kc-personne { margin-top: 18px; }

.kc-question {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(18px, 4.8vw, 21px);
	color: var(--vert);
	text-align: center;
	line-height: 1.3;
}

.kc-choix {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 16px;
}

.kc-choix-btn {
	padding: 15px 10px;
	border: 1px solid var(--sauge-clair);
	background: transparent;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--vert);
	cursor: pointer;
	transition: background .12s, color .12s, border-color .12s;
}

.kc-choix-btn:hover { border-color: var(--sauge); }

/* Le choix retenu s'affirme en vert plein : le terracotta reste aux jetons */
.kc-choix-btn[aria-pressed="true"] {
	background: var(--vert);
	border-color: var(--vert);
	color: #fff;
}

.kc-choix-btn[aria-pressed="true"]:hover {
	background: var(--vert-fonce);
	border-color: var(--vert-fonce);
}

/* Le détail n'existe qu'après un « oui » */
.kc-detail { display: none; }
.kc-personne.is-oui .kc-detail {
	display: block;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--sauge-clair);
}

/* Refus : un mot, pas un formulaire vide */
.kc-personne.is-non .kc-detail {
	display: block;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--sauge-clair);
}

.kc-personne.is-non .kc-jetons,
.kc-personne.is-non .kc-jour-jetons,
.kc-personne.is-non .kc-aide-jetons,
.kc-personne.is-non .kc-regime { display: none; }

.kc-mot-refus {
	display: none;
	text-align: center;
}
.kc-personne.is-non .kc-mot-refus { display: block; }

.kc-aide-jetons { text-align: center; }

.kc-incomplet { display: none; }
.kc-incomplet.is-visible { display: block; }

/* —— Carte d'un lieu —— */

.kc-lieu-nom {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 400;
	font-size: clamp(28px, 7.5vw, 38px);
	line-height: 1.15;
	margin: 0 0 clamp(12px, 3vw, 16px);
	text-align: center;
}

.kc-plan {
	margin-top: clamp(22px, 5vw, 30px);
	margin-left: calc(var(--marge) * -1);
	margin-right: calc(var(--marge) * -1);
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--papier-clair);
}

.kc-plan iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

@media (min-width: 620px) {
	.kc-plan {
		margin-left: 0;
		margin-right: 0;
		border: 1px solid var(--sauge-clair);
	}
}

/* —— Liste des lieux sous la carte —— */

.kc-liste-lieux {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.kc-liste-lieux li + li { margin-top: 10px; }

.kc-liste-lieux a {
	display: block;
	background: var(--blanc);
	padding: 14px 16px;
	border-left: 3px solid var(--terracotta);
	text-decoration: none;
	color: inherit;
	transition: transform .15s;
}

.kc-liste-lieux a:hover { transform: translateX(2px); }

.kc-liste-nom {
	display: block;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 17px;
	color: var(--vert);
}

.kc-liste-adresse {
	display: block;
	font-size: 13px;
	color: var(--texte-doux);
	margin-top: 3px;
}

/* Champs propres aux enfants, dans la carte de réponse */
.kc-enfant-champs {
	display: grid;
	gap: 12px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--sauge-clair);
}

.kc-mini-label {
	display: block;
	font-size: 13px;
	color: var(--texte-doux);
}

.kc-mini-label .kc-champ { margin-top: 5px; }

.kc-champ--age { max-width: 90px; }

/* —— Page du jour J —— */

.kc-horaires {
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
}

.kc-horaires li {
	display: grid;
	grid-template-columns: 66px 1fr;
	gap: 4px 12px;
	padding: 13px 0;
	border-bottom: 1px solid var(--sauge-clair);
}

.kc-horaires li:last-child { border-bottom: 0; }

.kc-h-heure {
	font-size: 17px;
	color: var(--terracotta);
	grid-row: span 2;
}

.kc-h-nom {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 18px;
	color: var(--vert);
}

.kc-h-lieu { font-size: 13px; }

.kc-mot-jour {
	background: var(--blanc);
	border-left: 3px solid var(--terracotta);
	padding: 16px 18px;
	margin-top: 22px;
	font-size: 15px;
	line-height: 1.6;
}

/* Bandeau du jour J */
.kc-bandeau {
	display: block;
	background: var(--terracotta);
	color: #fff;
	text-decoration: none;
	text-align: center;
	padding: 13px var(--marge);
	padding-top: calc(13px + env(safe-area-inset-top, 0px));
	font-size: 14px;
	line-height: 1.4;
}

.kc-bandeau:hover,
.kc-bandeau:focus { background: var(--terracotta-fonce); color: #fff; }

.kc-bandeau span::after {
	content: " \2192";
	white-space: nowrap;
}

/* Récit sous l'accroche de la galerie */
.kc-recit {
	max-width: 30em;
	margin-left: auto;
	margin-right: auto;
	font-size: 15px;
	line-height: 1.75;
}

.kc-intro-galerie + .kc-recit { margin-top: 14px; }

/* Le récit respire avant les photos */
.kc-recit + .kc-galerie {
	margin-top: clamp(30px, 8vw, 46px);
}

/* Page de remerciement : le récapitulatif se détache du message */
.kc-role-merci .kc-carte {
	margin-top: clamp(28px, 7vw, 40px);
}

/* Rappel des portraits manquants — disparaît quand tout est complet */
.kc-rappel-photos {
	display: block;
	background: var(--blanc);
	border-left: 3px solid var(--sauge);
	padding: 15px 18px;
	margin-bottom: clamp(24px, 6vw, 34px);
	text-decoration: none;
	color: inherit;
}

.kc-rappel-photos:hover { border-left-color: var(--terracotta); color: inherit; }

.kc-rappel-txt {
	display: block;
	font-size: 14px;
	color: var(--texte-doux);
	line-height: 1.5;
}

.kc-rappel-cta {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--terracotta);
}

.kc-rappel-cta::after { content: " \2192"; }

/* Message d'échec du recadrage */
.kc-crop-souci {
	margin: 10px 0 0;
	font-size: 12px;
	color: #a32d2d;
	line-height: 1.4;
}

/* —— Aperçu des portraits sous la réponse —— */

.kc-portraits-apercu { margin-top: clamp(28px, 7vw, 40px); }

.kc-apercu-grille {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 18px;
}

.kc-apercu-fiche {
	margin: 0;
	width: 92px;
	text-align: center;
}

.kc-apercu-fiche img,
.kc-apercu-vide {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 50% 50% 0 0 / 22% 22% 0 0;
}

.kc-apercu-vide {
	background: var(--blanc);
	border: 1px dashed var(--sauge-clair);
}

.kc-apercu-fiche figcaption {
	margin-top: 6px;
	font-size: 13px;
	color: var(--texte-doux);
}

/* —— Trombinoscope de l'espace Organisation —— */

.kc-trombi-cercle {
	margin: clamp(26px, 6vw, 34px) 0 12px;
	color: var(--terracotta);
	border-bottom: 1px solid var(--sauge-clair);
	padding-bottom: 5px;
}

.kc-trombi-cercle:first-child { margin-top: 0; }
.kc-trombi-cercle span { color: var(--sauge); font-weight: 400; }

.kc-trombi-vide {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	background: var(--blanc);
	border: 1px dashed var(--sauge-clair);
	border-radius: 50% 50% 0 0 / 22% 22% 0 0;
}

.kc-imprimer {
	border: 0;
	background: none;
	font-family: inherit;
	font-size: inherit;
	color: var(--terracotta);
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
}

/* —— Impression du trombinoscope —— */

.kc-heure-fin {
	display: block;
	font-size: 11px;
	opacity: .7;
	margin-top: 1px;
}

@media print {
	.kc-nav, .kc-pied, .kc-sans-impression,
	.kc-arche, .kc-sep, .kc-bandeau { display: none !important; }

	body {
		background: #fff;
		/* overflow-x: hidden rogne le bord gauche a l'impression. */
		overflow: visible !important;
	}

	/* Filet lateral seulement : un padding vertical ne s'appliquerait qu'a la
	   premiere et a la derniere page, donnant des marges inegales d'une page
	   a l'autre. Le haut et le bas relevent de @page, seul mecanisme qui vaut
	   pour toutes les pages. */
	main {
		max-width: none !important;
		margin: 0 !important;
		padding: 0 4mm !important;
	}

	.kc-trombi-grille {
		display: grid !important;
		grid-template-columns: repeat(5, 1fr) !important;
		gap: 8px !important;
	}

	.kc-trombi-fiche {
		page-break-inside: avoid;
		break-inside: avoid;
	}

	.kc-trombi-cercle {
		page-break-after: avoid;
		break-after: avoid;
	}

	.kc-trombi-fiche img,
	.kc-trombi-vide { border-radius: 0 !important; }

	/* Planning : chaque étape reste entière, chaque jour tient avec sa suite */
	.kc-planning-page .kc-timeline li {
		page-break-inside: avoid;
		break-inside: avoid;
	}

	.kc-planning-page .kc-jour {
		page-break-after: avoid;
		break-after: avoid;
		margin-top: 18px;
	}

	/* Rien ne doit se couper au fil de la page : un convive, une table, une
	   fiche de contact ou un portrait scinde en deux est illisible. */
	.kc-table-pub,
	.kc-contact,
	.kc-longue-pub,
	.kc-ronde-pub,
	.kc-face {
		page-break-inside: avoid;
		break-inside: avoid;
	}

	/* Pas de ligne isolee en haut ou en bas d'une page. */
	p, li { orphans: 3; widows: 3; }

	/* Un titre de section ne reste jamais seul en bas de page. */
	.kc-table-pub h3,
	.kc-caps-mini {
		page-break-after: avoid;
		break-after: avoid;
	}

}


/* ****** PLAN DE TABLE ****** */

.kc-plan-public { margin-top: 20px; }
.kc-plan-public .kc-jour { margin: 30px 0 4px; }

.kc-tables-pub { margin-top: 16px; }

.kc-table-pub {
	background: var(--blanc);
	padding: 18px 20px 22px;
	border-left: 3px solid var(--sauge);
	margin-bottom: 16px;
}

.kc-table-pub h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 500;
	font-size: 21px;
	margin: 0;
}

.kc-table-pub > p { margin: 2px 0 0; }

/* Un siege : meme jeton partout, rond ou rectangulaire. */
.kc-siege-pub {
	width: 78px;
	height: 40px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 12px;
	line-height: 1.15;
	padding: 3px;
	background: var(--papier-clair);
	border: 1px solid var(--sauge-clair);
	overflow: hidden;
}

.kc-siege-pub span { display: block; }

.kc-siege-pub.est-libre {
	background: transparent;
	border-style: dashed;
}

/* Une tablee plus large que la colonne defile plutot que de deborder. */
.kc-tablee-defile {
	margin-top: 16px;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 8px;
	scrollbar-width: thin;
}

.kc-longue-pub {
	display: flex;
	align-items: center;
	gap: 6px;
	width: max-content;
	margin: 0 auto;
}

.kc-cotes-pub { display: flex; flex-direction: column; gap: 6px; }
.kc-rangee-pub { display: flex; gap: 6px; }

.kc-plateau-pub {
	border: 2px solid var(--sauge-clair);
	background: var(--blanc);
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 15px;
	color: var(--texte-doux);
	margin: 4px 0;
}

/* Table ronde : les sieges se posent sur le cercle a partir de leur
   numero, sans script. --i est l'index du siege, --n leur nombre. */
.kc-ronde-pub {
	position: relative;
	width: 280px;
	height: 280px;
	margin: 18px auto 0;
}

.kc-plateau-rond-pub {
	position: absolute;
	inset: 62px;
	border: 2px solid var(--sauge-clair);
	border-radius: 50%;
	background: var(--blanc);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 16px;
	color: var(--texte-doux);
}

.kc-ronde-pub .kc-siege-pub {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -20px 0 0 -39px;
	--angle: calc(var(--i) * 360deg / var(--n));
	transform: rotate(var(--angle)) translateY(-112px) rotate(calc(-1 * var(--angle)));
}

/* ****** IMPRESSION PAR SECTION ****** */

/* Chaque bouton Imprimer ne sort que sa propre section. Le titre est
   repris en tete de page : imprimee seule, la section doit se nommer. */
@media print {
	body.kc-impression-ciblee main > *:not(.kc-imprimable) { display: none !important; }
	body.kc-impression-ciblee .kc-imprimable:not(.est-cible) { display: none !important; }

	.kc-table-pub { page-break-inside: avoid; break-inside: avoid; }
	.kc-tablee-defile { overflow: visible !important; }
}

/* ****** FICHE D'UN CONVIVE ****** */

/* Un siege occupe est un bouton : il doit ressembler aux autres sieges. */
button.kc-siege-pub {
	font: inherit;
	color: inherit;
	cursor: pointer;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

button.kc-siege-pub:hover,
button.kc-siege-pub:focus-visible {
	border-color: var(--terracotta);
	background: var(--blanc);
}

.kc-fiche-convive {
	border: 0;
	padding: 0;
	background: var(--blanc);
	max-width: 260px;
	width: calc(100vw - 48px);
	max-height: 88vh;
	overflow-y: auto;
}

/* display:block et display:flex ci-dessous prennent le pas sur la regle
   [hidden] du navigateur : sans cela, photo et pense-bete s'affichent
   tous les deux. */
.kc-fiche-convive [hidden] { display: none !important; }

.kc-fiche-convive::backdrop { background: rgba(22, 48, 33, .55); }

.kc-fiche-convive figure { margin: 0; }

.kc-fiche-convive img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 50% 50% 0 0 / 16% 16% 0 0;
}

.kc-fiche-vide {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 4;
	background: var(--papier-clair);
	color: var(--sauge);
	font-family: 'Playfair Display', Georgia, serif;
	font-style: italic;
	font-size: 15px;
	border-radius: 50% 50% 0 0 / 16% 16% 0 0;
}

.kc-fiche-convive figcaption {
	padding: 14px 18px 4px;
	text-align: center;
}

.kc-fiche-convive figcaption strong {
	display: block;
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 500;
	font-size: 21px;
}

.kc-fiche-role,
.kc-fiche-regime {
	display: block;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--sauge);
	margin-top: 4px;
}

.kc-fiche-regime { color: var(--terracotta); }

.kc-fiche-fermer {
	display: block;
	margin: 12px auto 16px;
}

/* ****** SOMMAIRE DE L'ESPACE ORGANISATION ****** */

.kc-sommaire {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 8px;
	margin: 22px 0 6px;
}

.kc-sommaire a {
	display: inline-block;
	padding: 7px 14px;
	border: 1px solid var(--sauge-clair);
	background: var(--blanc);
	color: var(--vert);
	text-decoration: none;
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.kc-sommaire a:hover,
.kc-sommaire a:focus-visible {
	border-color: var(--terracotta);
	color: var(--terracotta);
}

/* Le bandeau du jour J flotte en haut : les sections gardent leurs distances. */
.kc-imprimable { scroll-margin-top: 74px; }

/* ****** EN-TETE ET PIED DES DOCUMENTS IMPRIMES ****** */

/* Invisibles a l'ecran : ils n'existent que sur le papier. */
.kc-impression-entete,
.kc-impression-pied { display: none; }

@media print {

	.kc-impression-entete {
		display: block;
		text-align: center;
		padding-bottom: 10px;
		border-bottom: 1px solid #cfc9bb;
		margin-bottom: 22px;
		break-after: avoid;
		page-break-after: avoid;
	}

	.kc-impression-entete p { margin: 0; }

	.kc-impression-couple {
		font-size: 10px;
		letter-spacing: .22em;
		text-transform: uppercase;
		color: #8a9a83;
	}

	.kc-impression-evt {
		font-size: 11px;
		color: #5c6b5e;
		margin-top: 3px !important;
	}

	.kc-impression-titre {
		font-family: 'Playfair Display', Georgia, serif;
		font-size: 21px;
		margin-top: 8px !important;
	}

	.kc-impression-pied {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		margin-top: 26px;
		padding-top: 8px;
		border-top: 1px solid #cfc9bb;
		font-size: 9px;
		letter-spacing: .1em;
		text-transform: uppercase;
		color: #8a9a83;
		break-before: avoid;
		page-break-before: avoid;
	}
}

/* ****** RAPPEL DE RESERVATION ****** */

.kc-rappel-vtc {
	background: var(--blanc);
	border-left: 3px solid var(--sauge);
	padding: 20px 22px 22px;
	/* L'encart est une respiration dans la page : il lui faut du blanc des
	   deux cotes, pas seulement dessous. */
	margin: clamp(28px, 7vw, 38px) 0;
}

.kc-rappel-vtc .kc-caps { margin: 0 0 12px; }
.kc-rappel-vtc p { margin: 0; }
.kc-rappel-vtc p + p { margin-top: 10px; }

/* Le ton monte avec l'echeance, comme pour les relances. */
.kc-rappel-vtc.est-proche { border-left-color: var(--terracotta); }
.kc-rappel-vtc.est-proche .kc-caps { color: var(--terracotta); }

.kc-rappel-vtc.est-tard {
	border-left-color: var(--terracotta-fonce);
	background: #fbf3ed;
}
.kc-rappel-vtc.est-tard .kc-caps { color: var(--terracotta-fonce); }

/* Indication particuliere sur un siege : regime ou besoin note. */
.kc-siege-pub { position: relative; }

.kc-siege-note {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--terracotta);
}

.kc-fiche-besoins {
	display: block;
	font-size: 12px;
	color: var(--terracotta-fonce);
	margin-top: 6px;
	line-height: 1.35;
}

/* ****** APRES LE MARIAGE ****** */

.kc-apres { margin-top: 8px; }
.kc-apres-lien { margin: clamp(24px, 6vw, 34px) 0; }

/* Lien mis en valeur : album photos, cagnotte. */
.kc-lien--cadre {
	display: inline-block;
	border: 1px solid var(--sauge);
	padding: 14px 26px;
	background: var(--blanc);
}

.kc-lien--cadre:hover,
.kc-lien--cadre:focus-visible {
	border-color: var(--terracotta);
	color: var(--terracotta);
}

/* Image en tete des souvenirs. */
.kc-apres-image {
	margin: 0 0 clamp(24px, 6vw, 34px);
}

.kc-apres-image img {
	display: block;
	width: 100%;
	height: auto;
}

/* Bandeau d'apercu de la page de souvenirs, reserve a l'equipe. */
.kc-apres-apercu {
	margin: 0 0 clamp(20px, 5vw, 28px);
	padding: 10px 14px;
	background: #1d1d1b;
	color: #fff;
	font-size: 12px;
	text-align: center;
}

@media print { .kc-apres-apercu { display: none; } }

/* ****** EFFECTIFS PAR MOMENT ****** */

.kc-effectifs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
	margin-top: 18px;
}

.kc-effectif {
	background: var(--blanc);
	border-left: 3px solid var(--sauge);
	padding: 14px 16px 16px;
}

.kc-effectif.est-limite { border-left-color: var(--terracotta); }
.kc-effectif.est-plein  { border-left-color: var(--terracotta-fonce); background: #fbf3ed; }

.kc-effectif-nom {
	margin: 0;
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sauge);
}

.kc-effectif-chiffre {
	margin: 6px 0 0;
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 26px;
	line-height: 1.1;
}

.kc-effectif-chiffre .kc-doux { font-size: 14px; }
.kc-effectif p + p { margin-top: 4px; }

.kc-jauge-pub {
	margin-top: 10px;
	height: 4px;
	background: #e8e2d6;
}

.kc-jauge-pub span {
	display: block;
	height: 100%;
	background: var(--sauge);
}

.kc-effectif.est-limite .kc-jauge-pub span { background: var(--terracotta); }
.kc-effectif.est-plein .kc-jauge-pub span  { background: var(--terracotta-fonce); }

/* ****** MENUS ****** */

.kc-menus-liste { margin-top: 16px; }

.kc-menu-carte {
	background: var(--blanc);
	border-left: 3px solid var(--sauge);
	padding: 18px 20px 20px;
	margin-bottom: 14px;
}

.kc-menu-carte h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-weight: 500;
	font-size: 21px;
	margin: 0;
}

.kc-menu-carte > p { margin: 2px 0 0; }

.kc-plat {
	margin: 2px 0 0 !important;
	font-size: 15px;
}

.kc-indications {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.kc-indications li {
	font-size: 14px;
	line-height: 1.6;
	padding: 4px 0;
	border-top: 1px solid #e8e2d6;
}

/* ****** REPONSE ENREGISTREE ****** */

/* Trois etats de l'onglet Reponse : enregistree, delai ouvert, close.
   Le filet de gauche porte le sens ; le fond reste calme. */

.kc-etat {
	padding: 16px 18px;
	/* Marge des deux côtés : ce bandeau suit tantôt un titre, tantôt une
	   carte de convive, et venait alors se coller à elle. */
	margin: clamp(22px, 6vw, 30px) 0;
	background: var(--blanc);
	border-left: 3px solid var(--sauge);
}

.kc-etat p { margin: 0; }
.kc-etat p + p { margin-top: 5px; }

.kc-etat--delai {
	background: #fbf3ed;
	border-left-color: var(--terracotta);
}

.kc-etat--delai .kc-apres { color: var(--terracotta-fonce); margin-top: 8px; }

.kc-etat--clos { border-left-color: var(--sauge-clair); }

/* Âge d'un enfant, accolé au prénom dans les cartes. */
.kc-recap-age {
	font-family: 'Karla', sans-serif;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--sauge);
}

/* Appel de la vue close : une consigne, pas un murmure. */
.kc-appel {
	font-size: 17px;
	color: var(--vert);
	margin: 0 0 6px;
}
