/*!
Theme Name: ALEFH Horizon
Theme URI: https://alefh.fr
Author: Emmanuel Viandier
Author URI: https://connect-eure.fr
Description: Proposition graphique indépendante ALEFH Horizon. Structure et fonctionnalités du thème ALEFH conservées.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alefh
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

alefh is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* =========================
   FONTS
========================= */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('asset/fonts/montserrat-v31-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('asset/fonts/montserrat-v31-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('asset/fonts/montserrat-v31-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('asset/fonts/open-sans-v44-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('asset/fonts/open-sans-v44-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('asset/fonts/open-sans-v44-latin-700.woff2') format('woff2');
}

/* =========================
   TYPOGRAPHIE
========================= */
h1,
h2,
h3,
.entry-title,
.section-header__title,
.home-hero__title,
.pole-card__title,
.actualite-card__title,
.info-card h3,
.pole-hero__title,
.pole-section__title,
.article-hero__title,
.planning-card__title,
.widget-title {
  font-family: var(--font-title);
}
/* =========================
   VARIABLES
========================= */
:root {
/* Fonts */
--font-title: 'Montserrat', Arial, Helvetica, sans-serif;
--font-main: 'Open Sans', Arial, Helvetica, sans-serif;
/* Colors */
  --vert-alefh : #77BA46;
  --jaune-alefh : #FFEB04;
  --header-footer-bg : #eee4d6;

  --cards-home : #F8F7F3 ;


}

/* =========================
   RESET / BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  background-color: #fbf8f3;
  background-image:
    radial-gradient(circle at 10% 14%, rgba(119, 186, 70, 0.08) 0, rgba(119, 186, 70, 0.04) 12%, transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(255, 235, 4, 0.08) 0, rgba(255, 235, 4, 0.04) 10%, transparent 26%),
    radial-gradient(circle at 82% 72%, rgba(92, 48, 175, 0.05) 0, rgba(92, 48, 175, 0.025) 12%, transparent 30%),
    linear-gradient(115deg, transparent 0 47%, rgba(47, 42, 34, 0.03) 47.2%, transparent 47.6%),
    linear-gradient(165deg, transparent 0 60%, rgba(119, 186, 70, 0.035) 60.2%, transparent 60.6%);
  background-repeat: no-repeat;
  background-size: 1200px 1200px, 920px 920px, 980px 980px, 100% 100%, 100% 100%;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: min(20vw, 240px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.95;
}

body::before {
  left: 0;
  background:
    radial-gradient(circle at 14% 12%, rgba(119, 186, 70, 0.18) 0, rgba(119, 186, 70, 0.08) 22%, transparent 52%),
    radial-gradient(circle at 0% 72%, rgba(255, 235, 4, 0.16) 0, rgba(255, 235, 4, 0.06) 18%, transparent 46%),
    linear-gradient(180deg, transparent 0 8%, rgba(119, 186, 70, 0.09) 8.4%, transparent 9.1%, transparent 38%, rgba(47, 42, 34, 0.05) 38.4%, transparent 39.1%),
    linear-gradient(155deg, transparent 0 46%, rgba(119, 186, 70, 0.08) 46.3%, transparent 47%);
  background-repeat: no-repeat;
}

body::after {
  right: 0;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 235, 4, 0.18) 0, rgba(255, 235, 4, 0.08) 20%, transparent 48%),
    radial-gradient(circle at 100% 74%, rgba(92, 48, 175, 0.11) 0, rgba(92, 48, 175, 0.04) 16%, transparent 42%),
    linear-gradient(180deg, transparent 0 14%, rgba(92, 48, 175, 0.06) 14.4%, transparent 15.1%, transparent 56%, rgba(119, 186, 70, 0.08) 56.4%, transparent 57.1%),
    linear-gradient(24deg, transparent 0 50%, rgba(47, 42, 34, 0.04) 50.3%, transparent 51%);
  background-repeat: no-repeat;
}

/* Reset listes */
ul, ol { list-style: none; }

a { text-decoration: none; }

img { vertical-align: bottom; }

/* Empêche les images des archives génériques de dépasser leur conteneur. */
.archive .post-thumbnail {
	display: block;
}

.archive .post-thumbnail img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* WRAP */
.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
	width: 100%;
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--header-footer-bg);
	transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.admin-bar .site-header {
	top: 32px;
}

/* Etat ajoute par theme.js quand la page est scrollée. */
.site-header.is-scrolled {
	box-shadow: 0 10px 24px rgba(47, 42, 34, 0.1);
}

.header-full {
	width: 100%;
	height: 92px;
	display: flex;
	align-items: center;
}

/* NAV CONTAINER */

.header-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

/* =========================================================
   LOGO
   ========================================================= */

.header-logo {
	display: flex;
	align-items: center;
	position: relative;
	top: 12px;
}

.header-logo a {
	display: flex;
	align-items: center;
}

.header-logo img {
	display: block;
	width: auto;
	height: 156px;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.header-logo a:hover img,
.header-logo a:focus img {
	transform: translateY(-2px) scale(1.015);
	filter: drop-shadow(0 6px 14px rgba(47, 42, 34, 0.12));
}

/* =========================================================
   NAVIGATION
   Compatible avec le HTML généré par wp_nav_menu()
   ========================================================= */

.main-nav {
	display: flex;
	height: 100%;
}

.main-nav_list {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav_list > li {
	display: flex;
	align-items: center;
	height: 100%;
	position: relative;
}

.main-nav_list > li > a {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	height: 100%;
	font-size: 0.95rem;
	font-weight: 600;
	font-family: var(--font-main);
	line-height: 1;
	color: inherit;
	text-decoration: none;
	position: relative;
	padding: 0 4px;
	transition: transform 0.18s ease, color 0.18s ease;
}

/* Effet underline au survol */

.main-nav_list > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 0%;
	height: 2px;
	background: currentColor;
	transition: width 0.25s ease;
}

.main-nav_list > li.menu-item-has-children > a::before {
	content: "";
	flex: 0 0 auto;
	width: 0.5rem;
	height: 0.5rem;
	margin-top: -0.15rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.75;
}

.main-nav_list > li > a:hover::after {
	width: 100%;
}

.main-nav_list > li > a:hover,
.main-nav_list > li > a:focus {
	color: var(--vert-alefh);
	transform: translateY(-2px);
}

/* Optionnel : garder le soulignement sur la page active */

.main-nav_list > li.current-menu-item > a::after,
.main-nav_list > li.current_page_item > a::after,
.main-nav_list > li.current-menu-ancestor > a::after {
	width: 100%;
}

/* Sous-menu desktop :
   on le masque par défaut, puis on l'affiche au survol
   ou quand on navigue au clavier dans le menu. */

.main-nav_list .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	z-index: 20;
	min-width: 220px;
	margin: 0;
	padding: 12px 0;
	list-style: none;
	background: #f8f4ee;
	border: 1px solid rgba(47, 42, 34, 0.12);
	border-radius: 14px;
	box-shadow: 0 16px 36px rgba(47, 42, 34, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.main-nav_list > li:hover > .sub-menu,
.main-nav_list > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-nav_list .sub-menu li {
	margin: 0;
}

.main-nav_list .sub-menu a {
	display: block;
	padding: 10px 18px;
	color: #2f2a22;
	font-family: var(--font-main);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
	text-align: left;
}

.main-nav_list .sub-menu a:hover,
.main-nav_list .sub-menu a:focus {
	background: rgba(119, 186, 70, 0.12);
}

/* =========================================================
   MENU MOBILE
   ========================================================= */

.burger {
	display: none;
	margin-left: auto;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.burger span {
	display: block;
	width: 32px;
	height: 3px;
	margin: 6px 0;
	border-radius: 999px;
	background: #2f2a22;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-active span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
	opacity: 0;
}

.burger.is-active span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
	display: none;
	padding: 0 0 16px;
	background: var(--header-footer-bg);
	border-top: 1px solid rgba(47, 42, 34, 0.08);
}

.mobile-menu.is-open {
	display: block;
}

.mobile-menu__list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
	margin: 0;
	padding: 12px 0 0;
}

.mobile-menu__list > li {
	width: 100%;
	border-bottom: 1px solid rgba(47, 42, 34, 0.08);
}

.mobile-menu__list > li > a {
	display: block;
	width: 100%;
	padding: 12px 16px;
	color: inherit;
	font-weight: 600;
	text-align: left;
}

.mobile-menu__list > li.current-menu-item > a,
.mobile-menu__list > li.current_page_item > a,
.mobile-menu__list > li.current-menu-ancestor > a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.mobile-menu__item-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 8px 0 0;
}

.mobile-menu__item-row > a {
	flex: 1 1 auto;
	display: block;
	padding: 12px 16px;
	color: inherit;
	font-weight: 600;
	text-align: left;
}

.mobile-submenu-toggle {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	margin-right: 8px;
	border: 0;
	border-radius: 999px;
	background: rgba(47, 42, 34, 0.08);
	color: #2f2a22;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-submenu-toggle::before {
	content: "";
	display: inline-block;
	width: 0.55rem;
	height: 0.55rem;
	margin-top: -0.15rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.mobile-menu__list > li.is-open > .mobile-menu__item-row .mobile-submenu-toggle::before {
	transform: rotate(225deg);
	margin-top: 0.1rem;
}

.mobile-menu__list > li.is-open > .mobile-menu__item-row {
	background: rgba(255, 255, 255, 0.24);
}

.mobile-menu__list > li.is-open > .mobile-menu__item-row > a {
	color: var(--vert-alefh);
}

.mobile-menu__list > li.is-open > .mobile-menu__item-row .mobile-submenu-toggle {
	background: rgba(119, 186, 70, 0.14);
	color: var(--vert-alefh);
}

/* Sous-menu mobile :
   ici on ne fait pas de dropdown compliqué,
   on affiche juste les sous-liens sous leur parent, avec un léger retrait. */

.mobile-menu__list .sub-menu {
	margin: 0;
	padding: 4px 0 10px;
	list-style: none;
	display: none;
	background: rgba(255, 255, 255, 0.12);
}

.mobile-menu__list .sub-menu a {
	display: block;
	width: 100%;
	padding: 8px 16px 8px 36px;
	font-size: 0.9rem;
	font-weight: 500;
	text-align: left;
	color: #3f3830;
}

.mobile-menu__list > li.is-open > .sub-menu {
	display: block;
}




/* =========================================================
   FRONT PAGE - BASE
   ========================================================= */

.front-page {
	padding: 0;
}

/* =========================================================
   PAGES EDITORIALES
   ========================================================= */

.page .entry-header {
  padding: 48px 24px 16px;
}

.page .entry-title {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  font-size: 2.2rem;
  line-height: 1.2;
}

.page .entry-content {
  max-width: 760px;
  margin: 0 auto 64px;
  padding: 0 24px;
  text-align: left;
  line-height: 1.7;
}

.page .entry-content p {
  margin: 0 0 1.25rem;
}

.page .entry-content h2,
.page .entry-content h3,
.page .entry-content h4 {
  margin: 2rem 0 1rem;
  line-height: 1.3;
}

.page .entry-content ul,
.page .entry-content ol {
  margin: 0 0 1.5rem 1.5rem;
  padding-left: 1rem;
}

.page .entry-content ul {
  list-style: disc;
}

.page .entry-content ol {
  list-style: decimal;
}

.page .entry-content li {
  margin-bottom: 0.5rem;
}

.page .entry-content a {
  text-decoration: underline;
}

/* =========================================================
   PAGE EQUIPE
   ========================================================= */

.page-equipe .entry-content {
  margin-bottom: 32px;
}

.equipe-section {
  padding: 0 0 56px;
}

.equipe-section__title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.2;
}

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 260px));
  justify-content: center;
  gap: 20px;
}

