/* Thème Série Suivante. Couleurs, polices et largeurs : theme.json. */
:root {
	--st-bg: #111315;
	--st-bg-2: #16181b;
	--st-card: #1b1e21;
	--st-line: #2a2e33;
	--st-line-2: #343940;
	--st-text: #f1f2ee;
	--st-muted: #a0a6ab;
	--st-lime: #c8f04a;
	--st-lime-hover: #ddfa86;
	--st-lime-soft: #232a17;
	--st-lime-line: #3b4f1c;
	--st-gutter: clamp(16px, 4vw, 48px);
	--st-radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--st-lime); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; clip: auto; padding: 10px 14px; background: var(--st-lime); color: var(--st-bg); border-radius: 10px; }

/* Boutons du thème (en-tête, 404). */
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 14px; background: var(--st-lime); color: var(--st-bg); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; }
.st-btn:hover { background: var(--st-lime-hover); color: var(--st-bg); }

/* En-tête. */
.st-header { position: sticky; top: 0; z-index: 50; background: rgba(17, 19, 21, 0.88); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--st-line); }
.admin-bar .st-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .st-header { top: 46px; } }
.st-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 0 var(--st-gutter); }
.st-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--st-text); text-decoration: none; font-family: var(--wp--preset--font-family--space-grotesk); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.st-logo:hover { color: var(--st-text); }
.st-logo svg { width: 34px; height: 34px; flex: none; }
.st-logo b { color: var(--st-lime); }
.custom-logo { max-height: 40px; width: auto; }
.st-nav { display: flex; align-items: center; gap: 22px; }
.st-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.st-nav ul a { color: var(--st-muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.st-nav ul a:hover, .st-nav .current-menu-item > a { color: var(--st-text); }
.st-menu-toggle { display: none; appearance: none; width: 44px; height: 44px; border: 1px solid var(--st-line-2); border-radius: 12px; background: transparent; color: var(--st-text); cursor: pointer; align-items: center; justify-content: center; }
.st-menu-toggle svg { width: 20px; height: 20px; }
.st-mobile-menu { padding: 8px var(--st-gutter) 20px; border-top: 1px solid var(--st-line); }
.st-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.st-mobile-menu a { display: block; padding: 12px 0; color: var(--st-text); text-decoration: none; font-size: 17px; border-bottom: 1px solid var(--st-line); }
@media (max-width: 760px) {
	.st-nav ul { display: none; }
	.st-menu-toggle.has-menu { display: inline-flex; }
}
@media (min-width: 761px) { .st-mobile-menu { display: none !important; } }

/* Contenu. */
.st-page-head { padding-top: clamp(40px, 8vw, 90px); padding-bottom: 8px; }
.st-content { padding-bottom: clamp(48px, 8vw, 96px); }
.st-meta { color: var(--st-muted); font-size: 14px; }
.entry-content p, .entry-content li { color: #d7dad6; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--st-lime); }
.entry-content img { border-radius: 14px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--st-line); text-align: left; }
.entry-content > .alignfull:first-child { margin-top: 0; }

/* Classes et styles de blocs (accueil et pages). */
.st-kicker { margin-bottom: 0.25rem; font-size: 13px !important; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--st-lime) !important; }
.st-lead { font-size: clamp(1.125rem, 2vw, 1.3125rem); color: #c9ccc7 !important; }
.st-note { font-size: 14px; color: var(--st-muted) !important; }
.st-hero { position: relative; overflow: hidden; padding-top: clamp(40px, 8vw, 110px); padding-bottom: clamp(48px, 8vw, 110px); }
.st-hero::before { content: ""; position: absolute; inset: auto -20% -60% 30%; height: 90%; background: radial-gradient(closest-side, rgba(200, 240, 74, 0.16), transparent); pointer-events: none; }
.st-hero > * { position: relative; }
.st-hero h1 mark { background: transparent; color: var(--st-lime); }
.st-phone { margin: 0 auto; width: min(320px, 78vw); }
.st-phone img { display: block; width: 100%; height: auto; border-radius: 34px; box-shadow: 0 0 0 10px #050607, 0 0 0 11px #2c3136, 0 40px 80px rgba(0, 0, 0, 0.55); }
.st-band { padding-top: clamp(48px, 8vw, 100px); padding-bottom: clamp(48px, 8vw, 100px); border-top: 1px solid var(--st-line); }
.wp-block-group.is-style-bandeau { background: var(--st-bg-2); }
.wp-block-group.is-style-carte { height: 100%; background: var(--st-card); border: 1px solid var(--st-line); border-radius: var(--st-radius); padding: 24px; }
.wp-block-group.is-style-carte p { color: var(--st-muted); font-size: 16px; margin: 0; }
.wp-block-group.is-style-carte h3 { margin: 0 0 8px; }
.wp-block-group.is-style-encadre-lime { background: var(--st-lime-soft); border: 1px solid var(--st-lime-line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); }
.wp-block-group.is-style-encadre-lime p { color: #c9d9a6; }
.wp-block-button.is-style-contour .wp-block-button__link { background: transparent; color: var(--st-text); border: 1px solid var(--st-line-2); }
.wp-block-button.is-style-contour .wp-block-button__link:hover { background: var(--st-card); color: var(--st-text); }
.wp-block-columns.is-style-cartes { gap: 16px; }
.wp-block-columns.is-style-cartes > .wp-block-column { display: flex; flex-direction: column; }
ol.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
ol.st-steps li { counter-increment: st; background: var(--st-card); border-radius: var(--st-radius); padding: 24px; border: 1px solid var(--st-line); color: var(--st-muted); font-size: 16px; }
ol.st-steps li::before { content: counter(st); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 18px; background: var(--st-lime); color: var(--st-bg); font: 700 16px var(--wp--preset--font-family--space-grotesk); }
ol.st-steps strong { display: block; color: var(--st-text); font-family: var(--wp--preset--font-family--space-grotesk); font-size: 19px; margin-bottom: 6px; }
@media (max-width: 860px) { ol.st-steps { grid-template-columns: minmax(0, 1fr); } }

/* Articles et listes. */
.st-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.st-list article { background: var(--st-card); border-radius: var(--st-radius); border: 1px solid var(--st-line); }
.st-list article a { color: inherit; text-decoration: none; display: block; padding: 20px; }
.st-list h2 { font-size: 22px; margin: 6px 0 8px; }
.st-list p { color: var(--st-muted); font-size: 15px; margin: 0; }
.st-pagination { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.st-pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--st-card); color: var(--st-text); text-decoration: none; }
.st-pagination .current { background: var(--st-lime); color: var(--st-bg); }

/* Pied de page. */
.st-footer { border-top: 1px solid var(--st-line); padding: 32px var(--st-gutter) 40px; color: var(--st-muted); font-size: 14px; }
.st-footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.st-footer p { margin: 0; }
.st-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.st-footer a { color: var(--st-muted); text-decoration: none; }
.st-footer a:hover { color: var(--st-text); }

/* Formulaires. */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea, select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--st-line-2); border-radius: 12px; background: var(--st-bg); color: var(--st-text); font: inherit; }
textarea { min-height: 140px; }

/* Gabarit « App plein écran ». */
body.st-app-body { overflow: hidden; }
