/* ==========================================================================
   Jolifish Europe — feuille du site (kit Jolifish 1.15.3)
   La descente : chaque page part de la surface (ciel clair, la méduse qui
   flotte) et finit dans les abysses (bleu nuit, le néon comme une
   bioluminescence). Une seule police, Montserrat, en grands titres fins.
   Les classes visées sont celles que le moteur écrit (balisage.html).
   Seuils : 1160, 940, 720, 480 px — les mêmes que le thème.
   ========================================================================== */

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("/wp-content/uploads/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
}

:root {
	/* Jetons du kit (surchargés par site.tokens) */
	--ink: #0b2236;
	--muted: #3f5568;
	--line: #cfe0ee;
	--paper: #ffffff;
	--soft: #eaf4fc;
	--purple: #006d66;      /* accent foncé : le thème l’emploie sous du texte blanc */
	--pink: #ff7a59;        /* corail de la méduse : accents décoratifs */
	--night: #06192b;
	--radius: 18px;
	--container: 1200px;

	/* Dérivés */
	--sky-1: #cfe8fb;
	--sky-2: #e6f2fc;
	--sky-3: #f4f9fe;
	--neon: #28fff2;        /* néon Jolifish : fond des boutons d’action */
	--teal: var(--purple);  /* le néon assombri, lisible en texte (AA) */
	--coral-ink: #b8401f;   /* le corail assombri, lisible en texte (AA) */
	--neon-hover: #8afff8;
	--shadow-1: 0 1px 2px rgba(11, 34, 54, .06), 0 10px 30px -18px rgba(11, 34, 54, .28);
	--shadow-2: 0 2px 4px rgba(11, 34, 54, .06), 0 22px 44px -22px rgba(11, 34, 54, .34);
	--radius-s: 12px;
	--radius-l: 28px;
	--font: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--gutter: 40px;
	--section-y: 112px;
	--pad-card: 32px;
	--pad-l: 44px;
	--pad-xl: 64px;
	--rule: rgba(11, 34, 54, .16);      /* filets fins entre les éléments d’un index */
	--rule-dark: rgba(255, 255, 255, .16);
	--on-dark: #dce8f2;
	--on-dark-muted: #a9bfd1;
}

/* ---------------------------------------------------------------- Base */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 110px;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--ink);
	background-color: var(--sky-3);
	background-image: linear-gradient(170deg, var(--sky-1) 0, var(--sky-2) 34rem, var(--sky-3) 62rem);
	background-repeat: no-repeat;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

[hidden] { display: none !important; }

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

img { height: auto; display: block; }

a { color: var(--teal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
	margin: 0;
	font-weight: 500;
	color: var(--ink);
	text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

li,
td,
summary,
figcaption,
blockquote,
.feature-list span { text-wrap: pretty; }

strong { font-weight: 600; }

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

::selection { background: var(--neon); color: var(--ink); }

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

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	vertical-align: middle;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 12px 18px;
	background: var(--ink);
	color: var(--paper);
	border-radius: var(--radius-s);
	font-weight: 600;
	text-decoration: none;
}
.skip-link:hover,
.skip-link:focus { top: 16px; color: var(--paper); }

/* ---------------------------------------------------------------- Boutons */

.btn,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	min-height: 48px;
	padding: .8em 1.4em;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-size: .98rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary,
.button-primary {
	background: var(--neon);
	color: var(--ink);
	border-color: var(--neon);
}
.btn-primary:hover,
.button-primary:hover { background: var(--neon-hover); border-color: var(--neon-hover); color: var(--ink); }

.btn-secondary {
	background: transparent;
	color: var(--ink);
	border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--paper); }

.btn-light {
	background: var(--paper);
	color: var(--ink);
	border-color: var(--paper);
}
.btn-light:hover { background: var(--soft); border-color: var(--soft); color: var(--ink); }

.btn-small { min-height: 40px; padding: .55em 1.1em; font-size: .9rem; }

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

.text-link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	font-weight: 600;
	color: var(--teal);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: .35em;
	transition: color .2s var(--ease), text-underline-offset .2s var(--ease);
}
/* Pas de flèche décorative : le soulignement dit déjà que c’est un lien. */
.text-link .icon,
.btn .icon { display: none; }
a.text-link:hover { color: var(--ink); text-underline-offset: .22em; }

/* ---------------------------------------------------------------- En-tête */

.site-header {
	position: sticky;
	top: 0;
	z-index: 80;
	height: auto;
	padding-top: 14px;
	background: transparent;
	border-bottom: 0;
}

.header-inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 72px;
	padding-top: 10px;
	padding-bottom: 10px;
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	backdrop-filter: blur(16px) saturate(1.4);
	border-radius: var(--radius);
	box-shadow: var(--shadow-1);
	width: auto;
	height: auto;
	max-width: calc(var(--container) + 2 * var(--gutter) - 24px);
}