.membre-card {
  overflow: hidden;
  max-width: 260px;
  border-radius: 14px;
  background: #f8f7f3;
  text-align: left;
}

.membre-card__image {
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: #ece7e7;
}

.membre-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.membre-card__content {
  padding: 16px;
}

.membre-card__name {
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.membre-card__role {
  margin: 0;
  font-size: 0.95rem;
  color: #5f5a53;
  line-height: 1.5;
}

/* =========================================================
   PAGE ASSOCIATION
   ========================================================= */

.association-page {
  padding-bottom: 24px;
}

.association-article {
  text-align: left;
}

.association-hero {
  padding: 32px 0 0;
}

.association-hero__media {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.association-hero__image {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 24px;
}

.association-hero__content {
  max-width: 860px;
  padding-top: 32px;
  padding-bottom: 8px;
}

.association-hero__title {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.1;
}

.association-hero__chapo {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4f4a43;
}

.association-sections {
  padding: 24px 0 32px;
}

.association-sections__inner {
  max-width: 860px;
}

.association-section + .association-section {
  margin-top: 44px;
}

.association-section__title {
  margin: 0 0 16px;
  font-size: 1.8rem;
  line-height: 1.2;
}

.association-section__text {
  color: #38342f;
  line-height: 1.8;
}

.association-section__text p {
  margin: 0 0 1.1rem;
}

.association-highlights {
  padding: 16px 0 64px;
}

.association-pedagogie {
  max-width: 860px;
  padding-bottom: 48px;
}

.association-pedagogie__figure {
  margin: 0;
}

.association-pedagogie__figure a {
  display: block;
}

.association-pedagogie__image {
  display: block;
  width: 100%;
  height: auto;
}

.association-pedagogie figcaption {
  margin-top: 12px;
  text-align: center;
  color: #5f5a53;
  font-size: 0.9rem;
}

.association-highlights__inner {
  padding: 32px 24px;
  border-radius: 24px;
  background: #f8f7f3;
}

.association-transition {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}

.association-transition__title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.association-transition__text {
  margin: 0;
  color: #5f5a53;
  line-height: 1.7;
}

.association-highlights__title {
  margin: 0 0 24px;
  font-size: 1.9rem;
  line-height: 1.2;
  text-align: center;
}

.association-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.association-highlight-card {
  min-height: 100%;
  padding: 22px 20px;
  border-radius: 18px;
  background: #ffffff;
  border-top: 6px solid #d9d2c6;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.association-highlight-card__value {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #2f2a22;
}

.association-highlight-card__label {
  margin: 0;
  color: #5f5a53;
  line-height: 1.6;
}

.association-highlight-card:nth-child(7n + 1) {
  border-top-color: #77ba46;
}

.association-highlight-card:nth-child(7n + 2) {
  border-top-color: #a8cf45;
}

.association-highlight-card:nth-child(7n + 3) {
  border-top-color: #e2cf2b;
}

.association-highlight-card:nth-child(7n + 4) {
  border-top-color: #e7b83f;
}

.association-highlight-card:nth-child(7n + 5) {
  border-top-color: #d7a86e;
}

.association-highlight-card:nth-child(7n + 6) {
  border-top-color: #b9a07d;
}

.association-highlight-card:nth-child(7n + 7) {
  border-top-color: #8aa85a;
}

/* =========================================================
   PAGE VIE ASSOCIATIVE
   ========================================================= */

.vie-associative-page {
  padding-bottom: 24px;
}

.vie-associative-article {
  text-align: left;
}

.vie-associative-hero {
  padding: 32px 0 0;
}

.vie-associative-hero__media {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.vie-associative-hero__image {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 24px;
}

.vie-associative-hero__content {
  max-width: 860px;
  padding-top: 32px;
  padding-bottom: 8px;
}

.vie-associative-hero__title {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.1;
}

.vie-associative-hero__chapo {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4f4a43;
}

.vie-associative-intro {
  padding: 24px 0 24px;
}

.vie-associative-intro__inner,
.vie-associative-note__inner {
  max-width: 860px;
}

.vie-associative-intro__title,
.vie-associative-note__title {
  margin: 0 0 16px;
  font-size: 1.8rem;
  line-height: 1.2;
}

.vie-associative-intro__text,
.vie-associative-note__text {
  color: #38342f;
  line-height: 1.8;
}

.vie-associative-intro__text p,
.vie-associative-note__text p {
  margin: 0 0 1.1rem;
}

.vie-associative-archives {
  padding: 16px 0 40px;
}

.archive-year + .archive-year {
  margin-top: 36px;
}

.archive-year__title {
  margin: 0 0 20px;
  font-size: 1.7rem;
  line-height: 1.2;
}

.archive-year__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.archive-card {
  min-height: 100%;
  padding: 22px 20px;
  border-radius: 18px;
  background: #f8f7f3;
  border: 1px solid #ece3d8;
}

.archive-card__preview {
  margin: -6px -4px 16px;
  border-radius: 12px;
  overflow: hidden;
  background: #ece7e7;
}

.archive-card__preview-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.archive-card__title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  line-height: 1.35;
}

.archive-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d8d0c4;
  color: #2f2a22;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.archive-card__link:hover {
  color: var(--vert-alefh);
  border-color: var(--vert-alefh);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(92, 48, 175, 0.14);
}

.contact-card__action {
  margin: 14px 0 0;
}

.contact-card__map {
  margin-top: 16px;
  overflow: hidden;
  border-radius: 16px;
  background: #ece7e7;
}

.contact-card__map-iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.contact-card__action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d8d0c4;
  color: #2f2a22;
  text-decoration: none;
  font-weight: 600;
}

