/* ==========================================================================
   Gobati — theme styles
   Brand colours sampled from the logo. Text/button colours are the darker
   shades so they pass WCAG AA contrast on white.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-700-normal.woff2') format('woff2'); }

:root {
	--gobati-green: #00a859;        /* brand, decorative / large */
	--gobati-green-dark: #00803f;   /* text, buttons (5:1 on white) */
	--gobati-green-darker: #006832; /* hover */
	--gobati-green-tint: #e8f6ee;
	--gobati-red: #b03b3f;          /* accent (5.9:1 on white) */
	--gobati-red-dark: #8f2f32;
	--gobati-charcoal: #373435;
	--gobati-ink: #2a2829;
	--gobati-grey-bg: #f5f5f4;
	--gobati-grey-line: #e4e4e2;
	--gobati-grey-text: #5f5f5f;    /* 6.4:1 on white */
	--gobati-white: #ffffff;
	--gobati-radius: 12px;
	--gobati-radius-sm: 8px;
	--gobati-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	--gobati-shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
	--gobati-font-heading: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--gobati-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--gobati-container: 1180px;
	--gobati-gutter: clamp(16px, 4vw, 24px);
	--gobati-section-y: clamp(48px, 8vw, 88px);
	--gobati-header-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	/* No double-tap zoom when a tap lands just next to a button (pinch zoom still works). */
	touch-action: manipulation;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--gobati-header-h) + 16px);
}

body {
	margin: 0;
	/* Safety net: nothing may ever widen the page sideways on phones. */
	overflow-x: clip;
	background: var(--gobati-white);
	color: var(--gobati-charcoal);
	font-family: var(--gobati-font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	font-family: var(--gobati-font-heading);
	font-weight: 700;
	line-height: 1.2;
	color: var(--gobati-ink);
	overflow-wrap: break-word; /* Whole words; a word too long for the screen still wraps. */
	hyphens: manual;
}

h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); font-weight: 600; }

p {
	margin: 0 0 1em;
}

a {
	color: var(--gobati-green-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

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

:focus-visible {
	outline: 3px solid var(--gobati-green);
	outline-offset: 2px;
	border-radius: 4px;
}

::selection {
	background: var(--gobati-green-tint);
	color: var(--gobati-ink);
}

address {
	font-style: normal;
}

/* Visually hidden, still read by screen readers. The missing definition of
   this class used to push the page sideways on phones. */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	word-wrap: normal !important;
}

.gobati-skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	margin: 0;
	clip: auto;
	clip-path: none;
	background: var(--gobati-white);
	color: var(--gobati-ink);
	font-weight: 600;
	border-radius: var(--gobati-radius-sm);
	box-shadow: var(--gobati-shadow-lg);
}

.gobati-container {
	width: 100%;
	max-width: calc(var(--gobati-container) + 2 * var(--gobati-gutter));
	margin-inline: auto;
	padding-inline: var(--gobati-gutter);
}

/* ---------- Buttons ---------- */
.gobati-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 26px;
	border: 2px solid var(--gobati-green-dark);
	border-radius: var(--gobati-radius-sm);
	background: var(--gobati-green-dark);
	color: var(--gobati-white);
	font-family: var(--gobati-font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.gobati-button:hover,
.wp-block-button__link:hover {
	background: var(--gobati-green-darker);
	border-color: var(--gobati-green-darker);
	color: var(--gobati-white);
}

.gobati-button:active,
.wp-block-button__link:active {
	transform: translateY(1px);
}

.gobati-button--accent,
.is-style-accent .wp-block-button__link {
	background: var(--gobati-red);
	border-color: var(--gobati-red);
}

.gobati-button--accent:hover,
.is-style-accent .wp-block-button__link:hover {
	background: var(--gobati-red-dark);
	border-color: var(--gobati-red-dark);
}

.gobati-button--ghost,
.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--gobati-green-dark);
}

.gobati-button--ghost:hover,
.is-style-outline .wp-block-button__link:hover {
	background: var(--gobati-green-dark);
	color: var(--gobati-white);
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- Top bar ---------- */
.gobati-topbar {
	background: var(--gobati-charcoal);
	color: var(--gobati-white);
	font-size: 0.875rem;
}

.gobati-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	min-height: 40px;
	padding-block: 6px;
}

.gobati-topbar__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
}

.gobati-topbar__contact a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--gobati-white);
	text-decoration: none;
}

.gobati-topbar__contact a:hover {
	color: #7fe0ae;
}

