 * { margin: 0; padding: 0; }
body {  font-family: "Segoe UI", Arial, sans-serif; font-size: 1em; line-height: 1.6; background-color: #F2F2F2; 
  margin-top: 45px;      /* ajoute un espace pour ne pas que le contenu passe sous la nav */
} 
#nav_haut {
	padding: 0;
	margin: 0;
	width: 100%;
	background: #E6C84F;
        position: fixed;       /* fixe la nav en haut */
        top: 0;                /* colle en haut */
        left: 0;
        z-index: 1000;         /* reste au-dessus des autres éléments */
}

#nav_haut ul {
	padding-top: 10px;
	padding-bottom: 10px;
	max-width: 1053px;
	text-align: left;
	margin: auto;
}

#nav_haut li {
	padding: 19px 40px 0;
	height: auto;
	display: inline;
}

#nav_haut li a {
	font-family: tahoma, sans-serif;
	font-size: 0.9em;
	font-weight: bold;
	color: #fff;
	text-decoration: none;
}
#nav_logo{
    width: 100%;
  max-width: 93.75rem;
  margin: auto;
  text-align: center;
  background-color: white;
  max-width: 1053px;
}
#nav_logo img.imghaut {
	max-width: 250px;
	height: auto;
	max-height: 204px;
	object-fit: cover;
}
/*chemin*/
.breadcrumb { list-style: none; font-size: 0.8em; padding: 0; margin: 0; display: flex; line-height: .8;  }
.breadcrumb li {  padding: 5px 0 5px 5px;  }
.breadcrumb li + li::before {  content: ">"; margin: 0 5px 0 2px; }
.breadcrumb a { color: #C9AA2F; text-decoration: none; }      
.breadcrumb a:hover {  text-decoration: underline; }

main {
	background-color: white;
	width: 100%;
	max-width: 1053px;
	margin: auto;
	height: auto;
	border-bottom: 1px solid #fff;
}
main h1{
    padding: 0.4rem;
    margin-bottom: 1rem; 
    font-size:1.1rem;
    color: #fff;
    background: #E6C84F;
}
main p {
	margin: 0.4rem;
}
main img {
    display: block;  
	width: 99%;
	max-width: 720px;
	height: auto;
        margin: 0.5rem auto; 
}
#deuxcol {
    display: flex; /* Utiliser Flexbox pour l'agencement */
    justify-content: space-between; /* Espacer les éléments horizontalement */
    flex-wrap: wrap; /* Permet de passer en une colonne sur petits écrans */
    align-items: flex-start; /* Aligner les éléments en haut pour éviter le décalage vertical */
}

#article {
    flex: 1; /* Prend tout l'espace restant disponible */
    min-width: 0; /* Permet à l'article de se réduire si nécessaire */
    padding-right: 10px; /* Espacement pour séparer du nav_bas */
    box-sizing: border-box; /* Inclut padding et bordures dans la largeur totale */
    font-family: "Segoe UI", Arial, sans-serif; font-weight: bold; color: #444;
}
#article h2 {padding: 0.4rem;
    margin-bottom: 1rem; 
    font-size:1.1rem;
    color: #444;
}
#article ul {
  padding-left: 50px;   /* espace entre le bord gauche et les puces */
  margin-left: 0;       /* supprime la marge par défaut */
}
#article .partenaires { 
    max-width: 200px;
    max-width: 200px;
}
.partenaire-item {
  display: flex;              /* active Flexbox */
  align-items: center;        /* aligne verticalement au centre */
  gap: 0.2rem;                  /* espace entre image et texte */
  list-style: none;  /* enlève le puce du <li> */
  border-radius: 10px; /* Ajoute des coins arrondis */
  border : #E6C84F solid 1px;
  margin-bottom: 0.8rem; 
}

.partenaire-item img {
  max-height: 150px;           /* ajuste la taille de l’image */
  width: auto;
}
.partenaire-item a img {
  margin-left: 0.5rem;   /* espace de 8px environ */
}
.photo-container img { 
    padding: 0.4rem;
    max-width: 720px;
    height: auto; /* Conserve les proportions de l'image */
    display: block; /* Assure que l'image est centrée correctement */
    margin: 0 auto; /* Centre l'image horizontalement */
    border-radius: 10px; /* Ajoute des coins arrondis */
    border : #E6C84F solid 1px;
}
#nav_bas {
    background-color: #ddd;
    width: 200px;
    box-sizing: border-box;
    padding: 0; /* Réinitialise tout padding */
    margin: 0; /* Réinitialise toute marge */
}
#nav_bas {
    flex: 0 0 200px; /* Largeur fixe de 200px, mais peut s'ajuster sur petits écrans */
    max-width: 100%; /* S'assure que nav_bas ne dépasse pas la largeur disponible */
    box-sizing: border-box; /* Inclut padding et bordures dans la largeur =totale */
}  
#nav_bas .categories ul { 
    background-color : #ddd;
    margin-left : 0px; 
    margin-right: 10px; 
    margin-bottom : 14px; 
    width : 200px; 
    display:block; 
}
#nav_bas .categories li { 
    list-style: none; 
    text-align: left; 
    padding-left: 10px; 
}
 #nav_bas .categories li a{ 
    font-family : tahoma, sans-serif; 
    font-size: 0.9rem;
    font-weight: bold; 
    color: #000;
    text-decoration : none; 
}
.leftcol_box {
	width: 200px;
	padding-right: 10px;
	float: left;
}

