
/* ========================================
   RESPONSIVE CSS STEPH LR
   ======================================== */
	
	@media (prefers-reduced-motion: reduce) {
		.modale-recherche {transition: none;}
	}

	@media (max-width: 600px) {
		.footer-navigation-interieur {
			gap: 12px;
			padding: 12px;
		}

		.footer-lien {gap: 8px;}

		.footer-titre {font-size: 14px;}

		.footer-fleche {font-size: 24px;}
	}

	@media (max-width: 700px) {
		.footer-informations-interieur {
			grid-template-columns: 1fr auto;
			gap: 12px;
		}

		.footer-copyright {grid-column: 1;}

		.footer-liens {
			grid-column: 1 / -1;
			grid-row: 2;
			justify-content: flex-start;
		}

		.footer-reseaux {
			grid-column: 2;
			grid-row: 1;
		}
	
	}
	
	@media screen and (max-width: 700px) {
		.titre-site > span.secteur-titre {
			display: none !important;
		}
	}
	
	
/* ========================================
   RESPONSIVE : HEADER ET NAVIGATION MOBILE
   ======================================== */

	.menu-burger {
		display: none;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 5px;
		width: 38px;
		height: 36px;
		padding: 6px;
		border: 1px solid #444852;
		border-radius: 0;
		background: var(--couleur-recherche);
		color: var(--couleur-texte);
		cursor: pointer;
		flex-shrink: 0;
	}

	.menu-burger span {
		display: block;
		width: 21px;
		height: 2px;
		background: currentColor;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

/* Apparence du burger ouvert */
	.menu-burger[aria-expanded="true"] span:first-child {transform: translateY(7px) rotate(45deg);}

	.menu-burger[aria-expanded="true"] span:nth-child(2) {opacity: 0;}

	.menu-burger[aria-expanded="true"] span:last-child {transform: translateY(-7px) rotate(-45deg);}

	@media (max-width: 900px) {

	/* Header */
		.header-interieur {
			gap: 8px;
			padding: 0 10px;
		}

	/* Sélecteur de thèmes masqué */
		.selecteur-theme {display: none;}

	/* Recherche : conserver uniquement la loupe */
		.recherche-declencheur {
			width: 38px;
			height: 36px;
			padding: 0;
			justify-content: center;
			flex-shrink: 0;
		}

		.recherche-declencheur span {display: none;}

		.recherche-declencheur svg {
			width: 22px;
			height: 22px;
		}

	/* Bouton burger visible */
		.menu-burger {display: flex;}

	/* Menu déroulant mobile */
		.navigation-principale {
			display: none;
			position: fixed;
			top: var(--hauteur-header);
			left: 0;
			right: 0;
			height: auto;
			padding: 8px 0;
			background: var(--couleur-header);
			box-shadow: 0 8px 20px rgb(0 0 0 / 20%);
			transform: none;
			opacity: 1;
			transition: none;
		}

		.navigation-principale.ouvert {display: block;}

	/* Neutraliser le masquage du menu desktop au scroll */
		.navigation-principale.masque {
			transform: none;
			opacity: 1;
			pointer-events: auto;
		}

		.navigation-principale ul {
			flex-direction: column;
			align-items: stretch;
			gap: 0;
			padding: 0 16px;
		}

		.navigation-principale li {padding: 0;}

		.navigation-principale a {
			min-height: 44px;
			padding: 10px 8px;
			white-space: normal;
		}

	/* Modale de recherche adaptée au mobile */
		.modale-recherche {padding: 5px 8px 16px;}

		.recherche-panneau {
			max-width: none;
			max-height: calc(100dvh - 24px);
		}
	}