/* La barre se densifie dès qu’on quitte le haut de page (navigateurs récents). */
@supports (animation-timeline: scroll()) {
	.header-inner {
		animation: entete-defile linear both;
		animation-timeline: scroll(root);
		animation-range: 0 140px;
	}
}
@keyframes entete-defile {
	from { background-color: rgba(255, 255, 255, .7); }
	to { background-color: rgba(255, 255, 255, .95); box-shadow: var(--shadow-2); }
}

.brand {
	display: inline-flex;
	align-items: center;
	flex: none;
	color: var(--ink);
	text-decoration: none;
}
.brand-logo { width: auto; height: 38px; }
.brand-mot { font-size: 1.35rem; font-weight: 600; letter-spacing: .02em; }
.brand-marque { display: inline-flex; }

.main-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0 auto;
	font-size: 1rem;
	font-weight: 400;
}

.nav-link,
.nav-group > summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: .95rem;
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--ease);
}
.nav-link:hover,
.nav-group > summary:hover,
.nav-group[open] > summary { background: var(--soft); color: var(--ink); }
.nav-link[aria-current],
.nav-group > summary[aria-current] { box-shadow: inset 0 -2px 0 var(--neon); 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; stroke-width: 1.6; transition: transform .2s var(--ease); }
.nav-group[open] .chevron { transform: rotate(180deg); }

.nav-dropdown {
	border: 0;
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	z-index: 60;
	display: grid;
	gap: 2px;
	width: min(340px, 86vw);
	padding: 10px;
	background: var(--paper);
	border-radius: var(--radius);
	box-shadow: var(--shadow-2);
	transform: translateX(-50%);
}
.nav-dropdown a {
	display: grid;
	gap: 2px;
	padding: 10px 14px;
	border-radius: var(--radius-s);
	font-weight: 600;
	font-size: .95rem;
	color: var(--ink);
	text-decoration: none;
}
.nav-dropdown a:hover,
.nav-dropdown a[aria-current] { background: var(--soft); }
.nav-dropdown small { font-size: .82rem; font-weight: 400; color: var(--muted); }

.mobile-only { display: none; }

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}
.header-account {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--soft);
	font-size: .9rem;
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
	transition: background-color .2s var(--ease);
}
.header-account svg { width: 20px; height: 20px; }
.header-account:hover { background: var(--line); color: var(--ink); }

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--soft);
	color: var(--ink);
	cursor: pointer;
}

.lang-switch { position: relative; font-size: .9rem; }
.lang-dropdown {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	display: grid;
	padding: 8px;
	background: var(--paper);
	border-radius: var(--radius-s);
	box-shadow: var(--shadow-2);
}
.lang-dropdown a { padding: 6px 12px; color: var(--ink); text-decoration: none; }

/* ---------------------------------------------------------------- Accueil */

/* La surface : un très grand titre fin, et la méduse qui flotte à côté, sans cadre. */
.home-intro { position: relative; padding: 72px 0 120px; overflow: clip; }

.intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, .62fr);
	align-items: center;
	gap: 24px;
}
.intro-copy { position: relative; z-index: 2; }

.intro-copy h1 {
	font-size: clamp(2.8rem, 5vw, 4.4rem);
	font-weight: 300;
	line-height: .98;
	letter-spacing: -.05em;
}

.eyebrow {
	display: block;
	margin-bottom: 16px;
	font-size: .95rem;
	font-weight: 600;
	color: var(--teal);
}

.home-intro .lead,
.page-hero .lead {
	max-width: 56ch;
	margin-top: 32px;
	font-size: clamp(1.1rem, 1.5vw, 1.25rem);
	line-height: 1.6;
	color: var(--muted);
}

.intro-foot {
	margin-top: 28px;
	font-size: .95rem;
	color: var(--muted);
}

/* La méduse est détourée : elle flotte librement, plus grande que sa colonne. */
.media--hero {
	position: relative;
	justify-self: center;
	width: min(118%, 470px);
	margin: -56px -6% -40px 0;
	overflow: visible;
	border-radius: 0;
	background: none;
	box-shadow: none;
}
.media--hero img {
	width: 100%;
	height: auto;
	object-fit: contain;
	transform-origin: 50% 20%;
	animation: derive 11s ease-in-out infinite alternate;
}

/* Le seul mouvement automatique du site : la méduse dérive, lentement. */
@keyframes derive {
	0% { transform: translateY(0) rotate(-1.2deg); }
	100% { transform: translateY(-28px) rotate(1.4deg); }
}

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

.page-hero { padding: 64px 0 72px; }

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin-bottom: 28px;
	font-size: .9rem;
	color: var(--muted);
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }

.page-hero h1 {
	max-width: 23ch;
	font-size: clamp(2.6rem, 5.2vw, 4.5rem);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -.045em;
}

