/* Surcouche du thème : barre fixe, menu, galerie, formulaire. */
:root { --bar-h: 68px; --bar-bg: #e6b000; --bar-ink: #2a1c00; }
@media (max-width: 991px) { :root { --bar-h: 56px; } }

html { scroll-padding-top: var(--bar-h); }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 300; background: #fff; color: #000; padding: 8px 14px; border-radius: 4px; }
.skip-link:focus { top: 8px; }

/* ---------- Barre du haut (logo + navigation), fixe ---------- */
.site-bar { position: sticky; top: 0; z-index: 100; background: var(--bar-bg); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.site-bar__inner { display: flex; align-items: center; gap: 24px; max-width: 1200px; height: var(--bar-h); margin: 0 auto; padding: 0 20px; }
.site-bar__logo { display: block; flex: none; height: 100%; padding: 8px 0; }
.site-bar__logo img { display: block; height: 100%; width: auto; }

.site-nav { flex: 1; }
.site-nav ul { display: flex; justify-content: flex-end; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 10px 14px; font: 700 14px/1 Raleway, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--bar-ink); text-decoration: none; border-bottom: 3px solid transparent; transition: border-color .2s, background-color .2s; }
.site-nav a:hover { border-bottom-color: rgba(42,28,0,.45); }
.site-nav .current a { border-bottom-color: var(--bar-ink); }
.site-nav a:focus-visible, .nav-phone:focus-visible, .nav-toggle:focus-visible { outline: 3px solid var(--bar-ink); outline-offset: 2px; }

.nav-phone { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 9px 16px; border-radius: 999px; background: var(--bar-ink); color: #ffd24a; font: 700 14px/1 Raleway, sans-serif; text-decoration: none; transition: background-color .2s; }
.nav-phone:hover { background: #000; color: #ffd24a; }
.nav-phone svg { width: 16px; height: 16px; fill: currentColor; }

.nav-toggle { display: none; align-items: center; gap: 10px; margin-left: auto; padding: 8px 12px; border: 2px solid var(--bar-ink); border-radius: 6px; background: transparent; color: var(--bar-ink); font: 700 13px/1 Raleway, sans-serif; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before { content: ""; position: absolute; top: 6px; left: 0; box-shadow: 0 -12px 0 currentColor; }

@media (max-width: 991px) {
	.site-bar__inner { gap: 12px; padding: 0 14px; }
	.nav-toggle { display: inline-flex; }
	.nav-phone { padding: 9px 12px; }
	.nav-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* icône seule, nom accessible via aria-label */
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bar-bg); box-shadow: 0 8px 12px rgba(0,0,0,.18); }
	.is-open .site-nav { display: block; }
	.site-nav ul { flex-direction: column; gap: 0; padding: 6px 14px 14px; }
	.site-nav a { padding: 16px 6px; font-size: 16px; border-bottom: 1px solid rgba(42,28,0,.2); }
	.site-nav .current a { border-bottom-color: var(--bar-ink); }
}

/* ---------- Bandeau : occupe le reste de l'écran sous la barre ---------- */
.bd-headerarea-1 { width: 100%; height: calc(60vh - var(--bar-h)); height: calc(60svh - var(--bar-h)); }

/* ---------- Galerie photos ---------- */
.gallery { margin: auto; }
.gallery .gallery-item { float: left; margin-top: 10px; text-align: center; width: 50%; }
.gallery img { max-width: 100%; height: auto; border: 2px solid #cfcfcf; }
.gallery br { clear: both; }

/* ---------- Formulaire ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 12px 16px; border-left: 4px solid; border-radius: 3px; }
.form-msg--ok { background: #eaf6ea; border-color: #2e7d32; color: #1b4d1f; }
.form-msg--err { background: #fdecea; border-color: #c62828; color: #7a1414; }
.form-error { display: block; margin-top: 4px; color: #c62828; font-size: 14px; }
#formulaire input.form-control, #formulaire textarea.form-control { width: 100%; }
#formulaire .is-invalid { border-color: #c62828; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