.gobati-topbar__contact svg {
	width: 15px;
	height: 15px;
	color: var(--gobati-green);
}

.gobati-topbar__tagline {
	margin: 0;
	color: #d4d4d2;
}

/* ---------- Header ---------- */
.gobati-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--gobati-white);
	box-shadow: 0 1px 0 var(--gobati-grey-line), 0 4px 14px rgba(0, 0, 0, 0.04);
}

.admin-bar .gobati-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* On phones WordPress lets its admin bar scroll away (it isn't fixed there),
   so the header must stick to the very top. Only matters when logged in. */
@media (max-width: 600px) {
	.admin-bar .gobati-header {
		top: 0;
	}
}

.gobati-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--gobati-header-h);
}

.gobati-branding {
	flex-shrink: 0;
}

.gobati-branding .custom-logo-link {
	display: block;
}

.gobati-branding .custom-logo {
	display: block;
	width: auto;
	max-height: 56px;
}

.gobati-branding__text {
	font-family: var(--gobati-font-heading);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--gobati-green-dark);
	text-decoration: none;
}

.gobati-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.gobati-nav__list {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gobati-nav__list a {
	position: relative;
	display: block;
	padding: 10px 12px;
	color: var(--gobati-ink);
	font-weight: 500;
	font-size: 0.975rem;
	text-decoration: none;
	border-radius: var(--gobati-radius-sm);
}

.gobati-nav__list a:hover {
	color: var(--gobati-green-dark);
	background: var(--gobati-grey-bg);
}

.gobati-nav__list .current-menu-item > a,
.gobati-nav__list .current_page_item > a {
	color: var(--gobati-green-dark);
	font-weight: 600;
}

.gobati-nav__list .current-menu-item > a::after,
.gobati-nav__list .current_page_item > a::after {
	content: '';
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: var(--gobati-green);
}

.gobati-nav__cta {
	min-height: 44px;
	padding: 10px 20px;
	font-size: 0.95rem;
	white-space: nowrap;
}

.gobati-header__actions {
	display: none;
	align-items: center;
	gap: 4px;
}

.gobati-header__call,
.gobati-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: var(--gobati-radius-sm);
	background: transparent;
	color: var(--gobati-ink);
	cursor: pointer;
}

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

/* Invisible, larger touch area around the header buttons: full header
   height, and for the menu button all the way to the screen edge. */
.gobati-header__call,
.gobati-nav-toggle {
	position: relative;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.gobati-header__call::after,
.gobati-nav-toggle::after {
	content: '';
	position: absolute;
	top: calc((48px - var(--gobati-header-h)) / 2);
	bottom: calc((48px - var(--gobati-header-h)) / 2);
	left: -2px;
	right: -2px;
}

.gobati-nav-toggle::after {
	right: calc(-1 * var(--gobati-gutter));
}

.gobati-header__call::after {
	left: -16px;
}

.gobati-header__call:hover,
.gobati-nav-toggle:hover {
	background: var(--gobati-grey-bg);
}

.gobati-nav-toggle__bars {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
}

.gobati-nav-toggle__bars span {
	display: block;
	width: 100%;
	height: 2.5px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
	transform-origin: center;
}

.gobati-nav-toggle[aria-expanded='true'] .gobati-nav-toggle__bars span:nth-child(1) {
	transform: translateY(7.75px) rotate(45deg);
}

.gobati-nav-toggle[aria-expanded='true'] .gobati-nav-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.gobati-nav-toggle[aria-expanded='true'] .gobati-nav-toggle__bars span:nth-child(3) {
	transform: translateY(-7.75px) rotate(-45deg);
}

/* ---------- Mobile / tablet navigation ---------- */
@media (max-width: 1023px) {
	:root {
		--gobati-header-h: 68px;
	}

	.gobati-header__inner {
		position: relative;
	}

	.gobati-branding .custom-logo {
		max-height: 46px;
	}

	.gobati-header__actions {
		display: flex;
	}

	.gobati-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 12px var(--gobati-gutter) 24px;
		background: var(--gobati-white);
		border-top: 1px solid var(--gobati-grey-line);
		box-shadow: 0 16px 24px rgba(0, 0, 0, 0.10);
		max-height: calc(100vh - var(--gobati-header-h));
		max-height: calc(100dvh - var(--gobati-header-h));
		overflow-y: auto;
		/* Hidden until the toggle opens it. */
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
	}

	.gobati-nav.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity 0.2s ease, transform 0.2s ease;
	}

	.gobati-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.gobati-nav__list a {
		padding: 14px 8px;
		font-size: 1.05rem;
		border-bottom: 1px solid var(--gobati-grey-line);
		border-radius: 0;
	}

	.gobati-nav__list .current-menu-item > a::after,
	.gobati-nav__list .current_page_item > a::after {
		left: 0;
		right: auto;
		top: 12px;
		bottom: 12px;
		width: 3px;
		height: auto;
	}

	.gobati-nav__cta {
		width: 100%;
		min-height: 52px;
	}

	.gobati-topbar__tagline {
		display: none;
	}

	.gobati-topbar__inner {
		justify-content: center;
	}
}

