/* ==========================================================================
   Mairie de Ferké — feuille de style principale
   Couleurs : vert Tchologo, orange Côte d'Ivoire, crème savane
   ========================================================================== */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

:root {
	--green-900: #072f1b;
	--green-800: #0b4d2c;
	--green-700: #0f6138;
	--green-600: #13804a;
	--green-100: #e5f2ea;
	--orange-600: #e06d05;
	--orange-500: #f07f13;
	--orange-100: #fff0e0;
	--gold: #f7b32b;
	--ink: #14211a;
	--ink-2: #44524a;
	--muted: #6c7a71;
	--line: #e6e2d8;
	--cream: #faf7f0;
	--white: #fff;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 10px 30px -12px rgba(11, 77, 44, .22);
	--shadow-lg: 0 24px 60px -20px rgba(7, 47, 27, .35);
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--header-h: 82px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html,
body { overflow-x: clip; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 40px); }

.screen-reader-text,
.hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--orange-500); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; }

.mf-icon { flex-shrink: 0; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer;
	transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1em 1.7em; font-size: 1rem; }
.btn-sm { padding: .6em 1.1em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange-500); color: #fff; box-shadow: 0 10px 22px -10px rgba(240, 127, 19, .7); }
.btn-orange:hover { background: var(--orange-600); color: #fff; }
.btn-green { background: var(--green-800); color: #fff; }
.btn-green:hover { background: var(--green-700); color: #fff; }
.btn-outline { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn-outline:hover { background: var(--green-800); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--green-800); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--green-800); }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--green-700); font-size: .92rem; }
.link-arrow .mf-icon { transition: transform .2s; }
.link-arrow:hover .mf-icon { transform: translateX(4px); }

.kicker {
	display: inline-flex; align-items: center; gap: .6em;
	font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600);
	margin-bottom: .9rem;
}
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.kicker-light { color: var(--gold); }

/* ---------- Barre d'annonce ---------- */
.topbar { background: var(--green-900); color: rgba(255, 255, 255, .85); font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .6em; }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--gold); }
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 0 4px rgba(240, 127, 19, .25); animation: pulse 2s infinite; }
.topbar-contact { display: flex; gap: 22px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: .4em; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(240, 127, 19, 0); } }

