/*
Theme Name: Kinéden
Theme URI: https://www.kineden.ca/
Description: Thème enfant de Twenty Twenty-Five pour Kinéden. Conçu pour être modifié entièrement dans l’éditeur de site.
Author: Astral Internet
Author URI: https://www.astralinternet.com/
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kineden
*/

/* Effects that theme.json cannot express. Keep this file small. */

/* ---------- Header ---------- */
/* Sticky/fixed positioning goes on the template-part wrapper that contains our header group. */
.wp-site-blocks > .wp-block-template-part:has(.kineden-header) {
	position: sticky;
	top: 0;
	z-index: 100;
}
body.admin-bar .wp-site-blocks > .wp-block-template-part:has(.kineden-header) { top: var(--wp-admin--admin-bar--height, 32px); }
/* Below 600px the admin bar scrolls away with the page, so the header sticks to the very top. */
@media (max-width: 600px) {
	body.admin-bar .wp-site-blocks > .wp-block-template-part:has(.kineden-header) { top: 0; }
}
.wp-site-blocks > .wp-block-template-part:has(.kineden-header--transparent) {
	position: fixed;
	left: 0;
	right: 0;
}
.kineden-header { transition: background-color .4s ease-out, box-shadow .4s ease-out; }
.kineden-header.is-scrolled { box-shadow: 0 0 30px rgba(0, 0, 0, .15); }

/* Transparent header over a hero: overlaps the first section until scrolled. */
.kineden-header--transparent { background-color: transparent !important; }
.kineden-header--transparent.is-scrolled { background-color: var(--wp--preset--color--base) !important; }
/* White text over the image applies to top-level items only; dropdowns keep dark text on white. */
/* ...and not inside the open mobile overlay (white background). */
.kineden-header--transparent:not(.is-scrolled) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content,
.kineden-header--transparent:not(.is-scrolled) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon,
.kineden-header--transparent:not(.is-scrolled) .wp-block-navigation__responsive-container-open { color: var(--wp--preset--color--base); }
.kineden-header .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast) !important;
}
.kineden-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { color: var(--wp--preset--color--contrast) !important; padding: .6em 1.2em !important; }
/* The open mobile menu otherwise inherits the header background (transparent over images, with a transition):
   force an opaque white sheet immediately. */
.kineden-header .wp-block-navigation__responsive-container.is-menu-open {
	background-color: #fff !important;
	color: var(--wp--preset--color--contrast) !important;
	transition: none !important;
	animation: none !important;
	opacity: 1 !important;
}
/* Inside the open mobile menu, submenus are plain indented lists (no floating box). */
.kineden-header .is-menu-open .wp-block-navigation__submenu-container { box-shadow: none !important; }
.kineden-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .3em 0 !important; }
.kineden-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.kineden-header .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--accent-1) !important; }

/* Sections placed under the transparent header (title bands, heroes) start below its real height
   (measured in front.js), with a 30px gap. The 140px fallback applies before the script runs. */
body:has(.kineden-header--transparent) .kineden-sous-entete { padding-top: calc(var(--kineden-entete-h, 110px) + 30px) !important; }

/* Navigation: pink underline on hover / current item (legacy 4px bar). */
.kineden-header .wp-block-navigation-item__content { position: relative; padding: .5em 0; }
.kineden-header .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--wp--preset--color--accent-1);
	transform: scaleX(0);
	transition: transform .25s ease-out;
}
.kineden-header .wp-block-navigation-item__content:hover::after,
.kineden-header .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.kineden-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.kineden-header .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
/* Dropdown items on one line each (e.g. "Évaluation condition physique"), the box grows to fit, as on the old site. */
@media (min-width: 600px) {
	.kineden-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container { width: max-content !important; min-width: 200px !important; }
	.kineden-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content { white-space: nowrap; }
}
/* Parent items with a submenu are toggles, not links (navigation "open on click"): same look as the links. */
.kineden-header .wp-block-navigation-submenu__toggle { font: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }

@media (max-width: 767px) {
	.kineden-header { min-height: 64px; }
	.kineden-header .wp-block-site-logo img { max-height: 48px; width: auto; }
}

/* ---------- Brand helpers used by patterns ---------- */
.kineden-bande-degrade { height: 13px; background: var(--wp--preset--gradient--vert-turquoise); margin: 0 !important; }
.kineden-ombre { text-shadow: 0 0 7px rgba(0, 0, 0, .85); }
.kineden-bouton-tel .wp-block-button__link {
	background: transparent;
	border: 2px solid currentColor;
	border-radius: 10px;
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--medium);
	padding: .35em .9em;
}
.kineden-bouton-tel .wp-block-button__link:hover { background: var(--wp--preset--color--accent-2); color: var(--wp--preset--color--base); }

