/*
Theme Name: Loris Combe
Template: twentytwentyfive
Description: Thème enfant de Twenty Twenty-Five pour loriscombe.fr — crème, vert profond, Fraunces et IBM Plex.
Author: Loris Combe
Version: 1.10.0
Requires at least: 6.7
Text Domain: loriscombe
*/

/* Mots en italique dans les titres : vert sur fond clair, couleur héritée sur fond vert */
h1 em, h2 em, h3 em {
	font-style: italic;
	color: var(--wp--preset--color--vert);
}
.has-vert-background-color h1 em,
.has-vert-background-color h2 em,
.has-vert-background-color h3 em,
.has-encre-background-color h2 em {
	color: inherit;
}

/* Logo de l'en-tête (SVG en ligne) : mêmes couleurs en thème clair et sombre */
.lc-logo { display: block; flex: none; width: 36px; height: 36px; }
.lc-logo-a { fill: #1F4D3A; }
.lc-logo-b { fill: #D8C29D; }
@media (max-width: 599px) { .lc-logo { width: 30px; height: 30px; } }

/* Introduction (functions.php) : les initiales s'écrivent à la main, 1,7 s en tout
   0,00 → 0,45 s  le crayon écrit le L : il descend au centre, part à droite, puis l'arc rond le referme
   0,22 → 0,70 s  le sable remplit le L en tournant autour du centre
   0,55 → 0,98 s  le crayon écrit le C en partant du même point, et revient s'accrocher au L
   0,75 → 1,22 s  le pinceau vert suit le C
   1,12 → 1,35 s  le logo exact se pose (bords nets), le crayon s'efface, la feuille s'est redressée
   1,45 → 1,70 s  l'écran disparaît en fondu */
.lc-intro-ecran { display: none; }
html.lc-intro .lc-intro-ecran {
	display: grid;
	place-items: center;
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: var(--wp--preset--color--creme);
	transition: opacity .25s ease;
}
html.lc-intro-fin .lc-intro-ecran { opacity: 0; pointer-events: none; }
.lc-intro-feuille {
	transform-box: view-box;
	transform-origin: 50% 50%;
	transform: rotate(-4deg);
	animation: lc-intro-feuille 1.3s cubic-bezier(.2, .8, .2, 1) forwards;
}
.lc-intro-crayon,
.lc-intro-pinceau {
	fill: none;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
}
.lc-intro-crayon {
	stroke: var(--wp--preset--color--encre);
	stroke-width: 12;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.lc-intro-pinceau { stroke-width: 160; stroke-linecap: butt; }
.lc-intro-crayon-l { animation: lc-intro-geste .45s 0s linear forwards, lc-intro-efface .2s 1.15s ease forwards; }
.lc-intro-pinceau-l { stroke: #D8C29D; animation: lc-intro-pinceau .48s .22s cubic-bezier(.45, 0, .2, 1) forwards; }
.lc-intro-crayon-c { animation: lc-intro-geste .43s .55s linear forwards, lc-intro-efface .2s 1.15s ease forwards; }
.lc-intro-pinceau-c { stroke: #1F4D3A; animation: lc-intro-pinceau .47s .75s cubic-bezier(.45, 0, .2, 1) forwards; }
.lc-intro-net { opacity: 0; animation: lc-intro-net .2s 1.12s ease forwards; }
/* La main hésite en posant le crayon, file, puis ralentit en fin de lettre */
@keyframes lc-intro-geste {
	0% { stroke-dashoffset: 1; animation-timing-function: cubic-bezier(.6, 0, .9, .6); }
	18% { stroke-dashoffset: .88; animation-timing-function: cubic-bezier(.2, .4, .6, 1); }
	70% { stroke-dashoffset: .22; animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
	100% { stroke-dashoffset: 0; }
}
@keyframes lc-intro-pinceau { to { stroke-dashoffset: 0; } }
@keyframes lc-intro-efface { to { opacity: 0; } }
@keyframes lc-intro-net { to { opacity: 1; } }
@keyframes lc-intro-feuille { to { transform: none; } }
/* Le titre mot à mot attend la fin de l'introduction */
html.lc-intro .lcx-mot > span { animation-delay: calc(var(--i) * 70ms + 1600ms); }

/* Badges des deux situations (« Vous avez déjà un site » / « pas encore de site ») :
   police de texte, taille lisible, pastille colorée avec un repère */
.lc-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 16px 8px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--menthe);
	color: var(--wp--preset--color--vert);
	font-family: var(--wp--preset--font-family--plex-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}
.lc-badge::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: currentColor;
}
.lc-carte.lc-sombre .lc-badge {
	background: rgba(238, 242, 236, .14);
	color: var(--wp--preset--color--sur-vert);
}

/* Petits labels en capitales mono */
.lc-label {
	font-family: var(--wp--preset--font-family--plex-mono);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Cartes de même hauteur dans une rangée de colonnes */
.lc-cartes > .wp-block-column > .wp-block-group {
	height: 100%;
	box-sizing: border-box;
}

/* Bouton clair (sur carte sombre) */
.wp-block-button.is-style-clair .wp-block-button__link {
	background: var(--wp--preset--color--creme);
	color: var(--wp--preset--color--encre);
}

/* Emplacements d'image à remplacer */
.lc-emplacement p {
	font-family: var(--wp--preset--font-family--plex-mono);
	font-size: 13px;
	text-align: center;
	color: var(--wp--preset--color--attenue);
}

/* Filets fins au-dessus des étapes */
.lc-filet {
	border-top: 1px solid currentColor;
	padding-top: 22px;
}
.has-vert-background-color .lc-filet {
	border-top-color: #4E7B67;
}

/* Tableau des constats */
.lc-tableau table {
	border-collapse: collapse;
	background: var(--wp--preset--color--papier);
}
.lc-tableau th {
	font-family: var(--wp--preset--font-family--plex-mono);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--attenue);
	text-align: left;
}
.lc-tableau th,
.lc-tableau td {
	padding: 18px 24px;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--trait);
}
.lc-tableau td:last-child {
	color: var(--wp--preset--color--vert);
	font-weight: 500;
}
.lc-tableau {
	border: 1px solid var(--wp--preset--color--trait);
	border-radius: 18px;
	overflow-x: auto;
}

/* ==========================================================
   Classes utilitaires pour les pages (sections, cartes)
   ========================================================== */
.lc-section {
	padding: 96px 32px;
}
.lc-section.lc-serre {
	padding-top: 72px;
	padding-bottom: 56px;
}
.lc-section.lc-haut-zero {
	padding-top: 0;
}
.lc-section.lc-filet-haut {
	border-top: 1px solid var(--wp--preset--color--trait);
}
.lc-section > * + * {
	margin-block-start: 40px;
}
.lc-carte {
	background: var(--wp--preset--color--papier);
	border: 1px solid var(--wp--preset--color--trait);
	border-radius: 20px;
	padding: 36px;
	height: 100%;
	box-sizing: border-box;
}
.lc-carte.lc-sombre {
	background: var(--wp--preset--color--encre);
	color: var(--wp--preset--color--creme);
	border-color: var(--wp--preset--color--encre);
}
.lc-carte.lc-sombre .lc-label { color: var(--wp--preset--color--label-sur-vert); }
.lc-encart {
	background: var(--wp--preset--color--menthe);
	border-radius: 20px;
	padding: 32px 40px;
}
.lc-prix {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 56px;
	line-height: 1;
}
.lc-prix small {
	font-family: var(--wp--preset--font-family--plex-sans);
	font-size: 17px;
	opacity: .7;
	display: inline-block;
	white-space: nowrap;
}
.lc-gros-chiffre {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 60px;
	line-height: 1;
	color: var(--wp--preset--color--vert);
}
.lc-chapeau {
	font-size: 20px;
	color: var(--wp--preset--color--texte);
	max-width: 40em;
}
.lc-attenue { color: var(--wp--preset--color--attenue); }
.lc-section .wp-block-list li + li { margin-top: 8px; }

/* FAQ (bloc Détails) */
.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--trait);
	padding: 20px 0;
}
.wp-block-details summary {
	cursor: pointer;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 22px;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+";
	font-family: var(--wp--preset--font-family--plex-mono);
	font-size: 22px;
	color: var(--wp--preset--color--vert);
	transition: transform .3s ease;
	flex: none;
}
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { margin-top: 12px; color: var(--wp--preset--color--texte); }

/* ==========================================================
   Micro-interactions
   ========================================================== */

/* En-tête collant qui prend une ombre au défilement */
header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: var(--wp--preset--color--creme);
	transition: box-shadow .3s ease, background-color .3s ease;
}
header.wp-block-template-part.is-scrolled {
	background: rgba(246, 241, 231, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	box-shadow: 0 1px 0 var(--wp--preset--color--trait), 0 8px 24px -16px rgba(29, 36, 32, .35);
}

/* Boutons : immobiles, seules la couleur et l'ombre changent au survol */
.wp-element-button,
.wp-block-button__link {
	transition: box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.wp-block-button__link:hover {
	box-shadow: 0 10px 20px -12px rgba(31, 77, 58, .6);
}
.wp-block-button__link:active {
	box-shadow: none;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--vert);
	color: var(--wp--preset--color--creme);
}
/* Bouton contour sur carte sombre : texte et bord clairs */
.lc-carte.lc-sombre .is-style-outline .wp-block-button__link {
	color: #F3EEE4;
	border-color: rgba(243, 238, 228, .55);
	background: transparent;
}
.lc-carte.lc-sombre .is-style-outline .wp-block-button__link:hover {
	background: rgba(243, 238, 228, .12);
	color: #F3EEE4;
}

/* Liens dans le texte : soulignement qui se dessine */
main p a,
main li a,
footer a {
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 100% 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size .3s ease;
}
main p a:hover,
main li a:hover,
footer a:hover {
	background-size: 0 1px;
	background-position: 100% 100%;
}
.wp-block-navigation-item__content {
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1.5px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size .3s ease;
}
.wp-block-navigation-item__content:hover,
.current-menu-item > .wp-block-navigation-item__content {
	background-size: 100% 1.5px;
}


/* Cartes : soulèvement au survol */
.lc-cartes > .wp-block-column > .wp-block-group,
.lc-carte {
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.lc-cartes > .wp-block-column > .wp-block-group:hover,
.lc-carte:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px -24px rgba(29, 36, 32, .45);
}

/* Emplacements d'image : léger zoom au survol */
.lc-emplacement {
	transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.lc-emplacement:hover { transform: scale(1.01); }

/* Titre principal : arrivée douce au chargement */
.lc-js main h1 {
	animation: lc-monte .8s cubic-bezier(.2, .8, .2, 1) both;
}
.lc-js main h1 em {
	display: inline-block;
	animation: lc-monte .8s .15s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes lc-monte {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

/* Apparition au défilement (classes posées par interactions.js) */
.lc-apparait {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
	transition-delay: var(--lc-delai, 0ms);
}
.lc-apparait.lc-visible {
	opacity: 1;
	transform: none;
}

/* Bouton « retour en haut » */
.lc-haut {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	border: 0;
	background: var(--wp--preset--color--vert);
	color: var(--wp--preset--color--creme);
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 10px 24px -12px rgba(29, 36, 32, .6);
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity .3s ease, transform .3s ease, background-color .2s ease;
	z-index: 60;
}
.lc-haut.is-visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.lc-haut:hover { background: var(--wp--preset--color--encre); }

/* Focus clavier bien visible partout */
:focus-visible {
	outline: 2px solid var(--wp--preset--color--vert);
	outline-offset: 3px;
	border-radius: 4px;
}
.has-vert-background-color :focus-visible,
.has-encre-background-color :focus-visible {
	outline-color: var(--wp--preset--color--creme);
}

/* Moins d'animations si demandé par le système */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.lc-apparait { opacity: 1; transform: none; }
}

/* Mobile */
@media (max-width: 781px) {
	.lc-section { padding: 64px 20px; }
	.lc-carte { padding: 28px; }
	.lc-encart { padding: 28px; }
	.lc-haut { right: 16px; bottom: 16px; }
}

.lc-citation {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-size: 26px;
	line-height: 1.3;
}

/* ==========================================================
   Images et éléments de page (v1.2)
   ========================================================== */
.lc-image { margin: 0; }
.lc-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 20px;
}
.lc-image.lc-portrait img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 30%;
	max-height: 620px;
}
.lc-image.lc-ecran img {
	border: 1px solid var(--wp--preset--color--trait);
	box-shadow: 0 24px 48px -32px rgba(29, 36, 32, .45);
	background: var(--wp--preset--color--papier);
}
.lc-image.lc-large img {
	aspect-ratio: 16 / 7;
	object-fit: cover;
}
.lc-image figcaption {
	margin-top: 12px;
	font-size: 14px;
	color: var(--wp--preset--color--attenue);
}
.has-vert-background-color .lc-image figcaption { color: var(--wp--preset--color--sur-vert-doux); }
.lc-carte .lc-image img { border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.lc-carte > * + * { margin-block-start: 16px; }

/* Zoom doux des images au survol */
.lc-image img { transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .6s ease; }
.lc-ecran:hover img,
.lc-carte:hover .lc-image img { transform: scale(1.015); }
.lc-carte .lc-image { overflow: hidden; border-radius: 14px; }

.lc-carte.lc-contour { background: transparent; border: 1.5px solid var(--wp--preset--color--encre); }
.lc-suite {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: clamp(24px, 3vw, 30px);
	line-height: 1.2;
	margin: 0;
}
.lc-fil { font-family: var(--wp--preset--font-family--plex-mono); font-size: 13px; }
.lc-fiche {
	border-top: 1px solid #C9C2B2;
	padding-top: 24px;
}
.lc-fiche .lc-label { font-size: 12px; margin-bottom: 4px; }
.lc-texte-legal { max-width: 760px; }
.lc-texte-legal h2 { margin-top: 40px; }
.lc-hero .wp-block-column:last-child { align-self: center; }
.lc-hero .lc-image.lc-portrait { max-width: 440px; margin-left: auto; }

/* Portrait de l'accueil : lien vers « Qui suis-je ? », avec une phrase qui apparaît au survol
   (et au focus clavier ; toujours visible sur les écrans tactiles, qui n'ont pas de survol) */
.lc-portrait-lien a {
	position: relative;
	display: block;
	border-radius: 20px;
	overflow: hidden;
	background-image: none !important;
}
.lc-portrait-lien a::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(29, 36, 32, .55), rgba(29, 36, 32, 0) 45%);
	opacity: 0;
	transition: opacity .3s ease;
	z-index: 1;
}
.lc-portrait-lien a::after {
	content: "Faisons connaissance →";
	position: absolute;
	left: 20px;
	bottom: 20px;
	z-index: 2;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--wp--preset--color--creme);
	color: var(--wp--preset--color--encre);
	font-size: 15px;
	font-weight: 500;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity .3s ease, transform .3s ease;
}
.lc-portrait-lien img { transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .4s ease; }
.lc-portrait-lien a:hover::before,
.lc-portrait-lien a:focus-visible::before,
.lc-portrait-lien a:hover::after,
.lc-portrait-lien a:focus-visible::after { opacity: 1; transform: none; }
/* Flou léger : la photo s'efface derrière la pastille (zoom un peu plus fort pour cacher les bords flous) */
.lc-portrait-lien a:hover img,
.lc-portrait-lien a:focus-visible img { transform: scale(1.06); filter: blur(4px); }
.lc-portrait-lien a:focus-visible { outline-offset: 4px; }
@media (hover: none) {
	.lc-portrait-lien a::after { opacity: 1; transform: none; }
}
.lc-image.lc-vignette img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.lc-image.lc-vignette.lc-contenir img { object-fit: contain; object-position: center; padding: 12px; box-sizing: border-box; }

