/*
Theme Name: Zayan Computer
Description: Thème public de Zayan Computer (école professionnelle). Léger, accessible, sans ressource externe.
Version: 0.3.2
Requires PHP: 8.1
Text Domain: zayan
*/

:root {
	--zs-navy: #0b1a3d;
	--zs-navy-2: #14286b;
	--zs-blue: #1f3aa6;
	--zs-bg: #f4f5f7;
	--zs-line: #dde1e7;
	--zs-text: #1a1f2b;
	--zs-muted: #5b6475;
	--zs-gold: #a57c1b;
	--zs-focus: 0 0 0 3px #ffbf47;
	--zs-radius: 10px;
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
	margin: 0; color: var(--zs-text); background: #fff; line-height: 1.6;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--zs-blue); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; box-shadow: var(--zs-focus); }
.zs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.zs-skip { position: absolute; left: -9999px; background: #fff; padding: 8px 12px; z-index: 100; }
.zs-skip:focus { left: 8px; top: 8px; }
.zs-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.zs-main:focus { outline: none; }
h1, h2, h3 { color: var(--zs-navy); line-height: 1.25; }
h1 { font-size: 2rem; margin: 0 0 .6em; }
h2 { font-size: 1.45rem; margin: 1.6em 0 .6em; }
h3 { font-size: 1.1rem; }

/* En-tête */
.zs-header { background: #fff; border-bottom: 1px solid var(--zs-line); position: sticky; top: 0; z-index: 20; }
.zs-header-in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.zs-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--zs-navy); font-weight: 700; font-size: 1.1rem; }
.zs-brand img { width: 64px; height: auto; }
.zs-nav { margin-left: auto; }
.zs-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.zs-nav a { display: block; padding: 8px 12px; color: var(--zs-text); text-decoration: none; border-radius: 6px; }
.zs-nav a:hover { background: var(--zs-bg); }
.zs-nav a[aria-current="page"] { color: var(--zs-navy); font-weight: 700; box-shadow: inset 0 -3px 0 var(--zs-navy); border-radius: 0; }
.zs-menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--zs-line); border-radius: 6px; padding: 8px 12px; font-size: 1.1rem; cursor: pointer; }