/* =========================================================
   PAGE CONTACT
   ========================================================= */

.contact-page {
  padding-bottom: 24px;
}

.contact-article {
  text-align: left;
}

.contact-hero {
  padding: 32px 0 0;
}

.contact-hero__media {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-hero__image {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 24px;
}

.contact-hero__content {
  max-width: 860px;
  padding-top: 32px;
  padding-bottom: 8px;
}

.contact-hero__title {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.1;
}

.contact-hero__chapo {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4f4a43;
}

.contact-intro {
  padding: 24px 0 24px;
}

.contact-intro__inner,
.contact-note__inner {
  max-width: 860px;
}

.contact-intro__title,
.contact-note__title {
  margin: 0 0 16px;
  font-size: 1.8rem;
  line-height: 1.2;
}

.contact-intro__text,
.contact-note__text {
  color: #38342f;
  line-height: 1.8;
}

.contact-intro__text p,
.contact-note__text p {
  margin: 0 0 1.1rem;
}

.contact-details {
  padding: 16px 0 40px;
}

.contact-details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 300px));
  gap: 20px;
  align-items: start;
  justify-content: center;
}

.contact-card {
  padding: 22px 20px;
  border-radius: 18px;
  background: #f8f7f3;
  border: 1px solid #ece3d8;
}

.contact-card--address {
  grid-column: 1 / -1;
  max-width: 760px;
  width: 100%;
  justify-self: center;
}

.contact-card--compact {
  min-height: 0;
}

.contact-card__title {
  margin: 0 0 14px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.contact-card__text {
  color: #38342f;
  line-height: 1.7;
}

.contact-card__text p {
  margin: 0 0 0.9rem;
}

.contact-card__text a {
  color: inherit;
  text-decoration: underline;
}

.contact-note {
  padding: 8px 0 64px;
}

.contact-note__inner {
  padding: 28px 24px;
  border-radius: 22px;
  background: #f8f7f3;
}

.vie-associative-note {
  padding: 8px 0 64px;
}

.vie-associative-note__inner {
  padding: 28px 24px;
  border-radius: 22px;
  background: #f8f7f3;
}

/* =========================================================
   PAGE ACTUALITES
   ========================================================= */

.actualites-hero {
	padding: 32px 0 24px;
}

.actualites-hero__media {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.actualites-hero__image {
	display: block;
	width: 100%;
	max-height: 260px;
	object-fit: cover;
	border-radius: 24px;
}

.actualites-hero__header {
	margin-bottom: 0;
	text-align: center;
	max-width: 860px;
	padding-top: 32px;
}

.actualites-hero__header .section-header__text {
	margin-left: auto;
	margin-right: auto;
}

.actualites-hero__secondary {
	margin-top: 24px;
	margin-left: auto;
	margin-right: auto;
	max-width: 760px;
	padding: 18px 20px;
	border-radius: 16px;
	background: #f8f8f8;
	text-align: center;
}

.actualites-hero__secondary p {
	margin: 0;
	line-height: 1.7;
}

.actualites-listing {
	padding: 24px 0 56px;
}

.actualites-section + .actualites-section,
.actualites-section + .actualites-archives,
.actualites-activities + .actualites-archives,
.actualites-empty + .actualites-archives {
	margin-top: 48px;
}

.actualites-section__header {
	margin-bottom: 24px;
}

.actualites-section__title {
	margin: 0;
	font-family: var(--font-title);
	font-size: 1.8rem;
	line-height: 1.2;
}

.actualites-empty {
	padding: 24px 0 8px;
}

.actualites-empty p {
	margin: 0;
	line-height: 1.7;
}

.actualites-archives {
	padding-top: 8px;
}

/* =========================================================
   PAGE 404
   ========================================================= */

.error-404-page {
	padding: 40px 0 72px;
}

.error-404-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}

.error-404-hero__media {
	max-width: 520px;
}

.error-404-hero__image {
	display: block;
	width: 100%;
	height: auto;
}

.error-404-hero__content {
	max-width: 680px;
}

.error-404-hero__title {
	margin: 0 0 16px;
	font-size: 2.4rem;
	line-height: 1.1;
}

.error-404-hero__text {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.7;
	color: #4f4a43;
}

.error-404-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 24px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 18px 0;
  background: var(--header-footer-bg);
  border-top: 1px solid #e4ddd2;
  margin-top: 48px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__brand {
  text-align: left;
}

.site-footer__title {
  margin: 0 0 6px;
  font-family: var(--font-title);
  font-size: 0.96rem;
  font-weight: 700;
}

.site-footer__text {
  margin: 0;
  color: #5f5a53;
  font-size: 0.88rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
}

.site-footer__nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus {
  text-decoration: underline;
}

/* =========================================================
   SECTIONS COMMUNES
   ========================================================= */

.front-page section {
	padding: 48px 0;
}

#home-poles,
#home-actualites {
	scroll-margin-top: 112px;
}

.section-header {
	margin-bottom: 24px;
}

.section-header__surtitle {
	margin: 0 0 8px;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.section-header__title {
	margin: 0 0 16px;
	font-size: 2rem;
	line-height: 1.2;
}

.section-header__text {
	margin: 0;
	max-width: 720px;
	font-size: 1rem;
	line-height: 1.6;
}

.section-footer-link {
	margin-top: 20px;
	display: flex;
	justify-content: center;
}

.section-footer-link .button:hover,
.section-footer-link .button:focus {
	color: var(--vert-alefh);
	border-color: var(--vert-alefh);
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(92, 48, 175, 0.14);
}

.home-hero__actions .button:hover,
.home-hero__actions .button:focus,
.pole-hero__anchor-wrap .button:hover,
.pole-hero__anchor-wrap .button:focus,
.error-404-hero__actions .button:hover,
.error-404-hero__actions .button:focus {
	color: var(--vert-alefh);
	border-color: var(--vert-alefh);
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(92, 48, 175, 0.14);
}

/* =========================================================
   BOUTONS
   ========================================================= */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s ease;
}

.button--secondary {
	border: 1px solid currentColor;
	background: transparent;
}

.button--outline {
	border: 1px solid currentColor;
	background: transparent;
}

/* Actions principales ciblees : memes couleurs avant et apres visite. */
:is(
	.home-hero__actions .button,
	.home-actualites .section-footer-link .button,
	.pole-hero__anchor-wrap .button,
	.association-projet .section-footer-link .button,
	.vie-associative-page .archive-card__link,
	.pole-single .planning-card__button,
	.pole-single .pole-cta__button,
	.article-planning-infos__actions .button,
	.contact-card__action a,
	.error-404-hero__actions .button,
	.actualites-archives .button
),
:is(
	.home-hero__actions .button,
	.home-actualites .section-footer-link .button,
	.pole-hero__anchor-wrap .button,
	.association-projet .section-footer-link .button,
	.vie-associative-page .archive-card__link,
	.pole-single .planning-card__button,
	.pole-single .pole-cta__button,
	.article-planning-infos__actions .button,
	.contact-card__action a,
	.error-404-hero__actions .button,
	.actualites-archives .button
):visited {
	color: #28442c;
	background-color: #eef5e8;
	border-color: #739264;
}

:is(
	.home-hero__actions .button,
	.home-actualites .section-footer-link .button,
	.pole-hero__anchor-wrap .button,
	.association-projet .section-footer-link .button,
	.vie-associative-page .archive-card__link,
	.pole-single .planning-card__button,
	.pole-single .pole-cta__button,
	.article-planning-infos__actions .button,
	.contact-card__action a,
	.error-404-hero__actions .button,
	.actualites-archives .button
):is(:hover, :focus) {
	color: #315c29;
	background-color: #e0ecd6;
	border-color: #4e713e;
}

:is(
	.home-hero__actions .button,
	.home-actualites .section-footer-link .button,
	.pole-hero__anchor-wrap .button,
	.association-projet .section-footer-link .button,
	.vie-associative-page .archive-card__link,
	.pole-single .planning-card__button,
	.pole-single .pole-cta__button,
	.article-planning-infos__actions .button,
	.contact-card__action a,
	.error-404-hero__actions .button,
	.actualites-archives .button
):focus-visible {
	outline: 2px solid #315c29;
	outline-offset: 3px;
}

.vie-associative-page .archive-card__link {
	padding: 14px 24px;
	border-radius: 10px;
	line-height: 1.4;
}

/* =========================================================
   HERO
   ========================================================= */

.home-hero {
	padding: 96px 0;
}

.home-hero .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
}