.is-style-checkmark-list li::marker,
.kineden-crochets li::marker { color: var(--wp--preset--color--accent-1); }

.kineden-encadre-rose { border: 4px solid var(--wp--preset--color--accent-1); }

.kineden-cercle img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; transition: transform .5s cubic-bezier(0,0,.2,1); }
.kineden-cercle a:hover img { transform: scale(1.05); }

/* Services circles (live: pink border, pink tint on the current service). */
.kineden-rangee-services .kineden-cercle { position: relative; }
.kineden-rangee-services .kineden-cercle img { border: 4px solid var(--wp--preset--color--accent-1); }
.kineden-rangee-services .wp-block-post.is-current .kineden-cercle a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: rgba(219, 27, 93, .45);
}

/* Bands stack and centre on phones (live behaviour). */
@media (max-width: 781px) {
	.kineden-bandeau-centre-mobile, .kineden-bandeau-centre-mobile > .wp-block-group { justify-content: center !important; text-align: center; }
}
.kineden-rangee-services .wp-block-post-title { font-size: var(--wp--preset--font-size--small); text-align: center; }

/* Numbered steps: pink number circles. */
.kineden-etapes { list-style: none; counter-reset: etape; padding-left: 0; }
.kineden-etapes > li { counter-increment: etape; position: relative; padding-left: 64px; min-height: 48px; margin-top: 1rem; display: flex; align-items: center; }
.kineden-etapes > li::before {
	content: counter(etape);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

/* Section ending with a turquoise down chevron on its bottom edge, as on the old site. */
.kineden-fleche { position: relative; }
.kineden-fleche::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -15px;
	width: 30px;
	height: 30px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M5 10l10 10 10-10' fill='none' stroke='%235FC6C3' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 30px 30px no-repeat;
	transform: translateX(-50%);
	z-index: 1;
}

/* Testimonials and quotes: pink speech bubble with an opening quote mark and a small pointer under the box
   (legacy ".citation"). Used by the testimonial cards and the "Texte et citation" quote. */
.kineden-temoignage,
.kineden-citation {
	position: relative;
	border: 4px solid var(--wp--preset--color--accent-1);
	padding-left: 65px !important;
	margin-bottom: 30px;
	overflow: visible;
}
.kineden-temoignage::before,
.kineden-citation::before {
	content: "\201C";
	position: absolute;
	left: 18px;
	top: 14px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 64px;
	line-height: 1;
	color: var(--wp--preset--color--accent-1);
}
.kineden-temoignage::after,
.kineden-citation::after {
	content: "";
	position: absolute;
	left: 24px;
	bottom: -21px;
	border-style: solid;
	border-width: 21px 19px 0 0;
	border-color: var(--wp--preset--color--accent-1) transparent transparent transparent;
}

/* ---------- Share bar (single posts) ---------- */
.kineden-partage {
	position: fixed;
	right: 0;
	top: 120px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.kineden-partage a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--wp--preset--color--accent-2);
	color: var(--wp--preset--color--base);
	border-radius: 50% 0 0 50%;
}
.kineden-partage a:hover, .kineden-partage a:focus { background: var(--wp--preset--color--accent-1); }
.kineden-partage svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 782px) {
	.kineden-partage { position: static; flex-direction: row; justify-content: center; margin-block: var(--wp--preset--spacing--30); }
	.kineden-partage a { border-radius: 50%; }
}

/* ---------- Back to top ---------- */
.kineden-haut {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 80;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--wp--preset--color--base);
	box-shadow: 0 0 18px rgba(0,0,0,.2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--accent-2);
	opacity: 0;
	pointer-events: none;
	transition: opacity .4s linear;
}
.kineden-haut.is-visible { opacity: 1; pointer-events: auto; }
.kineden-haut svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Complianz legal documents (terms, cookie policy): readable line length ---------- */
.cmplz-document {
	max-width: 900px;
	margin-inline: auto !important;
	padding-block: var(--wp--preset--spacing--50);
}