.kicker {
	display: block;
	margin-bottom: 12px;
	font-size: 1rem;
	font-weight: 600;
	color: var(--teal);
}

/* ---------------------------------------------------------------- Sections */

.section { padding: var(--section-y) 0; }

.section.soft {
	background-color: var(--sky-2);
	background-image: linear-gradient(180deg, var(--sky-1), var(--sky-2) 70%);
}

.section.dark {
	background: var(--night);
	color: #e8f1f8;
}
.section.dark h2,
.section.dark h3 { color: var(--paper); }
.section.dark .section-title p { color: #c4d4e1; }
.section.dark a:not(.btn) { color: var(--paper); }

.section-title { max-width: 760px; }
.section-title h2 {
	font-size: clamp(2.2rem, 4.2vw, 3.6rem);
	font-weight: 300;
	line-height: 1.04;
	letter-spacing: -.035em;
}
.section-title p {
	margin-top: 18px;
	font-size: 1.1rem;
	color: var(--muted);
	max-width: 56ch;
}

.section-title + .grid-2,
.section-title + .grid-3,
.section-title + .grid-4,
.section-title + .faq,
.section-title + .gallery,
.section-title + .compare-table,
.section-title + .stats-row,
.section-title + .filters,
.row-title + .grid-2,
.row-title + .grid-3,
.row-title + .grid-4 { margin-top: clamp(36px, 4vw, 52px); }

.row-title {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 40px;
}
.row-title > .text-link { margin-bottom: 6px; }

/* ---------------------------------------------------------------- Grilles et cartes */

.grid-2,
.grid-3,
.grid-4 {
	display: grid;
	gap: 56px 40px;
}
.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)); }

/* Pas de boîtes : un index. Chaque élément est posé sous un filet fin ;
   ceux qui ont une image sont portés par l’image. */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding: 28px 0 0;
	background: none;
	border-top: 1px solid var(--rule);
	border-radius: 0;
	box-shadow: none;
	color: var(--ink);
	text-decoration: none;
}
.card:has(> .card__media),
.card:has(> .post-thumb),
.post-card { padding-top: 0; border-top: 0; }
.card h3 {
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -.01em;
}
.card p { max-width: 54ch; color: var(--muted); font-size: 1rem; }
.card > .text-link { margin-top: auto; padding-top: 8px; }

a.card h3 { transition: color .2s var(--ease); }
a.card:hover { color: var(--ink); }
a.card:hover h3 { color: var(--teal); }

/* Carte cliquable : le lien de pied reste aligné en bas de la carte. */
.use-card { height: 100%; }
.use-card > .text-link { margin-top: auto; padding-top: 8px; }

/* Icône et titre côte à côte */
.card:has(> .icon-badge) {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-content: start;
	column-gap: 14px;
	row-gap: 12px;
}
.card:has(> .icon-badge) > :not(.icon-badge):not(h3) { grid-column: 1 / -1; }
.card:has(> .icon-badge) > h3 { align-self: center; }
.card:has(> .icon-badge) > .text-link { align-self: end; }

.icon-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	border-radius: 0;
	background: none;
	color: var(--teal);
}
.icon-badge .icon { width: 24px; height: 24px; }

.tag,
.resource-kind {
	align-self: flex-start;
	font-size: .85rem;
	font-weight: 600;
	color: var(--teal);
}
.tag {
	padding: 4px 12px;
	background: var(--soft);
	border-radius: 999px;
	color: var(--ink);
}
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; }

.card > .card__media,
.card > .post-thumb {
	margin: 0 0 10px;
	overflow: hidden;
	border-radius: var(--radius-l);
	background: var(--soft);
}
.card .card__media img,
.card .post-thumb img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform .5s var(--ease);
}
a.card:hover .card__media img,
a.card:hover .post-thumb img { transform: scale(1.03); }
/* Les visuels qui sont des logos restent entiers, posés sur fond blanc. */
.card .card__media img[src*="logo"] {
	object-fit: contain;
	padding: 28px;
	background: var(--paper);
}
.tag { background: rgba(255, 255, 255, .7); }

/* Étapes et chronologie */
.step-card .number {
	font-size: clamp(2.6rem, 3.6vw, 3.4rem);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--coral-ink);
	font-variant-numeric: tabular-nums;
}

.resource-card h3 { font-size: 1.15rem; }

.feature-card,
.feature-presentation { display: flex; flex-direction: column; gap: 12px; }
.feature-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; }

.note {
	margin-top: 28px;
	max-width: 62ch;
	padding: 18px 24px;
	border-radius: var(--radius-s);
	background: rgba(40, 255, 242, .16);
	color: var(--ink);
}