.home-hero__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	max-width: 600px;
}
.img_droite {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}
.hero-image-wrapper {

	position: relative;
	max-width: 520px;

}

.hero-image-wrapper::before {

	content: "";
	position: absolute;

	width: 520px;
	height: 520px;

	background: #51a813;

	border-radius: 60% 40% 60% 40%;

	top: -40px;
	left: -40px;

	z-index: -1;

}
.home-hero__image {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.home-hero__surtitle {
	margin: 0 0 12px;
	font-size: 0.95rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.home-hero__title {
	margin: 0 0 20px;
	font-size: 3rem;
	line-height: 1.1;
}

.home-hero__text {
	margin: 0 0 28px;
	font-size: 1.1rem;
	line-height: 1.7;
	max-width: 680px;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

/* =========================================================
   POLES
   ========================================================= */

.home-poles__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

/* Centrer les lignes incompletes uniquement dans la disposition ordinateur. */
@media screen and (min-width: 1025px) {
	.home-poles__grid {
		justify-content: center;
	}
}

.pole-card {
	display: flex;
	width: calc(33.333% - 16px);
	min-width: 280px;
}

.pole-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 10px 24px rgba(47, 42, 34, 0.06);
	transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.pole-card:hover .pole-card__link,
.pole-card:focus-within .pole-card__link {
	transform: translateY(-6px);
	box-shadow: 0 18px 34px rgba(47, 42, 34, 0.12);
}

.pole-card__image {
	overflow: hidden;
	display: block;
	width: 100%;
	border-radius: 20px 20px 0 0;
	aspect-ratio: 3 / 2;
}

.pole-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pole-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px;
	background-color: var(--cards-home);
	transition: background-color 0.22s ease;
}

.pole-card:hover .pole-card__content,
.pole-card:focus-within .pole-card__content {
	background-color: #e9dfcf;
}

.pole-card__title {
	margin: 0 0 12px;
	font-size: 1.35rem;
	line-height: 1.2;
}

.pole-card__excerpt {
	margin-bottom: 16px;
	line-height: 1.6;
}

.pole-card__cta {
	margin-top: auto;
	font-weight: 600;
	font-size: 1rem;
	transition: color 0.22s ease;
}

.pole-card:hover .pole-card__cta,
.pole-card:focus-within .pole-card__cta {
	color: var(--vert-alefh);
	font-size: 1.06rem;
	font-weight: 700;
}

/* =========================================================
   ACTUALITES
   ========================================================= */

.home-actualites__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.home-poles .wrap,
.home-actualites .wrap,
.home-galerie .wrap {
	padding-top: 36px;
	padding-bottom: 40px;
	border-radius: 28px;
	background: rgba(248, 245, 239, 0.92);
	border: 1px solid #ece3d8;
	box-shadow: 0 16px 36px rgba(47, 42, 34, 0.06);
}

.actualite-card {
	display: flex;
	width: calc(33.333% - 16px);
	min-width: 280px;
}

.actualite-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 10px 24px rgba(47, 42, 34, 0.06);
	transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.actualite-card:hover .actualite-card__link,
.actualite-card:focus-within .actualite-card__link {
	transform: translateY(-6px);
	box-shadow: 0 18px 34px rgba(47, 42, 34, 0.12);
}

.actualite-card__image {
	display: flex;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.actualite-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.actualite-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px;
	background-color: var(--cards-home);
	transition: background-color 0.22s ease;
}

.actualite-card:hover .actualite-card__content,
.actualite-card:focus-within .actualite-card__content {
	background-color: #e9dfcf;
}

.actualite-card__date {
	margin: 0 0 10px;
	font-size: 0.82rem;
	color: #6a635b;
}

.actualite-card__title {
	margin: 0 0 12px;
	font-size: 1.3rem;
	line-height: 1.25;
}

.actualite-card__excerpt {
	margin-bottom: 16px;
	line-height: 1.6;
}

.actualite-card__cta {
	margin-top: auto;
	font-weight: 600;
	transition: color 0.22s ease, font-size 0.22s ease;
}

.actualite-card:hover .actualite-card__cta,
.actualite-card:focus-within .actualite-card__cta {
	color: var(--vert-alefh);
	font-size: 1.06rem;
	font-weight: 700;
}

/* Derniere actualite : variantes limitees a la page Actualites. */
.actualites-latest {
	padding: clamp(16px, 3vw, 32px);
	background: #eef5e8;
	border: 1px solid #d6e5ca;
	border-radius: 24px;
}

.actualites-group__intro {
	margin: 10px 0 0;
	color: #575c50;
	line-height: 1.6;
}

.actualites-latest + .actualites-activities {
	margin-top: clamp(32px, 5vw, 56px);
	padding-top: clamp(28px, 4vw, 40px);
	border-top: 1px solid #dcded5;
}

.actualites-activities__header {
	margin-bottom: 32px;
}

.actualites-activities > .actualites-section > .actualites-section__header .actualites-section__title {
	font-size: 1.4rem;
}

.actualites-latest .actualite-card--featured {
	width: 100%;
	min-width: 0;
}

.actualites-latest .actualite-card__content {
	min-width: 0;
	overflow-wrap: anywhere;
}

@media (min-width: 768px) {
	.actualites-latest .actualite-card__link {
		flex-direction: row;
	}

	.actualites-latest .actualite-card__image {
		flex: 0 0 35%;
		width: 35%;
		aspect-ratio: auto;
		min-height: 240px;
		position: relative;
	}

	.actualites-latest .actualite-card__image img {
		position: absolute;
		inset: 0;
	}

	.actualites-latest .actualite-card__content {
		padding: 28px;
	}
}

/* =========================================================
   BLOC ADOS
   ========================================================= */

.home-ados__content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.home-ados__intro {
	display: flex;
	flex: 1 1 500px;
	max-width: 760px;
}

.home-ados__intro p {
	margin: 0;
	line-height: 1.7;
}

.home-ados__actions {
	display: flex;
	flex: 0 0 auto;
}

/* =========================================================
   GALERIE
   ========================================================= */

.home-galerie__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.home-galerie__grid > * {
	display: flex;
	width: calc(25% - 12px);
	min-width: 220px;
}

.home-galerie__slider {
	margin-top: 2rem;
}

.home-galerie__slide {
	height: 320px;
	border-radius: 24px;
	overflow: hidden;
	background: #f3eee8;
	display: flex;
	flex-direction: column;
}

.home-galerie__image {
	display: block;
	width: 100%;
	height: calc(100% - 56px);
	object-fit: cover;
}

.home-galerie__placeholder {
	width: 100%;
	justify-content: center;
	padding: 2rem;
	border: 1px dashed rgba(92, 48, 175, 0.24);
	border-radius: 24px;
	background: #f8f5f1;
	text-align: center;
}

.home-galerie__caption {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0.75rem 1rem;
	font-size: 0.95rem;
	line-height: 1.4;
	text-align: center;
	color: #33245d;
	background: #f8f5f1;
}

.home-galerie .splide__arrow {
	width: 2.75rem;
	height: 2.75rem;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(92, 48, 175, 0.22);
}

.home-galerie .splide__arrow svg {
	fill: #5c30af;
}

.home-galerie .splide__pagination {
	bottom: -1.75rem;
}

.home-galerie .splide__pagination__page {
	width: 10px;
	height: 10px;
	background: rgba(92, 48, 175, 0.22);
	opacity: 1;
}

.home-galerie .splide__pagination__page.is-active {
	background: #5c30af;
	transform: scale(1.1);
}

/* =========================================================
   INSCRIPTIONS
   ========================================================= */

.home-inscriptions__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.home-inscriptions__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 8px;
}

/* =========================================================
   ASSOCIATION
   ========================================================= */

.home-association__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 760px;
	gap: 24px;
}

.home-association__content p {
	margin: 0;
	line-height: 1.7;
}

/* =========================================================
   INFOS PRATIQUES
   ========================================================= */

.home-infos-pratiques__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.info-card {
	display: flex;
	flex-direction: column;
	width: calc(33.333% - 16px);
	min-width: 240px;
	padding: 24px;
	border-radius: 16px;
}

.info-card h3 {
	margin: 0 0 12px;
	font-size: 1.5rem;
	line-height: 1.2;
}

.info-card p {
	margin: 0;
	line-height: 1.6;
}

/* =========================================================
	SINGLE POLE
	======================================================== */

	.pole-single {
	padding-bottom: 80px;
}

.pole-hero {
	padding: 56px 0 40px;
	background: #f8f6f2;
}

.pole-hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
}

.pole-hero__content {
	flex: 1 1 420px;
}

.pole-hero__media {
	flex: 1 1 420px;
}

