/*
 Theme Name: GeneratePress Child
 Theme URI: XXX
 Description: Thème enfant de GeneratePress
 Author: Willy
 Author URI: XXX
 Template: generatepress
 Version: 1.0
*/

/*** HP : diapo */
.home .wp-block-image img{
	width:100%;
}

.main-navigation, .main-navigation ul{
	background-color: transparent;

}
.main-navigation ul.sub-menu{
	background-color: #dc3545;
}
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items{
	color: white;
	font-weight: 500;
	font-size: 1em;
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li a:active,
.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a:hover,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a,
.main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a,
.main-navigation .menu-bar-item:hover > a,
.main-navigation .menu-bar-item.sfHover > a
{
	color: #c5c5c5;
}

h1.section-title {
	padding-left: .5em;
	color: #dc3545;
	font-family: Roboto;
	font-size: 2.5rem;
	line-height: 1.2;
	margin-bottom: .5rem;
	margin-top: 0;

}
.hr {
	border: 2px solid !important;
	border-width: initial;
	opacity: 1;
	color: #c5c5c5 !important;
}

button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.wp-block-button__link:not(.has-background){
	background-color: #dc3545;
}
/* Fond du footer */
.site-footer {
	background-color: #dc3545;
	color: #ffffff;
	padding: 30px 0 10px;
}

/* Conteneur des widgets */
.footer-widgets-container {
	text-align: center;
}

/* Menu footer */
.footer-widget-1 .menu {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Liens */
.footer-widget-1 .menu li a {
	color: #dc3545;
	opacity: 0.8;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

/* Hover */
.footer-widget-1 .menu li a:hover {
	opacity: 1;
	text-decoration: underline;
}

/* Barre copyright */
.site-info {
	border-top: 1px solid rgba(255,255,255,0.1);
	margin-top: 20px;
	padding-top: 10px;
	text-align: center;
	font-size: 13px;
	color: #9ca3af;
}

/* Responsive */
@media (max-width: 600px) {
	.footer-widget-1 .menu {
		flex-direction: column;
		gap: 10px;
	}
}

/* Bandeau */
.menu-reseaux-sociaux-container {
	background: #111827;
	padding: 8px 0;
}

/* Menu */
#menu-reseaux-sociaux {
	display: flex;
	justify-content: center;
	gap: 15px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Liens */
#menu-reseaux-sociaux li a {
	font-size: 0; /* cache le texte */
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	/*background: #374151;*/
	color: #ffffff;
	transition: all 0.3s ease;
}

/* Hover */
#menu-reseaux-sociaux li a:hover {
	transform: translateY(-2px);
}

/* Icônes */
#menu-reseaux-sociaux li a::before {
	font-family: "Font Awesome 6 Brands";
	font-size: 18px;
}

/* Facebook */
#menu-item-52 a::before {
	content: "\f39e";
}

/* X (Twitter) */
#menu-item-53 a::before {
	content: "\e61b";
}

/* YouTube */
#menu-item-54 a::before {
	content: "\f167";
}

/* Site portail (icone globe) */
#menu-item-55 a::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f0ac";
}

/* Couleurs au hover (branding) */
#menu-item-52 a:hover { background: #1877f2; } /* Facebook */
#menu-item-53 a:hover { background: #000000; } /* X */
#menu-item-54 a:hover { background: #ff0000; } /* YouTube */
#menu-item-55 a:hover { background: #2563eb; } /* site */