@media (max-width: 420px) {
	.gobati-topbar__contact {
		justify-content: center;
		gap: 2px 16px;
		font-size: 0.8125rem;
	}
}

/* ---------- Page header ---------- */
.gobati-page-header {
	padding-block: clamp(40px, 7vw, 72px);
	background: var(--gobati-grey-bg);
	text-align: center;
}

.gobati-page-header h1 {
	margin-bottom: 0.35em;
}

.gobati-page-header__intro {
	max-width: 680px;
	margin: 0 auto;
	color: var(--gobati-grey-text);
	font-size: 1.075rem;
}

.gobati-page-header__intro p:last-child {
	margin-bottom: 0;
}

.gobati-page {
	padding-bottom: var(--gobati-section-y);
}

.gobati-page--home,
.gobati-page:has(> .gobati-content > .wp-block-group:last-child) {
	/* The last section already has its own bottom padding. */
	padding-bottom: 0;
}

.gobati-section {
	padding-block: clamp(32px, 5vw, 56px) 0;
}

.gobati-prose {
	max-width: 760px;
}

.gobati-prose > * + h2,
.gobati-prose > * + h3 {
	margin-top: 1.6em;
}

/* ---------- Block content (pages built in the WordPress editor) ---------- */
.gobati-content > :where(:not(.wp-block-group):not(.alignfull)) {
	max-width: calc(var(--gobati-container) + 2 * var(--gobati-gutter));
	margin-inline: auto;
	padding-inline: var(--gobati-gutter);
}

.gobati-content > .wp-block-group {
	margin: 0;
	padding: var(--gobati-section-y) var(--gobati-gutter);
}

.gobati-content > .wp-block-group > .wp-block-group__inner-container > * {
	max-width: var(--gobati-container);
	margin-inline: auto;
}

.gobati-content > .wp-block-group > .wp-block-group__inner-container > * + * {
	margin-top: 1.25rem;
}

.gobati-content > .wp-block-group > .wp-block-group__inner-container > :where(h1, h2, p).has-text-align-center {
	max-width: 760px;
}

.gobati-content .wp-block-buttons.is-content-justification-center,
.gobati-content .has-text-align-center + .wp-block-buttons {
	justify-content: center;
}

.gobati-content > .wp-block-group > .wp-block-group__inner-container > .wp-block-buttons {
	margin-top: 2rem;
}

.gobati-content :where(h2).has-text-align-center {
	margin-bottom: 0.5em;
}

.gobati-content .gobati-lead {
	color: var(--gobati-grey-text);
	font-size: 1.1rem;
}

.gobati-section--grey {
	background: var(--gobati-grey-bg);
}

.gobati-content > .wp-block-group > .wp-block-group__inner-container {
	max-width: var(--gobati-container);
	margin-inline: auto;
}

/* Hero */
.gobati-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1200px 500px at 85% 120%, rgba(255, 255, 255, 0.10), transparent 60%),
		linear-gradient(135deg, #00924d 0%, var(--gobati-green-dark) 55%, #006a34 100%);
	color: var(--gobati-white);
	text-align: center;
}

.gobati-content > .gobati-hero {
	padding-block: clamp(64px, 11vw, 128px);
}

/* Decorative roof line, echoing the logo. */
.gobati-hero::before {
	content: '';
	position: absolute;
	inset: auto -10% -2px;
	height: 45%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cpath d='M0 300 L0 220 L300 90 L520 190 L760 40 L1000 170 L1200 110 L1200 300Z' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
	pointer-events: none;
}

.gobati-hero > * {
	position: relative;
}

/* Optional cover photo (« Mon site » › Photo de la page d'accueil, inc/home-photo.php) under a dark green shade. */
.gobati-hero > .gobati-hero__photo,
.gobati-hero > .gobati-hero__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.gobati-hero > .gobati-hero__photo {
	object-fit: cover;
}