.pole-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 24px;
}

.pole-hero__title {
	margin: 0 0 16px;
}

.pole-hero__excerpt {
	font-size: 1.1rem;
	line-height: 1.6;
}

.pole-hero__anchor-wrap {
	flex: 0 0 100%;
	display: flex;
	justify-content: center;
	margin-top: 4px;
}

#pole-actualites {
	scroll-margin-top: 112px;
}

.pole-section {
	padding: 56px 0;
}

.pole-section:nth-child(even) {
	background: #fcfbf8;
}

.pole-section__title {
	margin: 0 0 20px;
}

.pole-section__content {
	max-width: 900px;
	text-align: left;
}
.pole-section__content ul {
	list-style: disc;
	padding-left: 1.5rem;
	margin: 1rem 0;
}

.pole-section__content ol {
	list-style: decimal;
	padding-left: 1.5rem;
	margin: 1em 0;
}

.pole-section__content li {
	margin-bottom: 0.4em;
}

.pole-section__content p:last-child {
	margin-bottom: 0;
}

.pole-cta {
	padding: 24px 0 0;
	text-align: center;
}

.pole-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border-radius: 999px;
	text-decoration: none;
}
/* ==========================================================
	SINGLE-POST
=============================================================*/
.single-article {
	padding: 0 0 4rem;
}

.article-hero {
	padding: 1.25rem 0 0.9rem;
	background: #f7f3f3;
	border-bottom: 1px solid #e5dddd;
}

.article-hero__inner {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) minmax(320px, 1fr);
	align-items: center;
	gap: 2rem;
	max-width: 960px;
	margin: 0 auto;
}

.article-hero__image {
	margin-bottom: 0;
}

.article-hero__image img {
	width: 100%;
	max-height: 240px;
	height: 100%;
	display: block;
	margin: 0;
	object-fit: cover;
	border-radius: 12px;
}

.article-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.article-hero__meta {
	order: 2;
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	color: #666;
}

.article-hero__title {
	order: 1;
	margin: 0 0 0.75rem;
	font-size: clamp(1.9rem, 2.4vw, 2.6rem);
	line-height: 1.15;
}

.article-hero__categories {
	order: 3;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}


.article-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: #ece7e7;
	font-size: 0.9rem;
	font-weight: 600;
}

.article-content {
	max-width: 760px;
	margin: 3rem auto 0;
	font-size: 1.05rem;
	line-height: 1.8;
}

.article-planning-infos {
	max-width: 760px;
	margin: 2.5rem auto 0;
	padding: 1.5rem;
	background: #f8f4ee;
	border: 1px solid rgba(47, 42, 34, 0.1);
	border-radius: 16px;
}

.article-planning-infos__title {
	margin: 0 0 1rem;
	font-size: 1.2rem;
	line-height: 1.3;
}

.article-planning-infos__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	margin-bottom: 1rem;
}

.article-planning-infos__meta p {
	margin: 0;
}

.article-planning-infos__text {
	color: #5f5a53;
	line-height: 1.7;
}

.article-planning-infos__text p {
	margin: 0 0 1rem;
}

.article-planning-infos__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.article-content p {
	margin: 0 0 1.25rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
	margin: 2rem 0 1rem;
	line-height: 1.3;
}

.article-content ul,
.article-content ol {
	margin: 0 0 1.5rem 1.5rem;
}

.article-content a {
	text-decoration: underline;
}

.article-content .wp-block-file {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	background: #f5f5f5;
	border-radius: 12px;
}

.article-content .wp-block-button {
	margin: 1.5rem 0;
}



/* =========================================================
	PLANNINGS
	======================================================== */
.pole-plannings {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.planning-card {
	background: #fff;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.planning-card__header {
	margin-bottom: 15px;
}

.planning-card__title {
	margin: 0 0 6px 0;
	font-size: 1.4rem;
}

.planning-card__periode {
	font-weight: 600;
	color: #666;
	margin: 0;
}

.planning-card__dates {
	font-size: 0.9rem;
	color: #888;
	margin: 0;
}
.planning-card__text {
	margin-bottom: 20px;
}
.planning-card__images {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 20px;
}
.planning-card__images p {
	margin: 0 0 20px;
}

.planning-card__images img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-bottom: 20px;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	cursor: zoom-in;
}
.planning-card__image-link {
	display: block;
	position: relative;
	width: 240px;
	border-radius: 8px;
	overflow: hidden;
	cursor: zoom-in;
}
.planning-card__image {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.planning-card__images p:last-child,
.planning-card__text p:last-child {
	margin-bottom: 0;
}
.planning-card__image-link:hover .planning-card__image {
	transform: scale(1.05);
	box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.planning-card__image-link::after {
	content: "🔍";
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(0,0,0,0.6);
	color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.planning-card__image-link:hover::after {
	opacity: 1;
}

.planning-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border-radius: 999px;
	text-decoration: none;
}
/* MODALE LIGHTBOX */

.planning-lightbox {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.planning-lightbox.is-open {
	display: flex;
}

.planning-lightbox__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(4px);
}

.planning-lightbox__content {
	position: relative;
	z-index: 2;
	max-width: 95vw;
	max-height: 95vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
}

.planning-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
}

.planning-lightbox__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 4;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	line-height: 1;
	background: rgba(0,0,0,0.65);
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease;
}
.planning-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 4;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 38px;
	line-height: 1;
	background: rgba(0, 0, 0, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
}

.planning-lightbox__nav--prev {
	left: 12px;
}
.planning-lightbox__nav--next {
	right: 12px;
}
.planning-lightbox__actions {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	z-index: 4;
	display: flex;
	gap: 12px;
}

.planning-lightbox__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	background: rgba(0, 0, 0, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	font: inherit;
}

.planning-lightbox__action:hover,
.planning-lightbox__close:hover,
.planning-lightbox__nav:hover {
	background: rgba(0, 0, 0, 0.9);
}


body.lightbox-open {
	overflow: hidden;
}


/* =========================================================
   RESPONSIVE - TABLETTE
   ========================================================= */

@media screen and (max-width: 1024px) {
	.front-page section {
		padding: 40px 0;
	}

	#home-poles,
	#home-actualites {
		scroll-margin-top: 104px;
	}

	.home-hero {
		padding: 72px 0;
	}

	.home-hero__title {
		font-size: 2.4rem;
	}

	.section-header__title {
		font-size: 1.8rem;
	}

	.pole-card,
	.actualite-card,
	.info-card {
		width: calc(50% - 12px);
	}

	.article-hero__inner {
		grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
		gap: 1.5rem;
	}

	.home-galerie__grid > * {
		width: calc(50% - 8px);
	}

	.home-poles .wrap,
	.home-actualites .wrap,
	.home-galerie .wrap {
		padding-top: 32px;
		padding-bottom: 36px;
		border-radius: 24px;
	}

	.home-galerie__slide {
		height: 280px;
	}

	.home-galerie__caption {
		min-height: 64px;
		font-size: 0.9rem;
	}

	.equipe-grid {
		grid-template-columns: repeat(2, minmax(0, 240px));
	}

	.association-highlights__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.archive-year__grid {
		grid-template-columns: 1fr;
	}

	.contact-details__grid {
		grid-template-columns: repeat(2, minmax(240px, 300px));
	}

	.contact-card--address {
		max-width: none;
	}

	.wrap {
		padding: 0 20px;
	}

	.header-logo img {
		height: 126px;
	}

	.main-nav_list {
		gap: 18px;
	}

	.main-nav_list > li > a {
		font-size: clamp(0.82rem, 1.1vw, 0.92rem);
	}
}

/* =========================================================
   RESPONSIVE - MENU BURGER
   ========================================================= */

@media screen and (max-width: 900px) {
	.main-nav {
		display: none;
	}

	.burger {
		display: block;
	}
}