/* ---------- En-tête ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: linear-gradient(180deg, rgba(7, 47, 27, .62) 0%, rgba(7, 47, 27, .28) 70%, rgba(7, 47, 27, 0) 100%);
	border-bottom: 1px solid rgba(255, 255, 255, .14);
	transition: background .35s, box-shadow .35s, border-color .35s;
}
.site-header.is-scrolled {
	background: rgba(7, 47, 27, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	border-bottom-color: transparent; box-shadow: 0 10px 30px -16px rgba(0, 0, 0, .55);
}
/* L'image d'en-tête passe sous la barre transparente */
.site-main > .hero:first-child,
.site-main > .page-hero:first-child { margin-top: calc(-1 * var(--header-h) - 1px); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.brand:hover { color: #fff; }
.site-header .brand-text { text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.site-header .brand-mark img { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.brand-mark img { width: 48px; height: auto; max-height: 58px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.18rem; font-weight: 800; letter-spacing: -.02em; }
.brand-text small { font-size: .78rem; color: rgba(255, 255, 255, .82); font-weight: 500; }

.main-nav { margin-left: auto; }
.main-nav .menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
	display: flex; align-items: center; gap: 4px;
	padding: 10px 12px; font-weight: 600; font-size: .94rem; color: #fff; position: relative;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.main-nav .menu > li > a:hover { color: var(--gold); }
.main-nav .menu > li > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px;
	background: var(--orange-500); transform: scaleX(0); transition: transform .25s;
}
.main-nav .menu > li:hover > a::after,
.main-nav .menu > li.current-menu-item > a::after,
.main-nav .menu > li.current-menu-ancestor > a::after,
.main-nav .menu > li.current_page_parent > a::after { transform: scaleX(1); }
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current-menu-ancestor > a { color: var(--gold); }
.main-nav .menu-item-has-children > a::before {
	content: ""; order: 2; width: 7px; height: 7px; margin-left: 4px; margin-top: -3px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.main-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none;
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px;
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s;
	border-top: 3px solid var(--orange-500);
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.main-nav .sub-menu a:hover { background: var(--green-100); color: var(--green-800); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .12);
	display: grid; place-items: center; color: #fff; cursor: pointer; transition: .2s;
	backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.icon-btn:hover { border-color: var(--orange-500); background: var(--orange-500); color: #fff; }
.nav-toggle { display: none; }

.search-panel { border-top: 1px solid var(--line); background: var(--cream); padding: 18px 0; }
.search-form-lg { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 20px; color: var(--muted); }
.search-form-lg:focus-within { border-color: var(--orange-500); }
.search-form-lg input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1.05rem; padding: 8px 0; background: transparent; min-width: 0; }

/* ---------- Diaporama ---------- */
.hero { position: relative; min-height: clamp(560px, 82vh, 760px); overflow: hidden; background: var(--green-900); color: #fff; }
.hero-slide {
	position: absolute; inset: 0; display: flex; align-items: center;
	opacity: 0; visibility: hidden; transition: opacity var(--fade, 1s) ease, visibility var(--fade, 1s);
}
.hero-slide::before {
	content: ""; position: absolute; inset: 0;
	background-image: var(--hero-img); background-size: cover; background-position: center;
	transform: scale(1.08); transition: transform 7s ease-out;
}
.hero-slide::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(7, 47, 27, .92) 0%, rgba(7, 47, 27, .65) 42%, rgba(7, 47, 27, .1) 100%),
		linear-gradient(0deg, rgba(7, 47, 27, .55), transparent 40%);
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide.is-active::before { transform: scale(1); }
.hero-content { position: relative; z-index: 2; padding: calc(var(--header-h) + 50px) 0 150px; }
.hero-content > * { max-width: 640px; }
.hero-title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.07; margin-bottom: .45em; }
.hero-title em { font-style: normal; color: var(--orange-500); }
.hero-text { font-size: clamp(1rem, 1.4vw, 1.18rem); color: rgba(255, 255, 255, .88); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-slide.is-active .hero-content > * { animation: rise .9s both; }
.hero-slide.is-active .hero-content > *:nth-child(2) { animation-delay: .1s; }
.hero-slide.is-active .hero-content > *:nth-child(3) { animation-delay: .2s; }
.hero-slide.is-active .hero-content > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-arrow {
	position: absolute; top: 45%; z-index: 3; width: 50px; height: 50px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .25); color: #fff;
	display: grid; place-items: center; cursor: pointer; transition: .2s; backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--orange-500); border-color: var(--orange-500); }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }
.hero-dots { position: absolute; z-index: 3; bottom: 120px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { width: 26px; height: 5px; border-radius: 5px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; transition: .3s; padding: 0; }
.hero-dots button.is-active { width: 46px; background: var(--orange-500); }

/* ---------- Piliers ---------- */
.pillars-wrap { position: relative; z-index: 5; margin-top: -78px; }
.pillars {
	list-style: none; display: grid; grid-template-columns: repeat(5, 1fr);
	background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.pillars li { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; position: relative; }
.pillars li + li::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.pillars strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.pillars li > div span { font-size: .85rem; color: var(--muted); line-height: 1.4; display: block; }
.pillar-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: var(--green-700); }
.pillars li:nth-child(even) .pillar-icon { background: var(--orange-500); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-soft { background: var(--cream); }
.section-head { margin-bottom: 42px; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { color: var(--ink-2); max-width: 620px; }
.section-head.center { text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head.split h2 { max-width: 620px; margin: 0; }

/* ---------- Accès rapides ---------- */
.quick { padding-top: clamp(72px, 8vw, 100px); }
.quick-grid { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.quick-card {
	position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%;
	padding: 24px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink);
	transition: .25s;
}
.quick-card strong { font-size: 1.02rem; }
.quick-card span:not(.quick-icon) { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.quick-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); margin-bottom: 8px; transition: .25s; }
.quick-arrow { position: absolute; top: 22px; right: 18px; color: var(--line); transition: .25s; }
.quick-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); color: var(--ink); }
.quick-card:hover .quick-icon { background: var(--orange-500); color: #fff; }
.quick-card:hover .quick-arrow { color: var(--orange-500); }

/* ---------- Projets ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.projects-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 0 var(--line); border: 1px solid var(--line); display: flex; flex-direction: column; transition: .25s; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: visible; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover .project-media img { transform: scale(1.05); }
.project-media { overflow: hidden; }
.project-icon {
	position: absolute; left: 16px; bottom: 14px; width: 46px; height: 46px; border-radius: 12px;
	display: grid; place-items: center; color: #fff; background: var(--orange-500); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5);
}
.project-card:nth-child(even) .project-icon { background: var(--green-700); }
.status { position: absolute; top: 12px; right: 12px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ink); }
.status.is-progress { color: var(--orange-600); }
.status.is-done { color: var(--green-700); }
.status.is-soon { color: var(--muted); }
.facts .status { position: static; padding: 3px 10px; background: var(--cream); }
.project-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { margin-bottom: .4em; }
.project-body h3 a { color: var(--ink); }
.project-body h3 a:hover { color: var(--orange-600); }
.project-body p { font-size: .9rem; color: var(--ink-2); line-height: 1.55; flex: 1; }
.mini-progress { height: 5px; border-radius: 5px; background: var(--line); margin: 0 0 14px; overflow: hidden; }
.mini-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green-600), var(--orange-500)); border-radius: 5px; }

/* ---------- Mot du Maire ---------- */
.mayor-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.mayor-photo { position: relative; }
.mayor-photo > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.mayor-photo::before { content: ""; position: absolute; inset: -18px auto auto -18px; width: 45%; height: 55%; border-radius: var(--radius-lg); background: repeating-linear-gradient(45deg, var(--orange-100) 0 8px, transparent 8px 16px); z-index: -1; }
.mayor-badge { position: absolute; right: -16px; bottom: -26px; display: flex; gap: 12px; align-items: center; background: #fff; padding: 12px 20px 12px 12px; border-radius: 999px; box-shadow: var(--shadow-lg); max-width: 92%; }
.mayor-badge img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--orange-500); }
.mayor-badge strong { display: block; font-size: 1rem; }
.mayor-badge span { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; }
.mayor-text blockquote { margin: 26px 0 30px; padding: 0; position: relative; }
.mayor-text blockquote .mf-icon { color: var(--orange-500); opacity: .9; margin-bottom: 8px; }
.mayor-text blockquote p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink); font-weight: 500; }
.mayor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