/* ==========================================================
   v1.3 — corrections issues de l'analyse UX
   ========================================================== */

/* Titres stylés en étiquette (vrais titres pour les lecteurs d'écran) */
.wp-block-heading.lc-label {
	font-family: var(--wp--preset--font-family--plex-mono);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.lc-petit { font-size: 14px; }
.lc-dispo {
	display: inline-block;
	background: var(--wp--preset--color--menthe);
	border-radius: 12px;
	padding: 12px 16px;
	font-size: 15px;
}
.lc-titre-form { margin-bottom: 8px; }
.lc-coordonnees { margin-top: 40px; }
.lc-coordonnees > * + * { margin-top: 6px; }
.lc-coordonnees a { font-size: 19px; }

/* Emplacements d'image restants : contraste du texte renforcé */
.lc-emplacement p { color: #4A534E; }

/* Ancres : le titre n'est plus caché sous l'en-tête collant */
[id] { scroll-margin-top: 96px; }

/* Page courante dans le menu (aria-current posé par interactions.js) */
.wp-block-navigation-item__content[aria-current] {
	background-size: 100% 1.5px;
	color: var(--wp--preset--color--vert);
	font-weight: 500;
}

/* Menu mobile plein écran aux couleurs du site */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--creme) !important;
	color: var(--wp--preset--color--encre) !important;
	padding: 32px 24px;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	gap: 20px;
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 30px;
}