@media screen and (max-width: 767px) {
	.wrap {
		padding: 0 16px;
	}

	.admin-bar .site-header {
		top: 46px;
	}

	.header-full {
		height: auto;
		min-height: 84px;
	}

	.header-nav {
		position: relative;
		min-height: 84px;
	}

	.header-logo {
		flex: 0 0 auto;
	}

	.header-logo img {
		height: 86px;
		max-width: 100%;
	}

	.site-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer__nav {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 12px;
	}

	.front-page section {
		padding: 32px 0;
	}

	#home-poles,
	#home-actualites {
		scroll-margin-top: 96px;
	}

	.home-hero {
		padding: 56px 0;
		overflow: hidden;
	}

	.home-hero__title {
		font-size: 2rem;
	}

	.home-hero__text {
		font-size: 1rem;
	}

	.section-header {
		margin-bottom: 24px;
	}

	.section-header__title {
		font-size: 1.6rem;
	}

	.home-poles .wrap,
	.home-actualites .wrap,
	.home-galerie .wrap {
		padding-top: 28px;
		padding-bottom: 32px;
		border-radius: 20px;
	}

	.home-hero__actions,
	.home-inscriptions__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}


	.home-hero__actions .button,
	.home-inscriptions__actions .button {
		width: 100%;
	}
	.home-hero .wrap {
		flex-direction: column;
		text-align: center;
	}

	.img_droite {
		width: 100%;
		justify-content: center;
		margin-top: 40px;
	}

	/* On réduit le décor du hero sur mobile pour éviter le débordement latéral. */
	.hero-image-wrapper {
		width: min(100%, 320px);
	}

	.hero-image-wrapper::before {
		width: 100%;
		height: auto;
		aspect-ratio: 1 / 1;
		top: -18px;
		left: -12px;
	}


	.pole-card,
	.actualite-card,
	.info-card,
	.home-galerie__grid > * {
		width: 100%;
		min-width: 0;
	}

	.home-galerie__slide {
		height: 280px;
	}

	.home-galerie__caption {
		min-height: 72px;
		padding: 0.75rem;
	}

	.article-hero__inner {
		grid-template-columns: 1fr;
		gap: 1rem;
		max-width: 760px;
	}

	.article-hero__image {
		max-width: 360px;
		width: 100%;
		margin: 0 auto;
	}

	.article-hero__content {
		text-align: center;
		align-items: center;
	}

	.article-hero__categories {
		justify-content: center;
	}

	.equipe-grid {
		grid-template-columns: 1fr;
		justify-content: stretch;
	}

	.membre-card {
		max-width: none;
	}

	.association-hero {
		padding-top: 20px;
	}

	.association-hero__media {
		padding: 0 16px;
	}

	.association-hero__image {
		max-height: 160px;
		border-radius: 18px;
	}

	.association-hero__content {
		padding-top: 24px;
	}

	.association-hero__title {
		font-size: 2rem;
	}

	.association-hero__chapo {
		font-size: 1rem;
	}

	.association-section + .association-section {
		margin-top: 36px;
	}

	.association-section__title,
	.association-transition__title,
	.association-highlights__title {
		font-size: 1.55rem;
	}

	.association-highlights {
		padding-bottom: 48px;
	}

	.association-highlights__inner {
		padding: 24px 16px;
		border-radius: 18px;
	}

	.association-transition {
		margin-bottom: 24px;
	}

	.association-highlights__grid {
		grid-template-columns: 1fr;
	}

	.vie-associative-hero {
		padding-top: 20px;
	}

	.vie-associative-hero__media {
		padding: 0 16px;
	}

	.vie-associative-hero__image {
		max-height: 160px;
		border-radius: 18px;
	}

	.vie-associative-hero__content {
		padding-top: 24px;
	}

	.vie-associative-hero__title {
		font-size: 2rem;
	}

	.vie-associative-hero__chapo {
		font-size: 1rem;
	}

	.vie-associative-intro__title,
	.vie-associative-note__title,
	.archive-year__title {
		font-size: 1.55rem;
	}

	.vie-associative-note {
		padding-bottom: 48px;
	}

	.vie-associative-note__inner {
		padding: 24px 16px;
		border-radius: 18px;
	}

	.actualites-hero__media {
		padding: 0 16px;
	}

	.actualites-hero__image {
		max-height: 160px;
		border-radius: 18px;
	}

	.actualites-hero__header {
		padding-top: 24px;
	}

	.contact-hero {
		padding-top: 20px;
	}

	.contact-hero__media {
		padding: 0 16px;
	}

	.contact-hero__image {
		max-height: 300px;
		border-radius: 18px;
	}

	.contact-hero__content {
		padding-top: 24px;
	}

	.contact-hero__title {
		font-size: 2rem;
	}

	.contact-hero__chapo {
		font-size: 1rem;
	}

	.contact-intro__title,
	.contact-note__title {
		font-size: 1.55rem;
	}

	.contact-details__grid {
		grid-template-columns: 1fr;
	}

	.contact-card--address {
		max-width: none;
	}

	.contact-card__map-iframe {
		height: 280px;
	}

	.contact-note {
		padding-bottom: 48px;
	}

	.contact-note__inner {
		padding: 24px 16px;
		border-radius: 18px;
	}

	.error-404-page {
		padding: 32px 0 48px;
	}

	.error-404-hero__title {
		font-size: 2rem;
	}

	.error-404-hero__actions {
		flex-direction: column;
		width: 100%;
	}

	.error-404-hero__actions .button {
		width: 100%;
	}

	.home-ados__content {
		flex-direction: column;
		align-items: flex-start;
	}

	.home-ados__actions {
		width: 100%;
	}

	.home-ados__actions .button {
		width: 100%;
	}

	.section-footer-link {
		justify-content: stretch;
	}

	.section-footer-link .button {
		width: 100%;
	}

	/* SINGLE POLE */
	.pole-hero {
		padding: 40px 0 24px;
	}

	.pole-hero__inner {
		gap: 24px;
	}

	#pole-actualites {
		scroll-margin-top: 96px;
	}

	.pole-section {
		padding: 40px 0;
	}

/* REPERES INTEGRATION */
}

.home-inscriptions,
.home-infos-pratiques {
	background: #f8f8f8;
}

/* =====================================================================
   ALEFH HORIZON — proposition indépendante, septembre 2026.
   Habillage uniquement : les modèles PHP et les contenus sont conservés.
   ===================================================================== */