/* Filtres */
.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.filter {
	min-height: 42px;
	padding: 8px 16px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	font: inherit;
	font-size: .92rem;
	font-weight: 500;
	color: var(--ink);
	cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"],
.filters .filter[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
a.filter { display: inline-flex; align-items: center; text-decoration: none; }
.filter-count { margin: 18px 0 0; font-size: .92rem; color: var(--muted); }
.filter-count + .grid-2,
.filter-count + .grid-3,
.filter-count + .grid-4 { margin-top: 20px; }
.empty { margin-top: 24px; color: var(--muted); }

/* ---------------------------------------------------------------- Deux colonnes */

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

.feature-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--rule);
}
.feature-list li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 18px;
	row-gap: 4px;
	padding: 22px 0;
	background: none;
	border-top: 1px solid var(--rule);
	border-radius: 0;
	box-shadow: none;
}
.feature-list .icon {
	grid-row: span 2;
	width: 24px;
	height: 24px;
	margin-top: 2px;
	color: var(--teal);
}
.feature-list strong { font-size: 1.05rem; font-weight: 600; }
.feature-list span { color: var(--muted); font-size: .98rem; }

.media { margin: 0; }
.media--split img {
	width: 100%;
	max-height: 600px;
	object-fit: cover;
	border-radius: var(--radius-l);
	box-shadow: var(--shadow-1);
}

/* ---------------------------------------------------------------- Appels à l’action */

/* Les abysses : le dernier appel à l’action occupe toute la largeur et se
   fond dans le pied de page. Le néon n’apparaît que là, comme une lumière. */
.section:has(> .container > .wide-cta) {
	padding: 136px 0 112px;
	background-color: var(--night);
	background-image: linear-gradient(180deg, #0c3150 0%, var(--night) 62%);
	color: var(--on-dark);
}
.wide-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 40px 64px;
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--on-dark);
}
/* Les titres coupés à la main (<br>) gardent leurs lignes : pas d’équilibrage. */
.page-hero h1:has(br),
.wide-cta h2:has(br) { text-wrap: pretty; }
.wide-cta h2 {
	max-width: 19ch;
	font-size: clamp(2.6rem, 5.2vw, 4.6rem);
	font-weight: 300;
	line-height: 1;
	color: var(--paper);
	letter-spacing: -.045em;
}
.wide-cta p { margin-top: 28px; max-width: 52ch; font-size: 1.12rem; color: var(--on-dark-muted); }
.wide-cta .kicker { color: var(--paper); }
.wide-cta .actions { margin-top: 0; justify-content: flex-end; }
.wide-cta .btn-primary { background: var(--neon); border-color: var(--neon); color: var(--ink); }
.wide-cta .btn-primary:hover { background: var(--paper); border-color: var(--paper); }
.wide-cta .btn-light { background: transparent; color: var(--paper); border-color: rgba(255, 255, 255, .55); }
.wide-cta .btn-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.wide-cta a:focus-visible { outline-color: var(--paper); }
.wide-cta .btn-secondary { color: var(--paper); border-color: var(--paper); }

.cta-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
	padding: var(--pad-l);
	border-radius: var(--radius-l);
	background: var(--paper);
	box-shadow: var(--shadow-1);
}
.cta-inline h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 300; line-height: 1.1; letter-spacing: -.03em; }
.cta-inline p { margin-top: 10px; color: var(--muted); max-width: 56ch; }

/* Quand la page se termine par un appel court (articles, pages du thème), il
   descend lui aussi dans les abysses. */
main > .section:last-child:has(> .container > .cta-inline) {
	padding: 112px 0 96px;
	background-color: var(--night);
	background-image: linear-gradient(180deg, #0c3150 0%, var(--night) 62%);
}
main > .section:last-child > .container > .cta-inline {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}
main > .section:last-child > .container > .cta-inline h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); color: var(--paper); letter-spacing: -.04em; }
main > .section:last-child > .container > .cta-inline p { color: var(--on-dark-muted); font-size: 1.08rem; }
main > .section:last-child > .container > .cta-inline a:focus-visible { outline-color: var(--paper); }

/* ---------------------------------------------------------------- FAQ */

.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary {
	position: relative;
	display: block;
	padding: 24px 52px 24px 0;
	font-size: 1.14rem;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	border-radius: 50%;
	background:
		linear-gradient(var(--ink), var(--ink)) center / 12px 1.6px no-repeat,
		linear-gradient(var(--ink), var(--ink)) center / 1.6px 12px no-repeat,
		var(--soft);
	transition: transform .25s var(--ease);
}
.faq details[open] summary::after {
	transform: rotate(45deg);
}
.faq summary:hover { color: var(--teal); }
.faq details p {
	max-width: 60ch;
	padding: 0 52px 24px 0;
	color: var(--muted);
}

/* ---------------------------------------------------------------- Tableau comparatif */