/* Formulaire de contact */
.lc-formulaire form > * + * { margin-top: 18px; }
.lc-champ { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.lc-champ label { font-weight: 500; }
.lc-requis, .lc-facultatif { font-weight: 400; font-size: 14px; color: var(--wp--preset--color--attenue); }
.lc-aide { font-size: 14px; color: var(--wp--preset--color--attenue); }
.lc-champ input,
.lc-champ select,
.lc-champ textarea {
	font: inherit;
	color: var(--wp--preset--color--encre);
	background: #fff;
	border: 1.5px solid #8A918C;
	border-radius: 12px;
	padding: 12px 14px;
	min-height: 48px;
	box-sizing: border-box;
	width: 100%;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.lc-champ textarea { resize: vertical; min-height: 140px; }
.lc-champ input:focus,
.lc-champ select:focus,
.lc-champ textarea:focus {
	border-color: var(--wp--preset--color--vert);
	box-shadow: 0 0 0 3px rgba(31, 77, 58, .18);
	outline: none;
}
.lc-champ-erreur input,
.lc-champ-erreur textarea { border-color: #A32D2D; }
.lc-erreur { color: #A32D2D; font-size: 14px; font-weight: 500; }
.lc-champs-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lc-form-erreurs {
	border: 2px solid #A32D2D;
	background: #FBEFEC;
	border-radius: 12px;
	padding: 16px 20px;
}
.lc-form-erreurs ul { margin: 8px 0 0; padding-left: 20px; }
.lc-form-erreurs a { color: #7E1F1F; }
.lc-form-succes {
	background: var(--wp--preset--color--menthe);
	border-radius: 12px;
	padding: 20px 24px;
}
.lc-mention { font-size: 14px; color: var(--wp--preset--color--attenue); }

/* Bilan express : deux champs et le bouton sur une ligne */
.lc-bilan { padding: 44px 48px; margin-top: 40px; }
.lc-bilan > * + * { margin-top: 16px; }
.lc-bilan h2 { margin-top: 18px; }
.lc-bilan > p:not(.lc-badge) { max-width: 720px; }
.lc-bilan .lc-badge { background: var(--wp--preset--color--vert); color: var(--wp--preset--color--sur-vert); }
.lc-bilan-express { margin-top: 24px; }
.lc-bilan-express form > * + * { margin-top: 12px; }
.lc-bilan-ligne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.lc-bilan-ligne .wp-block-buttons { margin: 0; }
.lc-bilan-ligne .wp-block-button__link { min-height: 48px; white-space: nowrap; }
.lc-piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lc-formulaire button.wp-element-button { cursor: pointer; border: 0; font: inherit; font-weight: 500; }

/* Impression : tout le contenu visible, sans éléments flottants */
@media print {
	.lc-apparait { opacity: 1 !important; transform: none !important; }
	.lc-haut, header.wp-block-template-part { position: static !important; box-shadow: none !important; }
	.lc-haut { display: none !important; }
}

/* Mobile */
@media (max-width: 599px) {
	.lc-masquer-mobile { display: none; }
	.lc-lieu { display: none; }
	.lc-image.lc-portrait img { max-height: 420px; }
	.lc-champs-duo { grid-template-columns: 1fr; }
	.lc-bilan { padding: 28px 22px; }
	.lc-bilan-ligne { grid-template-columns: 1fr; }
	.lc-bilan-ligne .wp-block-button, .lc-bilan-ligne .wp-block-button__link { width: 100%; }
	header .wp-block-button__link { padding: 11px 16px; font-size: 15px; }
	.wp-block-quote { font-size: 24px; }
}

/* Cartes cliquables en entier (le lien texte est étendu à toute la carte) */
.lc-carte-cliquable { position: relative; cursor: pointer; }
.lc-carte-cliquable .lc-lien-etendu::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 20px;
	z-index: 1;
}
.lc-carte-cliquable .lc-lien-etendu:focus-visible { outline: none; }
.lc-carte-cliquable:has(.lc-lien-etendu:focus-visible) {
	outline: 2px solid var(--wp--preset--color--vert);
	outline-offset: 4px;
}
.lc-carte-cliquable:hover .lc-lien-etendu { background-size: 0 1px; background-position: 100% 100%; }
.lc-image-lien { cursor: pointer; }
