/*
Theme Name: Géobioénergie
Theme URI: https://geobioenergie.fr/
Author: Géobioénergie – Association Mïhefû Poy
Description: Thème sur mesure pour Géobioénergie (Centre de formation énergétique Mïhefû Poy, Carnoules – Var). Léger, responsive, optimisé SEO et conversion, conçu pour Elementor (pages 100 % widgets natifs). À utiliser avec l'extension « Géobioénergie – Cœur du site ».
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: geobioenergie
Tags: custom-logo, custom-menu, featured-images, full-width-template, translation-ready
*/

/* =========================================================
   1. Jetons
   ========================================================= */
:root {
	--moss: #2c4a28;
	--moss-2: #3a5a34;
	--forest: #1a2819;
	--lichen: #7e9454;
	--pollen: #fcf8cf;
	--pollen-soft: #fdfbea;
	--mist: #f6fcf3;
	--amber: #ffa84b;
	--gold: #ffc114;
	--ink: #1f2b1d;
	--text: #4a5148;
	--line: rgba(44, 74, 40, .14);
	--font-head: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 18px;
	--leaf: 90px 18px 90px 18px;
	--shadow: 0 22px 50px -30px rgba(26, 40, 25, .55);
	--header-h: 92px;
	--gbe-font-head: var(--font-head);
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
	margin: 0; background: #fff; color: var(--text);
	font-family: var(--font-body); font-size: 17px; line-height: 1.7; font-weight: 400;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: var(--moss); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head); color: var(--forest); font-weight: 560; line-height: 1.15;
	margin: 0 0 .55em; letter-spacing: -.01em; font-variation-settings: "SOFT" 60, "WONK" 0;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--pollen); color: var(--forest); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10000; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section-pad { padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(48px, 7vw, 90px); }
.site-main:focus { outline: none; }

/* Motif signature : courbes telluriques */
.contour, .elementor .contour { background-image: url(assets/img/contour.svg); background-size: 640px; background-repeat: repeat; }
.contour--dark, .elementor .contour--dark { background-image: url(assets/img/contour-dark.svg); }

