/* ==========================================================================
   Thème Alsass Group
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.7; color: #121a24; background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { color: #7a6b28; }
:focus-visible { outline: 2px solid #baa64e; 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 { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 10px; background: #fff; color: #162130; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* En-tête ------------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; background: rgba(22, 33, 48, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: background .3s; }
.site-header.is-scrolled { background: rgba(13, 20, 29, .86); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { max-width: 1320px; margin: 0 auto; height: 72px; padding: 0 clamp(20px, 3vw, 40px); display: flex; align-items: center; gap: 28px; }
.site-logo { display: inline-flex; flex: none; }
.site-logo img { height: 30px; width: auto; display: block; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 30px); }
.site-nav__list a { display: block; padding: 6px 2px; color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .01em; transition: color .2s; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a { color: #fff; }
.site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a { box-shadow: inset 0 -2px 0 #baa64e; }
.site-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.site-header__phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.site-header__phone .ab-ico { width: 18px; height: 18px; color: #baa64e; }
.site-header__cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: #baa64e; color: #162130; font-weight: 600; font-size: 14px; text-decoration: none; transition: filter .2s, transform .2s; }
.site-header__cta:hover { filter: brightness(1.08); }
.site-header__burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.site-header__burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s cubic-bezier(.2, .7, .2, 1), top .35s; }
.site-header__burger span:first-child { top: 17px; }
.site-header__burger span:last-child { top: 25px; }
.menu-open .site-header__burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .site-header__burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* Menu mobile, plein écran. */
.mobile-menu { position: fixed; inset: 72px 0 0; z-index: 99; background: rgba(13, 20, 29, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 24px clamp(20px, 5vw, 40px) 40px; overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .3s; }
.mobile-menu[hidden] { display: none; }
.menu-open .mobile-menu { opacity: 1; transform: none; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list a { display: block; padding: 12px 0; color: #fff; text-decoration: none; font: 700 clamp(28px, 7vw, 40px)/1.15 "Urbanist", sans-serif; letter-spacing: -.03em; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-menu__actions { display: grid; gap: 12px; margin-top: 32px; color: #fff; }
.menu-open { overflow: hidden; }

/* Contenu ------------------------------------------------------------------- */
.site-main { display: block; }
.no-hero .site-main { padding-top: 72px; }
.page-header { padding: clamp(80px, 10vw, 130px) 24px clamp(40px, 5vw, 64px); text-align: center; background: #162130; color: #fff; }
.page-header__title { margin: 0 auto; max-width: 900px; font: 800 clamp(40px, 6vw, 76px)/1 "Urbanist", sans-serif; letter-spacing: -.045em; }
/* Les blocs natifs (paragraphes, titres…) sont centrés dans une colonne de lecture. */
.page-content > :not(.ab):not(.alignfull):not(.alignwide) { max-width: 760px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.page-content > .alignwide { max-width: 1240px; margin-left: auto; margin-right: auto; }
.page-content > .ab + :not(.ab) { margin-top: clamp(56px, 7vw, 96px); }
.page-content > :not(.ab):last-child { margin-bottom: clamp(72px, 9vw, 120px); }
.page-content > h2 { margin-top: 2.2em; margin-bottom: .5em; font-size: clamp(24px, 2.6vw, 30px); }
.page-content > p, .page-content > ul, .page-content > ol { color: #3d4652; }
.post-list { list-style: none; padding: 0; }
.post-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(18, 26, 36, .1); }

.error-404 { min-height: 80vh; display: grid; place-content: center; text-align: center; padding: 140px 24px 80px; background: #162130; color: #fff; }
.error-404__code { margin: 0; font: 800 clamp(100px, 20vw, 220px)/.9 "Urbanist", sans-serif; letter-spacing: -.06em; color: #baa64e; }
.error-404 h1 { margin: 10px 0; font: 700 clamp(28px, 4vw, 44px)/1.1 "Urbanist", sans-serif; letter-spacing: -.03em; }
.error-404 p { color: rgba(255, 255, 255, .72); }
.error-404__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* Pied de page ------------------------------------------------------------- */
.site-footer { background: #0d141d; color: rgba(255, 255, 255, .72); font-size: 15px; padding: 0 clamp(20px, 4vw, 40px); }
.site-footer__cta, .site-footer__grid, .site-footer__bottom { max-width: 1240px; margin: 0 auto; }
.site-footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; }
.ends-with-cta .site-footer__cta { display: none; }
.site-footer__big { margin: 0; max-width: 680px; font: 800 clamp(32px, 4.6vw, 60px)/1.02 "Urbanist", sans-serif; letter-spacing: -.045em; }
.site-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0; }
.site-footer__logo img { height: 30px; width: auto; display: block; }
.site-footer__brand p { margin: 22px 0 0; max-width: 360px; line-height: 1.65; }
.site-footer__labels { display: flex; gap: 10px; margin-top: 24px; }
.site-footer__labels span { display: inline-flex; height: 64px; padding: 8px 12px; border-radius: 14px; background: #fff; }
.site-footer__labels img { height: 100%; width: auto; }
.site-footer__title { margin: 0 0 18px; color: #fff; font: 700 15px/1.3 "Urbanist", sans-serif; letter-spacing: .02em; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__menu a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s; }
.site-footer__menu a:hover { color: #fff; }
.site-footer__socials { display: flex; gap: 10px; margin-top: 22px; }
.site-footer__socials a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.site-footer__socials .ab-ico { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.site-footer__bottom p { margin: 0; }
.site-footer__credit { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .6); text-decoration: none; opacity: .8; transition: opacity .2s; }
.site-footer__credit:hover { opacity: 1; }
.site-footer__credit img { height: 14px; width: auto; }

/* Barre d'actions mobile -------------------------------------------------- */
.action-bar { display: none; }

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 1180px) {
	.site-header__phone span { display: none; }
}
@media (max-width: 1024px) {
	.site-nav { display: none; }
	.site-header__burger { display: inline-block; }
	.site-header__inner { justify-content: space-between; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 720px) {
	.site-header__inner { height: 64px; }
	.mobile-menu { inset: 64px 0 0; }
	.no-hero .site-main { padding-top: 64px; }
	.site-logo img { height: 26px; }
	.site-header__cta, .site-header__phone { display: none; }
	.site-footer__cta { flex-direction: column; align-items: flex-start; }
	.site-footer__cta-actions { width: 100%; }
	.site-footer__cta-actions .ab-btn { flex: 1; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	body { padding-bottom: 76px; }
	.action-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 6px; border-radius: 22px; background: rgba(13, 20, 29, .88); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .45); transform: translateY(140%); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
	.action-bar.is-visible { transform: none; }
	.action-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 16px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
	.action-bar a.is-primary { background: #baa64e; color: #162130; }
	.action-bar .ab-ico { width: 18px; height: 18px; }
}