/* ---------- Contact Form 7 ---------- */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, .wpcf7 select {
	width: 100%;
	box-sizing: border-box;
	padding: .55em .8em;
	border: 1px solid var(--wp--preset--color--accent-1);
	border-radius: 9px;
	font: inherit;
	font-size: var(--wp--preset--font-size--medium);
}
.wpcf7 input[type="submit"] {
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
	border: 0;
	border-radius: 9px;
	padding: .55em 1.2em;
	font: inherit;
	font-size: var(--wp--preset--font-size--large);
	cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { background: var(--wp--preset--color--accent-2); }
.wpcf7 .wpcf7-list-item { display: inline-flex; flex-wrap: wrap; }

/* Visible labels (forms rewritten with scripts/cf7-labels.php). */
.wpcf7 .kineden-form-grille {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 24px;
	margin-bottom: 12px;
}
/* CF7's auto-formatting wraps the labels in one <p> with <br>s: let the labels become the grid items. */
.wpcf7 .kineden-form-grille > p { display: contents; }
.wpcf7 .kineden-form-grille br { display: none; }
.wpcf7 .kineden-champ--large { grid-column: 1 / -1; }
.wpcf7 .kineden-champ {
	display: block;
	margin: 0;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast);
}
.wpcf7 .kineden-champ br { display: none; }
.wpcf7 .kineden-champ .wpcf7-form-control-wrap { display: block; margin-top: 6px; font-weight: 400; }
.wpcf7 .kineden-champ textarea { min-height: 140px; }
.wpcf7 .kineden-requis { color: var(--wp--preset--color--accent-1); }
.wpcf7 .kineden-note-requis { margin: 0 0 14px; font-size: 14px; color: var(--wp--preset--color--accent-4); }
.wpcf7 .kineden-note-requis span { color: var(--wp--preset--color--accent-1); }
.wpcf7 fieldset.kineden-champ { border: 0; padding: 0; margin: 0 0 18px; }
.wpcf7 fieldset.kineden-champ legend { padding: 0; margin-bottom: 6px; }
.wpcf7 input[type="tel"] {
	width: 100%;
	box-sizing: border-box;
	padding: .55em .8em;
	border: 1px solid var(--wp--preset--color--accent-1);
	border-radius: 9px;
	font: inherit;
	font-size: var(--wp--preset--font-size--medium);
}
.wpcf7 input[type="file"] { font: inherit; font-size: var(--wp--preset--font-size--small); }
/* mosparo's box has a fixed 350px width: never wider than the form on small phones. */
.wpcf7 .mosparo__container { max-width: 100% !important; min-width: 0 !important; box-sizing: border-box; }
.wpcf7 .wpcf7-form > p { margin: 0 0 12px; }
/* Field names inside the boxes (client request 2026-12-03): the label text stays for screen readers only. */
.wpcf7 .kineden-form-interne .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.wpcf7 .kineden-form-interne .kineden-champ .wpcf7-form-control-wrap { margin-top: 0; }
.wpcf7 .kineden-form-interne ::placeholder { color: var(--wp--preset--color--accent-4); opacity: 1; }
/* Wide forms (full-width sections): the short fields sit four to a row, as on the old landing page. */
@media (min-width: 1000px) {
	.kineden-fond-bambou .wpcf7 .kineden-form-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.wpcf7 .kineden-form-grille { grid-template-columns: 1fr; }
}

/* ---------- Zoho Campaigns opt-in (footer) — styling from the live Customizer CSS ---------- */
/* The embed ships fixed pixel widths: keep it inside its column. */
/* Zoho's script also sets min-width (e.g. 600px) inline after load, depending on the window width. */
.kineden-infolettre, .kineden-infolettre * { max-width: 100% !important; min-width: 0 !important; box-sizing: border-box; }
.kineden-infolettre table, .kineden-infolettre [style*="width"] { width: auto !important; }
/* Zoho's embedded CSS forces 600px with two-ID selectors + !important on desktops: outrank it (2 IDs + 1 class). */
.kineden-infolettre #customForm #signupMainDiv,
.kineden-infolettre #customForm #imgBlock { width: 100% !important; min-width: 0 !important; }
.kineden-infolettre #customForm .recaptcha { margin-left: 0 !important; }
/* Port of the live Customizer rules (footer opt-in): white card, no Zoho logo/heading/description, big pink button. */
.kineden-infolettre #customForm #SIGNUP_PAGE {
	padding: 0 !important;
	background: #fff !important;
	border: 1px solid #dedede !important;
	border-radius: 12px !important;
	color: #454142 !important;
}
.kineden-infolettre #customForm #imgBlock,
.kineden-infolettre #customForm #SIGNUP_HEADING,
.kineden-infolettre #customForm #SIGNUP_DESCRIPTION { display: none !important; }
.kineden-infolettre #customForm #SIGNUP_BODY {
	padding: 16px !important;
	border-radius: 12px !important;
	font-size: 14px !important;
	background: #fff !important;
}
.kineden-infolettre #customForm input[changeitem="SIGNUP_FORM_FIELD"] {
	width: 100% !important;
	min-height: 40px;
	padding: 8px !important;
	border: 1px solid #999 !important;
	border-radius: 6px !important;
	font-size: 16px !important;
}
.kineden-infolettre #customForm #zcWebOptin {
	width: 100% !important;
	min-height: 46px;
	padding: 10px 12px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: var(--wp--preset--color--rose-fonce) !important;
	color: #fff !important;
	font-weight: 700 !important;
}
.kineden-infolettre #customForm #zcWebOptin:hover { background: #A00039 !important; }