/* =========================================================
   3. Boutons
   ========================================================= */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .85em 1.5em; border-radius: 999px; font-weight: 800; font-size: .98rem; line-height: 1.1;
	text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
	cursor: pointer; white-space: nowrap; font-family: var(--font-body);
}
.btn .gi { fill: currentColor; }
a.btn, a.btn:hover { text-decoration: none; }
.btn--moss, a.btn--moss { background: var(--moss); color: #fff; }
.btn--moss:hover { background: var(--forest); color: #fff; }
.btn--amber, a.btn--amber { background: var(--amber); color: var(--forest); }
.btn--amber:hover { background: #fff; color: var(--moss); }
.btn--line { border-color: var(--moss); color: var(--moss); background: transparent; }
.btn--line:hover { background: var(--moss); color: #fff; }
body a.btn--moss, body a.btn--moss:hover { color: #fff; }
body a.btn--amber { color: var(--forest); }
body a.btn--line { color: var(--moss); }
body a.btn--line:hover, body a.btn--ghost-light, body a.btn--ghost-light:hover { color: #fff; }
body a.btn--ghost-light:hover { color: var(--moss); }
body .topbar a { color: inherit; }
body .site-footer a { color: inherit; }
body .site-footer a:hover, body .topbar a:hover { color: #fff; }
body .main-nav .menu a { color: var(--forest); }
body .mobile-bar a { color: var(--forest); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--moss); }

/* =========================================================
   4. En-tête
   ========================================================= */
.topbar { background: var(--forest); color: rgba(252, 248, 207, .86); font-size: .84rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__note { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar .gi { fill: var(--lichen); flex: 0 0 auto; }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .socials { display: flex; gap: 10px; }
.topbar .socials .gi { fill: currentColor; width: 16px; height: 16px; }

.site-header {
	position: sticky; top: 0; z-index: 900; background: var(--pollen);
	border-bottom: 1px solid rgba(44, 74, 40, .1); transition: box-shadow .3s, background .3s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.is-scrolled .site-header { box-shadow: 0 10px 30px -18px rgba(26, 40, 25, .45); background: rgba(252, 248, 207, .97); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); transition: min-height .3s; }
.is-scrolled .site-header__inner { min-height: 74px; }
.site-header__brand { flex: 0 0 auto; }
.site-logo img, .custom-logo { display: block; width: auto; max-height: 64px; transition: max-height .3s; }
.is-scrolled .site-logo--header img, .is-scrolled .custom-logo { max-height: 52px; }

.main-nav { flex: 1 1 auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; }
.main-nav .menu > li { position: relative; display: flex; align-items: center; }
.main-nav .menu a {
	white-space: nowrap; display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
	color: var(--forest); text-decoration: none; font-weight: 700; font-size: .97rem; transition: background .2s, color .2s;
}
.main-nav .menu a .gi { fill: var(--lichen); width: 16px; height: 16px; transition: transform .2s; }
.main-nav .menu > li > a:hover, .main-nav .menu > li.is-open > a,
.main-nav .menu > .current-menu-item > a, .main-nav .menu > .current-menu-ancestor > a { background: rgba(44, 74, 40, .08); color: var(--moss); }
.main-nav .is-open > a .gi { transform: rotate(180deg); }
.submenu-toggle { display: none; }
.main-nav .sub-menu {
	list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 8px); left: 50%; min-width: 290px;
	background: #fff; border-radius: 16px; box-shadow: 0 26px 60px -24px rgba(26, 40, 25, .45); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.main-nav li:hover > .sub-menu, .main-nav li.is-open > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .sub-menu a { padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .94rem; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { background: var(--mist); color: var(--moss); }
.main-nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); font-weight: 800; line-height: 1.15; }
.header-phone small { display: block; font-weight: 600; font-size: .74rem; color: var(--lichen); }
.header-phone__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(44, 74, 40, .25); }
.header-phone__icon .gi { fill: var(--moss); }
.header-phone:hover .header-phone__icon { background: var(--moss); }
.header-phone:hover .header-phone__icon .gi { fill: #fff; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--moss); cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 14px; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; content: ""; }
.nav-toggle__bars { top: 23px; }
.nav-toggle__bars::before { left: 0; top: -6px; }
.nav-toggle__bars::after { left: 0; top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1280px) {
	.header-phone__text { display: none; }
	.main-nav .menu a { padding: 10px 10px; font-size: .93rem; }
}
@media (max-width: 1099px) {
	:root { --header-h: 76px; }
	.topbar__note { display: none; }
	.topbar__inner { justify-content: center; }
	.nav-toggle { display: block; }
	.header-cta { display: none; }
	.site-header__inner { justify-content: space-between; }
	.site-logo img, .custom-logo { max-height: 52px; }
	.main-nav {
		position: fixed; inset: 0 0 0 auto; width: min(420px, 92vw); background: var(--pollen); z-index: 950;
		padding: 96px 22px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
		box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .4); visibility: hidden;
	}
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(26, 40, 25, .45); z-index: 940; }
	.nav-open .site-header__actions { position: relative; z-index: 960; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.main-nav .menu > li > a { flex: 1; padding: 14px 4px; font-size: 1.08rem; border-radius: 0; background: none !important; }
	.main-nav .menu a .gi { display: none; }
	.submenu-toggle { display: block; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
	.submenu-toggle::before { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-right: 2px solid var(--moss); border-bottom: 2px solid var(--moss); transform: rotate(45deg); transition: transform .2s; top: -4px; }
	.is-open > .submenu-toggle::before { transform: rotate(-135deg); top: 6px; }
	.main-nav .sub-menu { position: static; transform: none !important; opacity: 1; visibility: visible; display: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 12px; background: transparent; min-width: 0; }
	.main-nav .sub-menu::before { display: none; }
	.main-nav li.is-open > .sub-menu { display: block; }
	.main-nav .sub-menu a { padding: 9px 12px; }
	.main-nav__mobile-extra { display: grid; gap: 10px; margin-top: 26px; }
	.header-phone__icon { width: 46px; height: 46px; }
}
@media (max-width: 600px) {
	.topbar__links a:first-child span { display: none; }
	.topbar__links { gap: 16px; }
}

/* =========================================================
   5. Pied de page
   ========================================================= */
.site-footer { background: var(--forest); color: rgba(252, 248, 207, .78); font-size: .95rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-cta { background: var(--pollen); position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.footer-cta__inner { display: flex; align-items: center; gap: 30px; padding-top: 30px; padding-bottom: 30px; }
.footer-cta__img { width: 150px; height: 150px; object-fit: cover; border-radius: var(--leaf); flex: 0 0 auto; margin: -10px 0; background: var(--moss); }
body .footer-cta a.btn--ghost-light { color: var(--moss); border-color: var(--moss); }
body .footer-cta a.btn--ghost-light:hover { background: var(--moss); color: #fff; }
body .footer-cta a.btn--amber:hover { background: var(--moss); color: #fff; }
.footer-cta__text { flex: 1; margin: 0; font-family: var(--font-head); font-size: clamp(1.3rem, 2.3vw, 1.9rem); line-height: 1.25; color: var(--forest); font-weight: 500; }
.footer-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-main { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.15fr 1.15fr; gap: 40px; }
.footer-col p { margin-bottom: 1em; }
.site-logo--footer img { width: 104px; height: 104px; border-radius: 50%; margin-bottom: 18px; border: 3px solid rgba(252, 248, 207, .2); }
.footer-title { font-family: var(--font-head); color: var(--pollen); font-size: 1.25rem; margin: 0 0 16px !important; font-weight: 500; }
.footer-title--spaced { margin-top: 30px !important; font-size: 1.05rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-menu a { display: inline-flex; gap: 8px; align-items: baseline; }
.footer-menu a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lichen); flex: 0 0 6px; transform: translateY(-2px); }
.footer-contact { font-style: normal; display: grid; gap: 12px; }
.footer-contact > a, .footer-contact > span { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .gi { fill: var(--lichen); flex: 0 0 18px; margin-top: 4px; }
.footer-gps { font-size: .82rem; opacity: .75; }
.footer-zone { display: inline-block; margin-top: 18px; border-bottom: 1px solid var(--lichen); padding-bottom: 2px; color: var(--pollen) !important; font-weight: 700; }
.site-footer .socials { display: flex; gap: 10px; margin-top: 16px; }
.site-footer .socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(252, 248, 207, .25); display: grid; place-items: center; }
.site-footer .socials .gi { fill: currentColor; }
.site-footer .socials a:hover { background: var(--pollen); color: var(--forest); }
.footer-newsletter input[type="email"], .footer-newsletter input[type="text"] { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1.5px solid rgba(252, 248, 207, .2); background: rgba(255, 255, 255, .07); color: #fff; font: inherit; margin-bottom: 10px; }
.footer-newsletter input[type="submit"], .footer-newsletter button { background: var(--amber); color: var(--forest); border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 800; cursor: pointer; }
.site-footer .gbe-form-wrap { background: transparent; border: 0; box-shadow: none; padding: 0; color: inherit; }
.site-footer .gbe-field label { color: var(--pollen); }
.site-footer .gbe-field input { background: rgba(255, 255, 255, .07); border-color: rgba(252, 248, 207, .2); color: #fff; }
.site-footer .gbe-field input:focus { background: rgba(255, 255, 255, .12); border-color: var(--pollen); box-shadow: none; }
.site-footer .gbe-consent { font-size: .74rem; opacity: .8; }
.site-footer .gbe-reassure { display: none; }
.site-footer .gbe-form__success strong { color: var(--pollen); }
.footer-bottom { border-top: 1px solid rgba(252, 248, 207, .1); font-size: .84rem; }
.footer-bottom__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.legal-menu { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; flex-wrap: wrap; }
@media (max-width: 1024px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-cta__inner { flex-wrap: wrap; justify-content: center; text-align: center; }
	.footer-cta__img { display: none; }
}
@media (max-width: 640px) {
	.footer-grid { grid-template-columns: 1fr; gap: 34px; }
	.footer-main { padding: 50px 0 30px; }
	.footer-bottom__inner { justify-content: center; text-align: center; }
	body { padding-bottom: 66px; }
}

/* Barre d'actions mobile */
.mobile-bar { display: none; }
@media (max-width: 767px) {
	.mobile-bar {
		display: grid; grid-template-columns: 1fr 1fr 1.25fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 980;
		background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, .4); padding-bottom: env(safe-area-inset-bottom);
	}
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 8px; font-size: .74rem; font-weight: 800; color: var(--forest); text-decoration: none; }
	.mobile-bar .gi { fill: var(--moss); width: 22px; height: 22px; }
	.mobile-bar a.gbe-open-chat .gi { fill: #1faa53; }
	.mobile-bar a.is-main { background: var(--amber); }
	.mobile-bar a.is-main .gi { fill: var(--forest); }
	.gbe-chat { display: none; }
	.nav-open .gbe-chat, .gbe-chat[data-open="1"] { display: block; }
}

.to-top { position: fixed; right: 22px; bottom: 96px; width: 44px; height: 44px; border-radius: 50%; background: var(--pollen); border: 1px solid var(--line); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 970; }
.to-top .gi { fill: var(--moss); }
.to-top.is-visible { opacity: 1; visibility: visible; }
@media (max-width: 767px) { .to-top { bottom: 84px; right: 14px; width: 40px; height: 40px; } }

/* =========================================================
   6. Gabarits classiques (articles, archives, 404)
   ========================================================= */
.page-hero { background-color: var(--pollen); padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero__title { max-width: 900px; margin-bottom: .3em; }
.page-hero__intro { max-width: 720px; font-size: 1.12rem; margin: 0; }
.breadcrumb { font-size: .86rem; margin-bottom: 18px; color: var(--lichen); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: var(--moss); text-decoration: none; font-weight: 700; }
.breadcrumb .sep { opacity: .5; }
.entry { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
.entry__thumb { margin: 0 0 32px; }
.entry__thumb img { border-radius: var(--leaf); width: 100%; height: auto; display: block; }
.entry__content { font-size: 1.06rem; }
.entry__content h2 { margin-top: 1.4em; }
.entry__content h3 { margin-top: 1.2em; }
.entry__content img { border-radius: var(--radius); }
.entry__content blockquote { margin: 1.5em 0; padding: 1em 1.5em; border-left: 4px solid var(--lichen); background: var(--mist); font-family: var(--font-head); font-size: 1.2rem; font-style: italic; }
.entry__cta { margin-top: 50px; padding: 32px; border-radius: var(--radius); background: var(--pollen); border: 1px solid var(--line); }
.entry__cta-title { font-family: var(--font-head); font-size: 1.5rem; color: var(--forest); margin-bottom: .3em; }
.entry__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; font-weight: 700; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 16 / 10; background: var(--mist); display: block; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .82rem; color: var(--lichen); font-weight: 700; margin-bottom: .4em; }
.post-card__title { font-size: 1.3rem; }
.post-card__title a { color: var(--forest); text-decoration: none; }
.post-card__more { margin-top: auto; font-weight: 800; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.nav-links .page-numbers { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.nav-links .current { background: var(--moss); color: #fff; }
.search-form { display: flex; gap: 10px; margin: 0 0 24px; }
.search-form input { flex: 1; padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; }
.links-404 { display: grid; gap: 8px; font-weight: 700; }
.archive-signup { margin: 50px 0; }
.archive-form { max-width: 780px; margin: 0 auto; }
.archive-form h2 { text-align: center; }

/* =========================================================
   7. Habillage des widgets Elementor (pages importées)
   ========================================================= */
.is-elementor .site-main { overflow: clip; }
.elementor-widget-heading .elementor-heading-title { font-family: var(--font-head); }
.gbe-eyebrow .elementor-heading-title {
	font-family: var(--font-head) !important; font-style: italic; font-weight: 450 !important; font-size: 1.15rem !important;
	color: var(--lichen) !important; letter-spacing: 0 !important; display: inline-flex; align-items: center; gap: 12px;
}
.gbe-eyebrow .elementor-heading-title::before { content: ""; width: 28px; height: 1.5px; background: currentColor; display: inline-block; }
.gbe-light .elementor-heading-title, .gbe-light { color: #fff; }

/* Boutons */
body .gbe-btn .elementor-button { border-radius: 999px; font-family: var(--font-body); font-weight: 800; font-size: 1rem; padding: 1em 1.7em; transition: background .2s, color .2s, transform .2s; border: 2px solid transparent; }
.gbe-btn .elementor-button:hover { transform: translateY(-2px); }
body .gbe-btn--primary .elementor-button { background: var(--amber); color: var(--forest); }
body .gbe-btn--primary .elementor-button:hover { background: var(--moss); color: #fff; }
body .gbe-btn--moss .elementor-button { background: var(--moss); color: #fff; }
body .gbe-btn--moss .elementor-button:hover { background: var(--forest); color: #fff; }
body .gbe-btn--line .elementor-button { background: transparent; color: var(--moss); border-color: var(--moss); }
body .gbe-btn--line .elementor-button:hover { background: var(--moss); color: #fff; }
body .gbe-btn--light .elementor-button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
body .gbe-btn--light .elementor-button:hover { background: #fff; color: var(--moss); }
body .gbe-btn--wa .elementor-button { background: #25d366; color: #fff; }
body .gbe-btn--wa .elementor-button:hover { background: #128c7e; }
.gbe-btn .elementor-button-icon svg { fill: currentColor; width: 1em; }

/* Sections */
.gbe-sec--pollen { background-color: var(--pollen); }
.gbe-sec--mist { background-color: var(--mist); }
.gbe-sec--moss { background-color: var(--moss); }
.gbe-sec--forest { background-color: var(--forest); }
.gbe-sec--moss .elementor-heading-title, .gbe-sec--forest .elementor-heading-title { color: var(--pollen); }
.gbe-sec--moss .elementor-widget-text-editor, .gbe-sec--forest .elementor-widget-text-editor { color: rgba(255, 255, 255, .86); }
.gbe-sec--moss .gbe-iconbox .elementor-icon-box-title, .gbe-sec--moss .gbe-iconbox .elementor-icon-box-title a { color: var(--pollen); }
.gbe-sec--moss .gbe-iconbox .elementor-icon-box-description { color: rgba(255, 255, 255, .85); }
.gbe-sec--moss .gbe-list .elementor-icon-list-text { color: rgba(255, 255, 255, .9); }
.gbe-sec--moss .gbe-list .elementor-icon-list-icon svg { fill: var(--gold); }
.gbe-sec--moss .gbe-signup { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15); }

/* Hero */
.gbe-hero { position: relative; }
.gbe-hero .elementor-background-slideshow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 32, 19, .82) 0%, rgba(20, 32, 19, .55) 45%, rgba(20, 32, 19, .1) 100%); }
.gbe-hero h1.elementor-heading-title { font-size: clamp(2.3rem, 5.2vw, 4.4rem) !important; line-height: 1.04; color: #fff; font-weight: 520; max-width: 15ch; }
.gbe-hero .gbe-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .9); max-width: 46ch; }
.gbe-hero__card { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gbe-page-hero h1.elementor-heading-title { font-size: clamp(2rem, 4.2vw, 3.4rem) !important; max-width: 22ch; }
.gbe-page-hero .gbe-page-hero__lead { font-size: 1.15rem; max-width: 62ch; }
.gbe-crumbs { font-size: .86rem; }
.gbe-crumbs a { font-weight: 700; text-decoration: none; }

/* Images « feuille » */
.gbe-leaf img { border-radius: var(--leaf) !important; }
.gbe-leaf--alt img { border-radius: 18px 90px 18px 90px !important; }
.gbe-round img { border-radius: 50% !important; aspect-ratio: 1; object-fit: cover; }
.gbe-cover img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* Cartes de contenu */
.gbe-card { border-radius: var(--radius); }
.gbe-card--white { background: #fff; border: 1px solid var(--line); }
.gbe-card--moss .elementor-heading-title { color: var(--pollen) !important; }
.gbe-card--moss, .gbe-card--moss .elementor-widget-text-editor, .gbe-card--moss .elementor-icon-list-text { color: rgba(255, 255, 255, .88); }
.gbe-card--moss .elementor-icon-list-icon svg { fill: var(--gold) !important; }
.gbe-card--band .elementor-widget-text-editor { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.45; color: var(--forest); }
.gbe-card--quote .elementor-widget-text-editor { font-family: var(--font-head); font-style: italic; font-size: 1.18rem; line-height: 1.6; color: var(--forest); }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-text-editor ul { padding-left: 1.1em; }
.elementor-widget-text-editor li { margin-bottom: .35em; }
.elementor-widget-text-editor li::marker { color: var(--lichen); }

/* Listes */
.gbe-list .elementor-icon-list-item { align-items: flex-start !important; padding: 7px 0 !important; }
.gbe-list .elementor-icon-list-icon { margin-top: .3em; }
.gbe-list .elementor-icon-list-icon svg { fill: var(--lichen); width: 1em !important; height: 1em; }
.gbe-list .elementor-icon-list-text { color: inherit; line-height: 1.55; }
.gbe-list--lines .elementor-icon-list-item:not(:last-child) { border-bottom: 1px solid var(--line); }
.gbe-pills .elementor-icon-list-items { gap: 10px; display: flex; flex-wrap: wrap; }
.gbe-pills .elementor-icon-list-item { margin: 0 !important; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px !important; }
.gbe-pills .elementor-icon-list-item::after { display: none !important; }
.gbe-pills .elementor-icon-list-icon svg { fill: var(--lichen); width: .8em !important; }
.gbe-pills .elementor-icon-list-text { font-weight: 700; font-size: .92rem; color: var(--forest); }
.gbe-card--moss .gbe-pills .elementor-icon-list-item { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.gbe-card--moss .gbe-pills .elementor-icon-list-text { color: #fff; }

/* Boîtes icône / image */
.gbe-iconbox .elementor-icon { background: var(--pollen) !important; color: var(--moss) !important; fill: var(--moss) !important; font-size: 22px !important; padding: .7em !important; }
.gbe-iconbox .elementor-icon svg { fill: var(--moss); }
.gbe-iconbox .elementor-icon-box-title { font-family: var(--font-head); color: var(--forest); font-size: 1.2rem; font-weight: 560; margin-bottom: 4px !important; }
.gbe-iconbox .elementor-icon-box-title a { color: inherit; text-decoration: none; }
.gbe-iconbox .elementor-icon-box-description { color: var(--text); margin: 0; }
.gbe-iconbox--num .elementor-icon { background: var(--moss) !important; color: var(--pollen) !important; }
.gbe-iconbox--num .elementor-icon svg { fill: var(--pollen); }
.gbe-card--moss .gbe-iconbox .elementor-icon-box-title { color: var(--pollen); }
.gbe-card--moss .gbe-iconbox .elementor-icon-box-description { color: rgba(255, 255, 255, .85); }
.gbe-imagebox { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; height: 100%; }
.gbe-imagebox .elementor-image-box-wrapper { display: flex; flex-direction: column; height: 100%; }
.gbe-imagebox .elementor-image-box-img { width: 100% !important; margin: 0 !important; aspect-ratio: 16 / 10; overflow: hidden; }
.gbe-imagebox .elementor-image-box-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gbe-imagebox:hover .elementor-image-box-img img { transform: scale(1.05); }
.gbe-imagebox .elementor-image-box-content { padding: 20px 22px 24px; text-align: left; }
.gbe-imagebox .elementor-image-box-title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 560; color: var(--forest); margin-bottom: 6px; }
.gbe-imagebox .elementor-image-box-title a { color: inherit; text-decoration: none; }
.gbe-imagebox .elementor-image-box-description { font-size: .95rem; }

/* Compteurs */
.gbe-counter .elementor-counter { flex-direction: column; align-items: center; text-align: center; }
.gbe-counter .elementor-counter-number-wrapper { font-family: var(--font-head); font-weight: 500; font-size: clamp(2.6rem, 5vw, 4rem); color: var(--pollen); line-height: 1; justify-content: center !important; }
.gbe-counter .elementor-counter-title { color: rgba(255, 255, 255, .82); font-size: 1rem; text-align: center !important; justify-content: center !important; line-height: 1.35; margin-top: 8px; }
.gbe-counter .elementor-counter-number-wrapper { order: 1; }
.gbe-counter .elementor-counter-title { order: 2; }
.gbe-counter--dark .elementor-counter-number-wrapper { color: var(--moss); }
.gbe-counter--dark .elementor-counter-title { color: var(--text); }

/* Accordéon */
.gbe-accordion .e-n-accordion-item { border: 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.gbe-accordion .e-n-accordion-item-title { padding: 20px 4px !important; border: 0 !important; background: transparent !important; }
.gbe-accordion .e-n-accordion-item-title-text { font-family: var(--font-head); font-size: 1.2rem; color: var(--forest); font-weight: 560; }
.gbe-accordion .e-n-accordion-item-title-icon svg { fill: var(--moss); }
.gbe-accordion .e-n-accordion-item > .e-con { padding: 0 4px 20px !important; border: 0 !important; }

/* Témoignage */
.gbe-quote .elementor-testimonial-content { font-family: var(--font-head); font-style: italic; font-size: 1.25rem; line-height: 1.6; color: var(--forest); }
.gbe-quote .elementor-testimonial-name { color: var(--moss); font-weight: 800; }

/* Galerie / vidéo / carte */
.gbe-gallery .gallery-item img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; }
.gbe-video .elementor-wrapper { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gbe-map iframe { border-radius: var(--radius); filter: saturate(.85); }
.gbe-divider .elementor-divider-separator { border-color: var(--lichen) !important; }

/* Bandeau avis Google (shortcode) */
.gbe-reviews { min-height: 120px; }

/* Barre latérale des pages d'enseignement */
.gbe-sidebar { position: sticky; top: 110px; }
.gbe-sidenav .elementor-icon-list-item a { padding: 9px 12px; border-radius: 10px; width: 100%; transition: background .2s; }
.gbe-sidenav .elementor-icon-list-item a:hover { background: var(--mist); }
.gbe-sidenav .elementor-icon-list-text { color: var(--forest); font-weight: 700; }
.gbe-sidenav .elementor-icon-list-icon svg { fill: var(--lichen); }
@media (max-width: 1024px) { .gbe-sidebar { position: static; } }


/* Icônes de listes : ne jamais rétrécir */
.elementor-icon-list-item .elementor-icon-list-icon { flex-shrink: 0; }

/* Grille tarifaire */
.gbe-price { border: 1px solid var(--line); position: relative; transition: transform .25s, box-shadow .25s; }
.gbe-price:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gbe-price__icon .elementor-icon { background: var(--pollen) !important; color: var(--moss) !important; font-size: 24px !important; padding: .75em !important; }
.gbe-price__icon .elementor-icon svg { fill: var(--moss) !important; }
.gbe-price__icon .elementor-icon-wrapper { text-align: left; display: flex; justify-content: flex-start; }
.gbe-price__title .elementor-heading-title { font-size: 1.55rem !important; line-height: 1.2; }
.gbe-price__meta { font-size: .9rem; color: var(--lichen); font-weight: 700; }
.gbe-price__pricebox { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0 !important; }
.gbe-price__amount .elementor-heading-title { font-family: var(--font-head) !important; font-size: 3.2rem !important; line-height: 1; font-weight: 500; color: var(--moss); letter-spacing: -.02em; }
.gbe-price__unit { font-size: .92rem; }
.gbe-price__extra { font-size: .95rem; color: var(--forest); background: var(--mist); border-radius: 10px; padding: 8px 12px; }
.gbe-price__features .elementor-icon-list-item { align-items: flex-start !important; padding: 5px 0 !important; }
.gbe-price__features .elementor-icon-list-icon { margin-top: .35em; }
.gbe-price__features .elementor-icon-list-icon svg { fill: var(--lichen); width: .85em !important; }
.gbe-price__features .elementor-icon-list-text { line-height: 1.5; font-size: .96rem; }
.gbe-price__cta { margin-top: auto !important; padding-top: 10px; }
.gbe-price__cta .elementor-button { width: 100%; }
.gbe-price__badge { align-self: flex-start; }
.gbe-price__badge .elementor-heading-title { display: inline-block; background: var(--gold); color: var(--forest) !important; font-family: var(--font-body) !important; font-size: .78rem !important; font-weight: 800; padding: 6px 14px; border-radius: 999px; }
.gbe-price--featured { border-color: transparent; box-shadow: var(--shadow); }
.gbe-price--featured .elementor-heading-title { color: var(--pollen); }
.gbe-price--featured .gbe-price__amount .elementor-heading-title { color: #fff; font-size: 2.6rem !important; }
.gbe-price--featured .gbe-price__meta { color: var(--gold); }
.gbe-price--featured .gbe-price__pricebox { border-color: rgba(255, 255, 255, .18); }
.gbe-price--featured .elementor-widget-text-editor, .gbe-price--featured .elementor-icon-list-text { color: rgba(255, 255, 255, .88); }
.gbe-price--featured .gbe-price__features .elementor-icon-list-icon svg { fill: var(--gold); }
.gbe-price--featured .gbe-price__icon .elementor-icon { background: var(--gold) !important; }
.gbe-price--featured .gbe-price__icon .elementor-icon svg { fill: var(--forest) !important; }
.gbe-price__note { font-size: .9rem; font-style: italic; opacity: .85; }
.gbe-pricelist .elementor-icon-list-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px !important; margin-bottom: 10px !important; align-items: center !important; }
.gbe-pricelist .elementor-icon-list-item::after { display: none !important; }
.gbe-pricelist .elementor-icon-list-icon svg { fill: var(--lichen); }
.gbe-pricelist .elementor-icon-list-text { display: flex; justify-content: space-between; gap: 16px; width: 100%; flex-wrap: wrap; }
.gbe-pl__name { color: var(--forest); font-weight: 700; }
.gbe-pl__price { font-family: var(--font-head); color: var(--moss); font-size: 1.15rem; white-space: nowrap; }
@media (max-width: 1024px) { .gbe-price { max-width: 560px; width: 100% !important; margin: 0 auto; } }

/* Mobile : Elementor */
@media (max-width: 767px) {
	.gbe-hero h1.elementor-heading-title { max-width: none; }
	.gbe-counter .elementor-counter-number-wrapper, .gbe-counter .elementor-counter-title { justify-content: center !important; text-align: center !important; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