/* Boutons */
.zs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 10px 20px; border-radius: 8px; background: var(--zs-navy); color: #fff !important; text-decoration: none; font-weight: 600; border: 2px solid var(--zs-navy); cursor: pointer; font-size: 1rem; }
.zs-btn:hover { background: var(--zs-navy-2); }
.zs-btn-outline { background: transparent; color: var(--zs-navy) !important; }
.zs-btn-outline:hover { background: var(--zs-bg); }
.zs-btn-light { background: #fff; color: var(--zs-navy) !important; border-color: var(--zs-navy); min-height: 40px; padding: 6px 16px; }
.zs-btn-light:hover { background: var(--zs-bg); }
.zs-hero .zs-btn { background: #fff; color: var(--zs-navy) !important; border-color: #fff; }
.zs-hero .zs-btn-outline { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.7); }
.zs-hero .zs-btn-outline:hover { background: rgba(255,255,255,.08); }

/* Accueil */
.zs-hero { background: var(--zs-navy); color: #fff; padding: 56px 0 64px; }
.zs-hero-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.zs-hero h1 { color: #fff; font-size: 2.4rem; margin-bottom: .3em; }
.zs-hero .zs-slogan-hero { font-size: 1.15rem; font-style: italic; color: #e9d9a8; margin: 0 0 1.2em; }
.zs-hero p { color: #dfe4f1; }
.zs-hero-logos { text-align: center; }
.zs-hero-logos .zs-emb { width: 100%; max-width: 440px; }
.zs-hero-logos .zs-hex { width: 150px; margin-top: 10px; }
.zs-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.zs-section { padding: 48px 0; }
.zs-section-alt { background: var(--zs-bg); }
.zs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.zs-card { background: #fff; border: 1px solid var(--zs-line); border-radius: var(--zs-radius); padding: 22px; display: flex; flex-direction: column; }
.zs-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.zs-card p { margin: 0 0 12px; color: var(--zs-muted); }
.zs-card .zs-card-foot { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.zs-tag { display: inline-block; font-size: .8rem; padding: 2px 10px; border-radius: 12px; background: #e8ecf8; color: var(--zs-navy-2); margin-right: 6px; }
.zs-page { padding: 40px 20px 56px; }
.zs-prose { max-width: 760px; }
.zs-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; }
.zs-dl dt { color: var(--zs-muted); }
.zs-dl dd { margin: 0; }
.zs-two { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.zs-aside { background: var(--zs-bg); border-radius: var(--zs-radius); padding: 22px; position: sticky; top: 96px; }
.zs-empty { background: var(--zs-bg); border: 1px dashed var(--zs-line); border-radius: var(--zs-radius); padding: 28px; text-align: center; color: var(--zs-muted); }

/* Formulaires */
.zs-form { max-width: 680px; }
.ze-field { margin-bottom: 18px; }
.ze-field label { display: block; font-weight: 600; margin-bottom: 4px; }
.ze-field input[type=text], .ze-field input[type=email], .ze-field input[type=tel], .ze-field input[type=search], .ze-field select, .ze-field textarea {
	width: 100%; padding: 11px 12px; font: inherit; border: 1px solid #b9c0cc; border-radius: 8px; background: #fff; min-height: 46px;
}
.ze-field.has-error input, .ze-field.has-error select, .ze-field.has-error textarea { border: 2px solid #a8201a; }
.ze-req { color: #a8201a; }
.ze-opt { font-weight: 400; color: var(--zs-muted); font-size: .9rem; }
.ze-help { margin: 4px 0 0; font-size: .9rem; color: var(--zs-muted); }
.ze-error { margin: 4px 0 0; font-size: .9rem; color: #a8201a; font-weight: 600; }
.ze-check { display: flex !important; gap: 8px; font-weight: 400 !important; }
.zs-notice { padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; border-left: 4px solid; }
.zs-notice ul { margin: 6px 0 0; }
.zs-notice-ok { background: #e5f4ea; border-color: #16693a; }
.zs-notice-err { background: #fbe9e7; border-color: #a8201a; }
.zs-notice-info { background: #e8ecf8; border-color: var(--zs-blue); }
.zs-hp { position: absolute; left: -9999px; }

/* Vérification */
.zs-verif { max-width: 620px; }
.zs-verif-result { border: 2px solid; border-radius: var(--zs-radius); padding: 20px; margin-top: 20px; }
.zs-verif-ok { border-color: #16693a; background: #f3faf5; }
.zs-verif-ko { border-color: #a8201a; background: #fdf4f3; }
.zs-verif-result .zs-state { font-size: 1.2rem; font-weight: 700; }

/* Pied de page */
.zs-footer { background: var(--zs-navy); color: #dfe4f1; padding: 40px 0 10px; margin-top: 0; }
.zs-footer-in { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.zs-footer h2 { color: #fff; font-size: 1.05rem; margin: 0 0 10px; }
.zs-footer a { color: #fff; }
.zs-footer ul { list-style: none; padding: 0; margin: 0; }
.zs-footer li { margin-bottom: 6px; }
.zs-footer .zs-slogan { font-style: italic; color: #e9d9a8; }
.zs-copy { border-top: 1px solid rgba(255,255,255,.15); padding-top: 12px; font-size: .85rem; margin-top: 24px; }
.zs-coord { list-style: none; padding: 0; margin: 0; }
.zs-coord li { margin-bottom: 6px; }

@media (max-width: 900px) {
	.zs-menu-btn { display: block; }
	.zs-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--zs-line); padding: 10px 20px 16px; }
	.zs-nav.is-open { display: block; }
	.zs-nav ul { flex-direction: column; align-items: stretch; }
	.zs-hero-in, .zs-two, .zs-footer-in { grid-template-columns: 1fr; }
	.zs-hero { padding: 36px 0 44px; }
	.zs-hero h1 { font-size: 1.9rem; }
	.zs-hero-logos { order: -1; }
	.zs-hero-logos .zs-emb { max-width: 300px; }
	.zs-aside { position: static; }
	.zs-brand span { font-size: 1rem; }
}
@media print {
	.zs-header, .zs-footer { display: none; }
}

/* Accueil sans logos dans le bandeau ; emblème or au pied de page */
.zs-hero-texte { grid-template-columns: 1fr; max-width: 820px; }
.zs-footer img { width: 200px; height: auto; }

/* =========================================================
   Passe design (2026-09-24)
   ========================================================= */

/* Pied de page toujours en bas de la fenêtre */
html, body { height: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; }
.zs-main { flex: 1 0 auto; }
.zs-footer { flex-shrink: 0; }

/* En-tête plus affirmé */
.zs-header { box-shadow: 0 1px 0 var(--zs-line), 0 4px 18px rgba(11,26,61,.05); border-bottom: 0; }
.zs-brand span { font-size: 1.15rem; letter-spacing: .01em; }

/* Accueil : bandeau avec profondeur et filet or */
.zs-hero {
	background:
		radial-gradient(circle at 85% 20%, rgba(165,124,27,.18), transparent 45%),
		radial-gradient(circle at 10% 110%, rgba(31,58,166,.45), transparent 55%),
		linear-gradient(135deg, #0b1a3d 0%, #14286b 100%);
	padding: 84px 0 92px;
	position: relative;
}
.zs-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, transparent, #c9a43a, transparent); }
.zs-hero h1 { font-size: 3rem; letter-spacing: -.01em; }
.zs-hero .zs-slogan-hero { font-size: 1.3rem; color: #e9cf85; }
.zs-hero p { font-size: 1.1rem; max-width: 640px; }

/* Titres de section */
.zs-surtitre { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--zs-gold); margin: 0 0 6px; text-align: center; }
.zs-titre-section { text-align: center; font-size: 2rem; margin: 0 0 32px; }

/* Atouts */
.zs-atouts { padding: 0; margin-top: -48px; position: relative; z-index: 2; }
.zs-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.zs-atout { background: #fff; border-radius: 14px; padding: 26px 22px; box-shadow: 0 10px 30px rgba(11,26,61,.10); border-top: 3px solid #c9a43a; }
.zs-atout h2 { font-size: 1.05rem; margin: 14px 0 6px; }
.zs-atout p { margin: 0; color: var(--zs-muted); font-size: .95rem; }
.zs-ico-rond { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; align-items: center; justify-content: center; background: #e8ecf8; color: var(--zs-navy-2); }

/* Cartes formations */
.zs-card { transition: transform .15s ease, box-shadow .15s ease; border-radius: 14px; }
.zs-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,26,61,.10); }
.zs-empty { border-radius: 14px; padding: 36px; }

/* Étapes */
.zs-etapes-section { background: linear-gradient(180deg, #fff 0%, var(--zs-bg) 100%); }
.zs-etapes { list-style: none; counter-reset: etape; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.zs-etapes li { counter-increment: etape; background: #fff; border: 1px solid var(--zs-line); border-radius: 14px; padding: 26px 22px 22px; position: relative; }
.zs-etapes li::before { content: counter(etape); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--zs-navy); color: #e9cf85; font-weight: 800; margin-bottom: 12px; }
.zs-etapes strong { display: block; color: var(--zs-navy); font-size: 1.05rem; margin-bottom: 4px; }
.zs-etapes span { color: var(--zs-muted); }

/* Pages intérieures : bandeau de titre */
.zs-bandeau { background: linear-gradient(135deg, #0b1a3d 0%, #14286b 100%); color: #fff; padding: 42px 0 46px; position: relative; }
.zs-bandeau::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, #c9a43a, transparent); }
.zs-bandeau h1 { color: #fff; font-size: 2.3rem; margin: 6px 0 8px; }
.zs-bandeau-intro { color: #dfe4f1; font-size: 1.08rem; margin: 0; max-width: 720px; }
.zs-fil { font-size: .88rem; color: #b9c3dd; display: flex; gap: 8px; flex-wrap: wrap; }
.zs-fil a { color: #e9cf85; text-decoration: none; }
.zs-fil a:hover { text-decoration: underline; }

/* Contact */
.zs-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.zs-contact-card { background: #fff; border: 1px solid var(--zs-line); border-radius: 14px; padding: 26px; box-shadow: 0 6px 20px rgba(11,26,61,.05); }
.zs-contact-card h2 { font-size: 1rem; margin: 14px 0 4px; color: var(--zs-muted); text-transform: uppercase; letter-spacing: .08em; }
.zs-contact-card p { margin: 0; font-size: 1.15rem; font-weight: 600; color: var(--zs-navy); }
.zs-contact-card a { color: var(--zs-navy); }
.zs-cta { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(135deg, #0b1a3d, #14286b); color: #fff; border-radius: 16px; padding: 30px 34px; }
.zs-cta h2 { color: #fff; margin: 0 0 4px; font-size: 1.4rem; }
.zs-cta p { margin: 0; color: #dfe4f1; }
.zs-btn-or { background: #c9a43a; border-color: #c9a43a; color: #0b1a3d !important; }
.zs-btn-or:hover { background: #d8b54c; }

/* Encadrés latéraux */
.zs-aside { border-radius: 14px; border: 1px solid var(--zs-line); background: #fff; box-shadow: 0 6px 20px rgba(11,26,61,.05); }

/* Pied de page plus compact */
.zs-footer { padding: 36px 0 8px; }
.zs-footer img { width: 170px; }
.zs-footer .zs-slogan { margin: 10px 0 0; font-size: .95rem; }
.zs-copy { margin-top: 20px; }

@media (max-width: 900px) {
	.zs-grid-4 { grid-template-columns: 1fr 1fr; }
	.zs-etapes { grid-template-columns: 1fr; }
	.zs-hero { padding: 56px 0 72px; }
	.zs-hero h1 { font-size: 2.1rem; }
	.zs-bandeau h1 { font-size: 1.8rem; }
	.zs-titre-section { font-size: 1.6rem; }
	.zs-cta { padding: 24px; }
}
@media (max-width: 560px) {
	.zs-grid-4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.zs-card, .zs-card:hover { transition: none; transform: none; }
}

/* Slogan toujours sur une seule ligne */
.zs-hero .zs-slogan-hero { white-space: nowrap; max-width: none; font-size: clamp(.72rem, 3.4vw, 1.3rem); }
.zs-footer-in { grid-template-columns: 1.5fr 1fr 1fr; }
.zs-footer .zs-slogan { white-space: nowrap; font-size: clamp(.66rem, 2.9vw, .95rem); }
@media (max-width: 900px) { .zs-footer-in { grid-template-columns: 1fr; } }

/* Slogan du pied de page : ligne pleine largeur, centrée, une seule ligne */
.zs-footer-in { grid-template-columns: 1fr 1fr 1fr; }
.zs-slogan-pied { text-align: center; white-space: nowrap; font-style: italic; color: #e9cf85; font-size: clamp(.7rem, 3.2vw, 1.15rem); margin: 28px auto 0; }

/* Slogan sous l'emblème, une seule ligne, plus petit */
.zs-footer-in { grid-template-columns: 1.4fr 1fr 1fr; }
.zs-slogan-pied { text-align: left; white-space: nowrap; font-style: italic; color: #e9cf85; font-size: clamp(.6rem, 3vw, .82rem); margin: 10px 0 0; }
@media (max-width: 900px) { .zs-footer-in { grid-template-columns: 1fr; } }

/* Emblème centré au-dessus du slogan */
.zs-footer-in > div:first-child { justify-self: start; text-align: center; }
.zs-footer-in > div:first-child img { display: block; margin: 0 auto; }
.zs-footer-in > div:first-child .zs-slogan-pied { text-align: center; margin-top: 8px; }
@media (max-width: 900px) { .zs-footer-in > div:first-child { justify-self: center; } }

/* Ligne de copyright avec petit logo à droite */
.zs-copy { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.zs-copy p { margin: 0; }
.zs-footer .zs-copy img { width: 30px; height: auto; flex-shrink: 0; }

/* Copyright centré, logo collé à droite du texte */
.zs-copy { justify-content: center; gap: 8px; flex-wrap: wrap; text-align: center; }

/* =========================================================
   Photos (2026-09-24)
   ========================================================= */
.zs-cadre { position: relative; display: block; overflow: hidden; border-radius: 14px; background: #e8ecf8; }
.zs-cadre-43 { aspect-ratio: 4 / 3; }
.zs-cadre-169 { aspect-ratio: 16 / 9; }
.zs-cadre-219 { aspect-ratio: 21 / 9; }
.zs-cadre img, .zs-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); display: block; }
@media (max-width: 900px) { .zs-cadre img, .zs-hero-media img { object-position: var(--focus-m, var(--focus, 50% 50%)); } }
.ze-photo-apercu { position: absolute; left: 8px; bottom: 8px; background: rgba(168,32,26,.92); color: #fff; font-size: .72rem; padding: 3px 8px; border-radius: 4px; line-height: 1.3; max-width: calc(100% - 16px); z-index: 3; }

/* Visuel principal photographique */
.zs-hero-photo { background: #0b1a3d; overflow: hidden; min-height: 560px; display: flex; align-items: center; }
.zs-hero-photo .zs-hero-media { position: absolute; inset: 0; }
.zs-hero-photo .zs-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,26,61,.94) 0%, rgba(11,26,61,.82) 38%, rgba(11,26,61,.25) 72%, rgba(11,26,61,.1) 100%); }
.zs-hero-photo .zs-wrap { position: relative; z-index: 2; width: 100%; }
.zs-hero-photo .ze-photo-apercu { left: auto; right: 12px; bottom: 14px; }
@media (max-width: 900px) {
	.zs-hero-photo { min-height: 0; }
	.zs-hero-photo .zs-hero-media::after { background: linear-gradient(180deg, rgba(11,26,61,.55) 0%, rgba(11,26,61,.88) 55%, rgba(11,26,61,.96) 100%); }
}

/* Cartes photo de l'accueil */
.zs-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.zs-carte-photo { display: block; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 8px 26px rgba(11,26,61,.08); border: 1px solid var(--zs-line); transition: transform .15s ease, box-shadow .15s ease; }
.zs-carte-photo:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,26,61,.14); }
.zs-carte-photo .zs-cadre { border-radius: 0; }
.zs-carte-photo-texte { padding: 18px 20px 20px; }
.zs-carte-photo-texte h3 { margin: 0 0 4px; }
.zs-carte-photo-texte p { margin: 0; color: var(--zs-muted); }
.zs-images { background: #fff; }

/* Page L'école */
.zs-figure { margin: 0 0 24px; }
.zs-figure figcaption { font-size: .9rem; color: var(--zs-muted); margin-top: 6px; }
.zs-bande { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 10px; }
.zs-bande .zs-cadre { border-radius: 10px; }

/* Galerie */
.zs-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.zs-filtre { border: 1px solid var(--zs-line); background: #fff; color: var(--zs-navy); border-radius: 22px; padding: 8px 16px; font: inherit; font-weight: 600; cursor: pointer; min-height: 42px; }
.zs-filtre[aria-pressed="true"] { background: var(--zs-navy); color: #fff; border-color: var(--zs-navy); }
.zs-compte { display: inline-block; min-width: 22px; margin-left: 4px; font-size: .8rem; opacity: .75; }
.zs-galerie-bloc h2 { margin-top: 32px; }
.zs-galerie { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.zs-vignette { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; }
.zs-vignette .zs-cadre { border-radius: 12px; }
.zs-vignette img { transition: transform .25s ease; }
.zs-vignette:hover img { transform: scale(1.03); }
.zs-lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(5,12,30,.96); color: #fff; }
.zs-lightbox::backdrop { background: rgba(5,12,30,.9); }
.zs-lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 64px 40px; box-sizing: border-box; }
.zs-lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 6px; }
.zs-lightbox figcaption { margin-top: 12px; color: #dfe4f1; text-align: center; max-width: 800px; }
.zs-lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; width: 48px; height: 48px; font-size: 28px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.zs-lb-btn:hover { background: rgba(255,255,255,.25); }
.zs-lb-prec { left: 12px; top: 50%; transform: translateY(-50%); }
.zs-lb-suiv { right: 12px; top: 50%; transform: translateY(-50%); }
.zs-lb-fermer { right: 12px; top: 12px; font-size: 20px; }
.zs-lb-pos { position: absolute; left: 16px; top: 18px; margin: 0; font-size: .9rem; color: #b9c3dd; }

@media (max-width: 900px) {
	.zs-grid-3 { grid-template-columns: 1fr; }
	.zs-galerie { grid-template-columns: repeat(3, 1fr); }
	.zs-lightbox figure { padding: 60px 8px 70px; }
	.zs-lb-prec, .zs-lb-suiv { top: auto; bottom: 14px; transform: none; }
	.zs-lb-prec { left: calc(50% - 60px); }
	.zs-lb-suiv { right: calc(50% - 60px); }
}
@media (max-width: 560px) {
	.zs-galerie { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.zs-bande { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	.zs-vignette img, .zs-carte-photo { transition: none; }
	.zs-vignette:hover img, .zs-carte-photo:hover { transform: none; }
}
.zs-hero-photo .zs-hero-media::after { background: linear-gradient(90deg, rgba(11,26,61,.95) 0%, rgba(11,26,61,.86) 46%, rgba(11,26,61,.4) 72%, rgba(11,26,61,.12) 100%); }
@media (max-width: 900px) { .zs-hero-photo .zs-hero-media::after { background: linear-gradient(180deg, rgba(11,26,61,.5) 0%, rgba(11,26,61,.86) 50%, rgba(11,26,61,.96) 100%); } }

/* Bannière de la page Contact : affichée entière (elle contient du texte) */
.zs-banniere { position: relative; margin: 0 0 28px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(11,26,61,.12); }
.zs-banniere img { display: block; width: 100%; height: auto; }

/* =========================================================
   Cartes « atouts » animées (2026-09-24)
   ========================================================= */
.zs-atout { position: relative; overflow: hidden; border-top: 0; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
/* Filet or : court au repos, pleine largeur au survol */
.zs-atout::before { content: ""; position: absolute; top: 0; left: 50%; width: 36%; height: 3px; transform: translateX(-50%); background: linear-gradient(90deg, #a57c1b, #e9cf85, #a57c1b); border-radius: 0 0 3px 3px; transition: width .45s ease; }
/* Reflet lumineux qui traverse la carte */
.zs-atout::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); pointer-events: none; }
.zs-atout .zs-ico-rond { transition: background .35s ease, color .35s ease, transform .35s ease, box-shadow .35s ease; }
.zs-atout .zs-ico { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.zs-atout h2 { position: relative; display: inline-block; padding-bottom: 4px; }
.zs-atout h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: #c9a43a; transition: width .4s ease .05s; }

.zs-atout:hover, .zs-atout:focus-within { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(11,26,61,.18); }
.zs-atout:hover::before, .zs-atout:focus-within::before { width: 100%; }
.zs-atout:hover::after { animation: zs-reflet .9s ease; }
.zs-atout:hover .zs-ico-rond, .zs-atout:focus-within .zs-ico-rond { background: var(--zs-navy); color: #e9cf85; transform: scale(1.08); box-shadow: 0 8px 18px rgba(11,26,61,.28); }
.zs-atout:hover .zs-ico { transform: rotate(-8deg) scale(1.1); }
.zs-atout:hover h2::after, .zs-atout:focus-within h2::after { width: 48px; }
@keyframes zs-reflet { from { left: -75%; } to { left: 130%; } }

/* Apparition en cascade (activée par le script, donc rien de caché sans JavaScript) */
.zs-anim .zs-atout { opacity: 0; transform: translateY(28px); }
.zs-anim .zs-atout.is-visible { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.zs-anim .zs-atout.is-visible:nth-child(2) { transition-delay: .1s, .1s, 0s; }
.zs-anim .zs-atout.is-visible:nth-child(3) { transition-delay: .2s, .2s, 0s; }
.zs-anim .zs-atout.is-visible:nth-child(4) { transition-delay: .3s, .3s, 0s; }
.zs-anim .zs-atout.is-visible:hover { transform: translateY(-8px); transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
	.zs-atout, .zs-atout::before, .zs-atout .zs-ico-rond, .zs-atout .zs-ico, .zs-atout h2::after { transition: none !important; }
	.zs-atout:hover, .zs-atout:focus-within { transform: none; }
	.zs-atout:hover::after { animation: none; }
	.zs-anim .zs-atout { opacity: 1; transform: none; }
}
.zs-atout .zs-ico-rond { display: flex; }
.zs-atout h2 { display: block; width: fit-content; }

/* =========================================================
   Menu fixe, bande d'annonces, verre liquide et animations au défilement (2026-09-26)
   ========================================================= */
/* Le menu reste en haut : la page ne doit pas être limitée à la hauteur de l'écran. */
html, body { height: auto; }
body { min-height: 100vh; }
html { scroll-padding-top: 96px; }
:root { --zs-haut: var(--wp-admin--admin-bar--height, 0px); --zs-ease: cubic-bezier(.2, .7, .2, 1); }

/* ---- Verre liquide : flou, saturation, reflets et lumière qui suit le pointeur ---- */
.zs-header, .zs-annonces, .zs-hero .zs-btn-outline, .zs-atout, .zs-nav { --mx: 50%; --my: 0%; }
.zs-header {
	position: sticky; top: var(--zs-haut); z-index: 50; isolation: isolate;
	background: rgba(255, 255, 255, .97);
	transition: background-color .4s var(--zs-ease), box-shadow .4s var(--zs-ease);
}
.zs-header-in { transition: min-height .4s var(--zs-ease); }
.zs-brand img { transition: width .4s var(--zs-ease); }
.zs-header::before, .zs-header::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s var(--zs-ease); z-index: -1; }
/* Reflet spéculaire en haut du verre */
.zs-header::before {
	background:
		radial-gradient(260px 90px at var(--mx) -20%, rgba(255, 255, 255, .95), transparent 70%),
		linear-gradient(180deg, rgba(255, 255, 255, .75) 0, rgba(255, 255, 255, 0) 45%);
	mix-blend-mode: soft-light;
}
/* Irisation « liquide » qui ondule lentement */
.zs-header::after {
	background: linear-gradient(110deg, rgba(31, 58, 166, .10), rgba(201, 164, 58, .10) 30%, rgba(255, 255, 255, 0) 55%, rgba(31, 58, 166, .08) 80%);
	background-size: 250% 100%;
	animation: zs-liquide 14s ease-in-out infinite alternate;
}
@keyframes zs-liquide { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.zs-defile .zs-header {
	background: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(244, 246, 252, .48));
	-webkit-backdrop-filter: blur(20px) saturate(185%);
	backdrop-filter: blur(20px) saturate(185%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .35), 0 10px 34px rgba(11, 26, 61, .14);
}
.zs-defile .zs-header::before, .zs-defile .zs-header::after { opacity: 1; }
.zs-defile .zs-header-in { min-height: 60px; }
.zs-defile .zs-brand img { width: 52px; }
.zs-defile .zs-nav a:hover { background: rgba(255, 255, 255, .55); }

/* Barre de progression de lecture */
.zs-progression { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--zs-p, 0)); background: linear-gradient(90deg, #c9a43a, #e9cf85, #1f3aa6); opacity: 0; transition: opacity .3s; }
.zs-defile .zs-progression { opacity: 1; }

/* Menu mobile en verre */
@media (max-width: 900px) {
	.zs-nav { top: 100%; border-radius: 0 0 18px 18px; border-bottom: 0;
		background: linear-gradient(160deg, #ffffff, #f1f4fa);
		-webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 18px 40px rgba(11, 26, 61, .18); }
	.zs-nav.is-open { animation: zs-deroule .35s var(--zs-ease); }
	.zs-defile .zs-brand img { width: 46px; }
}
@keyframes zs-deroule { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Boutons du grand bandeau : verre sombre */
.zs-hero .zs-btn-outline {
	background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
	-webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
	border-color: rgba(255, 255, 255, .45);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 20px rgba(0, 0, 0, .18);
	transition: background .3s, transform .3s var(--zs-ease);
}
.zs-hero .zs-btn-outline:hover { background: linear-gradient(135deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .10)); transform: translateY(-2px); }
.zs-hero .zs-btn { transition: transform .3s var(--zs-ease), box-shadow .3s; }
.zs-hero .zs-btn:not(.zs-btn-outline):hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }

/* Cartes « atouts » posées sur le bandeau : verre clair */
.zs-atout {
	background: linear-gradient(145deg, rgba(255, 255, 255, .90), rgba(255, 255, 255, .78));
	-webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 14px 36px rgba(11, 26, 61, .14);
}
.zs-atout::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
	background: radial-gradient(220px 160px at var(--mx) var(--my), rgba(255, 255, 255, .85), transparent 70%); mix-blend-mode: soft-light; }
.zs-atout:hover::after { opacity: 1; }

/* Sans flou disponible : verre plus opaque, toujours lisible */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.zs-defile .zs-header { background: rgba(255, 255, 255, .97); }
	.zs-atout { background: #fff; }
	.zs-nav { background: #fff; }
}

/* ---- Bande d'annonces ---- */
.zs-annonces {
	position: relative; z-index: 51; display: flex; align-items: center; gap: 4px;
	min-height: 40px; padding: 0 6px 0 0; color: #fff; font-size: .92rem; overflow: hidden; isolation: isolate;
	background: linear-gradient(90deg, #07122b 0%, #14286b 50%, #07122b 100%);
}
.zs-annonces::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 60%),
		linear-gradient(100deg, transparent 20%, rgba(233, 207, 133, .22) 45%, transparent 60%);
	background-size: 100% 100%, 220% 100%;
	animation: zs-reflet 7s ease-in-out infinite;
}
@keyframes zs-reflet { 0% { background-position: 0 0, 120% 0; } 60%, 100% { background-position: 0 0, -120% 0; } }
.zs-annonces::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(233, 207, 133, .7), transparent); }
.zs-annonces-fenetre { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.zs-annonces-piste { display: flex; width: max-content; animation: zs-defilement var(--zs-annonces-duree, 30s) linear infinite; }
.zs-annonces-liste { display: flex; list-style: none; margin: 0; padding: 0; }
.zs-annonces-liste li { display: flex; align-items: center; white-space: nowrap; padding: 9px 0; }
.zs-annonces-liste li::after { content: "✦"; color: #e9cf85; margin: 0 28px; font-size: .8em; opacity: .85; }
.zs-annonces a, .zs-annonces span { color: #fff; text-decoration: none; }
.zs-annonces a { border-bottom: 1px solid rgba(233, 207, 133, .55); }
.zs-annonces a:hover { color: #e9cf85; }
.zs-annonces:hover .zs-annonces-piste, .zs-annonces:focus-within .zs-annonces-piste, .zs-annonces.est-pause .zs-annonces-piste { animation-play-state: paused; }
@keyframes zs-defilement { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.zs-annonces button { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; font-size: 1rem; line-height: 1; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.zs-annonces button { display: inline-flex; align-items: center; justify-content: center; }
.zs-annonces .zs-ico-lecture, .zs-annonces.est-pause .zs-ico-pause { display: none; }
.zs-annonces.est-pause .zs-ico-lecture { display: block; }
.zs-annonces button:hover { background: rgba(255, 255, 255, .18); }
.zs-annonces[hidden] { display: none; }
@media print { .zs-annonces { display: none; } }

/* ---- Apparition au défilement ---- */
.zs-js .zs-apparait {
	opacity: 0; transform: translateY(32px) scale(.985); filter: blur(6px);
	transition: opacity .9s var(--zs-ease), transform .9s var(--zs-ease), filter .9s var(--zs-ease);
	transition-delay: var(--zs-delai, 0ms);
}
.zs-js .zs-apparait.est-visible { opacity: 1; transform: none; filter: none; }
.zs-js .zs-apparait-g { transform: translateX(-36px); }
.zs-js .zs-apparait-d { transform: translateX(36px); }
/* Entrée du grand bandeau au chargement */
.zs-js .zs-hero .zs-wrap > div > * { animation: zs-entree 1s var(--zs-ease) both; }
.zs-js .zs-hero .zs-wrap > div > *:nth-child(2) { animation-delay: .12s; }
.zs-js .zs-hero .zs-wrap > div > *:nth-child(3) { animation-delay: .24s; }
.zs-js .zs-hero .zs-wrap > div > *:nth-child(n+4) { animation-delay: .36s; }
@keyframes zs-entree { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
/* Parallaxe de la photo principale */
.zs-hero-photo .zs-hero-media img { transform: translate3d(0, var(--zs-parallaxe, 0px), 0) scale(1.08); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
	.zs-header, .zs-header-in, .zs-brand img { transition: none; }
	.zs-header::after, .zs-annonces::before { animation: none; }
	.zs-annonces-piste { animation: none; }
	.zs-annonces-fenetre { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.zs-annonces-liste[aria-hidden="true"] { display: none; }
	.zs-annonces .zs-annonces-pause { display: none; }
	.zs-js .zs-apparait { opacity: 1; transform: none; filter: none; transition: none; }
	.zs-js .zs-hero .zs-wrap > div > * { animation: none; }
	.zs-hero-photo .zs-hero-media img { transform: none; }
}

/* Bande d'annonces fixée en haut, le menu juste en dessous (2026-09-26) */
:root { --zs-annonces-h: 40px; }
.zs-annonces { position: sticky; top: var(--zs-haut); height: var(--zs-annonces-h); min-height: 0; }
.zs-annonces-liste li { padding: 0; height: var(--zs-annonces-h); }
.zs-annonces:not([hidden]) + .zs-header { top: calc(var(--zs-haut) + var(--zs-annonces-h)); }
html { scroll-padding-top: 140px; }
@media (max-width: 560px) { :root { --zs-annonces-h: 36px; } .zs-annonces { font-size: .85rem; } }
