/* GoBati brand theme — colors sampled from logo_gobati.png */
:root {
	--gobati-green: #00a859;
	--gobati-green-dark: #00803f;
	--gobati-red: #b03b3f;
	--gobati-charcoal: #373435;
	--gobati-grey-bg: #f5f5f4;
	--gobati-grey-text: #6b6b6b;
	--gobati-white: #ffffff;
	--gobati-radius: 10px;
	--gobati-font-heading: 'Poppins', sans-serif;
	--gobati-font-body: 'Inter', sans-serif;
}

body {
	font-family: var(--gobati-font-body);
	color: var(--gobati-charcoal);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--gobati-font-heading);
	color: var(--gobati-charcoal);
}

a {
	color: var(--gobati-green-dark);
}

.gobati-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Top bar ---------- */
.gobati-topbar {
	background: var(--gobati-charcoal);
	color: var(--gobati-white);
	font-size: 0.85rem;
}
.gobati-topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 8px 24px;
	flex-wrap: wrap;
}
.gobati-topbar__contact a {
	color: var(--gobati-white);
	margin-right: 20px;
	text-decoration: none;
}
.gobati-topbar__contact a:hover {
	color: var(--gobati-green);
}
.gobati-topbar__tagline {
	color: #cfcfcf;
}

/* ---------- Header ---------- */
.gobati-header {
	background: var(--gobati-white);
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	position: sticky;
	top: 0;
	z-index: 100;
}
.gobati-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px;
}
.gobati-branding__text {
	font-family: var(--gobati-font-heading);
	font-weight: 800;
	font-size: 1.4rem;
	color: var(--gobati-green);
	text-decoration: none;
}
.custom-logo {
	max-height: 64px;
	width: auto;
}

.gobati-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}
.gobati-nav__list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 26px;
}
.gobati-nav__list a {
	color: var(--gobati-charcoal);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
}
.gobati-nav__list a:hover {
	color: var(--gobati-green);
}
.gobati-nav__cta {
	background: var(--gobati-red);
	color: var(--gobati-white) !important;
	padding: 10px 20px;
	border-radius: var(--gobati-radius);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9rem;
	white-space: nowrap;
}
.gobati-nav__cta:hover {
	background: #8f2f32;
}

.gobati-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
}
.gobati-nav-toggle span {
	display: block;
	height: 3px;
	width: 100%;
	background: var(--gobati-charcoal);
	border-radius: 2px;
}

/* ---------- Buttons ---------- */
.gobati-button {
	display: inline-block;
	background: var(--gobati-green);
	color: var(--gobati-white);
	padding: 14px 28px;
	border-radius: var(--gobati-radius);
	text-decoration: none;
	font-weight: 700;
}
.gobati-button:hover {
	background: var(--gobati-green-dark);
	color: var(--gobati-white);
}

/* ---------- Page header ---------- */
.gobati-page-header {
	background: var(--gobati-grey-bg);
	padding: 60px 0;
	text-align: center;
}
.gobati-page-header h1 {
	font-size: 2.2rem;
	margin-bottom: 12px;
}
.gobati-page-header p,
.gobati-page-header__intro {
	color: var(--gobati-grey-text);
	max-width: 640px;
	margin: 0 auto;
}
.gobati-page {
	padding-bottom: 60px;
}

/* ---------- Filters ---------- */
.gobati-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: 40px 0;
}
.gobati-filters__item {
	border: 2px solid var(--gobati-grey-bg);
	color: var(--gobati-charcoal);
	padding: 8px 18px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
}
.gobati-filters__item.is-active,
.gobati-filters__item:hover {
	background: var(--gobati-green);
	border-color: var(--gobati-green);
	color: var(--gobati-white);
}

/* ---------- Grids & cards ---------- */
.gobati-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
	.gobati-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.gobati-grid { grid-template-columns: 1fr; }
}

.gobati-card {
	display: block;
	background: var(--gobati-white);
	border-radius: var(--gobati-radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gobati-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}
.gobati-card__image {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--gobati-grey-bg);
	overflow: hidden;
}
.gobati-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gobati-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--gobati-grey-bg), #e4e4e2);
}
.gobati-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--gobati-green);
	color: var(--gobati-white);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
}
.gobati-card__body {
	padding: 18px 20px;
}
.gobati-card__title {
	font-size: 1.1rem;
	margin: 0 0 6px;
}
.gobati-card__meta {
	color: var(--gobati-grey-text);
	font-size: 0.9rem;
	margin: 0;
}
.gobati-empty {
	text-align: center;
	color: var(--gobati-grey-text);
	padding: 40px 0;
}