/* ---------- Chiffres ---------- */
.stats { background: var(--green-800); color: #fff; padding: 54px 0; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(240, 127, 19, .25), transparent 40%); pointer-events: none; }
.stats-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.stats-grid li { padding-left: 22px; border-left: 3px solid var(--orange-500); }
.stats-grid strong { display: block; font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.stats-grid span { color: rgba(255, 255, 255, .78); font-size: .92rem; }
.stats-grid small { display: block; opacity: .7; }
.stats-flat { background: var(--green-900); }

/* ---------- Culture ---------- */
.culture { display: grid; grid-template-columns: minmax(320px, 0.85fr) 1.15fr; min-height: 460px; background: var(--green-900); color: #fff; }
.culture-text { padding: clamp(48px, 7vw, 90px) clamp(24px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.culture-text h2 { color: #fff; }
.culture-text p { color: rgba(255, 255, 255, .82); margin-bottom: 28px; max-width: 480px; }
.culture-media { background-image: var(--hero-img); background-size: cover; background-position: center; min-height: 320px; position: relative; }
.culture-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--green-900), transparent 30%); }

/* ---------- Port sec ---------- */
.port { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.port-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.port-text > p { color: var(--ink-2); }
.port-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.port-facts li { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.port-facts .mf-icon { color: var(--orange-500); }
.port-facts strong { display: block; font-size: 1.1rem; }
.port-facts span { font-size: .82rem; color: var(--muted); line-height: 1.35; display: block; }
.progress-label { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; margin-bottom: 8px; }
.progress-label strong { color: var(--orange-600); }
.progress-bar { height: 12px; border-radius: 12px; background: var(--line); overflow: hidden; }
.progress-bar span { display: block; height: 100%; border-radius: 12px; background: linear-gradient(90deg, var(--green-600), var(--orange-500)); width: 0; transition: width 1.6s cubic-bezier(.2, .8, .2, 1); }

/* ---------- Actualités ---------- */
.news-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; }
.news-feature { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.news-feature-media { aspect-ratio: 16 / 9; overflow: hidden; display: block; }
.news-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-feature:hover .news-feature-media img { transform: scale(1.04); }
.news-feature-body { padding: 26px 28px 30px; }
.news-feature-body h3 { font-size: 1.4rem; }
.news-feature-body h3 a,
.news-item h3 a,
.post-card h3 a { color: var(--ink); }
.news-feature-body h3 a:hover,
.news-item h3 a:hover,
.post-card h3 a:hover { color: var(--orange-600); }
.news-feature-body p { color: var(--ink-2); }
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: center; padding: 14px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: .25s; }
.news-item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.news-item-media { aspect-ratio: 1; border-radius: 10px; overflow: hidden; display: block; }
.news-item-media img { width: 100%; height: 100%; object-fit: cover; }
.news-item h3 { font-size: 1.02rem; margin: 4px 0 0; line-height: 1.35; }

.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.post-meta time { display: inline-flex; align-items: center; gap: 5px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--orange-100); color: var(--orange-600); font-weight: 700; font-size: .74rem; letter-spacing: .02em; }
.tag:hover { background: var(--orange-500); color: #fff; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-body p { font-size: .92rem; color: var(--ink-2); flex: 1; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .9rem; background: #fff; }
.chip:hover { border-color: var(--orange-500); color: var(--orange-600); }
.chip.is-active { background: var(--green-800); border-color: var(--green-800); color: #fff; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }

/* ---------- Bande infos ---------- */
.info-band { background: var(--green-800); color: #fff; padding: 34px 0; border-top: 4px solid var(--orange-500); }
.info-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.info-band-item { display: flex; gap: 14px; align-items: flex-start; }
.info-band-item strong { display: block; margin-bottom: 2px; }
.info-band-item div span,
.info-band-item div a { display: block; color: rgba(255, 255, 255, .8); font-size: .9rem; }
.info-band-item a:hover { color: var(--gold); }
.ib-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.ib-orange { background: var(--orange-500); }
.ib-green { background: var(--green-600); }

/* ---------- Bannière de page ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(60px, 8vw, 100px)) 0 clamp(50px, 7vw, 80px); color: #fff; background: var(--green-900); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--hero-img); background-size: cover; background-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 47, 27, .94), rgba(7, 47, 27, .6)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin: 0; max-width: 860px; }
.page-hero-sub { color: rgba(255, 255, 255, .85); font-size: 1.1rem; max-width: 680px; margin: 14px 0 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; margin-bottom: 18px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Contenu ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.entry-content { font-size: 1.04rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.entry-content h2::after { content: ""; display: block; width: 46px; height: 4px; border-radius: 4px; background: var(--orange-500); margin-top: 12px; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--orange-500); background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.1rem; }
.entry-content img { border-radius: var(--radius); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content .lead { font-size: 1.2rem; color: var(--ink-2); line-height: 1.6; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; }
.entry-content th,
.entry-content td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--cream); }
.check-list { list-style: none; padding: 0 !important; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: .8em; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6138' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 1.4em 0; }
.info-card { padding: 20px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); border-top: 4px solid var(--green-600); }
.info-card:nth-child(even) { border-top-color: var(--orange-500); }
.info-card h3 { margin: 0 0 .4em; font-size: 1.02rem; }
.info-card p { margin: 0; font-size: .92rem; color: var(--ink-2); }

.entry-figure { margin: 0 0 28px; }
.entry-figure img { border-radius: var(--radius-lg); width: 100%; }
.share { display: flex; align-items: center; gap: 10px; margin: 36px 0 24px; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 700; font-size: .9rem; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--green-800); }
.share a:hover { background: var(--orange-500); color: #fff; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 700; font-size: .95rem; height: 100%; }
.post-nav a:hover { border-color: var(--orange-500); }
.post-nav small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; margin-bottom: 4px; }
.post-nav div:last-child { text-align: right; }

/* ---------- Barre latérale ---------- */
.aside { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card,
.aside .widget { padding: 24px; border-radius: var(--radius-lg); background: var(--cream); border: 1px solid var(--line); }
.aside-card h3,
.aside .widget-title { font-size: 1.05rem; margin-bottom: 14px; }
.aside-green { background: var(--green-800); color: #fff; border: 0; }
.aside-green h3 { color: #fff; }
.aside-green p { display: flex; gap: 8px; align-items: center; color: rgba(255, 255, 255, .85); font-size: .92rem; margin-bottom: .6em; }
.aside-green a:not(.btn) { color: #fff; }
.aside-green .btn { margin-top: 10px; }
.subnav { list-style: none; }
.subnav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.subnav a:hover,
.subnav a.is-active { background: #fff; color: var(--orange-600); box-shadow: inset 3px 0 0 var(--orange-500); }
.facts { list-style: none; }
.facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.facts li:last-child { border-bottom: 0; }
.facts span { color: var(--muted); }
.facts strong { text-align: right; }
.aside-card .progress { margin-top: 14px; }
.aside-posts { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.aside-posts a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; color: var(--ink); font-weight: 600; font-size: .9rem; line-height: 1.35; }
.aside-posts img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.aside-posts small { display: block; color: var(--muted); font-weight: 500; margin-top: 3px; }

.search-form { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.search-form input { flex: 1; border: 0; padding: 12px 18px; font: inherit; outline: 0; min-width: 0; }
.search-form button { border: 0; background: var(--orange-500); color: #fff; width: 50px; cursor: pointer; display: grid; place-items: center; }
.search-inline { max-width: 560px; margin-bottom: 36px; }
.empty-state { text-align: center; padding: 40px 0; color: var(--muted); }
.empty-state .search-form { max-width: 460px; margin: 20px auto; }
.big-404 { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; margin: 0; background: linear-gradient(90deg, var(--orange-500), var(--green-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Page Le Maire ---------- */
.mayor-page { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.mayor-card { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius-lg); overflow: hidden; background: var(--green-800); color: #fff; box-shadow: var(--shadow-lg); }
.mayor-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.mayor-card-body { padding: 22px 24px 26px; border-top: 5px solid var(--orange-500); }
.mayor-card-body strong { display: block; font-size: 1.3rem; }
.mayor-card-body span { color: rgba(255, 255, 255, .78); font-size: .9rem; display: block; margin-bottom: 14px; }
.mayor-letter { background: var(--cream); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); margin-bottom: 40px; font-size: 1.08rem; border: 1px solid var(--line); }
.mayor-letter > .mf-icon { color: var(--orange-500); margin-bottom: 10px; }
.signature { font-weight: 800; font-size: 1.15rem; margin: 24px 0 0; color: var(--green-800); }
.signature small { display: block; font-weight: 500; font-size: .85rem; color: var(--muted); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: #fff; border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 30px); transition: .25s; }
.service-card:hover,
.service-card:target { box-shadow: var(--shadow); border-color: var(--orange-500); }
.service-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--green-800); color: #fff; margin-bottom: 18px; }
.service-card:nth-child(even) .service-icon { background: var(--orange-500); }
.service-card h2 { font-size: 1.25rem; margin-bottom: .4em; }
.service-card > p { color: var(--ink-2); font-size: .94rem; }
.service-card ul { list-style: none; border-top: 1px solid var(--line); padding-top: 14px; }
.service-card li { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; font-size: .93rem; font-weight: 500; }
.service-card li .mf-icon { color: var(--green-600); margin-top: 4px; }

/* ---------- Galerie ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 16px; }
.gallery-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.gallery-grid figure:first-child { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-weight: 700; font-size: .9rem; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.contact-cards li { display: flex; gap: 16px; padding: 18px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.contact-cards strong { display: block; }
.contact-cards div span,
.contact-cards div a { display: block; color: var(--ink-2); font-size: .94rem; }
.contact-form { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); border-top: 5px solid var(--orange-500); }
.contact-form h2 { font-size: 1.5rem; }
.contact-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-weight: 400; background: var(--cream); transition: .2s; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 0; border-color: var(--orange-500); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg { padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: .92rem; display: flex; gap: 8px; align-items: center; }
.form-msg.is-ok { background: var(--green-100); color: var(--green-800); }
.form-msg.is-err { background: #fde8e8; color: #9b1c1c; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.9); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--orange-500); color: #fff; padding: 40px 0; background-image: radial-gradient(circle at 10% 50%, rgba(255, 255, 255, .15), transparent 35%); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.newsletter-text { display: flex; align-items: center; gap: 18px; }
.newsletter-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; flex-shrink: 0; }
.newsletter h2 { color: #fff; font-size: clamp(1.25rem, 2vw, 1.55rem); margin: 0 0 4px; }
.newsletter p { margin: 0; opacity: .92; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; min-width: min(460px, 100%); position: relative; }
.newsletter-form input { flex: 1; border: 0; outline: 0; padding: 10px 18px; font: inherit; border-radius: 999px; min-width: 0; }
.newsletter-form .btn-orange { background: var(--green-800); box-shadow: none; }
.newsletter-form .btn-orange:hover { background: var(--green-900); }
.newsletter-form .form-msg { position: absolute; top: 100%; left: 0; margin-top: 8px; background: #fff; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--green-900); color: rgba(255, 255, 255, .75); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding: 64px 0 48px; }
.site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-text small { color: rgba(255, 255, 255, .6); }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); }
.footer-contact { list-style: none; margin-bottom: 18px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact .mf-icon { color: var(--orange-500); margin-top: 3px; }
.socials { list-style: none; display: flex; gap: 10px; margin-top: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff !important; transition: .2s; }
.socials a:hover { background: var(--orange-500); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.legal-links { list-style: none; display: flex; gap: 20px; }
.flag-strip { display: grid; grid-template-columns: repeat(3, 1fr); height: 5px; }
.flag-strip span:nth-child(1) { background: var(--orange-500); }
.flag-strip span:nth-child(2) { background: #fff; }
.flag-strip span:nth-child(3) { background: var(--green-600); }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--orange-500); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px) rotate(180deg); transition: .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: rotate(180deg); }

/* ---------- Commentaires ---------- */
.comments { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; }
.comment-form .submit { background: var(--orange-500); color: #fff; border: 0; padding: 12px 24px; border-radius: 999px; font-weight: 700; cursor: pointer; }

/* ---------- Gutenberg ---------- */
.alignwide { margin-inline: calc(-1 * clamp(0px, 6vw, 80px)); }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.wp-block-button__link { background: var(--orange-500); border-radius: 999px; font-weight: 700; }
.has-text-align-center { text-align: center; }
.wp-block-image figcaption { font-size: .86rem; color: var(--muted); text-align: center; }

/* ---------- Animations au défilement ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	.main-nav .menu > li > a { padding: 10px 9px; font-size: .9rem; }
	.header-cta span { display: none; }
	.header-cta { padding: 0; width: 44px; height: 44px; }
	.projects-grid { grid-template-columns: repeat(3, 1fr); }
	.quick-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
	:root { --header-h: 72px; }
	.nav-toggle { display: grid; }
	.header-cta { display: none; }
	.site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 47, 27, .97); }
	.main-nav {
		position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 200; visibility: hidden;
		background: #fff; padding: 90px 24px 30px; overflow-y: auto;
		transform: translateX(100%); transition: transform .35s ease, visibility .35s; box-shadow: -20px 0 60px rgba(0, 0, 0, .2);
	}
	.main-nav.is-open { transform: none; visibility: visible; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu > li { border-bottom: 1px solid var(--line); }
	.main-nav .menu > li > a { padding: 15px 4px; font-size: 1.05rem; justify-content: space-between; color: var(--ink); text-shadow: none; }
	.main-nav .menu > li.current-menu-item > a,
	.main-nav .menu > li.current-menu-ancestor > a,
	.main-nav .menu > li > a:hover { color: var(--orange-600); }
	.main-nav .menu > li > a::after { display: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 10px; display: none; min-width: 0; }
	.main-nav li.is-open > .sub-menu { display: block; }
	.nav-cta-mobile { display: flex; margin-top: 24px; }
	body.nav-open { overflow: hidden; }
	body.nav-open .site-header { z-index: 300; }
	body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(7, 47, 27, .55); z-index: 150; }
	.nav-toggle[aria-expanded="true"] { position: relative; z-index: 210; }

	.pillars { grid-template-columns: repeat(3, 1fr); }
	.pillars li:nth-child(4)::before { display: none; }
	.pillars li:nth-child(n+4) { border-top: 1px solid var(--line); }
	.mayor-grid,
	.port,
	.contact-grid { grid-template-columns: 1fr; }
	.mayor-photo { max-width: 620px; }
	.culture { grid-template-columns: 1fr; }
	.culture-media { min-height: 340px; order: -1; }
	.culture-media::before { background: linear-gradient(0deg, var(--green-900), transparent 40%); }
	.news-layout { grid-template-columns: 1fr; }
	.with-aside,
	.mayor-page { grid-template-columns: 1fr; }
	.aside,
	.mayor-card { position: static; }
	.mayor-card { max-width: 420px; }
	.posts-grid,
	.services-grid,
	.projects-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.stats-grid,
	.info-band-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.topbar-contact { display: none; }
}

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

@media (max-width: 680px) {
	body { font-size: 15.5px; }
	.container,
	.container.narrow { width: calc(100% - 32px); }
	.brand-text strong { font-size: 1.05rem; }
	.brand-mark img { width: 40px; }
	.hero { min-height: 640px; }
	.hero-content { padding: calc(var(--header-h) + 30px) 0 120px; }
	.hero-arrow { display: none; }
	.hero-dots { bottom: 100px; }
	.hero-slide::after { background: linear-gradient(0deg, rgba(7, 47, 27, .95) 10%, rgba(7, 47, 27, .55) 100%); }
	.pillars-wrap { margin-top: -60px; }
	.pillars { grid-template-columns: 1fr 1fr; }
	.pillars li { padding: 18px 16px; flex-direction: column; gap: 10px; }
	.pillars li::before { display: none; }
	.pillars li:nth-child(n+3) { border-top: 1px solid var(--line); }
	.pillars li:nth-child(odd) { border-right: 1px solid var(--line); }
	.pillars li:last-child { grid-column: span 2; border-right: 0; flex-direction: row; }
	.pillar-icon { width: 42px; height: 42px; }
	.quick-grid,
	.projects-grid,
	.projects-grid-3,
	.posts-grid,
	.services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.quick-card { padding: 18px 14px; }
	.quick-arrow { display: none; }
	.projects-grid-3,
	.posts-grid,
	.services-grid { grid-template-columns: 1fr; gap: 20px; }
	.projects-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 18px; scrollbar-width: none; }
	.projects-grid::-webkit-scrollbar { display: none; }
	.projects-grid .project-card { flex: 0 0 80%; scroll-snap-align: start; }
	.port-facts { grid-template-columns: 1fr; }
	.port-facts li { flex-direction: row; align-items: center; }
	.mayor-badge { position: relative; right: auto; bottom: auto; margin: -30px auto 0; width: max-content; }
	.mayor-photo::before { display: none; }
	.news-item { grid-template-columns: 96px 1fr; }
	.stats-grid { gap: 28px 16px; }
	.info-band-grid,
	.footer-grid { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; gap: 0; }
	.gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
	.gallery-grid figure:first-child { grid-column: span 2; grid-row: span 1; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav div:last-child { text-align: left; }
	.newsletter-form { min-width: 100%; }
	.newsletter-form .btn { width: 100%; }
	.newsletter-form { border-radius: 22px; }
	.section-head.split .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}