/* Cleaner layout than the live site: each label above a full-width field, everything aligned on one edge. */
.kineden-infolettre #customForm .zcsffieldsdiv { margin-top: 0 !important; }
.kineden-infolettre #customForm .zcsffieldsdiv > div { padding: 0 !important; }
.kineden-infolettre #customForm .zcsffieldsdiv > div > div { padding: 0 0 16px !important; }
.kineden-infolettre #customForm [name="SIGNUP_FORM_LABEL"] {
	float: none !important;
	width: 100% !important;
	margin: 0 0 6px !important;
	font-family: var(--wp--preset--font-family--catamaran) !important;
	font-size: 15px !important;
	font-weight: 600;
	color: var(--wp--preset--color--contrast) !important;
}
.kineden-infolettre #customForm .zcinputbox {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
}
.kineden-infolettre #customForm .zcinputbox input[changeitem="SIGNUP_FORM_FIELD"] { width: 100% !important; height: auto !important; }
.kineden-infolettre #customForm #REQUIRED_FIELD_TEXT { padding: 0 0 12px !important; text-align: left; }
.kineden-infolettre #customForm #zcWebOptin { margin: 4px 0 0 !important; }
.kineden-infolettre #customForm #zcWebOptin + *, .kineden-infolettre #customForm [style*="text-align:center"]:has(> #zcWebOptin) { padding: 0 !important; }
.kineden-infolettre #customForm #privacyNotes {
	height: auto !important;
	margin: 0 !important;
	padding: 14px 16px 16px !important;
	border-top: 1px solid #ececec;
	font-family: var(--wp--preset--font-family--catamaran) !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	color: var(--wp--preset--color--accent-4) !important;
}
.kineden-infolettre #customForm #privacyNotes * { font-size: inherit !important; font-family: inherit !important; color: inherit !important; }
.kineden-infolettre #customForm #zcWebOptin:focus-visible { outline: 3px solid var(--wp--preset--color--rose-fonce) !important; outline-offset: 3px !important; }

/* ===== Client review 2026-12-03 ===== */
/* Full-width sections follow each other with no white gap (the default block spacing showed as white bands). */
.wp-block-post-content > .alignfull,
.wp-block-post-content > .alignfull + *,
.wp-block-post-content > .wp-block-group:has(+ .alignfull) + .alignfull { margin-block-start: 0 !important; }
/* Same between the template's top-level parts (title band, service circles, content, footer). */
.wp-site-blocks > * + * { margin-block-start: 0 !important; }

/* Icons next to text (e.g. "Mes valeurs"): keep their set size instead of shrinking in the row. */
.is-layout-flex > .wp-block-image.is-resized { flex-shrink: 0; }

/* Service circles: evenly spread across the width, whatever the number of services. */
.kineden-rangee-services .wp-block-post-template.is-layout-grid {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: space-evenly;
}
.kineden-rangee-services .wp-block-post-template > li { width: 170px; }

/* Turquoise band: text on the left, button on the right on one row (wraps only on small screens). */
@media (min-width: 782px) {
	.kineden-bandeau-centre-mobile > .wp-block-group.is-layout-flex { flex-wrap: nowrap; }
	.kineden-bandeau-centre-mobile > .wp-block-group.is-layout-flex > .wp-block-heading { flex: 1 1 auto; }
	.kineden-bandeau-centre-mobile > .wp-block-group.is-layout-flex > .wp-block-buttons { flex: 0 0 auto; }
}

/* Section background with the bamboo leaf on the right (legacy "quel-type-bg.jpg"). */
.kineden-fond-bambou {
	background-color: var(--wp--preset--color--base) !important;
	background-image: url("assets/images/quel-type-bg.jpg");
	background-size: cover;
	background-position: 100% 50%;
	background-repeat: no-repeat;
}