.compare-table {
	overflow-x: auto;
	padding: 8px;
	border-radius: var(--radius);
	background: var(--paper);
	box-shadow: var(--shadow-1);
}
.compare-table table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 1rem;
}
.compare-table caption {
	padding: 18px 24px 0;
	text-align: left;
	font-size: .9rem;
	color: var(--muted);
	caption-side: bottom;
	padding-bottom: 18px;
}
.compare-table th,
.compare-table td {
	padding: 16px 24px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--line);
}
.compare-table thead th {
	background: var(--soft);
	font-weight: 600;
}
.compare-table tbody th { font-weight: 600; width: 22%; }
.compare-table td { color: var(--muted); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }

/* ---------------------------------------------------------------- Chiffres, logos, citations */

.stats-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
}
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 300; line-height: 1; }
.stat span { display: block; margin-top: 10px; font-weight: 600; }
.stat p { margin-top: 6px; color: var(--muted); }

.logo-band .section-title { margin-bottom: 28px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.logo-row img { max-height: 48px; width: auto; }

.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: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.quote blockquote { margin: 0; font-size: 1.2rem; line-height: 1.5; }
.quote figcaption { margin-top: 18px; display: grid; gap: 2px; }
.quote figcaption span { color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------- Galerie */

.gallery { display: grid; gap: clamp(14px, 2vw, 24px); }
.gallery.gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery__item { margin: 0; }
.gallery .gallery__item img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
	background: var(--soft);
}
.gallery__item figcaption { margin-top: 10px; font-size: .92rem; color: var(--muted); }

/* ---------------------------------------------------------------- Vidéo, tarifs */

.video-heading { margin-bottom: 32px; }
.video-frame { width: 100%; border-radius: var(--radius-l); background: var(--night); }
.video-caption { margin-top: 12px; font-size: .92rem; color: var(--muted); }

.pricing-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pricing-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.pricing-card.featured { box-shadow: 0 0 0 2px var(--ink), var(--shadow-2); }
.price strong { font-size: 2rem; font-weight: 500; }
.unit { margin-left: 6px; color: var(--muted); font-size: .95rem; }
.plan-desc { color: var(--muted); }
.plan-features { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.plan-features li { display: flex; gap: 10px; }
.plan-features .icon { color: var(--teal); }
.pricing-card .btn { margin-top: auto; }

/* ---------------------------------------------------------------- Contenu long */

.article-title {
	max-width: 32ch;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	line-height: 1.2;
	letter-spacing: -.015em;
	margin-bottom: 28px;
}
.section > .container > .article-body { max-width: 58ch; }
.article-body { font-size: 1.08rem; line-height: 1.75; }
.article-body > * + * { margin-top: 1.1em; }
.article-body > h3 {
	margin-top: 2.1em;
	font-size: 1.32rem;
	font-weight: 600;
	line-height: 1.3;
}
.article-body > h3 + p { margin-top: .6em; }
.article-body > ul,
.article-body > ol { padding-left: 1.3em; }
.article-body > ul > li + li,
.article-body > ol > li + li { margin-top: .5em; }
.article-body > ul > li::marker,
.article-body > ol > li::marker { color: var(--teal); font-weight: 600; }
.article-body > p a,
.article-body > ul a,
.article-body > ol a { font-weight: 500; }

/* ---------------------------------------------------------------- Formulaires */

.jolifish-form { max-width: 880px; }
.jolifish-form .section-title { margin-bottom: 32px; }
.jolifish-form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
}
.jolifish-form-group { display: grid; gap: 8px; min-width: 0; }
.jolifish-form-group:has(textarea),
.jolifish-form-group:has(select),
.jolifish-form-group:has(button),
.jolifish-form-group:only-child { grid-column: 1 / -1; }
.jolifish-form-group label,
.jolifish-form-option label { font-weight: 600; font-size: .95rem; }

.jolifish-form input,
.jolifish-form select,
.jolifish-form textarea,
.nf-form-cont input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.nf-form-cont select,
.nf-form-cont textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-s);
	background: var(--paper);
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.jolifish-form textarea,
.nf-form-cont textarea { min-height: 160px; resize: vertical; }
.jolifish-form input:focus,
.jolifish-form select:focus,
.jolifish-form textarea:focus,
.nf-form-cont input:focus,
.nf-form-cont select:focus,
.nf-form-cont textarea:focus {
	outline: none;
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(0, 109, 102, .2);
}
.jolifish-form .btn,
.nf-form-cont input[type="submit"] { justify-self: start; }
.nf-form-cont input[type="submit"] {
	min-height: 48px;
	padding: .8em 1.6em;
	border: 0;
	border-radius: 999px;
	background: var(--neon);
	font: inherit;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
}
.nf-form-cont .nf-field-container { margin-bottom: 20px; }
.nf-form-cont .nf-field-label label { font-weight: 600; font-size: .95rem; }
.nf-form-cont .nf-error-msg,
.jolifish-form-error,
.notice-error { color: #b42318; font-size: .92rem; }
.nf-loading-spinner { min-height: 40px; }
.jolifish-form-consent { margin-top: 20px; font-size: .9rem; color: var(--muted); max-width: 64ch; }
.jolifish-form-done,
.notice-success { padding: 16px 20px; border-radius: var(--radius-s); background: rgba(40, 255, 242, .18); }
.notice-warning { padding: 16px 20px; border-radius: var(--radius-s); background: #fff4e5; }
.jolifish-form-trap { position: absolute; left: -9999px; }
.ninja-forms-noscript-message { color: var(--muted); }

/* Ninja Forms : la feuille du thème cible « .section .nf-form-cont … » ; on s’aligne dessus. */
.section .nf-form-cont { max-width: 880px; }
.section .nf-form-cont .nf-field-container .nf-field-label label,
.section .nf-form-cont .nf-field-container .nf-field-label .nf-label-span { font-size: .95rem; font-weight: 600; color: var(--ink); }
.section .nf-form-cont .nf-field-container .nf-field-element input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.section .nf-form-cont .nf-field-container .nf-field-element select,
.section .nf-form-cont .nf-field-container .nf-field-element textarea {
	min-height: 50px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-s);
	background: var(--paper);
	font-size: 1rem;
}
.section .nf-form-cont .nf-field-container .nf-field-element input[type="submit"],
.section .nf-form-cont .nf-field-container .nf-field-element input[type="button"],
.section .nf-form-cont .nf-field-container .nf-field-element input.btn.btn-primary {
	min-height: 52px;
	padding: .8em 1.8em;
	border: 0;
	border-radius: 999px;
	background: var(--neon);
	font-size: 1rem;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	transition: background-color .2s var(--ease);
}
.section .nf-form-cont .nf-field-container .nf-field-element input[type="submit"]:hover,
.section .nf-form-cont .nf-field-container .nf-field-element input.btn.btn-primary:hover { background: var(--neon-hover); color: var(--ink); }
.section .nf-form-cont .nf-form-fields-required { font-size: .85rem; color: var(--muted); }

/* ---------------------------------------------------------------- Blog (liste du thème) */

.post-card { display: flex; flex-direction: column; gap: 12px; }
.post-thumb { overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--soft); }
.post-cover { margin-bottom: 40px; }
.post-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.card .post-meta { margin: -4px 0 0; font-size: .88rem; color: var(--muted); }
main nav:has(.page-numbers) { margin-top: 56px; }
main nav:has(.page-numbers) > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
}
a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }
main .page-numbers[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------------------------------------------------------------- Article seul

   Le thème écrit l’en-tête de l’article, puis range nos sections dans
   « .article-body ». On en fait une colonne de lecture centrée, où les blocs
   (points clés, étapes, questions) deviennent des encadrés. */

.single-post .page-hero .container > *,
.single-post main > .section:has(> .container > .article-body) > .container { max-width: calc(820px + 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.single-post .page-hero .container > * { max-width: 820px; }
.single-post .page-hero { padding-bottom: 40px; }
.single-post .page-hero h1 { max-width: none; font-size: clamp(2rem, 4vw, 3.1rem); }
.single-post .page-hero a.kicker { display: inline-block; margin-bottom: 14px; text-decoration: none; }
.page-hero .post-meta { margin-top: 18px; font-size: .92rem; color: var(--muted); }

.single-post main > .section:has(.post-cover),
.single-post main > .section:has(> .container > .article-body) { padding-top: 0; }
.single-post .post-cover { max-width: none; margin: 0 0 48px; }
.single-post .post-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-l); box-shadow: var(--shadow-1); }

.single-post main > .section > .container > .article-body { max-width: none; font-size: 1.08rem; line-height: 1.75; }
.single-post .article-body > .section { margin-top: 56px; padding: 0; background: none; }
.single-post .article-body > .section:first-child { margin-top: 0; }
.single-post .article-body > .section > .container { max-width: none; padding: 0; }
/* Les blocs restent des cartes posées dans la colonne : pas de panneau autour, pour ne pas imbriquer de cartes. */
.single-post .article-body > .section.soft { padding-top: 56px; border-top: 1px solid var(--line); }
.single-post .article-body > .section:first-child .article-body { font-size: 1.22rem; line-height: 1.65; color: var(--muted); }
.single-post .article-body .article-body { max-width: 60ch; }
.single-post .article-body .section h2,
.single-post .article-body .section h3 { margin-top: 0; }
.single-post .article-body .article-body > h3 { margin-top: 2em; }
.single-post .article-body .feature-list { padding-left: 0; }
.single-post .post-cover img[src*="logo"] { object-fit: contain; background: var(--night); }
.single-post .article-body .article-title { max-width: none; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 20px; }
.single-post .article-body .section-title h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 400; letter-spacing: -.025em; }
.single-post .article-body .section-title p { font-size: 1.02rem; }
.single-post .article-body .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.single-post .article-body .container:has(> .faq) { display: block; }
.single-post .article-body .container:has(> .faq) > .faq { margin-top: 24px; }
.single-post .article-body .grid-2,
.single-post .article-body .grid-3,
.single-post .article-body .grid-4 { gap: 16px; }
.single-post .article-body { --pad-card: 24px; }
.single-post .article-body .card p { font-size: .97rem; }
.single-post .article-body .cta-inline { box-shadow: none; background: var(--paper); border: 1.5px solid var(--line); }

