/* Page Contact — widget contact-box (layout-2) du theme ThemePure.
   Recolore le sous-titre et le bouton du formulaire selon la charte
   graphique (vert #385751), masque l'icone avion decorative codee en
   dur dans le plugin et non configurable via les settings Elementor. */
.elementor-element-9208a09 .tp-section-title-pre {
	color: #385751 !important;
}
.elementor-element-9208a09 .tp-section-title-pre .flaticon-plane {
	display: none !important;
}
.elementor-element-9208a09 .tp-btn {
	background-color: #385751 !important;
}
.elementor-element-9208a09 .tp-btn::after {
	background-color: #2c4540 !important;
}
.elementor-element-9208a09 .tp-contact-wrapper {
	border-top-color: #385751 !important;
}

/* Container racine de la page Contact — padding vertical corrompu
   (valeur "0120" dans les donnees Elementor d'origine, rendue 120px
   top/bottom au lieu de 0). Reduit a 50px. */
.elementor-element-2e56a01 > .e-con-inner {
	padding-top: 30px !important;
	padding-bottom: 30px !important;
}
@media (max-width: 860px) {
	.elementor-element-6067b66,
	.elementor-element-023ef69 {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}
}

/* Header mobile : espacement du bloc contact et du logo. */
@media (max-width: 1199px) {
	.tp-header-contact.d-xl-flex {
		padding-right: 20px;
	}
	.tp-header-logo {
		padding-left: 20px !important;
		padding-right: 20px;
	}
}

/* Boutons de la lightbox medias (mediatheque) : Safari iOS n'active pas
   toujours le handler click sur un <button> ne contenant qu'une icone
   sans texte. touch-action + cursor forcent un comportement tactile
   standard, et un pseudo-element etend la zone cliquable au dela des
   40px visibles pour un ciblage tactile plus fiable. */