.gobati-hero__shade {
	background: linear-gradient(180deg, rgba(0, 45, 22, 0.62) 0%, rgba(0, 45, 22, 0.72) 100%);
}

.gobati-hero.has-photo::before {
	z-index: 1;
}

.gobati-hero.has-photo > .wp-block-group__inner-container {
	z-index: 2;
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.gobati-hero.has-photo .wp-block-button__link {
	text-shadow: none;
}

.gobati-content .gobati-hero h1 {
	max-width: 880px;
	color: var(--gobati-white);
}

.gobati-content .gobati-hero p {
	max-width: 720px;
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

.gobati-hero .wp-block-button__link {
	background: var(--gobati-white);
	border-color: var(--gobati-white);
	color: var(--gobati-green-dark);
}

.gobati-hero .wp-block-button__link:hover {
	background: var(--gobati-grey-bg);
	border-color: var(--gobati-grey-bg);
	color: var(--gobati-green-darker);
}

.gobati-hero .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--gobati-white);
}

.gobati-hero .is-style-outline .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--gobati-white);
}

.gobati-content .gobati-hero .gobati-hero__trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 28px;
	margin-top: 2.5rem;
	padding: 0;
	list-style: none;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.95);
}

.gobati-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.gobati-hero__trust li::before {
	content: '';
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Type of work page: text from the Types screen, above the réalisations. */
.gobati-type-page__text {
	max-width: 760px;
	margin: clamp(28px, 5vw, 48px) auto 8px;
}

.gobati-type-page__communes {
	color: var(--gobati-grey-text);
}

/* Red call-to-action band */
.gobati-section--cta {
	background: var(--gobati-red);
	color: var(--gobati-white);
	text-align: center;
}

.gobati-content .gobati-section--cta :where(h2, p) {
	color: var(--gobati-white);
}

.gobati-section--cta .wp-block-button__link {
	background: var(--gobati-white);
	border-color: var(--gobati-white);
	color: var(--gobati-red);
}

.gobati-section--cta .wp-block-button__link:hover {
	background: var(--gobati-grey-bg);
	border-color: var(--gobati-grey-bg);
	color: var(--gobati-red-dark);
}

.gobati-section--cta .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--gobati-white);
}

.gobati-section--cta .is-style-outline .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.14);
	color: var(--gobati-white);
}

/* Check-mark list ("Pourquoi choisir Gobati ?") */
.gobati-content .gobati-checklist {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 16px;
	padding: 0;
	list-style: none;
}

.gobati-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 20px;
	background: var(--gobati-white);
	border-radius: var(--gobati-radius);
	box-shadow: var(--gobati-shadow);
	font-weight: 500;
	line-height: 1.5;
}

.gobati-checklist li::before {
	content: '';
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--gobati-green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300803f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Key figures (À propos) */
.gobati-content .gobati-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 20px;
	margin-block: 0;
}

.gobati-stats .wp-block-column {
	padding: 28px 20px;
	background: var(--gobati-white);
	border-radius: var(--gobati-radius);
	box-shadow: var(--gobati-shadow);
	text-align: center;
}

.gobati-content .gobati-stats :where(p) {
	margin: 0;
}

.gobati-content .gobati-stats .gobati-stat__value {
	margin-bottom: 4px;
	font-family: var(--gobati-font-heading);
	font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem);
	font-weight: 700;
	line-height: 1.1;
	color: var(--gobati-green-dark);
}

/* Two columns (contact page, about page) */
.gobati-content .wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(24px, 4vw, 56px);
}

.gobati-content .wp-block-column {
	flex: 1 1 300px;
	min-width: 0;
}

.gobati-content .wp-block-column > :first-child {
	margin-top: 0;
}

.gobati-content .wp-block-column.gobati-col-wide {
	flex-grow: 1.5;
}

.gobati-content .wp-block-column > h2 {
	font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem);
}

/* ---------- Services ---------- */
.gobati-services {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gobati-service__link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	height: 100%;
	padding: 28px 24px;
	background: var(--gobati-white);
	border: 1px solid var(--gobati-grey-line);
	border-radius: var(--gobati-radius);
	color: var(--gobati-charcoal);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.gobati-service__link:hover {
	border-color: var(--gobati-green);
	box-shadow: var(--gobati-shadow-lg);
	transform: translateY(-3px);
	color: var(--gobati-charcoal);
}

.gobati-service__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--gobati-green-tint);
	color: var(--gobati-green-dark);
}

.gobati-service__icon svg {
	width: 28px;
	height: 28px;
}

