/* Réseau Alsace Québec — feuille du site
   Bleu du Québec, rouge de l’Alsace, sur un fond blanc franc.
   Seuils : 1160, 940, 720, 480 (ceux du thème). */

:root {
	--ink: #14213d;
	--muted: #4a5870;
	--line: #dbe2ec;
	--paper: #ffffff;
	--soft: #f1f4f9;
	--purple: #0b4ea2;
	--purple-fonce: #083b7c;
	--pink: #c8102e;
	--pink-fonce: #a20d25;
	--night: #0d1b34;
	--lavender: #dce7f6;
	--radius: 10px;
	--radius-petit: 6px;
	--container: 1160px;
	--gouttiere: clamp(20px, 4vw, 40px);
	--police-texte: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--police-titre: "Charter", "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
	--ombre: 0 1px 2px rgb(13 27 52 / 6%), 0 8px 24px rgb(13 27 52 / 6%);
	--ombre-forte: 0 2px 4px rgb(13 27 52 / 8%), 0 18px 40px rgb(13 27 52 / 12%);
	--rythme: clamp(64px, 9vw, 112px);
}

/* ---------------------------------------------------------------- base */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--police-texte);
	font-size: 1.0625rem;
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--purple-fonce); }

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

h1, h2, h3 {
	font-family: var(--police-titre);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 .5em;
	color: var(--ink);
	text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0 0 1em; }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gouttiere);
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--night);
	color: #fff;
	border-radius: var(--radius-petit);
	text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------------------------------------------------------------- boutons */

.btn,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 48px;
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 650;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn .icon,
.button .icon { transition: transform .2s ease; }
.btn:hover .icon,
.button:hover .icon { transform: translateX(3px); }

.btn-primary,
.button-primary { background: var(--pink); color: #fff; }
.btn-primary:hover,
.button-primary:hover { background: var(--pink-fonce); color: #fff; }

.btn-secondary { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-secondary:hover { background: var(--purple); color: #fff; }

.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { background: var(--lavender); color: var(--night); }

.btn-small { min-height: 40px; padding: 8px 18px; font-size: .95rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.text-link {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	font-weight: 650;
	color: var(--purple);
	text-decoration: none;
}
.text-link:hover { color: var(--purple-fonce); text-decoration: underline; }
.text-link .icon { transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(3px); }

/* Les surtitres : un trait bicolore, bleu puis rouge */
.kicker,
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-size: .95rem;
	font-weight: 650;
	color: var(--purple);
}
.kicker::before,
.eyebrow::before {
	content: "";
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--purple) 50%, var(--pink) 50%);
}

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }

/* ---------------------------------------------------------------- en-tête */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgb(255 255 255 / 94%);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: 76px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	text-decoration: none;
	flex: none;
}
.brand:hover { color: var(--ink); }
.brand-logo { max-height: 44px; width: auto; }
.brand-mot,
.brand-marque {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--police-titre);
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	white-space: nowrap;
}
.brand-mot::before {
	content: "";
	width: 12px;
	height: 26px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--purple) 50%, var(--pink) 50%);
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}

.nav-link,
.nav-group > summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border-radius: var(--radius-petit);
	color: var(--ink);
	font-weight: 550;
	text-decoration: none;
	cursor: pointer;
}
.nav-link:hover,
.nav-group > summary:hover { background: var(--soft); color: var(--purple); }
.nav-link[aria-current="page"] { color: var(--purple); box-shadow: inset 0 -2px 0 var(--pink); border-radius: 0; }

.nav-group { position: relative; }
.nav-group > summary { list-style: none; }
.nav-group > summary::-webkit-details-marker { display: none; }
.chevron { width: 12px; height: 12px; transition: transform .2s ease; }
.nav-group[open] .chevron { transform: rotate(180deg); }
.nav-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 260px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--ombre-forte);
}
.nav-dropdown a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--radius-petit);
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}
.nav-dropdown a:hover { background: var(--soft); }
.nav-dropdown small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }

.mobile-only { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.header-account { color: var(--ink); font-weight: 550; text-decoration: none; }

.lang-switch { position: relative; }
.lang-dropdown {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	padding: 6px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-petit);
	box-shadow: var(--ombre);
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-petit);
	background: #fff;
	color: var(--ink);
	cursor: pointer;
}

/* ---------------------------------------------------------------- sections */

main { display: block; }

.section { padding-block: var(--rythme); background: var(--paper); }
.section.soft { background: var(--soft); }
.section.dark { background: var(--night); color: #fff; }
.section.dark h2,
.section.dark h3 { color: #fff; }
.section.dark p { color: rgb(255 255 255 / 82%); }

.section-title { max-width: 720px; margin-bottom: 44px; }
.section-title h2 { margin-bottom: 14px; }
.section-title p { color: var(--muted); font-size: 1.1rem; margin: 0; }

.row-title {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	margin-bottom: 44px;
}
.row-title .section-title { margin-bottom: 0; }

/* ---------------------------------------------------------------- accueil */

.home-intro {
	position: relative;
	padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px);
	background: var(--paper);
}

.intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.intro-copy h1 { margin-bottom: 20px; }
.intro-foot { margin: 22px 0 0; font-size: .95rem; color: var(--muted); }

.media { margin: 0; }
.media img { width: 100%; border-radius: var(--radius); }

.media--hero { position: relative; }
.media--hero img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	box-shadow: var(--ombre-forte);
}
.media--hero::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	z-index: -1;
	border-radius: var(--radius);
	background: linear-gradient(135deg, var(--purple) 0 50%, var(--pink) 50% 100%);
}
.home-intro .container { position: relative; z-index: 0; }

/* ---------------------------------------------------------------- en-tête de page */

.page-hero {
	padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 80px);
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 22ch; margin-bottom: 18px; }
.page-hero .lead { margin-bottom: 0; }

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: clamp(24px, 4vw, 40px);
	font-size: .9rem;
	color: var(--muted);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--purple); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 550; }

/* ---------------------------------------------------------------- cartes */

.grid-2,
.grid-3,
.grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 30px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.card p + p { margin-top: .8em; }
.section:not(.soft) .card { background: var(--soft); border-color: transparent; }

a.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ombre-forte);
	border-color: var(--lavender);
	color: var(--ink);
}

.icon-badge {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 22px;
	border-radius: 12px;
	background: var(--lavender);
	color: var(--purple);
}
.icon-badge .icon { width: 26px; height: 26px; }
.grid-3 > .card:nth-child(3n + 2) .icon-badge { background: #fbe3e7; color: var(--pink-fonce); }

.tag {
	align-self: flex-start;
	margin-bottom: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--lavender);
	color: var(--purple-fonce);
	font-size: .85rem;
	font-weight: 650;
}

.card__media {
	margin: -30px -30px 24px;
	overflow: hidden;
	border-radius: var(--radius) var(--radius) 0 0;
}
.card__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform .5s ease;
}
a.card:hover .card__media img { transform: scale(1.04); }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

.use-card .text-link,
.feature-card .text-link { margin-top: auto; padding-top: 22px; }
.use-card p { margin-bottom: 0; }

.step-card { padding-top: 34px; }
.number {
	display: inline-block;
	margin-bottom: 18px;
	font-family: var(--police-titre);
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1;
	color: var(--pink);
}

.resource-kind { margin-bottom: 10px; font-size: .85rem; font-weight: 650; color: var(--purple); }

.feature-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: auto; padding-top: 20px; }
.feature-presentation { display: block; color: inherit; text-decoration: none; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter {
	padding: 8px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-weight: 550;
	cursor: pointer;
}
.filter[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.filter-count { color: var(--muted); font-size: .95rem; }
.empty { color: var(--muted); }

.note {
	margin-top: 28px;
	padding: 18px 22px;
	border-left: 4px solid var(--pink);
	border-radius: 0 var(--radius-petit) var(--radius-petit) 0;
	background: #fff;
	color: var(--ink);
}

/* ---------------------------------------------------------------- deux colonnes */

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 6vw, 88px);
}
.split .section-title { margin-bottom: 24px; }
.split.reverse > :first-child { order: 2; }