.leftcol_box h4 {
    padding: 7px 0;
    margin: 0; /* Supprime la marge */
    line-height: 1.2em;
    color: #fff;
    background: #E6C84F;
    font-size: 1rem;
    font-weight: bold;
}

.leftcol_box h4 span {
	padding-left: 10px;
}
#mentions{
    background-color : #ddd;
    font-size: 0.8rem;
    padding: 0.4rem 0;
    margin: 0 auto;
    max-width: 1053px;
}
#mentions span a{
    font-family : tahoma, sans-serif; 
    font-weight: bold;
    color: #C9AA2F;
    text-decoration : none;
}
footer {
    margin: 0px auto;
    padding-top: 1rem;
    font-size: 1em;text-align: center; background-color: #666; color: rgba(255,255,255,.9);width: 100%; height: 50px;}
.clearthis {
	clear : both;  
}
/* Conteneur du formulaire */
form {
    border: 1px solid #E6C84F;   /* Bordure bleue */
    border-radius: 5px;          /* Coins arrondis */
    padding: 15px;               /* Espace intérieur */
    margin: 10px 0 10px 10px; /* marge gauche de 10px */ 
    background: #f9f9f9;         /* Léger fond gris */
}

/* Labels */
form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Champs texte */
form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
/* Bouton */
form button {
    background-color: #E6C84F;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
form button:hover {
    background-color: #0056b3;
}
#pub, #encart-local {
	width: 95%;
        max-width: 750px;
        margin: 0.4rem auto; 
        font-size: 0.6rem;
	text-align: center;
        border: 2px dashed #E6C84F;
        border-radius: 6px;
        background-color: #eee;
}
#pub img, #encart-local img {
	width: 99%;
	max-width: 720px;
	height: auto;
	max-height: 270px;
	object-fit: contain;
	background-color: white;
        margin: 0.5rem auto; 
}
/* Réarrangement pour petits écrans */
@media (max-width: 768px) {
    #pub, #encart-local {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .presentation-pub {
        font-size: 0.5rem;
    }
    #deuxcol {
        flex-direction: column; /* Aligne les colonnes en une seule colonne */
    }

    /* 15/10/2026 : sur téléphone, le menu de droite passe sous le contenu
       en bloc compact sous le titre de la rubrique (liens sur 2 colonnes). */
    #nav_bas {
        flex: none; /* annule la base de 200px (sinon hauteur fixe en colonne) */
        width: 100%;
        margin-top: 1.2rem;
        border-radius: 10px;
        overflow: hidden;
    }
    #nav_bas .leftcol_box {
        float: none;
        width: 100%;
        padding-right: 0;
    }
    #nav_bas .categories ul {
        width: auto;
        margin: 0;
        padding: 0.5rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
    }
    #nav_bas .categories li {
        padding: 0;
    }
    #nav_bas .categories li a {
        display: block;
        padding: 0.55rem 0.5rem; /* zone de clic confortable au doigt */
        background: #fff;
        border: 1px solid #E6C84F;
        border-radius: 6px;
    }

    #article {
        padding-right: 0; /* Supprime le padding droit */
    }
    body {   
/*margin-top: 70px; /* ajoute un espace pour ne pas que le contenu passe sous la navsi necessaire*/
} 
}
/* 25/10/2026 : lien « Adhérer » du menu du haut et bouton de la page /adherer */
#nav_haut li.adherer a { background: #fff; color: #C9AA2F; padding: 4px 12px; border-radius: 6px; }
#nav_haut li.adherer a:hover { text-decoration: underline; }
.bouton-adherer { display: inline-block; background: #E6C84F; color: #fff; font-size: 1.15rem; font-weight: bold;
  text-decoration: none; padding: 0.8rem 1.6rem; border-radius: 10px; margin: 0.8rem 0.4rem; }
.bouton-adherer:hover, .bouton-adherer:focus { background: #C9AA2F; text-decoration: underline; }

.formulaire-helloasso { display: block; width: 100%; height: 900px; border: none; margin: 0.8rem 0; }
/* 25/10/2026 : QR code de la page /adherer (caché sur téléphone) */
.qr-adherer { float: right; width: 160px; margin: 0 0.4rem 0.6rem 1rem; text-align: center; font-size: 0.8rem; font-weight: normal; }
main .qr-adherer img { width: 150px; height: 150px; margin: 0 auto 0.2rem; }
.formulaire-helloasso { clear: both; }
@media (max-width: 768px) { .qr-adherer { display: none; } }
/* 12/11/2026 : petit bonhomme en haut à droite (lien vers l'espace responsables, commande/navhaut.php) */
#nav_haut .lien-espace { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.25); color: #fff; text-decoration: none; }
#nav_haut .lien-espace:hover { background: #fff; color: #C9AA2F; }