.gobati-service__title {
	font-family: var(--gobati-font-heading);
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--gobati-ink);
}

.gobati-service__text {
	color: var(--gobati-grey-text);
	font-size: 0.95rem;
	line-height: 1.55;
}

.gobati-service__link::after {
	content: 'Voir les réalisations →';
	margin-top: auto;
	padding-top: 6px;
	color: var(--gobati-green-dark);
	font-size: 0.9rem;
	font-weight: 600;
}

/* ---------- Filters ---------- */
.gobati-filters {
	margin: clamp(28px, 4vw, 40px) 0;
}

.gobati-filters ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gobati-filters__item {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 18px;
	border: 1.5px solid var(--gobati-grey-line);
	border-radius: 999px;
	color: var(--gobati-charcoal);
	font-weight: 500;
	font-size: 0.95rem;
	text-decoration: none;
	white-space: nowrap;
}

.gobati-filters__item:hover {
	border-color: var(--gobati-green-dark);
	color: var(--gobati-green-dark);
}

.gobati-filters__item.is-active {
	background: var(--gobati-green-dark);
	border-color: var(--gobati-green-dark);
	color: var(--gobati-white);
}

/* ---------- Chantier cards ---------- */
.gobati-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

/* A short list (e.g. one chantier on the homepage) stays centred. */
.gobati-content .gobati-grid--chantiers {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 370px));
	justify-content: center;
}

.gobati-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--gobati-white);
	border-radius: var(--gobati-radius);
	overflow: hidden;
	box-shadow: var(--gobati-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gobati-card:hover,
.gobati-card:focus-within {
	transform: translateY(-4px);
	box-shadow: var(--gobati-shadow-lg);
}

.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;
	transition: transform 0.4s ease;
}

.gobati-card:hover .gobati-card__image img {
	transform: scale(1.04);
}

.gobati-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #c9c9c6;
	background: linear-gradient(135deg, var(--gobati-grey-bg), var(--gobati-grey-line));
}

.gobati-card__placeholder svg {
	width: 56px;
	height: 56px;
}

.gobati-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--gobati-green-dark);
	color: var(--gobati-white);
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
}

a.gobati-badge:hover {
	background: var(--gobati-green-darker);
	color: var(--gobati-white);
}

/* All the work types of a réalisation, wrapping onto a second line when needed. */
.gobati-card__badges {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	pointer-events: none;
}

.gobati-card__body {
	padding: 18px 20px 20px;
}

.gobati-card__title {
	margin: 0 0 4px;
	font-size: 1.125rem;
}

.gobati-card__link {
	color: var(--gobati-ink);
	text-decoration: none;
}

/* Whole card is clickable, but only one link for screen readers. */
.gobati-card__link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
}

.gobati-card__link:focus-visible {
	outline: none;
}

.gobati-card:has(.gobati-card__link:focus-visible) {
	outline: 3px solid var(--gobati-green);
	outline-offset: 3px;
}

.gobati-card__meta {
	margin: 0;
	color: var(--gobati-grey-text);
	font-size: 0.925rem;
}

.gobati-empty {
	padding: 40px 0;
	color: var(--gobati-grey-text);
	text-align: center;
}

/* ---------- Fournisseurs (by category) ---------- */
.gobati-supplier-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 32px;
}

.gobati-supplier-nav a {
	padding: 8px 16px;
	border: 1px solid var(--gobati-grey-line);
	border-radius: 999px;
	background: var(--gobati-white);
	color: var(--gobati-charcoal);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.gobati-supplier-nav a:hover,
.gobati-supplier-nav a:focus-visible {
	border-color: var(--gobati-green-dark);
	color: var(--gobati-green-dark);
}

.gobati-suppliers {
	scroll-margin-top: calc(var(--gobati-header-h) + 16px);
}

.gobati-suppliers + .gobati-suppliers {
	margin-top: 48px;
}

.gobati-suppliers__title {
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--gobati-green);
	font-size: clamp(1.05rem, 2.4vw, 1.25rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.gobati-partners {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gobati-partner {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 20px;
	background: var(--gobati-white);
	border: 1px solid var(--gobati-grey-line);
	border-radius: var(--gobati-radius);
	box-shadow: var(--gobati-shadow);
}

.gobati-partner__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 90px;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--gobati-grey-line);
}

.gobati-partner__logo img {
	width: auto;
	max-width: 100%;
	max-height: 70px;
	object-fit: contain;
}

.gobati-partner__initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--gobati-green-tint);
	color: var(--gobati-green-dark);
	font-family: var(--gobati-font-heading);
	font-size: 1.75rem;
	font-weight: 700;
}

