/* ==========================================================================
   Thème GBUCI - styles principaux
   Couleurs du logo : vert #106838, orange #E8922E
   ========================================================================== */

:root {
	--gbu-green: #106838;
	--gbu-green-dark: #0B4D29;
	--gbu-orange: #E8922E;
	--gbu-cream: #FFF7EC;
	--gbu-sand: #F6F3EE;
	--text: #1F2A24;
	--muted: #5E6B63;
	--border: #E4E1DA;
	--white: #fff;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px rgba(16, 40, 28, .08);
	--shadow-lg: 0 20px 50px rgba(16, 40, 28, .14);
	--font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1200px;
	--header-h: 84px;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--gbu-green); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--gbu-orange); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	line-height: 1.25;
	color: var(--gbu-green-dark);
	margin: 1.6em 0 .6em;
}
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--gbu-orange); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 860px; }
.section { padding: 80px 0; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 10px; left: 10px;
	background: #fff; padding: 10px 16px; border-radius: 6px;
}

/* Boutons --------------------------------------------------------------- */
.btn, .wp-block-button__link, button[type="submit"], input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .85em 1.7em; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
	cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
	text-decoration: none; line-height: 1.2;
}
.btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); }
.btn--primary, .wp-block-button__link, button[type="submit"], input[type="submit"] {
	background: var(--gbu-orange); color: #fff; box-shadow: 0 8px 20px rgba(232, 146, 46, .35);
}
.btn--primary:hover, .wp-block-button__link:hover, button[type="submit"]:hover { background: #d27c18; color: #fff; }
.btn--ghost { border-color: var(--gbu-green); color: var(--gbu-green); background: rgba(255,255,255,.7); }
.btn--ghost:hover { background: var(--gbu-green); color: #fff; }
.btn--outline { border-color: var(--gbu-green); color: var(--gbu-green); background: transparent; }
.btn--outline:hover { background: var(--gbu-green); color: #fff; }
.btn--light { background: #fff; color: var(--gbu-green-dark); }
.btn--light:hover { background: var(--gbu-cream); color: var(--gbu-green-dark); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--gbu-green-dark); }
.btn--small { padding: .6em 1.2em; font-size: .85rem; }

/* Barre supérieure ------------------------------------------------------ */
.topbar { background: var(--gbu-green-dark); color: rgba(255,255,255,.85); font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: rgba(255,255,255,.9); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gbu-orange); }
.topbar__contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .icon { width: 15px; height: 15px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
	display: inline-flex; width: 32px; height: 32px; border-radius: 50%;
	align-items: center; justify-content: center; background: rgba(255,255,255,.12); color: #fff;
}
.social-links a:hover { background: var(--gbu-orange); color: #fff; }
.topbar .social-links a { width: 28px; height: 28px; }

/* En-tête --------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
	backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border);
	transition: box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.site-brand { flex: none; white-space: nowrap; display: flex; align-items: center; gap: 12px; color: var(--gbu-green-dark); }
.site-brand:hover { color: var(--gbu-green-dark); }
.site-logo { width: auto; height: 60px; max-width: 200px; object-fit: contain; }
.site-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.site-brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--gbu-green); }
.site-brand__tagline { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }

.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; align-items: center; gap: 2px; }
.primary-nav li { position: relative; }
.primary-nav a {
	display: block; padding: 10px 12px; font-family: var(--font-head); font-weight: 600;
	font-size: .9rem; color: var(--text); border-radius: 8px;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current_page_item > a {
	color: var(--gbu-green); background: var(--gbu-cream);
}
.primary-nav .menu-item-has-children > a::after, .primary-nav .page_item_has_children > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; vertical-align: 3px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.primary-nav .sub-menu, .primary-nav .children {
	position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px;
	background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; z-index: 10;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu,
.primary-nav li:hover > .children, .primary-nav li:focus-within > .children {
	opacity: 1; visibility: visible; transform: none;
}
.primary-nav .sub-menu a, .primary-nav .children a { font-weight: 500; }
.submenu-toggle { display: none; }
.primary-nav > ul > li > a { white-space: nowrap; }
.search-toggle {
	background: none; border: 0; color: var(--gbu-green); cursor: pointer; padding: 10px;
	border-radius: 50%; display: inline-flex;
}
.search-toggle:hover { background: var(--gbu-cream); }
.header-search { border-top: 1px solid var(--border); padding: 16px 0; background: #fff; }
.nav-toggle { display: none; }

.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form .search-field { flex: 1; }
.search-form .btn { padding: .7em 1em; }

/* Champs de formulaire -------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"],
input[type="password"], input[type="number"], textarea, select {
	width: 100%; padding: .8em 1em; font: inherit; font-size: 1rem; color: var(--text);
	border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--gbu-green); box-shadow: 0 0 0 4px rgba(16,104,56,.12); outline: none; }
label { font-weight: 600; font-size: .92rem; display: inline-block; margin-bottom: 4px; }

/* Hero ------------------------------------------------------------------ */
.hero {
	position: relative; min-height: min(78vh, 680px); display: flex; align-items: center;
	background-color: var(--gbu-cream);
	background-image: linear-gradient(90deg, rgba(255,250,243,1) 0%, rgba(255,250,243,.92) 32%, rgba(255,250,243,0) 62%), var(--hero-image);
	background-size: cover; background-position: right center; overflow: hidden;
}
.hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
	background: linear-gradient(90deg, var(--gbu-orange) 0 33.3%, #fff 33.3% 66.6%, var(--gbu-green) 66.6%);
}
.hero__inner { padding-top: 70px; padding-bottom: 70px; }
.hero__content { max-width: 600px; }
.hero__kicker {
	display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
	text-transform: uppercase; letter-spacing: .12em; color: var(--gbu-orange);
	padding: 6px 14px; background: #fff; border-radius: 999px; box-shadow: var(--shadow);
}
.hero__title { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; color: var(--gbu-green-dark); margin: .4em 0 .4em; }
.hero__text { font-size: 1.12rem; color: #33443A; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Annonce --------------------------------------------------------------- */
.announce { background: var(--gbu-green); color: #fff; }
.announce__inner { display: flex; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.announce__label {
	flex: none; background: var(--gbu-orange); color: #fff; font-family: var(--font-head); font-weight: 800;
	font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; padding: 6px 12px; border-radius: 6px;
}
.announce__text { margin: 0; flex: 1; font-weight: 600; }
.announce .btn { flex: none; }

/* Sections -------------------------------------------------------------- */
.section__head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section__head--row { display: flex; align-items: end; justify-content: space-between; text-align: left; max-width: none; gap: 20px; flex-wrap: wrap; }
.section__kicker {
	font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
	font-size: .8rem; color: var(--gbu-orange); margin: 0 0 8px;
}
.section__title { margin: 0; font-weight: 800; }
.section__title::after {
	content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin-top: 14px;
	background: linear-gradient(90deg, var(--gbu-orange), var(--gbu-green));
}
.section__head:not(.section__head--row) .section__title::after { margin-left: auto; margin-right: auto; }
.section--about { background: #fff; }
.section--sg { background: var(--gbu-sand); }
.section--events { background: var(--gbu-cream); }
.section--content { padding-top: 0; }

/* Cartes « Connaître le GBU » ------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
	background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
	border: 1px solid var(--border); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature__media { aspect-ratio: 16 / 10; overflow: hidden; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.feature:hover .feature__media img { transform: scale(1.05); }
.feature__body { padding: 0 26px 26px; position: relative; flex: 1; display: flex; flex-direction: column; }
.feature__body p { color: var(--muted); font-size: .97rem; flex: 1; }
.feature__icon {
	width: 56px; height: 56px; border-radius: 16px; background: var(--gbu-orange); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; margin-top: -28px; box-shadow: 0 8px 18px rgba(232,146,46,.4);
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature__title { margin: 18px 0 10px; font-size: 1.25rem; }

/* Cartes d'articles ----------------------------------------------------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
	background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
	display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gbu-sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__title { margin: 6px 0 10px; font-size: 1.15rem; }
.card__title a { color: var(--gbu-green-dark); }
.card__title a:hover { color: var(--gbu-orange); }
.card__excerpt { color: var(--muted); font-size: .95rem; flex: 1; }
.card__link { font-family: var(--font-head); font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; color: var(--gbu-green); }
.card__link .icon { width: 16px; height: 16px; transition: transform .2s; }
.card__link:hover .icon { transform: translateX(4px); }
.entry-meta { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.entry-meta a { color: var(--gbu-orange); font-weight: 600; }

.event-badge {
	position: absolute; top: 14px; left: 14px; background: #fff; border-radius: 10px; text-align: center;
	padding: 6px 12px; box-shadow: var(--shadow); line-height: 1.1;
}
.event-badge__day { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--gbu-orange); }
.event-badge__month { display: block; font-size: .72rem; text-transform: uppercase; font-weight: 700; color: var(--gbu-green-dark); }
.event-meta { list-style: none; margin: 0; padding: 0; font-size: .86rem; color: var(--muted); display: grid; gap: 4px; }
.event-meta li { display: flex; gap: 8px; align-items: center; }
.event-meta .icon { width: 16px; height: 16px; color: var(--gbu-orange); flex: none; }
.event-meta__past { font-weight: 700; color: #9a6b2c; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }

/* Secrétaire général ---------------------------------------------------- */
.sg { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: center; }
.sg__photo { position: relative; }
.sg__photo::before {
	content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius);
	background: var(--gbu-orange); z-index: 0;
}
.sg__photo img { position: relative; z-index: 1; border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; box-shadow: var(--shadow-lg); }
.sg__role { font-weight: 700; color: var(--gbu-orange); margin: 14px 0 16px; }
.sg__body p { color: #3c4a42; }

/* Galerie --------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery-grid__item { border-radius: 12px; overflow: hidden; position: relative; }
.gallery-grid__item:nth-child(1), .gallery-grid__item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid__item:hover img { transform: scale(1.07); }
.lightbox {
	position: fixed; inset: 0; z-index: 1000; background: rgba(5, 20, 12, .92);
	display: flex; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out;
}
.lightbox img { max-height: 90vh; width: auto; border-radius: 10px; }

/* Appel à l'action ------------------------------------------------------ */
.cta { background: linear-gradient(120deg, var(--gbu-green-dark), var(--gbu-green)); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta::before {
	content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
	background: rgba(232,146,46,.25);
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; }
.cta__title { color: #fff; margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta p { margin: 0; opacity: .9; max-width: 640px; }

/* En-tête de page intérieure -------------------------------------------- */
.page-header {
	background: var(--gbu-green-dark); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
	background-image: radial-gradient(circle at 85% 20%, rgba(232,146,46,.35), transparent 40%), linear-gradient(120deg, var(--gbu-green-dark), var(--gbu-green));
}
.page-header.has-image {
	background-image: linear-gradient(120deg, rgba(11,77,41,.92), rgba(16,104,56,.75)), var(--header-image);
	background-size: cover; background-position: center;
}
.page-header::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
	background: linear-gradient(90deg, var(--gbu-orange) 0 33.3%, #fff 33.3% 66.6%, var(--gbu-green) 66.6%);
}
.page-header__title { color: #fff; margin: 8px 0 0; font-weight: 800; }
.page-header__subtitle { margin: 12px 0 0; opacity: .9; max-width: 720px; font-size: 1.08rem; }
.page-header .entry-meta, .page-header .event-meta { color: rgba(255,255,255,.85); margin-top: 14px; }
.page-header .entry-meta a { color: #ffd6a3; }
.breadcrumbs { font-size: .85rem; opacity: .85; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a { color: #fff; }
.breadcrumbs a:hover { color: var(--gbu-orange); }

/* Contenu --------------------------------------------------------------- */
.layout { display: block; }
.has-sidebar .layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; }
.entry-thumbnail { margin: 0 0 30px; }
.entry-thumbnail img { border-radius: var(--radius); width: 100%; }
.entry-thumbnail--contain img { max-height: 640px; object-fit: contain; background: var(--gbu-sand); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { position: relative; padding-left: 18px; }
.entry-content h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 4px; background: var(--gbu-orange); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--gbu-orange); font-weight: 700; }
.entry-content blockquote, .wp-block-quote {
	margin: 1.5em 0; padding: 18px 26px; border-left: 5px solid var(--gbu-orange);
	background: var(--gbu-cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic;
}
.entry-content iframe { width: 100%; border: 0; border-radius: var(--radius); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content .alignwide { margin-left: calc(-1 * min(120px, 8vw)); margin-right: calc(-1 * min(120px, 8vw)); max-width: none; }
.entry-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-block-image figcaption, .wp-caption-text { font-size: .85rem; color: var(--muted); text-align: center; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 10px 12px; }
.has-drop-cap:not(:focus)::first-letter { color: var(--gbu-orange); font-family: var(--font-head); font-weight: 800; font-size: 4.2em; line-height: .8; margin: .08em .1em 0 0; float: left; }
.entry-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.share { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-weight: 600; }
.share a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--gbu-sand); font-size: .88rem; }
.share .icon { width: 16px; height: 16px; }
.tags a { display: inline-block; background: var(--gbu-cream); padding: 3px 10px; border-radius: 999px; font-size: .82rem; margin: 0 6px 6px 0; }
.post-navigation { margin-top: 40px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-navigation a { display: block; padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--radius-sm); height: 100%; }
.post-navigation a:hover { border-color: var(--gbu-green); }
.post-navigation .nav-next { text-align: right; }
.nav-subtitle { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.nav-title { font-family: var(--font-head); font-weight: 700; color: var(--gbu-green-dark); }

/* Composants de contenu (utilisés par les pages importées) -------------- */
.gbu-lead { font-size: 1.15rem; color: #3c4a42; }
.gbu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 30px 0; }
.gbu-box {
	background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
	box-shadow: var(--shadow); border-top: 5px solid var(--gbu-orange);
}
.gbu-box:nth-child(even) { border-top-color: var(--gbu-green); }
.gbu-box h3 { margin-top: 0; }
.gbu-box > *:last-child { margin-bottom: 0; }
.gbu-box img { border-radius: var(--radius-sm); margin-bottom: 16px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.gbu-box--link { display: block; color: inherit; transition: transform .2s; }
.gbu-box--link:hover { transform: translateY(-4px); color: inherit; }
.gbu-pillar { display: flex; gap: 20px; align-items: flex-start; margin: 30px 0; }
.gbu-pillar__num {
	flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--gbu-green); color: #fff;
	display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
}
.gbu-pillar h3 { margin-top: 8px; }
.gbu-callout {
	background: var(--gbu-cream); border-radius: var(--radius); padding: 26px 30px; margin: 30px 0;
	border-left: 6px solid var(--gbu-orange);
}
.gbu-callout > *:last-child { margin-bottom: 0; }
.gbu-pubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px; margin: 30px 0; }
.gbu-pub { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.gbu-pub img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; border-radius: 0; background: var(--gbu-sand); }
.gbu-pub__body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gbu-pub__body h3 { margin: 0; font-size: 1.05rem; }
.gbu-pub__body .btn { margin-top: auto; align-self: flex-start; }
.gbu-list-cols { columns: 2; column-gap: 40px; }
.gbu-organ { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--border); }
.gbu-organ img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.gbu-organ h2 { margin-top: 0; }
.gbu-map iframe { min-height: 520px; }

/* Formulaire de contact ------------------------------------------------- */
.contact-form { background: var(--gbu-sand); border-radius: var(--radius); padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.hp-field { position: absolute !important; left: -9999px; }
.form-notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; }
.form-notice--success { background: #E3F4EA; color: var(--gbu-green-dark); }
.form-notice--error { background: #FDECEA; color: #8a1f12; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list .icon { color: var(--gbu-orange); flex: none; }

/* Widgets --------------------------------------------------------------- */
.widget { margin-bottom: 36px; }
.widget-title { font-size: 1.05rem; margin: 0 0 16px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 7px 0; border-bottom: 1px solid var(--border); }
.layout__aside .widget { background: var(--gbu-sand); padding: 24px; border-radius: var(--radius); }

/* Pagination ------------------------------------------------------------ */
.pagination { margin-top: 50px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.page-numbers { display: inline-flex; min-width: 42px; height: 42px; padding: 0 12px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--border); font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--gbu-green); border-color: var(--gbu-green); color: #fff; }
.empty-state { text-align: center; }
.empty-state .search-form { margin: 20px auto; }
.search-again { margin-bottom: 30px; }

/* Commentaires ---------------------------------------------------------- */
.comments-area { margin-top: 50px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-list .avatar { border-radius: 50%; float: left; margin-right: 14px; }
.comment-meta { font-size: .88rem; }

/* Pied de page ---------------------------------------------------------- */
.site-footer { background: #0E2A1C; color: rgba(255,255,255,.78); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-top: 70px; padding-bottom: 50px; }
.site-footer__grid:has(> :nth-child(4)) { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--gbu-orange); }
.site-footer .widget-title { color: #fff; position: relative; padding-bottom: 12px; }
.site-footer .widget-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--gbu-orange); border-radius: 3px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: #fff !important; }
.footer-brand img { background: #fff; border-radius: 12px; padding: 4px; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-menu a::before { content: "›"; color: var(--gbu-orange); margin-right: 8px; font-weight: 700; }
.site-footer .contact-list .icon { color: var(--gbu-orange); }
.site-footer .widget li { border-color: rgba(255,255,255,.1); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 10px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.back-to-top {
	position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0;
	background: var(--gbu-orange); color: #fff; font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transition: all .25s; z-index: 90;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }

/* Animations d'apparition ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1400px) {
	.primary-nav a { padding: 10px 9px; font-size: .86rem; }
	.site-brand__tagline { display: none; }
}
@media (max-width: 1100px) {
	.primary-nav a { padding: 10px 6px; font-size: .82rem; }
	.site-brand__name { font-size: 1rem; }
}

@media (max-width: 960px) {
	:root { --header-h: 72px; }
	.nav-toggle {
		display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer;
	}
	.nav-toggle__bar { width: 26px; height: 3px; border-radius: 3px; background: var(--gbu-green); transition: transform .25s, opacity .25s; }
	.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
	.primary-nav {
		position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; background: #fff;
		flex-direction: column; align-items: stretch; padding: 20px; overflow-y: auto;
		transform: translateX(100%); transition: transform .3s; z-index: 99;
	}
	.nav-open .primary-nav { transform: none; }
	.primary-nav > ul { flex-direction: column; align-items: stretch; }
	.primary-nav a { padding: 14px 12px; font-size: 1rem; border-bottom: 1px solid var(--border); border-radius: 0; }
	.primary-nav .sub-menu, .primary-nav .children {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; min-width: 0;
		display: none;
	}
	.primary-nav li.is-open > .sub-menu, .primary-nav li.is-open > .children { display: block; }
	.submenu-toggle {
		display: block; position: absolute; right: 0; top: 4px; width: 44px; height: 44px; border: 0; background: var(--gbu-cream);
		border-radius: 8px; cursor: pointer; color: var(--gbu-green); font-size: 1.2rem;
	}
	.primary-nav .menu-item-has-children > a::after, .primary-nav .page_item_has_children > a::after { display: none; }
	.search-toggle { align-self: flex-start; margin-top: 10px; }
	body.nav-open { overflow: hidden; }

	.feature-grid, .cards-grid { grid-template-columns: repeat(2, 1fr); }
	.sg { grid-template-columns: 1fr; gap: 50px; }
	.sg__photo { max-width: 420px; }
	.has-sidebar .layout { grid-template-columns: 1fr; }
	.site-footer__grid, .site-footer__grid:has(> :nth-child(4)) { grid-template-columns: 1fr 1fr; }
	.gallery-grid { grid-template-columns: repeat(3, 1fr); }
	.gallery-grid__item:nth-child(6) { grid-column: span 1; grid-row: span 1; }
	.hero { background-image: linear-gradient(90deg, rgba(255,250,243,.97) 0%, rgba(255,250,243,.85) 55%, rgba(255,250,243,.3) 100%), var(--hero-image); }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.section { padding: 56px 0; }
	.topbar__contact a span { display: none; }
	.site-logo { height: 48px; }
	.site-brand__name { font-size: 1rem; }
	.hero { min-height: 0; background-position: 70% center; background-image: linear-gradient(180deg, rgba(255,250,243,.9) 0%, rgba(255,250,243,.95) 100%), var(--hero-image); }
	.hero__inner { padding-top: 50px; padding-bottom: 60px; }
	.announce__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
	.feature-grid, .cards-grid, .cards-grid--2, .form-row, .post-navigation .nav-links { grid-template-columns: 1fr; }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
	.gallery-grid__item:nth-child(1) { grid-column: span 2; }
	.cta__inner { flex-direction: column; align-items: flex-start; }
	.site-footer__grid, .site-footer__grid:has(> :nth-child(4)) { grid-template-columns: 1fr; gap: 36px; }
	.gbu-organ { grid-template-columns: 1fr; }
	.gbu-organ img { max-width: 320px; }
	.gbu-list-cols { columns: 1; }
	.alignleft, .alignright { float: none; margin: 1em auto; }
	.contact-form { padding: 20px; }
}