.media--split img { aspect-ratio: 16 / 10; object-fit: cover; box-shadow: var(--ombre); }

.feature-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.feature-list li {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
	padding: 20px 22px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.section:not(.soft) .feature-list li { background: var(--soft); border-color: transparent; }
.feature-list li > .icon {
	grid-row: span 2;
	width: 36px;
	height: 36px;
	padding: 8px;
	border-radius: 50%;
	background: var(--purple);
	color: #fff;
}
.feature-list strong { display: block; font-size: 1.08rem; line-height: 1.35; }
.feature-list span { color: var(--muted); }

/* ---------------------------------------------------------------- appels à l’action */

.wide-cta {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px 48px;
	padding: clamp(36px, 5vw, 64px);
	overflow: hidden;
	border-radius: calc(var(--radius) * 1.6);
	background: var(--night);
	color: #fff;
}
.wide-cta::after {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 10px;
	background: linear-gradient(180deg, var(--purple) 50%, var(--pink) 50%);
}
.wide-cta > div:first-child { max-width: 640px; }
.wide-cta h2 { color: #fff; }
.wide-cta p { margin: 0; color: rgb(255 255 255 / 82%); font-size: 1.1rem; }
.wide-cta .kicker { color: #fff; }
.wide-cta .kicker::before { background: linear-gradient(90deg, #fff 50%, var(--pink) 50%); }
.wide-cta .actions { margin-top: 0; }
.wide-cta .btn-secondary { color: #fff; border-color: rgb(255 255 255 / 60%); }
.wide-cta .btn-secondary:hover { background: #fff; border-color: #fff; color: var(--night); }

.cta-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
	padding: 32px clamp(24px, 4vw, 44px);
	border: 1px solid var(--line);
	border-left: 6px solid var(--pink);
	border-radius: var(--radius);
	background: #fff;
}
.cta-inline h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.cta-inline p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- questions, chiffres, logos */

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.faq summary {
	padding: 20px 24px;
	font-weight: 650;
	cursor: pointer;
	list-style-position: inside;
}
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.stat { padding: 26px; border-top: 3px solid var(--pink); background: #fff; border-radius: 0 0 var(--radius) var(--radius); }
.stat strong { display: block; font-family: var(--police-titre); font-size: 2.4rem; line-height: 1.1; color: var(--purple); }
.stat span { display: block; font-weight: 650; margin: 6px 0; }
.stat p { margin: 0; color: var(--muted); }

.logo-band .section-title { margin-bottom: 28px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; }
.logo-row img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logo-row a:hover img { filter: none; opacity: 1; }

.quote-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.quote-row.single { grid-template-columns: minmax(0, 760px); }
.quote { margin: 0; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 0 0 18px; font-family: var(--police-titre); font-size: 1.3rem; line-height: 1.45; }
.quote figcaption strong { display: block; }
.quote figcaption span { color: var(--muted); }

/* ---------------------------------------------------------------- tableau, galerie, vidéo */

.compare-table { overflow-x: auto; }
.compare-table table { width: 100%; border-collapse: collapse; background: #fff; }
.compare-table caption { text-align: left; color: var(--muted); padding-bottom: 12px; }
.compare-table th,
.compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.compare-table thead th { background: var(--soft); }
.striped tbody tr:nth-child(odd) { background: var(--soft); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery__item { margin: 0; }
.gallery__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.gallery__item figcaption { margin-top: 10px; font-size: .95rem; color: var(--muted); }

.video-heading { margin-bottom: 28px; }
.video-frame { display: block; width: 100%; border-radius: var(--radius); background: var(--night); }
.video-frame.is-playing { box-shadow: var(--ombre-forte); }
.video-caption { margin-top: 12px; color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------- tarifs */

.pricing-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pricing-card { display: flex; flex-direction: column; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.pricing-card.featured { border: 2px solid var(--purple); box-shadow: var(--ombre-forte); }
.price strong { font-family: var(--police-titre); font-size: 2rem; color: var(--ink); }
.unit { display: block; color: var(--muted); font-size: .95rem; }
.plan-desc { color: var(--muted); }
.plan-features { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.plan-features li { display: flex; gap: 10px; }
.plan-features .icon { color: var(--purple); margin-top: 3px; }
.pricing-card .btn { margin-top: auto; }

/* ---------------------------------------------------------------- texte long */

.article-title { max-width: 760px; margin-inline: auto; }
.article-body { max-width: 760px; margin-inline: auto; }
.article-body h3 { margin-top: 1.8em; }
.article-body p,
.article-body li { color: var(--ink); }

/* ---------------------------------------------------------------- articles */

.post-cover { margin: 0 0 32px; }
.post-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .95rem; }
.post-share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.post-card {
	display: flex;
	flex-direction: column;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.post-thumb { margin: -24px -24px 20px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.post-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------------------------------------------------------------- formulaires */

.nf-form-cont {
	max-width: 760px;
	padding: clamp(24px, 4vw, 40px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--ombre);
	position: relative;
}
.nf-form-cont form { display: grid; gap: 18px; }
.nf-form-cont label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; }
.nf-form-cont label span { color: var(--pink); }
.nf-form-cont input:not([type="submit"]),
.nf-form-cont select,
.nf-form-cont textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1px solid #b9c4d4;
	border-radius: var(--radius-petit);
	background: #fff;
	color: var(--ink);
	font: inherit;
}
.nf-form-cont textarea { min-height: 150px; resize: vertical; }
.nf-form-cont input:focus,
.nf-form-cont select:focus,
.nf-form-cont textarea:focus { outline: 3px solid var(--lavender); border-color: var(--purple); }
.nf-form-cont input[type="submit"],
.nf-form-cont button[type="submit"] { justify-self: start; }

/* Le thème habille le bouton d’envoi de Ninja Forms en sombre, avec un sélecteur
   à quatre classes : on repasse au-dessus pour retrouver le bouton du site. */
.section .nf-form-cont .nf-field-element input[type="submit"].btn-primary,
.nf-form-cont input[type="submit"].btn-primary {
	width: auto;
	min-height: 48px;
	padding: 12px 26px;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--pink);
	color: #fff;
	font: inherit;
	font-weight: 650;
	box-shadow: none;
	cursor: pointer;
	transition: background-color .2s ease;
}
.section .nf-form-cont .nf-field-element input[type="submit"].btn-primary:hover,
.section .nf-form-cont .nf-field-element input[type="submit"].btn-primary:focus-visible,
.nf-form-cont input[type="submit"].btn-primary:hover { background: var(--pink-fonce); color: #fff; }
.nf-loading-spinner { min-height: 40px; }
.ninja-forms-noscript-message { display: block; color: var(--muted); }
.jolifish-form-consent { max-width: 760px; margin: 16px 0 0; color: var(--muted); font-size: .9rem; }

.notice { padding: 14px 18px; border-radius: var(--radius-petit); background: var(--soft); }
.notice-success { background: #e4f4ea; }
.notice-warning { background: #fdf1dc; }
.notice-error { background: #fbe3e7; }

/* ---------------------------------------------------------------- pied de page */

.site-footer {
	padding-block: 64px 32px;
	background: var(--night);
	color: rgb(255 255 255 / 80%);
}
.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgb(255 255 255 / 14%);
}
.site-footer .brand { color: #fff; }
.footer-brand p { margin: 18px 0 0; max-width: 40ch; }
.footer-col h3 {
	margin-bottom: 14px;
	font-family: var(--police-texte);
	font-size: .95rem;
	font-weight: 700;
	color: #fff;
}
.footer-col a { display: block; padding: 5px 0; color: rgb(255 255 255 / 80%); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding-top: 24px;
	font-size: .9rem;
}
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a { color: rgb(255 255 255 / 80%); }
.footer-bottom a:hover { color: #fff; }

/* ---------------------------------------------------------------- réservation (fenêtre) */

.demo-booking-modal {
	width: min(920px, calc(100vw - 32px));
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	box-shadow: var(--ombre-forte);
}
.demo-booking-modal::backdrop { background: rgb(13 27 52 / 60%); }
.demo-booking-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.demo-booking-head h2 { font-size: 1.2rem; margin: 0; }
.demo-booking-close { border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink); }
.demo-booking-frame { display: block; width: 100%; height: 70vh; border: 0; }
.demo-booking-footer { padding: 12px 20px; border-top: 1px solid var(--line); font-size: .9rem; }

/* ---------------------------------------------------------------- mouvement */

/* « none » : le thème n’ajoute jamais est-visible à ces sections — on ne les masque donc pas. */
.js-anime .section[data-anime]:not([data-anime="none"]):not(.est-visible) .container { opacity: 0; }
.js-anime .section.est-visible .container { animation: raq-fondu .6s ease-out both; }
.js-anime .section.est-visible[data-anime="slide"] .container { animation-name: raq-glisse; }
.js-anime .section.est-visible[data-anime="zoom"] .container { animation-name: raq-zoom; }
.js-anime .section.est-visible[data-anime="none"] .container { animation: none; }

.section.est-visible .grid-2 > *,
.section.est-visible .grid-3 > *,
.section.est-visible .grid-4 > * {
	animation: raq-montee .55s ease-out backwards;
	animation-delay: calc(var(--i, 0) * 80ms + 120ms);
}

@keyframes raq-fondu { from { opacity: 0; } to { opacity: 1; } }
@keyframes raq-glisse { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes raq-zoom { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes raq-montee { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js-anime .section[data-anime]:not([data-anime="none"]):not(.est-visible) .container { opacity: 1; }
}

/* ---------------------------------------------------------------- paliers */

@media (max-width: 1160px) {
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.main-nav { gap: 0; }
}

@media (max-width: 940px) {
	.header-inner { min-height: 68px; gap: 16px; }
	.nav-toggle { display: inline-flex; }
	.header-actions { margin-left: auto; }

	.main-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		margin: 0;
		padding: 12px var(--gouttiere) 20px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 16px 30px rgb(13 27 52 / 10%);
	}
	.nav-open .main-nav { display: flex; }
	.main-nav .nav-link { padding: 14px 12px; font-size: 1.05rem; }
	.main-nav .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--pink); }
	.main-nav .nav-dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
	.mobile-only { display: inline-flex; }

	.intro-grid { grid-template-columns: minmax(0, 1fr); }
	.media--hero { max-width: 640px; margin-right: 18px; }

	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pricing-three { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
	.split { grid-template-columns: minmax(0, 1fr); }
	.split.reverse > :first-child { order: 0; }
	.footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.footer-brand { grid-column: 1 / -1; }
	.gallery-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
	body { font-size: 1rem; }
	.grid-2,
	.grid-3,
	.grid-4 { grid-template-columns: minmax(0, 1fr); }
	.card { padding: 24px; }
	.card__media { margin: -24px -24px 20px; }
	.wide-cta { padding: 32px 26px 36px; }
	.wide-cta::after { width: auto; height: 8px; top: auto; left: 0; background: linear-gradient(90deg, var(--purple) 50%, var(--pink) 50%); }
	.gallery-3 { grid-template-columns: minmax(0, 1fr); }
	.section-title { margin-bottom: 32px; }
}

@media (max-width: 480px) {
	.brand-mot,
	.brand-marque { font-size: 1.08rem; gap: 8px; }
	.brand-mot::before { width: 10px; height: 22px; }
	.header-register { display: none; }
	.actions .btn { width: 100%; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
	.feature-list li { grid-template-columns: 30px minmax(0, 1fr); padding: 18px; }
	.feature-list li > .icon { width: 30px; height: 30px; padding: 6px; }
	.media--hero::before { inset: 12px -12px -12px 12px; }
	.media--hero { margin-right: 12px; }
}