.fo-lightbox-btn {
	touch-action: manipulation;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.fo-lightbox-btn::after {
	content: "";
	position: absolute;
	inset: -12px;
}

@font-face {
	font-family: 'Sora';
	src: url('../fonts/Sora-ExtraBold.ttf') format('truetype');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Sora';
	src: url('../fonts/Sora-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Sora';
	src: url('../fonts/Sora-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Filigrane du hero d'accueil — portrait vectoriel en incrustation discrète
   sur le fond de la colonne de texte (derrière le titre/bio), pas une
   image affichée normalement. Ciblé par l'ID Elementor du container, pas
   de contrôle custom_css disponible en version gratuite d'Elementor. */
.elementor-element-fohero02 {
	position: relative;
	overflow: hidden;
}
.elementor-element-fohero02::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url('/wp-content/uploads/2026/08/fo-vecteur-watermark.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 480px auto;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
	filter: blur(2px);
	opacity: 0.035;
	pointer-events: none;
	z-index: 0;
}
.elementor-element-fohero02 > .e-con-inner,
.elementor-element-fohero02 > .elementor-element {
	position: relative;
	z-index: 1;
}
/* Hero desktop (>860px) : deux colonnes classiques — texte à gauche,
   photo pleine hauteur à droite, collée en haut (pas de padding top).
   Pas d'effet "journal" ici. */
.elementor-element-fohero01 {
	padding: 0 60px 60px !important;
}
.elementor-element-fohero02 {
	width: 100% !important;
	max-width: 1200px;
	margin: 0 auto;
}
.elementor-element-fohero02 > .e-con-inner {
	display: grid !important;
	grid-template-columns: 1fr 46%;
	grid-template-rows: 1fr auto auto auto 1fr;
	align-items: stretch !important;
	gap: 0 48px !important;
}
.elementor-element-fohero09 {
	display: block !important;
	float: none !important;
	grid-column: 2;
	grid-row: 1 / span 5;
	width: 100% !important;
	aspect-ratio: 3 / 4;
	align-self: start;
	margin: 0 !important;
	border-radius: 0;
	background-size: cover !important;
	background-repeat: no-repeat !important;
}
.elementor-element-fohero03,
.elementor-element-fohero04,
.elementor-element-fohero05,
.elementor-element-fohero07 {
	grid-column: 1;
	width: 100% !important;
	margin: 0 !important;
}
.elementor-element-fohero04 {
	grid-row: 2;
}
.elementor-element-fohero04 .elementor-heading-title {
	margin: 0 !important;
	font-size: 42px !important;
	white-space: nowrap;
}
.elementor-element-fohero03 {
	grid-row: 3;
	margin-top: 8px !important;
}
.elementor-element-fohero05 {
	grid-row: 4;
	margin-top: 24px !important;
}
.elementor-element-fohero05 p {
	text-align: justify !important;
}
.elementor-element-fohero07 {
	grid-row: 5;
	align-self: start;
	margin-top: 24px !important;
}

/* Hero mobile : effet "journal" — la photo flotte à droite du texte,
   qui s'écoule autour puis continue en dessous. */
@media (max-width: 860px) {
	.elementor-element-fohero01 {
		display: block !important;
		padding: 32px 0 48px !important;
		min-height: 0 !important;
	}
	.elementor-element-fohero02 {
		padding: 0 32px !important;
	}
	.elementor-element-fohero02 > .e-con-inner {
		display: block !important;
		padding: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	.elementor-element-fohero09 {
		float: right !important;
		order: initial;
		flex: initial;
		width: 55% !important;
		aspect-ratio: 4 / 3;
		margin: 48px 0 16px 16px !important;
	}
	.elementor-element-fohero04.elementor-widget-heading .elementor-heading-title {
		font-size: 34px !important;
		line-height: 1.15 !important;
	}
	.elementor-element-fohero05 p {
		text-align: justify !important;
	}
	.elementor-element-fohero07 {
		clear: both;
		margin-top: 8px;
	}
}
@media (max-width: 480px) {
	.elementor-element-fohero09 {
		width: 50% !important;
		aspect-ratio: 4 / 3;
		margin: 48px 0 8px 8px !important;
	}
	.elementor-element-fohero01 {
		padding: 24px 0 !important;
	}
	.elementor-element-fohero02 {
		padding: 0 24px !important;
	}
	.elementor-element-fohero02 > .e-con-inner {
		padding: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	.elementor-element-fohero04.elementor-widget-heading .elementor-heading-title {
		font-size: 26px !important;
		line-height: 1.2 !important;
		hyphens: none !important;
		word-break: keep-all !important;
		overflow-wrap: normal !important;
	}
}

/* Section "Mes Ouvrages" (shortcode [fo_livres]) — padding vertical réduit
   sur mobile, la classe Tailwind sm:tw-py-20 n'existe pas dans le CSS
   compilé du thème (nécessiterait une recompilation Tailwind). */
.fo-livres-section-pad {
	padding-top: 20px;
	padding-bottom: 20px;
}
@media (max-width: 640px) {
	.fo-livres-section-pad {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

/* Section galerie de la Mediatheque — padding vertical (tw-py-16 = 64px)
   trop genereux sur mobile, reduit sans toucher au desktop. */
@media (max-width: 640px) {
	section.fo-py16-section-pad.fo-py16-section-pad {
		padding-top: 20px !important;
		padding-bottom: 20px !important;
	}
}

@font-face {
	font-family: 'Author';
	src: url('../fonts/Author-Regular.otf') format('opentype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Author';
	src: url('../fonts/Author-Medium.otf') format('opentype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Author';
	src: url('../fonts/Author-Semibold.otf') format('opentype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Author';
	src: url('../fonts/Author-Bold.otf') format('opentype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Technor';
	src: url('../fonts/Technor-Medium.otf') format('opentype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

/*
 * Charte typographique du site (voir doc/elements-typographie.md) :
 * - Sora ExtraBold pour les titres de section (tp-section-title, natif du thème)
 * - Author Regular pour tout le texte courant, y compris les éléments qui
 *   n'ont pas de règle Tailwind explicite (menu, boutons, footer, badges).
 * Ces règles CSS globales évitent d'avoir à retoucher chaque template PHP.
 */
body,
p {
	font-family: 'Author', sans-serif !important;
}

.tp-section-title {
	font-family: 'Sora', sans-serif !important;
	font-weight: 800 !important;
}

.tp-main-menu-content,
.tp-main-menu-content a {
	font-family: 'Author', sans-serif !important;
	font-weight: 600 !important;
}

.fo-card-title {
	font-family: 'Author', sans-serif !important;
	font-weight: 600 !important;
}

.fo-footer-email {
	font-family: 'Author', sans-serif !important;
	font-weight: 600 !important;
}

.fo-site-logo,
.fo-name-font {
	font-family: 'Technor', sans-serif !important;
	font-weight: 500 !important;
}

.tp-hero-2-subtitle {
	font-family: 'Sora', sans-serif !important;
	font-weight: 500 !important;
}

/* Biographie accordion sections (page-biographie.php) — hide the native
   <summary> disclosure triangle since we render our own chevron icon. */
details summary::-webkit-details-marker {
	display: none;
}
details summary {
	list-style: none;
}

/* Hero slider (tp-hero-2-title): the title block must always reserve
   room for 2 lines, so a 1-line vs 2-line caption never shifts the rest
   of the slide layout vertically. */
.tp-hero-2-title {
	min-height: calc(160px * 0.93 * 2);
}
@media only screen and (min-width: 1400px) and (max-width: 1599px), only screen and (min-width: 1200px) and (max-width: 1399px) {
	.tp-hero-2-title {
		min-height: calc(120px * 0.93 * 2);
	}
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.tp-hero-2-title {
		min-height: calc(110px * 0.93 * 2);
	}
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
	.tp-hero-2-title {
		min-height: calc(100px * 0.93 * 2);
	}
}
@media only screen and (min-width: 576px) and (max-width: 767px) {
	.tp-hero-2-title {
		min-height: calc(80px * 0.93 * 2);
	}
}
@media (max-width: 575px) {
	.tp-hero-2-title {
		min-height: calc(54px * 0.93 * 2);
	}
}

/* Hero slider (layout-4, .tp-hero-4-bg) — background-size: cover sans
   background-position explicite recadre au centre geometrique, ce qui
   coupe le sujet (portrait decale sur le cote) sur les ecrans mobiles
   etroits. Recentre le cadrage vers le haut de l'image sur mobile pour
   garder le visage visible. */
@media (max-width: 767px) {
	.tp-hero-4-bg {
		background-position: top center;
	}
}

/* Titre/sous-titre du hero : uniquement sur le premier slide en mobile
   (desktop garde le texte sur tous les slides, comportement d'origine). */
@media (max-width: 767px) {
	.fo-hero-slide-not-first {
		display: none !important;
	}
	/* Le padding fixe du slide (150px/140px) laisse le texte du 1er slide
	   pousser la hauteur totale au-dela de celle des slides sans texte.
	   On fige la hauteur du slider sur celle du contenu le plus court
	   (sans texte), et on reduit le padding + la taille du titre/sous-titre
	   pour que le texte du 1er slide tienne dans cette meme hauteur. */
	.tp-hero-4-active .swiper-wrapper .swiper-slide {
		height: 290px !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		display: flex !important;
		align-items: center !important;
		overflow: hidden;
	}
	.tp-hero-4-title {
		font-size: 32px !important;
		line-height: 1.1 !important;
		margin-bottom: 8px !important;
	}
	.tp-hero-4-title-wrapper p {
		font-size: 14px !important;
	}
	.tp-hero-4-pagination {
		display: none !important;
	}
}

/* Menu mobile (offcanvas-1.php) — le thème force 30px de marge sous le
   logo via une media query dediee (visaho-core.css), qui ecrase la
   classe utilitaire mb-* posee sur .offcanvas__top. */
@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
	.offcanvas__top {
		margin-bottom: 10px !important;
	}
}

.tw-scrollbar-none {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.tw-scrollbar-none::-webkit-scrollbar {
	display: none;
}

/*
 * Footer (template-parts/footer/footer-1.php) — the layout itself is
 * Tailwind, but widget titles and the nav_menu widget links are rendered
 * by WordPress core (before_title/after_title, wp_nav_menu) so they need
 * their own rules here rather than inline classes.
 */
.fo-footer-col .tp-footer-widget-title {
	font-family: 'Sora', sans-serif;
	font-weight: 800;
	font-size: 17px;
	color: #fff;
	margin: 0 0 18px;
	text-transform: none;
}

.fo-footer-col .tp-footer-widget-content.mb-50,
.fo-footer-col > .mb-50 {
	margin-bottom: 0 !important;
}

.fo-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fo-footer-col ul li {
	margin: 0 0 10px;
	transition: none;
}

.fo-footer-col ul li::after {
	content: none;
}

.fo-footer-col ul li:hover {
	margin-left: 0;
}

.fo-footer-col ul li a {
	color: rgba(255, 255, 255, 0.65);
	font-size: 16px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.fo-footer-col ul li a:hover {
	color: #fff;
}

.fo-footer-col p,
.fo-footer-col span,
.fo-footer-col a {
	font-size: 16px;
}

.fo-footer-col .tw-text-xs {
	font-size: 12px !important;
}

/* Footer background pattern (topographic lines) — light on white in the
   source file, so invert() turns it into faint light lines on the dark
   green footer. Sits behind the portrait watermark and the columns. */
.fo-footer-pattern {
	background-image: url('../img/patterns/footer-pattern.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	opacity: 0.15;
}

/* "Présentation" section (about.php, layout-4) background portrait —
   sits behind the text column, fades out on both edges so it never
   competes with the title/description/button next to it or ends in a
   hard cut on the right. Section background is light here, so no
   invert/luminosity treatment needed. */
.fo-about-watermark {
	opacity: 0.08;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 30%, #000 70%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 30%, #000 70%, transparent);
}

/* "Ce qui m'anime" section (includes/activites.php) background pattern —
   source art is black shapes on white; invert() flips it to white shapes
   on black, then low opacity keeps it a subtle texture on the green
   section background instead of a flat black rectangle. */
.fo-activites-pattern {
	background-image: url('../img/patterns/activites-pattern.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	filter: grayscale(1) brightness(3);
	opacity: 0.05;
}

/* Bloc "Share:" en bas d'article (visaho-core/include/post-view.php) —
   chaque reseau garde sa couleur de marque au survol, au lieu du hover
   uniforme du theme (.tp-footer-widget-social a:hover). */
.tp-footer-widget-social a.fo-share-linkedin:hover {
	background: #0A66C2 !important;
}
.tp-footer-widget-social a.fo-share-facebook:hover {
	background: #1877F2 !important;
}
.tp-footer-widget-social a.fo-share-twitter:hover {
	background: #000000 !important;
}

/* Bouton "Telecharger en PDF" — le CSS natif du theme cible tout <a>
   descendant de .tp-footer-widget-social (rond noir 38px), donc on force
   un style pilule distinct avec !important pour le bouton PDF. */
.tp-footer-widget-social a.fo-pdf-download-btn {
	height: auto !important;
	width: auto !important;
	line-height: normal !important;
	border-radius: 999px !important;
	background: #385751 !important;
	padding: 10px 20px !important;
	margin: 0 !important;
}
.tp-footer-widget-social a.fo-pdf-download-btn:hover {
	background: #2c4540 !important;
}
@media (max-width: 480px) {
	.tp-footer-widget-social {
		flex-wrap: nowrap !important;
		gap: 6px !important;
	}
	.tp-footer-widget-social .tp-sidebar-widget-title {
		margin-right: 8px !important;
		font-size: 15px !important;
	}
	.tp-footer-widget-social a.fo-share-linkedin,
	.tp-footer-widget-social a.fo-share-facebook,
	.tp-footer-widget-social a.fo-share-twitter {
		width: 30px !important;
		height: 30px !important;
		font-size: 13px !important;
	}
	.tp-footer-widget-social a.fo-pdf-download-btn {
		padding: 6px 10px !important;
		font-size: 12px !important;
		white-space: nowrap;
		gap: 4px !important;
	}
}

/* Image a la une des articles (template-parts/content.php) — ratio large
   et plat pour reduire la hauteur perçue, plus soigne qu'un simple
   16:9. Valeur arbitraire Tailwind non generee par le build actuel,
   donc regle CSS dediee ici. */
.fo-article-thumb {
	aspect-ratio: 21 / 9;
}