.gobati-partner__name {
	margin: 0 0 10px;
	font-size: 1.0625rem;
}

.gobati-partner__details {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--gobati-grey-text);
	font-size: 0.9375rem;
}

.gobati-partner__details li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	min-width: 0;
}

.gobati-partner__details a {
	color: var(--gobati-green-dark);
	font-weight: 600;
	overflow-wrap: anywhere;
}

.gobati-partner__icon {
	flex: none;
	color: var(--gobati-green-dark);
}

.gobati-partner__icon svg {
	display: block;
	width: 18px;
	height: 18px;
	margin-top: 2px;
}

/* ---------- Pagination ---------- */
.gobati-pagination {
	margin-top: 40px;
}

.gobati-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.gobati-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid var(--gobati-grey-line);
	border-radius: var(--gobati-radius-sm);
	color: var(--gobati-charcoal);
	text-decoration: none;
}

.gobati-pagination .page-numbers.current {
	background: var(--gobati-green-dark);
	border-color: var(--gobati-green-dark);
	color: var(--gobati-white);
}

/* ---------- Single chantier ---------- */
.gobati-breadcrumb {
	padding-block: 24px 8px;
}

.gobati-breadcrumb a {
	color: var(--gobati-grey-text);
	font-weight: 500;
	text-decoration: none;
}

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

.gobati-single-chantier__intro {
	display: grid;
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
	padding-block: 16px clamp(24px, 4vw, 40px);
}

@media (min-width: 900px) {
	.gobati-single-chantier__intro.has-image {
		grid-template-columns: 1fr 1fr;
	}
}

.gobati-single-chantier__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.gobati-single-chantier__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	margin: 20px 0 0;
}

.gobati-single-chantier__meta div {
	padding-left: 14px;
	border-left: 3px solid var(--gobati-green);
}

.gobati-single-chantier__meta dt {
	color: var(--gobati-grey-text);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.gobati-single-chantier__meta dd {
	margin: 0;
	font-weight: 500;
}

.gobati-single-chantier__image {
	margin: 0;
}

.gobati-single-chantier__image img {
	display: block;
	width: 100%;
	max-height: 460px;
	object-fit: cover;
	border-radius: var(--gobati-radius);
	box-shadow: var(--gobati-shadow-lg);
}

.gobati-single-chantier__content {
	max-width: none;
	font-size: 1.05rem;
}

.gobati-single-chantier__content > p {
	max-width: 760px;
}

/* Project photos: even grid, every photo the same shape. */
.gobati-single-chantier__content .wp-block-gallery.has-nested-images {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 32px;
}

@media (max-width: 700px) {
	.gobati-single-chantier__content .wp-block-gallery.has-nested-images {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
}

.gobati-single-chantier__content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	width: auto;
	margin: 0;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--gobati-radius-sm);
}

.gobati-single-chantier__content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gobati-post-nav {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--gobati-grey-line);
}

.gobati-post-nav .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
}

.gobati-post-nav a {
	display: flex;
	flex-direction: column;
	color: var(--gobati-ink);
	font-weight: 600;
	text-decoration: none;
}

.gobati-post-nav .nav-next {
	margin-left: auto;
	text-align: right;
}

.gobati-post-nav__label {
	color: var(--gobati-grey-text);
	font-size: 0.85rem;
	font-weight: 500;
}

/* Chantier photos (from the simple "Chantiers" screen) */
.gobati-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 700px) {
	.gobati-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
}

.gobati-gallery a {
	display: block;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: var(--gobati-radius-sm);
	background: var(--gobati-grey-bg);
	cursor: zoom-in;
}

.gobati-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.gobati-gallery a:hover img {
	transform: scale(1.04);
}

/* Full-screen photo viewer */
.gobati-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 15, 15, 0.94);
	touch-action: pan-y;
}

.gobati-lightbox[hidden] {
	display: none;
}

.gobati-lightbox__img {
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 120px);
	max-height: calc(100dvh - 120px);
	border-radius: 6px;
	object-fit: contain;
	user-select: none;
}

