/**
 * Widget Header Sunugafa — barre de navigation (repris du template <nav>).
 */
/* Le sticky est porté par le wrapper Elementor (enfant direct du body) :
   posé sur .snf-nav il ne collerait pas (conteneur trop court). */
.elementor-location-header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 300;
}
.snf-nav {
	background: var(--snf-navy, #1A2A3A);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 5%;
	height: 66px;
	position: relative;
	z-index: 300;
	box-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

/* Logo */
.snf-nav .logo {
	font-family: var(--fd, 'Josefin Sans', sans-serif);
	font-size: 2rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--snf-green, #00A8E8);
	text-decoration: none;
	line-height: 1;
}
.snf-nav .logo:hover {
	color: var(--snf-green2, #00D9FF);
}
.snf-nav__logo img {
	max-height: 40px;
	width: auto;
}

/* Conteneur « tiroir » : transparent sur desktop (ses enfants — menu + zone
   droite — participent directement au flex de .snf-nav) ; vrai panneau en mobile. */
.snf-nav__drawer {
	display: contents;
}

/* Menu central */
.snf-nav__center {
	display: flex;
	align-items: center;
}
.snf-nav .snf-menu {
	display: flex;
	align-items: center;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.snf-nav .snf-menu a {
	color: rgba(255, 255, 255, .78);
	font-family: var(--fh, 'Josefin Sans', sans-serif);
	font-size: .78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .09em;
	text-decoration: none;
	transition: color .2s;
	white-space: nowrap;
}
.snf-nav .snf-menu a:hover,
.snf-nav .snf-menu .current-menu-item > a {
	color: var(--snf-green2, #00D9FF);
}

/* Zone droite */
.snf-nav__right {
	display: flex;
	align-items: center;
	gap: 14px;
}

/* CTA */
.snf-nav .nav-cta {
	background: var(--snf-green, #00A8E8);
	color: #fff !important;
	padding: 9px 18px;
	border-radius: 4px;
	font-family: var(--fh, 'Josefin Sans', sans-serif);
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .09em;
	text-decoration: none;
	transition: background .2s;
	white-space: nowrap;
}
.snf-nav .nav-cta:hover {
	background: var(--snf-green2, #00D9FF);
}

/* Sélecteur de langue */
.snf-lang-toggle {
	display: flex;
	background: rgba(255, 255, 255, .08);
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .12);
}
.snf-lang-btn {
	font-family: var(--fh, 'Josefin Sans', sans-serif);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .08em;
	padding: 6px 13px;
	color: rgba(255, 255, 255, .45);
	text-decoration: none;
	transition: all .2s;
}
.snf-lang-btn.active,
.snf-lang-btn:hover {
	background: var(--snf-green, #00A8E8);
	color: #fff;
}

/* Hamburger (mobile) — cible tactile ≥ 44 px (WCAG 2.5.5) */
.snf-hamburger {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	cursor: pointer;
	background: none;
	border: none;
	min-width: 44px;
	min-height: 44px;
	padding: 4px;
}
.snf-hamburger span {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	transition: transform .25s ease, opacity .2s ease;
}
/* Transformation en croix quand le menu est ouvert. */
.snf-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.snf-hamburger.is-active span:nth-child(2) { opacity: 0; }
.snf-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
	.snf-hamburger span { transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
	/* Le tiroir redevient un vrai bloc positionné sous la barre. */
	.snf-nav__drawer {
		position: absolute;
		top: 66px;
		left: 0;
		right: 0;
		background: var(--snf-navy, #1A2A3A);
		display: none;
		flex-direction: column;
		align-items: stretch;
		padding: 18px 5% 24px;
		box-shadow: 0 12px 20px rgba(0, 0, 0, .3);
		max-height: calc(100vh - 66px);
		overflow-y: auto;
	}
	.snf-nav__drawer.is-open {
		display: flex;
		animation: snf-nav-in .25s ease;
	}
	@media (prefers-reduced-motion: reduce) {
		.snf-nav__drawer.is-open { animation: none; }
	}
	.snf-nav__center {
		display: block;
		width: 100%;
	}
	.snf-nav .snf-menu {
		flex-direction: column;
		gap: 4px;
		width: 100%;
	}
	/* Liens du menu : cibles tactiles pleine largeur (≥ 44 px). */
	.snf-nav .snf-menu a {
		display: block;
		padding: 13px 4px;
		font-size: .9rem;
		color: rgba(255, 255, 255, .82);
	}
	/* Zone droite (langue + CTA) empilée et confortable. */
	.snf-nav__right {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		width: 100%;
		margin-top: 14px;
	}
	.snf-nav .nav-cta {
		text-align: center;
		padding: 14px 18px;
		font-size: .82rem;
	}
	.snf-lang-toggle {
		align-self: center;
	}
	.snf-lang-btn {
		padding: 11px 20px;
		font-size: .8rem;
	}
	.snf-hamburger {
		display: flex;
	}
}
@keyframes snf-nav-in {
	from { opacity: 0; transform: translateY(-8px); }
	to   { opacity: 1; transform: none; }
}

/* --- Réseaux sociaux (entête) --- */
/* Masqués par défaut : n'apparaissent que sur desktop large, pour ne jamais
   surcharger la barre (menu + CTA + langue). Sur mobile/tablette, ce sont les
   icônes du pied de page qui prennent le relais. */
.snf-nav__social {
	display: none;
	align-items: center;
	gap: 8px;
	margin-right: 4px;
}
@media (min-width: 1160px) {
	.snf-nav__social {
		display: inline-flex;
	}
}
.snf-nav__social .snf-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .72);
	transition: color .2s, transform .2s;
}
.snf-nav__social .snf-social__link:hover {
	color: #00A8E8;
	transform: translateY(-1px);
}