/* Blog list: grey page, date in a pink-outlined circle (pink day, grey month), pink outlined "Lire la suite" button,
   square page numbers. */
.kineden-date-cercle {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 0 0 75px;
	width: 75px;
	height: 75px;
	border: 2px solid var(--wp--preset--color--accent-1);
	border-radius: 50%;
	background: transparent;
	text-align: center;
	line-height: 1;
	gap: 2px !important;
}
.kineden-date-cercle .wp-block-post-date { margin: 0 !important; }
/* Blog list: date circle in a column on the left of the image, title and excerpt (as on the old site). */
.kineden-article-rangee > :last-child { flex: 1 1 auto; min-width: 0; }
@media (max-width: 600px) {
	.kineden-article-rangee { flex-wrap: wrap !important; }
	.kineden-article-rangee > :last-child { flex-basis: 100%; }
}
.kineden-date-cercle a { text-decoration: none; color: inherit; }
.kineden-date-cercle > :first-child { color: var(--wp--preset--color--accent-1); font-size: 30px !important; font-weight: 600; margin: 0 !important; }
.kineden-date-cercle > :last-child:not(:first-child) { color: var(--wp--preset--color--contrast); font-size: 13px !important; margin: 0 !important; }
.kineden-extrait-bouton .wp-block-post-excerpt__more-text { margin-top: 1em; }
.kineden-extrait-bouton .wp-block-post-excerpt__more-link {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--wp--preset--color--accent-1);
	border-radius: 9px;
	color: var(--wp--preset--color--accent-1);
	font-size: var(--wp--preset--font-size--medium);
	text-decoration: none;
}
.kineden-extrait-bouton .wp-block-post-excerpt__more-link:hover { background: var(--wp--preset--color--accent-1); color: var(--wp--preset--color--base); }
.wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.wp-block-query-pagination-numbers .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border: 2px solid var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--contrast);
	font-size: 24px;
	text-decoration: none;
}
.wp-block-query-pagination-numbers .page-numbers.current,
.wp-block-query-pagination-numbers .page-numbers.dots {
	background: var(--wp--preset--color--accent-1);
	border-color: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
}
.wp-block-query-pagination-numbers a.page-numbers:hover { background: var(--wp--preset--color--accent-1); color: var(--wp--preset--color--base); }

/* Form embedded in a centred band (pattern « Appel à l’action avec formulaire »): labels and fields stay left-aligned. */
.kineden-formulaire-integre { text-align: left; margin-top: var(--wp--preset--spacing--40) !important; }

/* ===== Accueil : header over the hero photo, dark menu and normal logo as on the old site (client request 2026-12-03).
   The blue gradient on the photo (below) keeps it readable. */
body.home .kineden-header--transparent:not(.is-scrolled) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content,
body.home .kineden-header--transparent:not(.is-scrolled) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon,
body.home .kineden-header--transparent:not(.is-scrolled) .wp-block-navigation__responsive-container-open { color: var(--wp--preset--color--noir); }
/* Home hero: turquoise gradient over the photo (left clear → right turquoise, the old "blue-gradient.png") and the thin
   green-to-turquoise strip along its bottom edge. Replaces the cover's flat overlay. */
body.home .wp-block-post-content > .wp-block-cover:first-child .wp-block-cover__background {
	background: linear-gradient(to right, rgba(95, 198, 195, 0) 0%, rgba(95, 198, 195, .29) 50%, rgba(95, 198, 195, .59) 100%) !important;
	opacity: 1 !important;
}
body.home .wp-block-post-content > .wp-block-cover:first-child::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 13px;
	background: var(--wp--preset--gradient--vert-turquoise);
	z-index: 2;
}
/* Open mobile menu (right-aligned): long labels that wrap stay right-aligned too. */
.kineden-header .is-menu-open .wp-block-navigation-item__content { text-align: right; }

/* Home hero: wide translucent box and a 3-line headline, as on the old site (desktop). */
@media (min-width: 992px) {
	body.home .wp-block-post-content > .wp-block-cover:first-child .wp-block-cover__inner-container { width: 90%; max-width: none; }
	body.home .wp-block-post-content > .wp-block-cover:first-child .wp-block-cover__inner-container > .wp-block-group { max-width: none; width: 100%; }
	body.home .wp-block-post-content > .wp-block-cover:first-child h1 { max-width: 21ch; margin-inline: auto; text-wrap: balance; }
}
@media (max-width: 767px) {
	body.home .wp-block-post-content > .wp-block-cover:first-child h1 { font-size: 29px !important; line-height: 1.18; }
}
/* Home news teaser titles underlined, as on the old site. */
body.home .wp-block-query .wp-block-post-title a { text-decoration: underline; }