/* ---------- Partenaires ---------- */
.gobati-grid--partenaires {
	grid-template-columns: repeat(5, 1fr);
	align-items: center;
}
@media (max-width: 900px) {
	.gobati-grid--partenaires { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
	.gobati-grid--partenaires { grid-template-columns: repeat(2, 1fr); }
}
.gobati-partner {
	background: var(--gobati-white);
	border-radius: var(--gobati-radius);
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.gobati-partner img {
	max-width: 100%;
	max-height: 80px;
	width: auto;
	filter: grayscale(100%);
	opacity: 0.75;
	transition: filter 0.15s ease, opacity 0.15s ease;
}
.gobati-partner:hover img {
	filter: grayscale(0%);
	opacity: 1;
}
.gobati-partner__name {
	font-weight: 700;
	color: var(--gobati-charcoal);
}

/* ---------- Pagination ---------- */
.gobati-pagination {
	margin: 40px 0;
	display: flex;
	justify-content: center;
	gap: 12px;
}
.gobati-pagination .page-numbers {
	border: 1px solid var(--gobati-grey-bg);
	padding: 8px 14px;
	border-radius: 6px;
	text-decoration: none;
	color: var(--gobati-charcoal);
}
.gobati-pagination .page-numbers.current {
	background: var(--gobati-green);
	color: var(--gobati-white);
	border-color: var(--gobati-green);
}

/* ---------- Single chantier ---------- */
.gobati-single-chantier__hero img {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
}
.gobati-single-chantier__hero.gobati-single-chantier__hero--contained {
	background: var(--gobati-grey-bg);
	display: flex;
	justify-content: center;
	padding: 30px 20px;
}
.gobati-single-chantier__hero.gobati-single-chantier__hero--contained img {
	width: auto;
	max-width: 480px;
	max-height: 380px;
	object-fit: contain;
	border-radius: var(--gobati-radius);
	box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.gobati-single-chantier__inner {
	max-width: 820px;
	padding-top: 40px;
}
.gobati-back-link {
	display: inline-block;
	margin-bottom: 20px;
	color: var(--gobati-grey-text);
	text-decoration: none;
	font-weight: 600;
}
.gobati-single-chantier__badges {
	margin-bottom: 12px;
}
.gobati-single-chantier__badges .gobati-badge {
	position: static;
	display: inline-block;
	margin-right: 8px;
}
.gobati-single-chantier__meta {
	list-style: none;
	padding: 0;
	margin: 20px 0;
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	color: var(--gobati-grey-text);
}
.gobati-single-chantier__content {
	margin-top: 24px;
	line-height: 1.7;
}
.gobati-single-chantier__content .wp-block-gallery,
.gobati-single-chantier__content .gallery {
	margin-top: 30px;
}

/* ---------- CTA box ---------- */
.gobati-cta-box {
	background: var(--gobati-grey-bg);
	border-radius: var(--gobati-radius);
	padding: 40px;
	text-align: center;
	margin: 50px 0;
}
.gobati-cta-box h2 {
	margin-top: 0;
}

/* ---------- Footer ---------- */
.gobati-footer {
	background: var(--gobati-charcoal);
	color: #d8d8d6;
	margin-top: 60px;
}
.gobati-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1.4fr;
	gap: 40px;
	padding: 56px 24px;
}
@media (max-width: 780px) {
	.gobati-footer__grid { grid-template-columns: 1fr; }
}
.gobati-footer h3 {
	color: var(--gobati-white);
	font-size: 1rem;
	margin-bottom: 16px;
}
.gobati-footer a {
	color: #d8d8d6;
}
.gobati-footer a:hover {
	color: var(--gobati-green);
}
.gobati-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.gobati-footer__links li {
	margin-bottom: 10px;
}
.gobati-footer__social a {
	margin-right: 16px;
	font-weight: 600;
}
.gobati-footer address {
	font-style: normal;
	line-height: 1.9;
}
.gobati-footer__logo .custom-logo {
	max-height: 50px;
	margin-bottom: 16px;
	filter: brightness(0) invert(1);
}
.gobati-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding: 18px 0;
	font-size: 0.85rem;
	text-align: center;
	color: #9a9a98;
}

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
	.gobati-nav-toggle {
		display: flex;
	}
	.gobati-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--gobati-white);
		flex-direction: column;
		align-items: flex-start;
		padding: 0 24px;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.25s ease;
		box-shadow: 0 8px 16px rgba(0,0,0,0.08);
	}
	.gobati-nav.is-open {
		max-height: 500px;
		padding: 20px 24px 28px;
	}
	.gobati-nav__list {
		flex-direction: column;
		gap: 16px;
		width: 100%;
	}
	.gobati-nav__cta {
		margin-top: 16px;
	}
	.gobati-header__inner {
		position: relative;
	}
	.gobati-topbar__inner {
		justify-content: center;
		text-align: center;
	}
	.gobati-topbar__tagline {
		display: none;
	}
}

/* ---------- Map ---------- */
.gobati-map {
	width: 100%;
	height: 400px;
	border-radius: var(--gobati-radius);
	box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	overflow: hidden;
}
.gobati-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
