@font-face {
	font-family: Montserrat;
	src: url("../fonts/Montserrat-Variable.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 100 900;
}

@font-face {
	font-family: "All Round Gothic";
	src: url("../fonts/AllRoundGothic-Bold.ttf") format("truetype");
	font-display: swap;
	font-style: normal;
	font-weight: 700 900;
}

:root {
	--mdsf-navy: #090e36;
	--mdsf-mint: #70c7a7;
	--mdsf-mint-light: #eefaf6;
	--mdsf-ink: #15182c;
	--mdsf-muted: #637173;
	--mdsf-white: #fff;
	--mdsf-border: #dce9e5;
	--mdsf-shadow: 0 18px 50px rgba(9, 14, 54, .11);
	--mdsf-radius: 18px;
	--mdsf-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--mdsf-ink);
	background: var(--mdsf-white);
	font-family: Montserrat, "Segoe UI", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; height: auto; }
a { color: #285f52; text-underline-offset: .18em; }
a:hover { color: var(--mdsf-navy); }
h1, h2, h3, h4 {
	margin: 0 0 .65em;
	color: var(--mdsf-navy);
	font-family: "All Round Gothic", Montserrat, "Segoe UI", sans-serif;
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); }
h4 { color: #508e7b; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
p, ul, ol, table { margin: 0 0 1.25em; }
blockquote { margin: 2rem 0; padding: 1rem 1.4rem; border-left: 5px solid var(--mdsf-mint); background: var(--mdsf-mint-light); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem; border: 1px solid var(--mdsf-border); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
	top: 10px; left: 10px; z-index: 99999;
	width: auto; height: auto; padding: .7rem 1rem; margin: 0;
	clip: auto; background: white; color: var(--mdsf-navy); border-radius: 8px;
}
:focus-visible { outline: 3px solid #e0507e; outline-offset: 3px; }

.mdsf-container, .mdsf-row, .entry-header, .entry-content > :not(.mdsf-section), .posts-page, .not-found {
	width: min(calc(100% - 40px), var(--mdsf-width));
	margin-inline: auto;
}
.site-main { min-height: 45vh; overflow: hidden; }

.site-header {
	position: fixed; top: 10px; left: 0; right: 0; z-index: 1000;
	background: transparent;
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 2rem;
	width: min(calc(100% - 40px), 1320px); min-height: 54px; margin-inline: auto;
}
.site-branding img { width: auto; max-width: 175px; max-height: 58px; object-fit: contain; }
.primary-navigation { margin-left: auto; }
.mdsf-menu, .footer-menu {
	display: flex; align-items: center; gap: clamp(.65rem, 1.5vw, 1.4rem);
	margin: 0; padding: 0; list-style: none;
}
.mdsf-menu a {
	display: block; padding: .65rem .15rem; color: var(--mdsf-navy);
	font-size: .88rem; font-weight: 750; line-height: 1.25; text-decoration: none;
}
.mdsf-menu a:hover, .mdsf-menu .current-menu-item > a { color: #3f9d80; }
.menu-toggle { position: relative; z-index: 2; display: block; width: 50px; height: 50px; padding: 11px; border: 0; border-radius: 50%; background: white; box-shadow: 0 8px 24px rgba(9,14,54,.14); }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 3px; margin: 5px 0; background: var(--mdsf-navy); }
.primary-navigation { display: none; position: fixed; top: -10px; right: 0; width: min(420px, 100%); height: 100vh; overflow-y: auto; padding: 90px 34px 34px; background: white; box-shadow: -15px 0 45px rgba(9,14,54,.16); }
.primary-navigation.is-open { display: block; }
.primary-navigation .mdsf-menu { display: grid; gap: .25rem; }
.primary-navigation .mdsf-menu a { padding: .65rem; font-size: 1rem; }

.mdsf-section { position: relative; width: 100%; padding-block: 54px; background-repeat: no-repeat; }
.mdsf-row {
	display: flex; align-items: stretch; gap: 5.5%;
}
.mdsf-row + .mdsf-row { margin-top: 0; }
.mdsf-col { min-width: 0; flex: 1 1 0; }
.mdsf-col-1_2, .mdsf-col-2_4 { flex-basis: 50%; }
.mdsf-col-1_3 { flex-basis: 33.333%; }
.mdsf-col-2_3 { flex-basis: 66.666%; }
.mdsf-col-1_4 { flex-basis: 25%; }
.mdsf-col-3_4 { flex-basis: 75%; }
.mdsf-col-1_5 { flex-basis: 20%; }
.mdsf-col-2_5 { flex-basis: 40%; }
.mdsf-col-3_5 { flex-basis: 60%; }
.mdsf-col-4_5 { flex-basis: 80%; }
.mdsf-col-4_4 { flex-basis: 100%; }
.mdsf-col[style*="background-image"] { min-height: 330px; border-radius: var(--mdsf-radius); background-size: cover !important; }
.mdsf-text { max-width: 78ch; }
.mdsf-text[style*="color:#FFFFFF"] h1,
.mdsf-text[style*="color:#FFFFFF"] h2,
.mdsf-text[style*="color:#FFFFFF"] h3 { color: white; }

.mdsf-card {
	height: 100%; padding: 0; background: transparent; border: 0; box-shadow: none;
}
.mdsf-card .et_pb_blurb_content:empty { display: none; }
.mdsf-card img { width: auto; max-width: 100%; height: auto; margin: 0 auto 1.2rem; object-fit: contain; }
.mdsf-card > :last-child { margin-bottom: 0; }
.mdsf-image { margin: 0 0 1.4rem; }
.mdsf-image img { margin-inline: auto; }
.section_partenaires .mdsf-image {
	display: inline-flex; align-items: center; justify-content: center;
	width: calc(24% - 1rem); min-height: 120px; padding: .9rem; vertical-align: middle;
}
.section_partenaires .mdsf-image img { max-height: 110px; object-fit: contain; }
.et_pb_image_wrap { display: inline-block; max-width: 100%; }
.et_pb_blurb_content { position: relative; max-width: 550px; margin: 0 auto; }
.et_pb_main_blurb_image { margin-bottom: 18px; text-align: center; }
.et_pb_blurb_container { position: relative; }
.mdsf-divider { height: 4px; width: 76px; margin: 1.5rem 0; border: 0; background: var(--mdsf-mint); }
.mdsf-video { overflow: hidden; border-radius: var(--mdsf-radius); box-shadow: var(--mdsf-shadow); background: #000; }
.mdsf-video video { width: 100%; }
.mdsf-animated-heading { text-align: center; color: #4e9f86; }
.mdsf-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mdsf-gallery-item { margin: 0; overflow: hidden; border-radius: 14px; background: #edf4f2; }
.mdsf-gallery-item img { width: 100%; height: 240px; object-fit: cover; }

.mdsf-button-wrap { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.mdsf-button-wrap[style*="center"], .mdsf-button-group { justify-content: center; }
.mdsf-button, button.mdsf-button, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: .78rem 1.45rem; border: 2px solid var(--mdsf-mint); border-radius: 999px;
	background: var(--mdsf-mint); color: #071f1b; font: inherit; font-weight: 800; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.mdsf-button:hover { transform: translateY(-2px); background: #8ed7bc; color: #071f1b; box-shadow: 0 8px 25px rgba(45,122,99,.25); }
.mdsf-tabs { display: grid; gap: .8rem; }
.mdsf-tab { padding: 1rem 1.2rem; border: 1px solid var(--mdsf-border); border-radius: 12px; background: white; }
.mdsf-tab summary { color: var(--mdsf-navy); font-weight: 800; cursor: pointer; }

.entry-header { padding: clamp(3.5rem, 8vw, 7rem) 0 1rem; text-align: center; }
.entry-title { max-width: 950px; margin-inline: auto; }
.entry-meta { color: var(--mdsf-muted); }
.entry-content { padding-bottom: 5rem; }
.entry-content > :not(.mdsf-section) { max-width: 850px; }
.entry-content > .mdsf-section + .mdsf-section { margin-top: 0; }
.post-navigation { width: min(calc(100% - 40px), 900px); margin: 2rem auto 5rem; }
.posts-page { padding-block: 5rem; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { overflow: hidden; border: 1px solid var(--mdsf-border); border-radius: var(--mdsf-radius); background: white; box-shadow: 0 10px 30px rgba(9,14,54,.07); }
.post-card__image img { width: 100%; height: 220px; object-fit: cover; }
.post-card__body { padding: 1.4rem; }
.post-card__body h2 { font-size: 1.45rem; }
.post-card__body a { color: inherit; text-decoration: none; }
.pagination { margin-top: 2.5rem; }
.not-found { padding-block: 6rem; text-align: center; }

.mdsf-form-shell { padding: clamp(1.2rem, 2vw, 2rem); border-radius: var(--mdsf-radius); background: rgba(255,255,255,.97); color: var(--mdsf-ink); }
.mdsf-form-shell h3 { font-size: 1.5rem; }
.mdsf-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.mdsf-form p { margin-bottom: 1rem; }
.mdsf-form label, .mdsf-form legend { color: var(--mdsf-navy); font-size: .92rem; font-weight: 750; }
.mdsf-form input:not([type="checkbox"]), .mdsf-form textarea, .mdsf-form select {
	display: block; width: 100%; margin-top: .35rem; padding: .75rem .85rem;
	border: 1px solid #b9cbc5; border-radius: 8px; background: white; color: var(--mdsf-ink); font: inherit;
}
.mdsf-form textarea { resize: vertical; }
.mdsf-form fieldset { margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--mdsf-border); border-radius: 10px; }
.mdsf-checks { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; }
.mdsf-checks label { font-weight: 500; }
.mdsf-form-consent { font-size: .86rem; }
.mdsf-form-notice { margin-bottom: 1rem; padding: .8rem 1rem; border-radius: 8px; font-weight: 700; }
.mdsf-form-notice--success { background: #d9f5e9; color: #16523d; }
.mdsf-form-notice--error { background: #ffe4ea; color: #7f1e38; }
.mdsf-honeypot { position: absolute !important; left: -10000px !important; }

.mdsf-emergency { padding-block: clamp(3rem, 6vw, 5rem); background: var(--mdsf-mint-light); }
.mdsf-emergency h2 { text-align: center; }
.mdsf-emergency ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding: 0; list-style: none; }
.mdsf-emergency li { display: grid; gap: .35rem; padding: 1.2rem; text-align: center; border-radius: 12px; background: white; }
.mdsf-emergency a { color: var(--mdsf-navy); font-size: 1.15rem; font-weight: 850; }
.site-footer { padding-top: clamp(2.5rem, 6vw, 6rem); background: white; color: white; }
.site-footer h2, .site-footer h3 { color: white; }
.site-footer a { color: white; }
.site-footer__panel { padding: clamp(2.5rem, 4vw, 4.5rem); background: var(--mdsf-navy); border-radius: 20px; }
.site-footer__intro { text-align: center; }
.site-footer__intro h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
.site-footer__intro > p { margin-bottom: .35rem; font-size: 1rem; }
.site-footer__form { width: 60%; margin: 2rem auto 0; }
.site-footer .mdsf-form-shell { padding: 20px 0; background: transparent; color: white; }
.site-footer .mdsf-form-shell h3 { display: none; }
.site-footer .mdsf-form label { color: white; font-family: "All Round Gothic", Montserrat, sans-serif; font-weight: 700; text-align: center; }
.site-footer .mdsf-form input:not([type="checkbox"]),
.site-footer .mdsf-form textarea,
.site-footer .mdsf-form select { border: 1px solid white; border-radius: 20px; background: transparent; color: white; text-align: center; }
.site-footer .mdsf-form-consent { text-align: center; }
.site-footer .mdsf-form > .mdsf-button { display: flex; margin: 20px auto 0; padding: 10px 30px; border: 0; border-radius: 23px; color: white; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 1.1rem; margin: 0; }
.site-footer__bottom { padding: 1.1rem 0 1.5rem; color: var(--mdsf-mint); }
.site-footer__bottom .mdsf-container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem 1rem; text-align: center; }
.site-footer__bottom p { margin: 0; font-family: "All Round Gothic", Montserrat, sans-serif; }
.site-footer__bottom a, .footer-menu a { color: var(--mdsf-mint); font-size: .9rem; }
.site-footer__bottom .social-links { flex-basis: 100%; }

@media (max-width: 1500px) {
	.site-header__inner { min-height: 54px; }
	.mdsf-emergency ul { grid-template-columns: repeat(3, 1fr); }
	.posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1501px) {
	.site-header__inner { width: min(calc(100% - 40px), 1540px); }
	.mdsf-menu { gap: .75rem; }
	.mdsf-menu a { font-size: .78rem; }
}

@media (max-width: 760px) {
	body { font-size: 14px; }
	.mdsf-container, .mdsf-row, .entry-header, .entry-content > :not(.mdsf-section), .posts-page, .not-found { width: min(calc(100% - 28px), var(--mdsf-width)); }
	.mdsf-section { padding-block: 30px; }
	.mdsf-row { flex-direction: column; gap: 1.25rem; }
	.mdsf-row[style*="background-color"] { padding: 1.5rem; border-radius: var(--mdsf-radius); }
	.mdsf-col { flex-basis: auto !important; width: 100%; }
	.mdsf-col[style*="background-image"] { min-height: 240px; }
	.section_partenaires .mdsf-image { width: calc(49% - .5rem); min-height: 95px; padding: .6rem; }
	.mdsf-gallery { grid-template-columns: 1fr 1fr; }
	.mdsf-gallery-item img { height: 180px; }
	.mdsf-emergency ul, .posts-grid { grid-template-columns: 1fr; }
	.site-footer__form { width: 90%; }
	.site-footer__bottom .mdsf-container { align-items: center; flex-direction: column; }
	.footer-menu { flex-wrap: wrap; }
}

@media (max-width: 520px) {
	.site-branding img { max-width: 155px; }
	.mdsf-form-grid, .mdsf-checks, .mdsf-gallery { grid-template-columns: 1fr; }
	.site-footer__form { width: 100%; }
	.mdsf-gallery-item img { height: auto; }
	.section_partenaires .mdsf-image { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