.post-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}
.post-share > span { margin-right: 6px; font-size: .92rem; color: var(--muted); }
.post-share a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 6px 16px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	font-size: .92rem;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
}
.post-share a:hover { border-color: var(--ink); }

@media (max-width: 720px) {
	.single-post .article-body .grid-3 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- Pied de page */

.site-footer {
	margin-top: 0;
	padding: 88px 0 32px;
	background: var(--night);
	border-top: 1px solid var(--rule-dark);
	font-size: .97rem;
	color: var(--on-dark);
}
.site-footer .brand-logo { filter: brightness(0) invert(1); }
/* Après le dernier appel à l’action, le pied de page continue le même fond, sans couture. */
body:has(main > .section:last-child > .container > .wide-cta) .site-footer,
body:has(main > .section:last-child > .container > .cta-inline) .site-footer { border-top: 0; padding-top: 24px; }
.site-footer .brand { color: var(--paper); }

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
}
.footer-brand p { margin-top: 18px; max-width: 30ch; font-size: .97rem; color: var(--on-dark-muted); }
.footer-brand > a:not(.brand) {
	display: inline-block;
	margin-top: 18px;
	font-weight: 600;
	color: var(--paper);
}
.footer-col { display: grid; align-content: start; gap: 10px; }
.site-footer .footer-col h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 600; color: var(--paper); }
.footer-col a { margin-top: 0; font-size: .97rem; color: var(--on-dark-muted); text-decoration: none; }
.footer-col a:hover { color: var(--paper); text-decoration: underline; }

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--rule-dark);
	font-size: .9rem;
	color: var(--on-dark-muted);
}
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom a { color: var(--on-dark-muted); }
.footer-bottom a:hover { color: var(--paper); }
.site-footer a:focus-visible { outline-color: var(--paper); }