.gobati-lightbox__btn {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.gobati-lightbox__btn:hover,
.gobati-lightbox__btn:focus-visible {
	background: rgba(255, 255, 255, 0.28);
}

.gobati-lightbox__close {
	top: max(14px, env(safe-area-inset-top));
	right: 14px;
}

.gobati-lightbox__prev {
	left: 14px;
}

.gobati-lightbox__next {
	right: 14px;
}

.gobati-lightbox__count {
	position: absolute;
	bottom: max(18px, env(safe-area-inset-bottom));
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.95rem;
}

@media (max-width: 600px) {
	.gobati-lightbox__prev,
	.gobati-lightbox__next {
		top: auto;
		bottom: max(8px, env(safe-area-inset-bottom));
	}

	.gobati-lightbox__img {
		max-height: calc(100dvh - 160px);
	}
}

/* ---------- CTA box ---------- */
.gobati-cta-box {
	margin-top: 48px;
	padding: clamp(28px, 5vw, 48px);
	border-radius: var(--gobati-radius);
	background: var(--gobati-grey-bg);
	text-align: center;
}

.gobati-cta-box h2 {
	margin-top: 0;
}

/* ---------- Contact details ---------- */
.gobati-contact-details {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gobati-contact-details__item {
	display: grid;
	grid-template-columns: 48px 1fr;
	column-gap: 16px;
	align-items: start;
	padding: 18px;
	background: var(--gobati-white);
	border: 1px solid var(--gobati-grey-line);
	border-radius: var(--gobati-radius);
}

.gobati-contact-details__icon {
	grid-row: span 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--gobati-green-tint);
	color: var(--gobati-green-dark);
}

.gobati-contact-details__icon svg {
	width: 22px;
	height: 22px;
}

.gobati-contact-details__label {
	display: block;
	color: var(--gobati-grey-text);
	font-size: 0.85rem;
	font-weight: 600;
}

.gobati-contact-details__value {
	font-weight: 500;
	overflow-wrap: anywhere;
}

/* ---------- Contact form ---------- */
.gobati-form-wrap {
	scroll-margin-top: calc(var(--gobati-header-h) + 16px);
}

.gobati-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

.gobati-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 18px;
}

.gobati-form__field--full {
	grid-column: 1 / -1;
}

@media (max-width: 560px) {
	.gobati-form__grid {
		grid-template-columns: 1fr;
	}
}

.gobati-form label {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--gobati-ink);
}

.gobati-form__req {
	color: var(--gobati-red);
}

.gobati-form input[type='text'],
.gobati-form input[type='email'],
.gobati-form input[type='tel'],
.gobati-form select,
.gobati-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1.5px solid #c8c8c5;
	border-radius: var(--gobati-radius-sm);
	background: var(--gobati-white);
	color: var(--gobati-ink);
	/* 16px minimum: prevents iOS from zooming into the field. */
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gobati-form textarea {
	min-height: 150px;
	resize: vertical;
}

.gobati-form input:focus,
.gobati-form select:focus,
.gobati-form textarea:focus {
	outline: none;
	border-color: var(--gobati-green-dark);
	box-shadow: 0 0 0 3px rgba(0, 168, 89, 0.25);
}

.gobati-form ::placeholder {
	color: #8a8a87;
}

.gobati-form__consent {
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
}

.gobati-form__consent input {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--gobati-green-dark);
}

.gobati-form__consent label {
	font-weight: 400;
	font-size: 0.925rem;
	line-height: 1.5;
}

.gobati-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 4px 0 0;
}

.gobati-form__hint {
	color: var(--gobati-grey-text);
	font-size: 0.875rem;
}

.gobati-form__hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.gobati-notice {
	margin-bottom: 24px;
	padding: 16px 20px;
	border-radius: var(--gobati-radius-sm);
	border-left: 4px solid;
}

.gobati-notice:focus {
	outline: none;
}

.gobati-notice ul {
	margin: 8px 0 0;
	padding-left: 20px;
}

.gobati-notice--success {
	background: var(--gobati-green-tint);
	border-color: var(--gobati-green-dark);
	color: #0b4d2a;
}

.gobati-notice--error {
	background: #fbeeee;
	border-color: var(--gobati-red);
	color: #6d1f22;
}

.gobati-notice strong {
	display: block;
}

/* ---------- 404 ---------- */
.gobati-404 {
	padding-block: clamp(56px, 10vw, 112px);
	text-align: center;
}

.gobati-404__code {
	margin: 0;
	font-family: var(--gobati-font-heading);
	font-size: clamp(4rem, 3rem + 6vw, 8rem);
	font-weight: 700;
	line-height: 1;
	color: var(--gobati-green-tint);
	-webkit-text-stroke: 2px var(--gobati-green);
}

.gobati-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