/* Service showcases: the arm photo behind the "Douleur chronique" text, as on the old site. */
.kineden-vitrine-bras {
	background-image: url("assets/images/bras-1-sm_newSise.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 0 50%;
}
/* Gift-certificate band: ribbon graphic on the left. */
.kineden-bandeau-ruban {
	background-image: url("assets/images/boutique-bg.jpg");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 0 50%;
}
/* Home news teaser: "[ En savoir plus… ]" turquoise, on the same line as the excerpt. */
.wp-block-post-excerpt__more-link { color: var(--wp--preset--color--accent-2); }

/* ===== Accueil : photo au centre et six points avec icônes (pattern « Accueil — approche, photo et icônes ») =====
   As on the old site: the photo is centred, three points on each side step inward like an arc around the arms.
   The arc offsets are fixed for three points per side. Below 992px the photo is hidden and the points stack. */
.kineden-approche-photo { position: relative; margin-top: var(--wp--preset--spacing--40) !important; }
.kineden-icone {
	flex: 0 0 67px;
	width: 67px;
	height: 67px;
	margin: 0 !important;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-2);
}
.kineden-icone img { width: 46px !important; height: 46px; object-fit: contain; }
.kineden-point { gap: 8px; margin-block-start: 16px !important; align-items: center; }
.kineden-point p { margin: 0; max-width: 310px; line-height: 1.35; font-size: 22px !important; }
.kineden-points-gauche .kineden-point p { text-align: right; }
@media (min-width: 992px) {
	.kineden-approche-photo { min-height: 520px; }
	/* The photo sits directly on the next band, as on the old site. */
	.wp-block-group:has(> .kineden-approche-photo) { padding-bottom: 0 !important; }
	.wp-block-group:has(> .kineden-approche-photo) + * { margin-block-start: 0 !important; }
	.kineden-approche-photo__image {
		position: absolute;
		top: 0;
		left: 50%;
		height: 100%;
		margin: 0 !important;
		transform: translateX(-50%);
		z-index: 0;
	}
	.kineden-approche-photo__image img { height: 100%; width: auto; max-width: none; }
	.kineden-approche-photo__points { position: relative; z-index: 1; padding-top: 110px; margin: 0 !important; gap: 0 !important; }
	.kineden-points-gauche .kineden-point:nth-child(1) { margin-right: min(244px, 17vw); }
	.kineden-points-gauche .kineden-point:nth-child(2) { margin-right: min(209px, 14.5vw); }
	.kineden-points-gauche .kineden-point:nth-child(3) { margin-right: min(169px, 11.7vw); }
	.kineden-points-droite .kineden-point:nth-child(1) { margin-left: min(244px, 17vw); }
	.kineden-points-droite .kineden-point:nth-child(2) { margin-left: min(209px, 14.5vw); }
	.kineden-points-droite .kineden-point:nth-child(3) { margin-left: min(169px, 11.7vw); }
}
@media (max-width: 991px) {
	.kineden-approche-photo__image { display: none; }
	.kineden-approche-photo { padding-inline: 16px; }
	.kineden-approche-photo__points { flex-wrap: wrap !important; max-width: 520px; margin-inline: auto !important; padding-bottom: var(--wp--preset--spacing--50); gap: 0 !important; }
	.kineden-approche-photo__points > .wp-block-column { flex-basis: 100% !important; }
	.kineden-points-gauche .kineden-point { flex-direction: row-reverse; justify-content: flex-end !important; }
	.kineden-points-gauche .kineden-point p { text-align: left; }
}
@media (max-width: 600px) {
	.kineden-icone { flex-basis: 48px; width: 48px; height: 48px; }
	.kineden-icone img { width: 32px !important; height: 32px; }
	.kineden-point p { font-size: 20px !important; }
}
/* Points zoom in as they scroll into view (like the old site); browsers without scroll timelines just show them. */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.kineden-approche-photo .kineden-point {
			animation: kineden-zoom linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 80%;
		}
	}
}
/* Scale only (no fade), so the points stay visible even where the scroll timeline never runs (print, previews). */
@keyframes kineden-zoom { from { transform: scale(0.6); } to { transform: scale(1); } }