/* ---------------------------------------------------------------- Prise de rendez-vous */

.demo-booking-modal {
	width: min(960px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	padding: 0;
	border: 0;
	border-radius: var(--radius-l);
	box-shadow: var(--shadow-2);
	overflow: hidden;
}
.demo-booking-modal::backdrop { background: rgba(6, 25, 43, .55); }
.demo-booking-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 24px;
	border-bottom: 1px solid var(--line);
}
.demo-booking-head h2 { font-size: 1.2rem; }
.demo-booking-close {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--soft);
	font-size: 1.5rem;
	line-height: 1;
	color: var(--ink);
	cursor: pointer;
}
.demo-booking-frame { display: block; width: 100%; height: min(70vh, 720px); border: 0; }
.demo-booking-footer { padding: 14px 24px; font-size: .92rem; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- Mise en page fine */

/* Cartes à icône : le lien reste aligné en bas, quelle que soit la longueur du texte. */
.card:has(> .icon-badge) { grid-template-rows: auto 1fr auto; }

/* Sous l’en-tête de page, une section sur le même fond démarre sans double marge. */
.page-hero + .section:not(.soft):not(.dark) { padding-top: 16px; }

/* Deux sections claires qui se suivent ne cumulent pas leurs marges. */
.section:not(.soft):not(.dark) + .section:not(.soft):not(.dark):not(:has(> .container > .wide-cta)):not(:last-child:has(> .container > .cta-inline)) { padding-top: 0; }

/* Titres dans une demi-colonne : un cran plus petits. */
.split .section-title h2 { font-size: clamp(2rem, 3.4vw, 3rem); }

/* Questions fréquentes : le titre à gauche, les réponses à droite. */
@media (min-width: 941px) {
	.container:has(> .faq) {
		display: grid;
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: start;
		gap: 56px;
	}
	.container:has(> .faq) > .section-title { position: sticky; top: 120px; }
	.container:has(> .faq) > .section-title h2 { font-size: clamp(2.1rem, 3.4vw, 3rem); }
	.single-post .article-body .container:has(> .faq) > .section-title h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
	.container:has(> .faq) > .faq { margin-top: 0; max-width: none; }
}

/* Formulaire : le titre à gauche, le formulaire dans un panneau à droite. */
.section .nf-form-cont { padding: 40px; border-radius: var(--radius-l); background: var(--paper); box-shadow: var(--shadow-1); }
.section .nf-form-cont .nf-field-container .nf-field-element textarea { min-height: 180px; }
.section .nf-form-cont .nf-field-container .nf-field-element input[type="submit"] { background-image: none; box-shadow: none; }
@media (min-width: 941px) {
	.container:has(> .nf-form-cont) {
		display: grid;
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		column-gap: 56px;
		align-items: start;
	}
	.container:has(> .nf-form-cont) > * { grid-column: 2; }
	.container:has(> .nf-form-cont) > .section-title { grid-column: 1; grid-row: 1 / span 6; position: sticky; top: 120px; }
}
@media (max-width: 720px) {
	.section .nf-form-cont { padding: 24px; }
}

/* Liste d’articles du thème : barre de filtres, et un visuel de marque pour les articles sans image. */
.section .container > .filters + .grid-2,
.section .container > .filters + .grid-3,
.section .container > .filters + .grid-4 { margin-top: 40px; }
.post-card:not(:has(> .post-thumb))::before {
	content: "";
	display: block;
	aspect-ratio: 3 / 2;
	margin: 0 0 10px;
	border-radius: var(--radius-l);
	/* Une colonne d’eau : de la surface vers le fond. */
	background: linear-gradient(180deg, var(--sky-1) 0%, #8fc3e6 58%, #0d3554 100%);
}

/* La bande sombre : texte clair, accents blancs. */
.section.dark .feature-list,
.section.dark .feature-list li { border-color: var(--rule-dark); }
.section.dark .feature-list strong { color: var(--paper); }
.section.dark .feature-list span { color: #c4d4e1; }
.section.dark .feature-list .icon { color: var(--paper); }
.section.dark .text-link { color: var(--paper); }

/* ---------------------------------------------------------------- Mouvement */

/* Les sections apparaissent par le moteur du thème (est-visible, --i) :
   la feuille n’ajoute rien, pour éviter deux animations superposées. */

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

/* ---------------------------------------------------------------- Paliers */

@media (max-width: 1160px) {
	:root { --section-y: 104px; }
	.main-nav { gap: 0; }
	.nav-link,
	.nav-group > summary { padding-left: 10px; padding-right: 10px; }
	.header-account { display: none; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
	:root { --gutter: 32px; --section-y: 96px; --pad-xl: 48px; }
	.home-intro { padding: 56px 0 72px; }
	.page-hero { padding: 48px 0 44px; }
	.nav-toggle { display: inline-flex; }
	.header-actions { margin-left: auto; }
	.site-header .main-nav {
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
		padding: 12px;
		background: var(--paper);
		border-radius: var(--radius);
		border-bottom: 0;
		box-shadow: var(--shadow-2);
		font-size: 1rem;
	}
	.nav-open .site-header .main-nav { display: flex; }
	.site-header .nav-toggle { display: inline-flex; padding: 0; border: 0; }
	.nav-link,
	.nav-group > summary {
		justify-content: space-between;
		width: 100%;
		padding: 12px 14px;
		border-radius: var(--radius-s);
		font-size: 1rem;
	}
	.nav-link[aria-current],
	.nav-group > summary[aria-current] { box-shadow: none; background: var(--soft); }
	.nav-dropdown {
		position: static;
		width: auto;
		padding: 4px 0 8px 8px;
		box-shadow: none;
		transform: none;
	}
	.mobile-only { display: flex; }

	.intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .55fr); }
	.split { grid-template-columns: minmax(0, 1fr); }
	.split.reverse > :first-child { order: 0; }
	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gallery.gallery-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wide-cta { grid-template-columns: minmax(0, 1fr); }
	.wide-cta .actions { justify-content: flex-start; }
}

@media (max-width: 720px) {
	:root { --gutter: 24px; --section-y: 80px; --pad-card: 26px; --pad-l: 32px; --pad-xl: 36px; }
	.site-footer { padding: 64px 0 28px; }
	body { font-size: 1rem; }
	.intro-grid { grid-template-columns: minmax(0, 1fr); }
	.intro-copy h1 { letter-spacing: -.04em; }
	.media--hero { order: -1; justify-self: end; width: min(56%, 230px); margin: -24px -8px -40px 0; }
	.wide-cta .actions { justify-content: flex-start; }
	.section:has(> .container > .wide-cta) { padding: 96px 0 80px; }
	.grid-2,
	.grid-3,
	.grid-4 { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
	.jolifish-form-row { grid-template-columns: minmax(0, 1fr); }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.faq summary { font-size: 1.02rem; }
	.faq details p { padding-right: 0; }
}

@media (max-width: 480px) {
	:root { --gutter: 20px; --section-y: 64px; --pad-card: 24px; --pad-l: 26px; --pad-xl: 28px; }
	.home-intro { padding: 32px 0 56px; }
	.page-hero { padding: 36px 0 36px; }
	.site-header { padding-top: 8px; }
	.header-inner { gap: 12px; min-height: 64px; }
	.brand-logo { height: 30px; }
	.header-register { padding: .5em .9em; font-size: .85rem; }
	.nav-toggle { width: 42px; height: 42px; }
	.gallery.gallery-3 { grid-template-columns: minmax(0, 1fr); }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
	.actions .btn { width: 100%; }
}
