body {
	margin: 0;
	padding: 0;
	background: #f4f4f4;
	font-family: 'Roboto', sans-serif;
}
h1 {
	font-family: 'Montserrat', sans-serif;
	font-size: 2em;
	margin-bottom: 20px;
	color: #2c3e50;
	text-align: center;
	position: relative;
}
h1::after {
	content: "";
	display: block;
	width: 80px;
	height: 4px;
	background-color: #3498db;
	margin: 10px auto 0 auto;
	border-radius: 2px;
}
#contenu_texte p {
	line-height:1.6;
	font-size: 1.1em;
	margin-bottom: 1.5em;
	text-align: justify;
}
.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	/*padding: 20px;*/
    position: relative;
	background-color: #2aa5bb;
	z-index: 100;
	background:linear-gradient(45deg, #2aa5bb 50%, #0a8097 100%);
}
.header2 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	position: relative;
	background-color: #2aa5bb;
	z-index: 100;
}
 @keyframes bounceLogo {
 0% {
 transform: translateY(0); /* Position initiale */
}
 20% {
 transform: translateY(-10px); /* Déplacement vers le haut */
}
 40% {
 transform: translateY(0); /* Retour à la position initiale */
}
 60% {
 transform: translateY(-5px); /* Un petit déplacement vers le haut */
}
 80% {
 transform: translateY(0); /* Retour à la position initiale */
}
 100% {
 transform: translateY(0); /* Position finale */
}
}
.logo_club img {
	width: 240px;
	top: 10px;
	left: 20px;
	position: absolute;
	z-index: 10;
	animation: bounceLogo 1s ease infinite;
}
/* Menu */
.nav {
	display: flex;
	align-items: center;
	width: 100%;
	justify-content: flex-end; /* Alignement du menu et des icônes à droite */
}
.menu {
	list-style: none;
	display: flex;
	margin-right: 20px;
}
.menu li {
	margin-right: 20px;
}
.menu a {
	display: block;
	padding: 11px;
	color: #000;
	text-decoration: none;
	text-align: center;
	/*transition: background 0.5s ease, border-radius 0.1s ease;*/
    border-radius: 20px; /* Ajout d'un léger arrondi */
	margin: 5px 10px; /* Espacement entre les liens */
}
.menu a:hover {
	/*background: linear-gradient(45deg, #F60 0%, #FFA700 50%, #F60 100%);*/
	background:linear-gradient(45deg, #FFCB39 0%, #FFA700 50%, #FFCB39 100%);
	border-radius: 20px; /* Arrondi plus prononcé au survol *//*padding: 15px 25px; /* Effet de grossissement */
}
/* Icônes */
header .icons {
	display: flex;
	margin-right: 30px;
}
.icon img {
	margin-left: 10px;
	width: 40px;
	height: 40px;
}
/* Menu Burger */
.burger {
	display: none;
	cursor: pointer;
	font-size: 30px;
	color: white;
	background: none;
	border: none;
}
#archive_date {
	float:left;
	width:20%;
	height:50px;
	font-size:22px;
	text-align:left;
	line-height:50px;
	border-right:2px solid black;
	text-align:center;
}
#archive_titre {
	float:left;
	width:70%;
	height:50px;
	font-size:22px;
	text-align:left;
	line-height:50px;
	padding-left:10px;
	border-right:2px solid black;
}
#archive_cat {
	float:left;
	width:8%;
	height:50px;
	font-size:22px;
	text-align:left;
	line-height:50px;
	padding-left:10px;
	text-align:center;
}
#archive_contenu {
	width:98%;
	height:auto;
	text-align:left;
	padding-left:10px;
	padding-right:10px;
	padding-top:7px;
	line-height: 1.5;
	font-size:1.1rem;
}
#archive_contenu p {
	line-height: 1.6;
	font-size: 1.1em;
	margin-top: 0.2em;
	text-align: justify;
	margin-bottom: 0.5em;
}
#archive_contenu li {
	list-style:square;
	margin-left:30px;
}
.container_bloc {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 120px;
	max-width: 100%;
	width: 90%;
	margin: 0 auto;
	/*margin-top: -230px;*/
	margin-top: -100px;
	padding-bottom: 0px;
}
.container_actu2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 120px;
	max-width: 100%;
	width: 90%;
	margin: 0 auto;
	margin-top: -230px;
	padding-bottom: 30px;
}
.bloc {
	position: relative;
	/* background: url('../images/tournoi.jpg') no-repeat center/cover; */
	background: #ff9f00;
	height: 160px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 6px 6px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	animation: fadeInUp 1s ease-out forwards;
	background: linear-gradient(45deg, #ff9f00 0%, #FFA700 50%, #FFDF84 100%);
}
.bloc2 {
	position: relative;
	/*background: url('../images/tournoi.jpg') no-repeat center/cover;*/
	background:#fff;
	height: 160px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 6px 6px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	animation: fadeInUp 1s ease-out forwards;
}
.bloc:hover, .bloc2:hover {
	transform: scale(1.05);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 10px 10px rgba(0, 0, 0, 0.3);
}/*
.texte {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 15px;
	background: rgba(0, 0, 0, 0.6);
	color: white;
	text-align: center;
	font-size: 18px;
}*/
.texte {
	position: absolute;
	/* bottom: 0; */
	left: 0;
	/* width: 100%; */
	padding: 15px;
	/* background: rgba(0, 0, 0, 0.6); */
	color: black;
	/* text-align: center; */
	font-size: 16px;
	max-width: 233px;/*border: 1px solid red;*/
}
.img1 {
	position: absolute;
	right: 2px;
	width: 120px;
}
.img2 {
	position: absolute;
	right: 5px;
	top: 35px;
	width: 150px;
}
.img3 {
	position: absolute;
	right: -8px;
	width: 120px;
}
.img4 {
	position: absolute;
	right: -8px;
	width: 180px;
	top: 30px;
}
.infoclub {
	display: flex; /* Utilisation de Flexbox */
	/*justify-content: space-between; /* Espacement égal entre les deux blocs */
    align-items: center; /* Aligner verticalement au centre */
	gap: 20px; /* Espacement entre les deux blocs */
	width:100%;
	height:276px;
	background-image:url(background.png);
	background-repeat:repeat-x;
	margin-top: -100px;
}
.sponsors {
	display: flex;
	/* justify-content: space-between; */
	align-items: center;
	gap: 20px;
	width: 100%;
	height: 276px;
	/* background-image: url(background.png); */
	background: #2aa5bb;
	background:linear-gradient(45deg, #2aa5bb 50%, #1a6371 100%);
}
/* Style pour le premier bloc .txt */
.txt {
	background-color: #f3f4f6;
	padding: 15px;
	border-radius: 5px;
	font-size: 32px;
	font-weight: bold;
	color: #333;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	margin-left: 100px;
	margin-top:40px;
}
/* Style pour le second bloc .txt2 */
.txt2 {
	background-color: #fffae6;
	padding: 12px;
	border-radius: 5px;
	font-size: 16px;
	color: #555;
	font-style: italic;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	margin-top:40px;
}
.txt3 {
	background-color: #f3f4f6;
	padding: 15px;
	border-radius: 5px;
	font-size: 32px;
	font-weight: bold;
	color: #333;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	margin-left: 100px;
	margin-top: -160px;
}
.container_actu {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 120px;
	max-width: 100%;
	width: 90%;
	margin: 0 auto;
	margin-top: -50px;
	padding-bottom: 280px;
}
.actualites {
	max-width: 1400px;
	margin: 0 auto;
	opacity: 0; /* Début invisible */
	transition: opacity 1s ease-in-out;
}
.actualites .container_actu, .actualites .container_actu2 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}
.actualite {
	background: #fff;
	padding: 20px;
	padding-top:0px;
	border-radius: 10px;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.actualite:hover {
	transform: scale(1.05);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.actualite h3 {
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 15px;
	color: #333;
}
.actualite a {
	text-decoration:none;
}
.actualites a{
	color: #0d5f6f;
	/*font-weight: bold;*/
}

.actualite p {
	font-size: 16px;
	color: #666;
	margin-bottom: 20px;
}
.titre-actualite {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px; /* Espace entre les images et le titre */
	text-align:center;
}
.titre-actualite .icon {
	width: 20px; /* Ajuste la taille de l'icône */
	height: auto;
}
.buttons {
	display: flex;
	gap: 10px;
	justify-content: space-between;
}
.buttons a {
	padding: 10px 20px;
	background: #007BFF;
	color: white;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.3s;
}
#dateactu {
	background: linear-gradient(45deg, #FFCB39 0%, #FFA700 50%, #FFCB39 100%);
	color: #333;
	padding: 10px 15px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s ease;
}
#dateactu:hover {
	background: linear-gradient(45deg, #FFA700 0%, #FFCB39 50%, #FFA700 100%);
}
#categorie_id1 {
	/*	background-color:#21aae1;*/
	background:linear-gradient(45deg, #0E7884 50%, #00ABBE 100%);
}
#categorie_id2 {
	/*background-color:#a8bf29;*/
	background:linear-gradient(45deg, #718600 50%, #c0e303 100%);
}
#categorie_id3 {
	/*background-color:#ff9000;*/
	background:linear-gradient(45deg, #f49111 50%, #ff4902 100%);
}
#categorie_id4 {
	/*background-color:#f43e0d;*/
	background:linear-gradient(45deg, #ff5527 50%, #BE0000 100%);
}
.partenaires {
	max-width: 100%;
	margin: 0 auto;
	/* padding: 30px 0; */
	/* background-color: #fff; */
	position: relative;
	margin-top: -170px;
	margin-bottom: 15px;
}
.swiper {
	width: 90%;
	margin: 20px auto;
}
.swiper-slide img {
	height: 120px;
	object-fit: contain;
	user-drag: none;
	transition: all 0.3s ease-in-out;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
}
.swiper-slide img:hover {
	transform: scale(1.05);
	box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.3);
}
.swiper-button-next {
	position: absolute;
	top: 50%;
	transform: translateY(-25%);
	background: rgba(0, 0, 0, 0.5);
	color: white;
	font-size: 10px;
	padding: 3px;
	border-radius: 10%;
	cursor: pointer;
	z-index: 10;
}
.swiper-button-prev {
	position: absolute;
	top: 50%;
	transform: translateY(-25%);
	background: rgba(0, 0, 0, 0.5);
	color: white;
	font-size: 10px;
	padding: 3px;
	border-radius: 10%;
	cursor: pointer;
	z-index: 10;
}
.swiper-button-prev:hover, .swiper-button-next:hover {
	background: rgba(0, 0, 0, 0.8);
}
/* Responsive pour mobile et tablettes */

/* Style Footer */
footer {
	background-color: #333;
	background:linear-gradient(45deg, #2B2B2B 50%, #4D4D4D 100%);
	color: white;
	padding: 20px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
footer a {
	color: white;
}
.footer-container {
	width: 100%;
	max-width: 1400px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 30px;
}
.footer-left {
	flex: 1;
	max-width: 350px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.footer-center {
	flex: 1;
	max-width: 450px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.footer-right {
	flex: 1;
	max-width: 250px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
/* Section image */
.footer-left img {
	max-width: 60%;
	height: auto;
	border-radius: 10px;
	margin-bottom: 20px;
}
.footer-left h2 {
	font-size: 22px;
	margin-bottom: 10px;
	color: #ffbb33; /* Couleur accent */
}
.footer-left p {
	font-size: 16px;
	line-height: 1.6;
}
/* Section coordonnées */
        .footer-center h3, .footer-right h3 {
	font-size: 20px;
	margin-bottom: 15px;
	color: #ffbb33; /* Couleur accent */
}
.footer-center p, .footer-right p {
	font-size: 16px;
	line-height: 1.6;
}
.footer-center ul, .footer-right ul {
	list-style: none;
	padding-left: 0;
}
.footer-center ul li, .footer-right ul li {
	margin-bottom: 10px;
}
.footer-center ul li a, .footer-right ul li a {
	text-decoration: none;
	color: white;
	font-size: 16px;
	transition: color 0.3s ease;
}
.footer-center ul li a:hover, .footer-right ul li a:hover {
	color: #ffbb33; /* Couleur survol */
}
.copyright {
	border-top: 1px solid #2aa5bb;
	width: 100%;
	text-align: center;
	padding-top: 10px;
}
.copyright-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
	width: 100%;
	place-items: center; /* centre chaque image dans sa cellule */
}
.copyright-img {
	/*width: 100%;*/
  height: auto;
	object-fit: cover;
	display: block;
	max-width:180px;
}
/* Styles pour l'image-slider */
.image-slider {
	position: relative;
	width: 100%;
	overflow: hidden; /* Cache les images qui débordent */
}
.slider-container-bandeau {
	display: flex;
	transition: transform 0.5s ease-in-out; /* Transition fluide pour le défilement */
}
.slide_bandeau {
	min-width: 100%; /* Chaque image prend 100% de la largeur du conteneur */
	transition: opacity 1s ease-in-out; /* Transition douce pour l'apparition/disparition */
}
.slide_bandeau img {
	width: 100%;
	height: auto;
	display: block;
}
/* Flèches de navigation */
.image-slider button {
	position: absolute;
	top: 50%;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	font-size: 30px;
	padding: 10px;
	cursor: pointer;
	z-index: 1;
}
.prev {
	left: 10px;
}
.next {
	right: 10px;
}
/* Positionnement des flèches */
button:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

/* Animation de transition */
@keyframes slide {
 0% {
 transform: translateX(0);
}
 100% {
 transform: translateX(-100%);
}
}
/*----ARBITRAGE----*/
#arbitre {
	background-image:url(fond3.jpg);
	height:auto;
	width:700px;
	text-align:left;
}
.arbitrage1 {
	color: #F60;
	font-weight: bold;
	font-size:1em;
}
.arbitrage2 {
	color: #00A600;
	font-weight: bold;
	font-size:1em;
}
.couleur2 {
	font-weight:bold;
	background-color:#E6F2FF;
	font-size:1.3em;
}
.couleur1 {
	color:#006666;
	font-weight:bold;
	font-size:1.300em;
	background-color:#99CCFF;
}
.jaune2 {
	color: #FF0;
	font-size:1.125em;
	font-weight:bold;
}
/*---FIN ARBITRAGE---*/
/*----AFFICHAGE SOUS FORME DE TABLEAU de type "classement des joueurs"-----*/
#classement table {
	margin: auto;
	border: 2px solid;
	border-color: #2C485C;
	border-collapse:collapse;
	font-size:1.064em;
}
#classement th, #classement td {
	border: 1px solid;
	text-align: center;
	padding: 3px;
	border-color:#2C485C;
}
/*
#classement tr:hover{
	background-color:#C5E2C5;
}
*/
#classement th a, #classement td a {
	text-align: center;
	padding: 3px;
	color:#339966;
}
#classement th a:hover, #classement td a:hover {
	text-align: center;
	padding: 3px;
	color:#0099FF;
}
/*--------ACTUALITE - RESULTATS CHAMPIONNAT -------*/
.defaite {
	color: #F00;
	font-weight: bold;
}
.victoire {
	color: #09F;
	font-weight: bold;
	font-size:1.125em;
}
.bilan {
	color: #000;
	background-color: #C5E2C5;
	text-align:center;
	font-weight: bold;
	font-size:1.064em;
}
.feminin {
	color: #000;
	background-color: #FCF;
	text-align:center;
	font-weight: bold;
	font-size:1.064em;
}
/*--------FIN ACTUALITE RESULTATS--------*/

/*-----gestion des joueurs championnat------*/
.disponible {
	background-color:#21DE6C;
	color:#000;
	font-weight:bold;
}
.indisponible {
	background-color:#F00;
	color:#FFF;
	font-weight:bold;
}
.sans_reponse {
	background-color:#FF0;
	color:#000;
	font-weight:bold;
}
.rouge {
	color: #F30;
	font-weight: bold;
	font-size:1.125em;
}
.stade {
	color: #297E7E;
	font-weight: bold;
	font-size:1.250em;
}
.lien_actif {
	background: linear-gradient(45deg, #FFCB39 0%, #FFA700 50%, #FFCB39 100%);
	border-radius: 20px;
}
@media screen and (min-width: 1306px) and (max-width: 1650px) {
	.menu a {
	padding: 1px;
}
.menu li {
	margin-right: 15px;
}
}
@media screen and (min-width: 1206px) and (max-width: 1408px) {
	.menu a {
	padding: 1px;
	font-size:14px;
}
.menu li {
	margin-right: 12px;
}
}
@media screen and (min-width: 1050px) and (max-width: 1206px) {
	.menu a {
	padding: 1px;
	font-size:14px;
	margin : 5px 1px;
}
.logo_club img {
	width: 140px;
}
.menu li {
	margin-right: 10px;
}
}
@media screen and (min-width: 828px) and (max-width: 1050px) {
	.menu a {
	padding: 1px;
	font-size:12px;
	margin: 5px 2px;
}
.logo_club img {
	width: 140px;
}
.menu li {
	margin-right: 5px;
}
}
@media screen and (min-width: 768px) and (max-width: 828px) {
	.menu a {
	padding: 1px;
	font-size:10px;
	margin: 5px 2px;
}
.logo_club img {
	width: 140px;
}
.menu li {
	margin-right: 5px;
}
}
/* Responsive (Mobile) */
@media screen and (max-width: 786px) {
/* Masquer le menu par défaut sur mobile */
	.menu {
	display: none;
	width: 100%;
	flex-direction: column;
	background-color: #333;
	position: absolute;
	top: 60px;
	left: 0;
	padding: 20px;
	text-align: center;
}
/* Afficher le menu lorsque l'on clique sur le burger */
		.menu.active {
	display: flex;
	z-index:0;
}
.menu li {
	margin: 10px 0;
}
/* Afficher le burger en mobile */
.burger {
	display: block;
	margin-right:30px;
}
.actualites .container {
	grid-template-columns: 1fr 1fr;
}
.logo {
	width: 120px;
	height: 80px;
}
.logo_club img {
	width: 180px;
	z-index:1;
}
.container_bloc {
	display: none;
}
.footer-container {
	flex-direction: column;
	align-items: center;
}
.footer-left, .footer-center, .footer-right {
	max-width: 100%;
	margin-bottom: 20px;
}
.actualites .container_actu, .actualites .container_actu2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}
.footer-container {
	flex-direction: initial;
	align-items: center;
}
.menu {
	background-color: #2aa5bb;
	top: 24px;
}
.menu a {
	padding: 5px;
	text-align: left;
	margin: 5px 10px;
}
.menu li {
	margin: 10px 0;
	width: 30%;
}
#archive_date, #archive_cat, #archive_titre {
	height:auto;
	min-height:40px;
	font-size:17px;
	text-align:left;
	line-height:50px;
	text-align:center;
	padding:0;
}
#archive_titre a {
	display:none;
}
}
@media (max-width: 480px) {
header .icons {
	margin-right: 5px;
}
.actualites .container {
	grid-template-columns: 1fr;
}
.actualites .container_actu, .actualites .container_actu2 {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 30px;
}
.actualites {
	max-width: 480px;
	margin: 0 auto;
}
.txt {
	margin-left: 0px;
	margin-top: 40px;
}
.container_bloc {
	display: none;
}
.logo_club img {
	width: 100px;
}
.logo {
	width: 100px;
	height: 70px;
}
.footer-center, .footer-right {
	display:none;
}
.txt {
	font-size:24px;
}
.txt2 {
	font-size:15px;
}
.sponsors, .partenaires {
	display: none;
}
.copyright {
	display:none;
}
.image-slider {
	display: none;
}
.menu {
	display: none;
	width: 100%;
	flex-direction: column;
	background-color: #2aa5bb;
	position: absolute;
	top: 35px;
	left: 0;
	padding: 20px;
	text-align: center;
}
.menu a {
	padding: 0px;
	text-align: left;
	margin: 5px 10px;
}
.lien_actif, .menu a:hover {
	background: none;
}
#archive_date, #archive_cat, #archive_titre {
	width:100%;
	height:auto;
	min-height:40px;
	font-size:14px;
	text-align:left;
	line-height:50px;
	border-bottom:1px solid black;
	text-align:center;
	padding:0;
}
#archive_titre a {
	display:none;
}
#archive_contenu {
	font-size:14px;
	padding-left:0px;
}
.timeline-container {
	padding: 1px;
}
.infoclub {
	margin-top: -80px;
}
#slider-next a, #slider-prev a {
	font-size:14px;
}
}
/* Container */
.container_bloc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 95%;         /* prend plus de largeur */
  max-width: 1600px;  /* limite pour garder une belle mise en page */
  margin: 0 auto;
  margin-top: -100px;
}