/* ---------- Footer ---------- */
.gobati-footer {
	background: var(--gobati-charcoal);
	color: #e0e0de;
	font-size: 0.95rem;
}

.gobati-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.2fr;
	gap: 40px;
	padding-block: clamp(40px, 6vw, 64px);
}

@media (max-width: 860px) {
	.gobati-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.gobati-footer__col--brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.gobati-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

.gobati-footer__title {
	margin: 0 0 14px;
	color: var(--gobati-white);
	font-family: var(--gobati-font-heading);
	font-size: 1rem;
	font-weight: 600;
}

.gobati-footer a {
	color: #e0e0de;
	text-decoration: none;
}

.gobati-footer a:hover {
	color: #7fe0ae;
	text-decoration: underline;
}

.gobati-footer__links,
.gobati-footer__social {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gobati-footer__links li {
	margin-bottom: 4px;
}

.gobati-footer__links a {
	display: inline-block;
	padding-block: 4px;
}

.gobati-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-weight: 600;
}

.gobati-footer address {
	line-height: 1.9;
}

.gobati-footer__logo .custom-logo {
	display: block;
	width: auto;
	max-height: 50px;
	margin-bottom: 16px;
	filter: brightness(0) invert(1);
}

.gobati-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #c4c4c2;
	font-size: 0.85rem;
}

.gobati-footer__bottom-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px 24px;
	padding-block: 18px;
}

.gobati-footer__bottom p {
	margin: 0;
}

.gobati-footer__bottom a {
	color: #c4c4c2;
}

.gobati-footer__links-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
}

/* ---------- Call / WhatsApp chooser (header phone icon) ---------- */
.gobati-callmenu {
	position: absolute;
	top: calc(100% + 6px);
	right: var(--gobati-gutter);
	z-index: 110;
	display: grid;
	gap: 6px;
	width: min(300px, calc(100vw - 2 * var(--gobati-gutter)));
	padding: 8px;
	background: var(--gobati-white);
	border: 1px solid var(--gobati-grey-line);
	border-radius: var(--gobati-radius);
	box-shadow: var(--gobati-shadow-lg);
}

.gobati-callmenu[hidden] {
	display: none;
}

.gobati-callmenu__item {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 60px;
	padding: 8px 12px;
	border-radius: var(--gobati-radius-sm);
	color: var(--gobati-ink);
	text-decoration: none;
}

.gobati-callmenu__item:hover,
.gobati-callmenu__item:focus-visible {
	background: var(--gobati-grey-bg);
	color: var(--gobati-ink);
}

.gobati-callmenu__item strong,
.gobati-callmenu__item small {
	display: block;
	line-height: 1.3;
}

.gobati-callmenu__item small {
	color: var(--gobati-grey-text);
	font-size: 0.875rem;
}

.gobati-callmenu__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--gobati-green-tint);
	color: var(--gobati-green-dark);
}

.gobati-callmenu__item--whatsapp .gobati-callmenu__icon {
	background: #25d366;
	color: var(--gobati-white);
}

.gobati-callmenu__icon svg {
	width: 22px;
	height: 22px;
}

/* ---------- WhatsApp floating button ---------- */
.gobati-whatsapp {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.gobati-whatsapp:hover,
.gobati-whatsapp:focus-visible {
	color: #fff;
	transform: scale(1.06);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

/* Slightly larger invisible touch area around the round button. */
.gobati-whatsapp::after {
	content: '';
	position: absolute;
	inset: -8px;
	border-radius: 50%;
}

/* Icon wrappers sized exactly to the icon (an inline wrapper adds text
   line-height below the SVG and pushes the icon off-centre). */
.gobati-whatsapp > span[aria-hidden],
.gobati-header__call > span[aria-hidden] {
	display: flex;
}

.gobati-whatsapp svg {
	display: block;
	width: 32px;
	height: 32px;
}

/* Out of the way while the mobile menu is open. */
.gobati-nav-open .gobati-whatsapp {
	opacity: 0;
	pointer-events: none;
}

/* Keep the last footer line clear of the floating button on phones. */
@media (max-width: 600px) {
	.gobati-footer__bottom-inner {
		padding-right: 80px;
	}
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Print ---------- */
@media print {
	.gobati-topbar,
	.gobati-header__actions,
	.gobati-nav,
	.gobati-whatsapp,
	.gobati-cta-box,
	.gobati-section--cta,
	.gobati-footer__links {
		display: none !important;
	}

	.gobati-header {
		position: static;
		box-shadow: none;
	}
}