:root {
  --vert-alefh:#77ba46;
  --jaune-alefh:#ffeb04;
  --h-ink:#203b2c;
  --h-green:#315d3b;
  --h-muted:#59645b;
  --h-paper:#fbfaf6;
  --h-line:#dfe5db;
  --h-soft:#edf2e7;
  --header-footer-bg:#fff;
  --cards-home:#fff;
}
html { scroll-padding-top:110px; }
body { background:var(--h-paper); color:var(--h-ink); text-align:left; overflow-x:visible; -webkit-font-smoothing:antialiased; }
body::before,body::after { display:none; }
.wrap { max-width:1280px; padding-inline:40px; }
a { color:var(--h-green); text-underline-offset:4px; }
a:visited { color:var(--h-green); }
a:focus-visible,button:focus-visible { outline:3px solid var(--h-green); outline-offset:5px; }
h1,h2,h3,h4 { color:var(--h-ink); letter-spacing:-.035em; text-wrap:balance; }
p { text-wrap:pretty; }
img { max-width:100%; }
.site-header { background:#fff; border-bottom:1px solid var(--h-line); }
.site-header.is-scrolled { background:#fff; box-shadow:0 4px 18px #203b2c08; }
.header-full { height:98px; }
.header-logo { top:0; flex-shrink:0; }
.header-logo img { height:82px; width:82px; object-fit:contain; }
.header-logo a:hover img { transform:none; filter:none; }
.header-nav { gap:30px; }
.main-nav_list { gap:26px; }
.main-nav_list>li>a { color:var(--h-ink); font-size:13px; padding:15px 0; font-weight:600; }
.main-nav_list>li>a::after { height:2px; background:var(--vert-alefh); bottom:6px; }
.main-nav_list>li:last-child>a { padding:13px 21px; background:var(--h-green); color:#fff; border-radius:7px; }
.main-nav_list>li:last-child>a::after { display:none; }
.main-nav_list .sub-menu { border:1px solid var(--h-line); border-radius:12px; padding:9px; background:#fff; box-shadow:0 15px 40px #203b2c12; }
.main-nav_list .sub-menu a { border-radius:6px; padding:11px 13px; font-size:14px; color:var(--h-ink); }
.main-nav_list .sub-menu a:hover,.main-nav_list .sub-menu a:focus { background:var(--h-soft); color:var(--h-ink); }
.front-page section { padding:76px 0; }
.front-page .home-hero { padding:64px 0 72px; position:relative; }
.home-hero .wrap { display:grid; grid-template-columns:1.02fr 1fr; gap:64px; align-items:center; }
.home-hero__content { max-width:none; min-width:0; text-align:left; }
.home-hero__surtitle,.section-header__surtitle { display:flex; align-items:center; gap:10px; color:var(--h-green); font-size:11px; letter-spacing:.16em; font-weight:700; text-transform:uppercase; margin:0 0 22px; }
.home-hero__surtitle::before,.section-header__surtitle::before { content:""; width:22px; height:3px; background:var(--vert-alefh); flex-shrink:0; }
.home-hero__title { font-size:clamp(38px,4.2vw,58px); line-height:1.11; letter-spacing:-.055em; margin:0 0 24px; font-weight:700; }
.home-hero__text { font-size:16px; color:var(--h-muted); line-height:1.8; max-width:490px; margin:0 0 30px; }
.home-hero__actions { justify-content:flex-start; gap:12px; }
.img_droite { min-width:0; display:block; padding:12px 0 8px; }
.hero-image-wrapper { position:relative; max-width:none; isolation:isolate; }
.hero-image-wrapper::before { content:""; width:115px; height:115px; top:-23px; left:auto; right:-16px; background:var(--jaune-alefh); border-radius:50%; z-index:-1; }
.hero-image-wrapper::after { content:""; position:absolute; width:64px; height:64px; border:1px solid var(--h-green); border-radius:50%; left:-21px; bottom:-20px; z-index:-1; }
.home-hero__image { display:block; width:100%; height:440px; object-fit:cover; object-position:48% center; border-radius:100px 18px 18px 18px; box-shadow:none; }
body .button,body .pole-cta__button,body .planning-card__button,body .archive-card__link,body .contact-card__action a { min-height:48px; padding:14px 20px; border:1px solid #b9c6b3; border-radius:7px; background:transparent; color:var(--h-green); font-size:13px; line-height:1.4; font-weight:600; box-shadow:none; text-align:center; transition:background .18s,color .18s,border-color .18s; }
body .button:visited,body .pole-cta__button:visited,body .planning-card__button:visited,body .archive-card__link:visited,body .contact-card__action a:visited { color:var(--h-green); }
body .home-hero__actions .button:first-child,body .pole-cta__button,body .planning-card__button { background:var(--h-green); color:#fff; border-color:var(--h-green); }
body .button:hover,body .button:focus,body .pole-cta__button:hover,body .planning-card__button:hover,body .archive-card__link:hover { background:var(--h-ink); border-color:var(--h-ink); color:#fff; box-shadow:none; transform:none; }
body .home-hero__actions .button:first-child:hover { background:var(--h-ink); }
.home-poles,.home-galerie { background:#fff; border-top:1px solid var(--h-line); }
.home-poles .wrap,.home-actualites .wrap,.home-galerie .wrap { padding-top:0; padding-bottom:0; border:0; border-radius:0; box-shadow:none; background:transparent; }
.section-header { margin-bottom:34px; text-align:left; }
.section-header__surtitle { margin-bottom:14px; }
.section-header__title { font-size:clamp(28px,3vw,38px); max-width:790px; line-height:1.2; margin-bottom:15px; }
.section-header__text { font-size:15px; max-width:700px; color:var(--h-muted); line-height:1.8; }
.home-poles__grid,.home-actualites__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.pole-card,.actualite-card { width:auto; min-width:0; text-align:left; }
.pole-card__link,.actualite-card__link { border:1px solid var(--h-line); border-radius:13px; box-shadow:none; background:#fff; }
.pole-card:hover .pole-card__link,.pole-card:focus-within .pole-card__link,.actualite-card:hover .actualite-card__link,.actualite-card:focus-within .actualite-card__link { transform:translateY(-3px); border-color:#98ad8c; box-shadow:0 10px 24px #203b2c08; }
.pole-card__image { border-radius:0; aspect-ratio:16/9; }
.pole-card__image img { transition:transform .35s ease; }
.pole-card:hover img { transform:scale(1.025); }
.pole-card__content,.actualite-card__content { padding:24px; background:#fff; }
.pole-card:hover .pole-card__content,.pole-card:focus-within .pole-card__content,.actualite-card:hover .actualite-card__content,.actualite-card:focus-within .actualite-card__content { background:#fff; }
.pole-card__title,.actualite-card__title { font-size:21px; line-height:1.3; margin-bottom:12px; }
.pole-card__excerpt,.actualite-card__excerpt { font-size:14px; color:var(--h-muted); line-height:1.75; margin-bottom:23px; }
.pole-card__cta,.actualite-card__cta { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:16px; border-top:1px solid var(--h-line); color:var(--h-green); font-size:13px; font-weight:600; }
.pole-card__cta::after,.actualite-card__cta::after { content:"↗"; font-size:23px; line-height:1; font-family:Arial,sans-serif; }
.pole-card:hover .pole-card__cta,.pole-card:focus-within .pole-card__cta,.actualite-card:hover .actualite-card__cta,.actualite-card:focus-within .actualite-card__cta { color:var(--h-ink); font-size:13px; font-weight:600; }
.actualite-card__image { aspect-ratio:16/10; background:var(--h-soft); }
.actualite-card__image img { object-fit:contain; }
.actualite-card__date { color:var(--h-muted); font-size:11px; letter-spacing:.025em; margin-bottom:12px; }
.article-badge,.actualite-card__categories a { background:var(--h-soft); color:var(--h-green); border:0; border-radius:4px; font-size:11px; padding:5px 9px; }
.actualite-card__categories { margin-bottom:13px; }
.section-footer-link { justify-content:flex-start; margin-top:32px; }
.home-actualites .section-footer-link { justify-content:center; }
.home-galerie__image { border-radius:14px; }
.home-galerie__caption { color:var(--h-ink); font-size:14px; }
.splide__arrow { background:var(--h-green); opacity:1; }
.splide__arrow svg { fill:#fff; }
.splide__pagination__page.is-active { background:var(--h-green); }
.site-footer { background:var(--h-ink); color:#fff; padding:44px 0; margin-top:0; border-top:4px solid var(--vert-alefh); }
.site-footer__title { color:#fff; font-size:23px; letter-spacing:.1em; }
.site-footer__text { color:#dce4d8; max-width:330px; font-size:12px; }
.site-footer__nav { gap:16px 24px; }
.site-footer__nav a,.site-footer__nav a:visited { color:#e3eadf; font-size:12px; font-weight:400; }
/* Pages de présentation : mêmes sections et contenus, lecture plus aérée. */
.association-hero,.contact-hero,.vie-associative-hero { padding-top:40px; }
.association-hero__media,.contact-hero__media,.vie-associative-hero__media { max-width:1280px; padding:0 40px; }
.association-hero__image,.contact-hero__image,.vie-associative-hero__image { width:100%; height:300px; max-height:300px; object-fit:cover; border-radius:18px; }
.association-hero__content,.contact-hero__content,.vie-associative-hero__content { max-width:1000px; text-align:left; padding-top:44px; padding-bottom:18px; }
.association-hero__title,.contact-hero__title,.vie-associative-hero__title,.page .entry-title { font-size:clamp(34px,4vw,50px); line-height:1.12; }
.association-hero__chapo,.contact-hero__chapo,.vie-associative-hero__chapo { color:var(--h-muted); font-size:18px; line-height:1.8; margin-top:20px; max-width:800px; }
.association-sections__inner,.contact-intro__inner,.vie-associative-intro__inner,.contact-note__inner,.vie-associative-note__inner { max-width:1000px; text-align:left; }
.association-section { padding:28px 0; }
.association-section+.association-section { border-top:1px solid var(--h-line); margin-top:15px; }
.association-section__title,.contact-intro__title,.vie-associative-intro__title { font-size:28px; margin-bottom:18px; }
.association-section__text,.contact-intro__text,.vie-associative-intro__text { color:#445347; line-height:1.85; font-size:16px; }
.association-highlights { background:var(--h-soft); padding:56px 0; }
.association-highlights__inner { background:transparent; border:0; box-shadow:none; }
.association-highlight-card:nth-child(n) { background:#fff; border:1px solid var(--h-line); border-radius:12px; box-shadow:none; }
.association-highlight-card__value { color:var(--h-green); }
.association-transition { text-align:left; background:transparent; }
.association-pedagogie { margin-block:48px; }
.contact-details { padding:30px 0 64px; }
.contact-card,.archive-card { background:#fff; border:1px solid var(--h-line); box-shadow:none; border-radius:12px; text-align:left; padding:28px; }
.contact-card__title,.archive-card__title { font-size:23px; }
.contact-note,.vie-associative-note { margin:0; padding:40px 0; background:var(--h-soft); }
.contact-note__inner,.vie-associative-note__inner { background:transparent; box-shadow:none; border:0; }
.contact-card__map-iframe { width:100%; }
.page-equipe .entry-header { max-width:1280px; padding:56px 40px 20px; margin:auto; }
.page-equipe .entry-title { max-width:none; }
.page-equipe .entry-content { max-width:1280px; padding-inline:40px; }
.equipe-section { padding-block:20px 56px; }
.equipe-section__title { text-align:left; font-size:30px; margin-bottom:28px; }
.equipe-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; justify-content:start; }
.membre-card { max-width:none; border:1px solid var(--h-line); background:#fff; border-radius:12px; }
.membre-card__image { aspect-ratio:1; background:var(--h-soft); }
.membre-card__photo { object-position:top; }
.membre-card__content { padding:20px; }
.membre-card__name { font-size:17px; }
.membre-card__role { font-size:13px; color:var(--h-muted); }
.archive-year { margin-bottom:40px; }
.archive-year__title { text-align:left; }
/* Pôles et ressources : priorité à la lecture, aux programmes et aux liens. */
.pole-hero { background:var(--h-soft); padding:60px 0 40px; }
.pole-hero__inner { gap:36px 56px; }
.pole-hero__content { flex:1 1 350px; text-align:left; }
.pole-hero__media { flex:1 1 350px; }
.pole-hero__media img { height:330px; object-fit:cover; border-radius:64px 14px 14px 14px; }
.pole-hero__title { font-size:clamp(34px,4vw,50px); line-height:1.13; }
.pole-hero__excerpt { color:var(--h-muted); font-size:17px; line-height:1.8; }
.pole-hero__anchor-wrap { justify-content:flex-start; margin-top:0; }
.pole-section { padding:54px 0; }
.pole-section:nth-child(even) { background:#fff; }
.pole-section__title { font-size:32px; text-align:left; }
.pole-section__content { color:#445347; line-height:1.85; }
.planning-card { padding:28px; border:1px solid var(--h-line); border-radius:12px; box-shadow:none; text-align:left; }
.planning-card__title { font-size:24px; }
.planning-card__actions { justify-content:flex-start; }
.pole-cta { text-align:left; }
.article-hero { background:var(--h-soft); padding:48px 0; border:0; }
.article-hero__inner { max-width:1200px; gap:48px; }
.article-hero__image img { max-height:350px; height:350px; object-fit:contain; background:#fff; border:1px solid var(--h-line); border-radius:13px; }
.article-hero__title { font-size:clamp(28px,3.3vw,44px); line-height:1.2; }
.article-hero__meta { font-size:13px; color:var(--h-muted); }
.article-content { color:#344839; }
.article-planning-infos { background:var(--h-soft); border:1px solid var(--h-line); padding:28px; }
.article-planning-infos__actions { justify-content:flex-start; }
.actualites-hero { padding:56px 0 24px; }
.actualites-hero__header { text-align:left; }
.actualites-hero__header .section-header__text { margin-left:0; }
.actualites-hero__secondary { text-align:left; margin-left:0; background:var(--h-soft); }
.actualites-listing { padding-bottom:72px; }
.actualites-latest { background:var(--h-soft); border:1px solid var(--h-line); border-radius:16px; padding:30px; }
.actualites-latest .actualite-card__link { border:0; }
.actualites-section__header,.actualites-activities__header { text-align:left; }
.actualites-section__title { font-size:30px; }
.actualites-activities>.actualites-section>.actualites-section__header .actualites-section__title { font-size:25px; }
.actualites-latest .actualite-card__image img { object-fit:contain; }
.actualites-latest .actualite-card__content { background:#fff; }
/* Navigation mobile et grilles sans débordement à 768 px. */
.mobile-menu { background:#fff; border-top:1px solid var(--h-line); max-height:calc(100dvh - 82px); overflow-y:auto; }
.mobile-menu__list a { color:var(--h-ink); }
.mobile-menu__list>li { border-color:var(--h-line); }
.mobile-menu__list .sub-menu { background:var(--h-soft); }
.mobile-submenu-toggle { min-width:44px; min-height:44px; }
.burger { border:1px solid var(--h-line); border-radius:7px; min-width:44px; min-height:44px; }
.burger span { background:var(--h-ink); }
@media(min-width:901px) {
 .home-poles__grid>.pole-card:last-child:nth-child(3n + 1) { grid-column:1/-1; }
 .home-poles__grid>.pole-card:last-child:nth-child(3n + 1) .pole-card__link { display:grid; grid-template-columns:1fr 2fr; }
 .home-poles__grid>.pole-card:last-child:nth-child(3n + 1) .pole-card__image { height:100%; max-height:220px; }
}
@media(max-width:1150px) and (min-width:901px) {
 .wrap { padding-inline:30px; }
 .main-nav_list { gap:16px; }
 .main-nav_list>li>a { font-size:12px; }
 .header-nav { gap:18px; }
 .home-hero .wrap { gap:34px; }
 .home-hero__image { height:415px; }
}
@media(max-width:900px) {
 .wrap { padding-inline:28px; }
 .header-full { height:82px; }
 .header-logo img { width:68px; height:68px; }
 .home-hero .wrap { grid-template-columns:1fr 1fr; gap:32px; }
 .front-page .home-hero { padding:42px 0 50px; }
 .home-hero__title { font-size:39px; }
 .home-hero__image { height:370px; border-top-left-radius:65px; }
 .home-hero__actions { flex-direction:column; align-items:flex-start; }
 .home-hero__actions .button { width:auto; }
 .hero-image-wrapper::before { right:-8px; width:80px; height:80px; }
 .home-poles__grid,.home-actualites__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
 .pole-card,.actualite-card { width:auto; min-width:0; }
 .front-page section { padding:52px 0; }
 .equipe-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .site-footer__inner { flex-direction:column; align-items:flex-start; }
 .site-footer__nav { justify-content:flex-start; }
 .article-hero__inner { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; }
}
@media(max-width:640px) {
 .wrap { padding-inline:22px; }
 .header-full { height:78px; }
 .header-logo img { width:64px; height:64px; }
 .home-hero .wrap { grid-template-columns:minmax(0,1fr); gap:30px; }
 .home-hero__title { font-size:40px; max-width:500px; }
 .home-hero__surtitle { margin-bottom:18px; font-size:10px; }
 .home-hero__text { font-size:15px; margin-bottom:24px; }
 .home-hero__actions { align-items:stretch; gap:10px; }
 .home-hero__actions .button { width:100%; }
 .img_droite { padding:6px 4px 4px; }
 .home-hero__image { height:285px; border-radius:65px 14px 14px 14px; }
 .hero-image-wrapper::before { width:75px; height:75px; top:-13px; right:-9px; }
 .hero-image-wrapper::after { width:45px; height:45px; left:-12px; bottom:-13px; }
 .home-poles__grid,.home-actualites__grid { grid-template-columns:minmax(0,1fr); gap:22px; }
 .section-header__title { font-size:28px; }
 .section-header__text { font-size:14px; }
 .pole-card__image { aspect-ratio:16/9; }
 .pole-card__content,.actualite-card__content { padding:22px; }
 .pole-card__title,.actualite-card__title { font-size:21px; }
 .section-header { margin-bottom:26px; }
 .association-hero__media,.contact-hero__media,.vie-associative-hero__media { padding-inline:22px; }
 .association-hero__image,.contact-hero__image,.vie-associative-hero__image { height:210px; }
 .association-hero__content,.contact-hero__content,.vie-associative-hero__content { padding-top:30px; }
 .association-hero__chapo,.contact-hero__chapo,.vie-associative-hero__chapo { font-size:16px; }
 .association-section__title { font-size:25px; }
 .page-equipe .entry-header,.page-equipe .entry-content { padding-inline:22px; }
 .equipe-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
 .membre-card__content { padding:15px; }
 .membre-card__name { font-size:15px; }
 .membre-card__role { font-size:12px; }
 .pole-hero { padding:38px 0; }
 .pole-hero__inner { gap:25px; }
 .pole-hero__media img { height:250px; border-radius:45px 12px 12px 12px; }
 .pole-section__title { font-size:27px; }
 .pole-section { padding-block:40px; }
 .article-hero__inner { grid-template-columns:minmax(0,1fr); }
 .article-hero__image img { height:auto; max-height:300px; }
 .article-content,.article-planning-infos { margin-left:22px; margin-right:22px; }
 .actualites-latest { padding:18px; }
 .actualites-latest .actualite-card__link { flex-direction:column; }
 .actualites-latest .actualite-card__image { width:100%; }
 .site-footer { padding:32px 0 88px; }
 .site-footer__nav { flex-direction:column; gap:12px; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 *,*::before,*::after { transition:none!important; animation:none!important; }
}
/* Résumés courts : le texte intégral reste accessible dans l'article. */
.actualite-card__excerpt { display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.home-galerie .splide__arrow { background:#fff; border:1px solid var(--h-line); }
.home-galerie .splide__arrow svg { fill:var(--h-green); }
.home-galerie .splide__pagination__page { background:#c0cdb5; }
.home-galerie .splide__pagination__page.is-active { background:var(--h-green); }
.home-galerie .home-galerie__caption { background:var(--h-paper); color:var(--h-ink); }