/* Responsive : en dessous de 1000px, 2 colonnes */
@media (max-width: 1000px) {
  .container_bloc {
	display: none;
}
}

/* Responsive : en dessous de 600px, 1 colonne */
@media (max-width: 600px) {
  .container_bloc {
	display: none;
}
}

/* Bloc générique */
.bloc, .bloc2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  min-height: 160px;
  height: auto;
  padding: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 6px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bloc {
  background: linear-gradient(45deg, #ff9f00 0%, #FFA700 50%, #FFDF84 100%);
}

.bloc:hover, .bloc2:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 10px 10px rgba(0, 0, 0, 0.3);
}

/* Texte 
.texte {
  flex: 1; 
  font-size: 16px;
  line-height: 1.4;
  color: black;
  overflow-wrap: break-word;
}
*/

/* Images */
.img1, .img2, .img3 {
  flex-shrink: 0;
  max-width: 30%;   /* l'image prend max 30% du bloc */
  text-align: right;
}
 .img4 {
  flex-shrink: 0;
  max-width: 70%;   /* l'image prend max 30% du bloc */
  text-align: right;
}
.img1 img, .img2 img, .img3 img, .img4 img {
  width: 100%;      /* image prend toute la largeur de son conteneur */
  height: auto;     /* garde le ratio */
}

/* En mobile : image en dessous du texte, taille réduite */
@media (max-width: 500px) {
  .container_bloc {
	display: none;
}.bloc, .bloc2 {
    flex-direction: column;
    text-align: center;
  }
  .img1, .img2, .img3, .img4 {
    max-width: 60%;  /* plus petit que sur desktop */
    margin-top: 10px;
  }
}
/* Cas spécifique : bloc avec plusieurs images */
.img2 {
  display: flex;
  justify-content: flex-end;  /* aligne à droite */
  gap: 10px;                  /* espace entre les logos */
  max-width: 50%;             /* prend la même largeur que les autres */
}

.img2 img {
  max-width: 48%;             /* chaque image prend ~la moitié de l'espace */
  height: auto;
}