/* --- Réglages Généraux (Fond noir et police) --- */
html, body {
    margin: 0;
    padding: 0;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
    background-color: #000000;
}

/* --- Conteneur Principal (Le bloc de 1240px) --- */
#page-wrapper {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    background-color: #0d0d0d;
    color: #ebe1c6;
}


/* --- =================================== --- */
/* --- BLOC 1 : BANNIÈRE (Header)          --- */
/* --- =================================== --- */

.banner-header {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Styles communs aux DEUX bannières */
.banner-header img {
    width: 100%;
    height: auto; 

    background-color: #ebe1c6; 
}

/* * PAR DÉFAUT (vue "desktop" ou grand écran) :
 * On AFFICHE la bannière desktop et on CACHE la mobile.
 */
.banner-desktop {
    display: block;
}
.banner-mobile {
    display: none;
}


/* * === NOUVELLE RÈGLE RESPONSIVE ===
 * Quand l'écran fait 999px de large OU MOINS 
 * (votre "en dessous de 1000px")
 */
@media (max-width: 678px) {
    
    /* On CACHE la bannière desktop */
    .banner-desktop {
        display: none;
    }

    /* On AFFICHE la bannière mobile */
    .banner-mobile {
        display: block;
    }
    #page-wrapper {
        /* Ajoute de l'espace sur les côtés quand l'écran est plus petit */
        /* que 1240px, pour que le contenu ne colle pas au bord */
      /*   padding-left: 15px;*/
       /*  padding-right: 15px;*/
        
        /* Garantit que le padding n'augmente pas la largeur totale */
        box-sizing: border-box; 
    }
}



/* --- =================================== --- */
/* --- BLOC 2 : PRÉSENTATION (Intro)       --- */
/* --- =================================== --- */

.content-section {
    /* Ajoute de l'espace au-dessus et en-dessous de la section */
    padding: 30px 0;
}

/* Le conteneur de 1068px qui tient l'image et le texte */
.intro-container {
    display: flex; /* Met les blocs enfants côte à côte */
    max-width: 1068px; /* Votre largeur max (440 + 628) */
    margin: 0 auto;    /* Centre le bloc dans le #page-wrapper */
    
    /* Aligne le texte au centre verticalement par rapport à l'image */
    align-items: center; 
    
    /* Au cas où l'image et le texte ont un fond */
    overflow: hidden; 
}

/* --- Bloc Image (Gauche) --- */
.intro-image {
    /* L'image prend sa largeur fixe de 440px */
    flex-basis: 440px; 
    flex-shrink: 0; /* Ne rétrécit pas (sur desktop) */
}

.intro-image img {
    width: 100%; /* L'image remplit son conteneur */
    height: auto;
    display: block; /* Enlève les micro-marges sous l'image */
}

/* --- Bloc Texte (Droite) --- */
.intro-text {
    /* Prend la place restante (vos 628px) */
    flex: 1;
    
    /* Ajoute de l'air à l'intérieur du bloc texte */
    padding: 0 30px; 
    
    /* S'assure que le padding n'augmente pas la taille du bloc */
    box-sizing: border-box; 
}

.intro-text p {
    line-height: 1.6; /* Rend le texte plus lisible */
    margin: 15px 0; /* Espace entre les paragraphes */
}

/* --- Bloc Texte (Droite) --- */
.intro-text {
    /* Prend la place restante (vos 628px) */
    flex: 1;
    
    /* Ajoute de l'air à l'intérieur du bloc texte */
    padding: 0 30px; 
    
    /* S'assure que le padding n'augmente pas la taille du bloc */
    box-sizing: border-box; 
}

/* --- NOUVELLE RÈGLE POUR VOTRE TITRE H1 --- */
.intro-text h1 {
    font-size: 1.5em; /* Un peu plus grand */
    font-weight: bold;
    color: #ffffff;  /* Votre couleur BLANC PUR */
    margin-top: 0;
    margin-bottom: 10px; /* Espace avant le paragraphe suivant */
}

.intro-text p {
    line-height: 1.6; /* Rend le texte plus lisible */
    margin: 15px 0; /* Espace entre les paragraphes */
}

/* Cible le premier paragraphe (celui de Cyril Martel) pour coller au titre */
.intro-text h1 + p {
    margin-top: 0;
}


/* --- =================================== --- */
/* --- RESPONSIVE BLOC 2 (Mobile)          --- */
/* --- =================================== --- */

/* On utilise 1068px comme point de rupture */
@media (max-width: 999px) {
    
    .intro-container {
        /* Les blocs se mettent l'un SOUS l'autre */
        flex-direction: column; 
    }
    
    .intro-image {
        /* L'image prend 100% de la largeur dispo */
        flex-basis: auto;
        width: 100%;
        max-width: 440px; /* Mais ne dépasse pas sa taille max */
        margin: 0 auto;   /* Se centre si l'écran est > 440px */
    }
    
    .intro-text {
        /* Le texte prend 100% de la largeur et a du padding */
        width: 100%;
        padding: 25px 20px; /* Un peu plus d'air sur mobile */
        text-align: center; /* Souvent mieux sur mobile */
    }
}



/* --- =================================== --- */
/* --- BLOC 3 : BANNIÈRE DÉCORATIVE        --- */
/* --- =================================== --- */

.decorative-banner {
    /* Ajoute de l'espace au-dessus et en-dessous de l'image */
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0;
    margin-right: 0;
}

.decorative-banner img {
    /* L'image prend 100% de la largeur du conteneur (#page-wrapper) */
    width: 100%;
    
    /* La hauteur s'ajuste pour garder les proportions */
    height: auto;
    
    /* Enlève les micro-marges sous l'image */
    display: block;
}

/* --- =================================== --- */
/* --- RESPONSIVE BANNIÈRE DÉCORATIVE      --- */
/* --- =================================== --- */

@media (max-width: 768px) {
    
    .decorative-banner img {
        /* On force la largeur à 100% */
        width: 100%;
        
        /* On force la hauteur à 135px */
        height: 135px;
        
        /*
         * LA MAGIE EST ICI :
         * Ne déforme pas l'image, mais la fait "zoomer"
         * pour remplir le conteneur (en rognant les côtés).
         */
        object-fit: cover;
        
        /* (Optionnel) S'assure qu'on rogne depuis le centre */
        object-position: center;
    }
}


/* --- =================================== --- */
/* --- BLOCS 4, 5, 6 : PRODUITS (Boucherie)--- */
/* --- =================================== --- */
.sectionplusieursblocs{
     margin-left: 10px;
     margin-right: 10px;
    }
    
    
.product-section {
    /* Votre largeur max pour ces blocs */
    max-width: 1045px;
    
    /* Marge pour espacer les blocs */
    margin-top: 40px;
    margin-bottom: 40px;
  
    /* Style copié de votre image modèle */
    border: 2px solid #ebe1c6;
    border-radius: 12px;
    overflow: hidden; /* Important pour que le titre soit arrondi */
}

/* Règle d'alignement pour le bloc GAUCHE */
.product-section.align-left {
   
    margin-right: auto;
}

/* Règle d'alignement pour le bloc DROIT */
.product-section.align-right {
    margin-left: auto;
  
}

/* --- Mini Bannière Titre --- */
.section-title-banner {
    background-color: #ebe1c6;
    color: #0d0d0d;
    padding: 8px 15px;
    text-align: center;
}
.section-title-banner h2 {
    margin: 0;
    font-size: 1.3em;
    font-weight: bold;
}

/* --- Contenu (Image + Texte) --- */
.product-content {
    display: flex;
    /* Aligne le texte au milieu de l'image */
    align-items: center; 
    padding: 25px;
}

/* --- Image Produit --- */
.product-image {
    /* Votre largeur fixe de 280px */
    /* flex-basis: 280px;*/
    flex-shrink: 0; /* Empêche l'image de rétrécir */
    margin-right: 25px;
}
.product-image img {
    width: 100%;
    height: auto; /* Garde les proportions (194px) */
    display: block;
    border-radius: 8px; /* Bords arrondis comme sur le modèle */
}
/* --- Image Produit --- */
.product-image2 {
    width: 100%;
    /* Ajout pour centrer l'enfant (l'image) */
    display: flex; 
    justify-content: center;
    
    /* Tes autres styles */
    flex-shrink: 0;
    margin-right: 25px;
}

.product-image2 img {
    width: 428px;
    height: auto;
    display: block;
    border-radius: 8px;
}
/* --- Texte Produit --- */
.product-text {
    flex: 1; /* Prend tout l'espace restant */
}
.product-text h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #FFFFFF; /* Rappel de la couleur "crème" */
}
.product-text p {
    line-height: 1.6;
    margin: 10px 0;
}
.product-text p:last-child {
    margin-bottom: 0;
}


/* --- INVERSION pour le bloc aligné à DROITE --- */
.product-section.align-right .product-content {
    /* Inverse l'ordre : l'image (1er en HTML) passe à droite */
    flex-direction: row-reverse;
}
.product-section.align-right .product-image {
    /* Inverse la marge */
    margin-right: 0;
    margin-left: 25px;
}


/* --- =================================== --- */
/* --- RESPONSIVE BLOCS PRODUITS (Mobile)  --- */
/* --- =================================== --- */

/* Quand l'écran devient trop petit pour le L/R */
@media (max-width: 768px) {
    
    .product-section {
        /* Sur mobile, on enlève l'alignement G/D */
        margin-left: auto;
        margin-right: auto;
    }
    
    .product-content {
        /* Les blocs se mettent l'un SOUS l'autre */
        flex-direction: column;
        padding: 20px;
    }
    
    /* On annule aussi l'inversion sur mobile */
    .product-section.align-right .product-content {
        flex-direction: column;
    }

    .product-image {
        width: 100%;
        max-width: 280px; /* Ne dépasse pas sa taille max */
        /* Centre l'image et la sépare du texte */
        margin: 0 auto 20px auto; 
    }
    
    /* On annule aussi l'inversion de marge */
    .product-section.align-right .product-image {
        margin: 0 auto 20px auto;
    }
    
    .product-text {
        text-align: center; /* Plus joli sur mobile */
    }
}



/* --- =================================== --- */
/* --- BLOC 7 : BIO CYRIL MARTEL           --- */
/* --- =================================== --- */

.bio-section {
    /* Ajoute de l'espace au-dessus et en-dessous */
    padding: 30px 0;
}

.bio-container {
    display: flex; /* Met les blocs enfants côte à côte */
    align-items: center; /* Centre verticalement */
    max-width: 1068px; /* On garde la même largeur max que l'intro */
    margin: 0 auto;    /* Centre le bloc dans le #page-wrapper */
}

/* --- Bloc Texte (Gauche) --- */
.bio-text {
    flex: 1; /* Prend l'espace restant */
    padding-right: 30px; /* Espace avant l'image */
    box-sizing: border-box;
}
.bio-text p {
    line-height: 1.6;
    margin: 15px 0;
}
.bio-text p:first-child {
    margin-top: 0;
}
.bio-text p:last-child {
    margin-bottom: 0;
}

/* --- Bloc Image (Droite) --- */
.bio-image {
    /* Largeur de l'image (226px) + 2x10px de padding */
    flex-basis: 246px; 
    flex-shrink: 0; /* Ne rétrécit pas */
    
    /* Style de cadre inspiré de votre screenshot */

    padding: 10px;

    box-sizing: border-box;
}
.bio-image img {
    width: 100%; /* L'image prend 226px */
    height: auto; 
    display: block;
    box-sizing: border-box;
}

/* --- =================================== --- */
/* --- RESPONSIVE BLOC BIO (Mobile)        --- */
/* --- =================================== --- */

/* On utilise le même point de rupture que l'intro */
@media (max-width: 1068px) {
    
    .bio-container {
        /* L'image (2e item) passe AU-DESSUS du texte (1er item) */
        flex-direction: column-reverse; 
    }

    .bio-text {
        width: 100%;
        /* Pas de padding à droite, mais en haut pour séparer de l'image */
        padding: 25px 20px 0 20px; 
        text-align: center;
    }
    
    .bio-image {
        flex-basis: auto;
        width: 100%;
        max-width: 246px; /* Garde la largeur max du cadre */
        margin: 0 auto;   /* Se centre */
    }
}



/* --- =================================== --- */
/* --- BLOC NAV : MENU PRINCIPAL           --- */
/* --- =================================== --- */

.main-nav {
    /* Le fond beige de votre image */
    background-color: #ebe1c6;
    padding: 10px 15px;
    margin-top: 10px; /* Espace avec la bannière du haut */
}

.main-nav ul {
    /* On utilise flexbox pour centrer et aligner */
    display: flex;
    justify-content: center; /* Centre les liens horizontalement */
    align-items: center;     /* Centre verticalement */
    
    /* Permet aux liens de passer à la ligne si pas de place */
    flex-wrap: wrap; 
    
    /* Reset de la liste */
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    /* Requis pour positionner le pseudo-élément "★" */
    position: relative;
}

/* Ajoute l'étoile APRÈS chaque lien */
.main-nav li::after {
    content: '★';
    color: #0d0d0d; /* Couleur de l'étoile */
    font-size: 0.8em; /* Étoile légèrement plus petite */
    /* Espace de 15px de chaque côté de l'étoile */
    margin: 0 15px; 
}

/* ... SAUF le DERNIER lien */
.main-nav li:last-child::after {
    display: none; /* Pas d'étoile après "Infos Pratiques" */
}

.main-nav a {
   /* display: block;  Rend tout le bloc 'li' cliquable */
    color: #0d0d0d; /* Le texte en noir/foncé */
    text-decoration: none;
    text-transform: uppercase; /* En MAJUSCULES comme sur l'image */
    font-weight: bold;
    font-size: 0.9em;
    padding: 5px 0; /* Un peu d'espace vertical */
}

/* Petit effet au survol */
.main-nav a:hover {
    color: #555;
}

/* --- =================================== --- */
/* --- RESPONSIVE BLOC NAV (Mobile)        --- */
/* --- =================================== --- */

/* Point de rupture à 800px (vous pouvez ajuster) */
@media (max-width: 800px) {
    
    .main-nav ul {
        /* flex-direction: column;  <-- SUPPRIMEZ CETTE LIGNE */
    }

    .main-nav li {
        /* Ajoute de l'espace vertical entre les liens */
        /* C'est utile quand les boutons sont sur plusieurs lignes */
        padding: 6px 0;
    }
    
    /* On CACHE l'étoile sur mobile, car elle gène la mise en page */

}






/* --- =================================== --- */
/* --- BLOC FINAL : INFOS PRATIQUES (Footer) --- */
/* --- =================================== --- */

.site-footer {
    /* Fond beige et texte foncé, comme la NAV */
    background-color: #ebe1c6;
    color: #0d0d0d;
    
    padding: 30px 20px;
    margin-top: 0px; /* Espace avec le dernier bloc de contenu */
}

.footer-container {
    display: flex;
    justify-content: center; /* Espace les colonnes */
    align-items: flex-start; /* Aligne le haut des colonnes */
    flex-wrap: wrap; /* Permet de passer à la ligne sur mobile */
}

.footer-logo {
    /* On donne une base fixe à la colonne */
    flex-basis: 146px; 
    
    /* Empêche la colonne de grandir ou de rétrécir */
    flex-grow: 0;
    flex-shrink: 0; 
    
    /* On garde l'espace à droite */
    padding-right: 20px;
    
    /* Au cas où (pour le responsive) */
    box-sizing: border-box;
}

.footer-logo img {
    /* Votre taille fixe */
    width: 250px;
    height: 146px;
    
    /* Assure que l'image n'est pas déformée si elle n'est pas carrée */
    object-fit: contain; 
    display: block; /* Enlève les micro-marges */
}

/* --- Colonne 2 : Contact --- */
.footer-details {
    flex: 1.5; /* Prend un peu plus de place */
    min-width: 250px;
    max-width: 361px;
}

/* --- Colonne 3 : Horaires --- */
.footer-horaires {
    flex: 1.5; /* Prend aussi plus de place */
    min-width: 250px;
     max-width: 341px;
}

/* --- Style commun aux blocs d'info --- */
.contact-bloc {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    margin-top: 10px;
}
.contact-bloc .icon {
    /* On définit la taille fixe de l'image */
    width: 30px;
    height: 30px;
    
    /* On garde la marge pour l'espacement */
    margin-right: 5px;
    
    /* Pour s'assurer que l'image s'aligne bien */
    flex-shrink: 0; 
}
.contact-bloc p {
    margin: 0;
    line-height: 1.6;
}

/* Style des liens dans le footer */
.contact-bloc a {
    color: #0d0d0d; /* Texte noir */
    text-decoration: none; /* Pas de soulignement par défaut */
}
.contact-bloc a:hover {
    text-decoration: underline; /* On souligne au survol */
}


/* --- =================================== --- */
/* --- RESPONSIVE BLOC FOOTER (Mobile)     --- */
/* --- =================================== --- */

@media (max-width: 800px) {
    .footer-container {
        /* Empile les colonnes verticalement */
        flex-direction: column;
        align-items: center; /* Centre tout sur mobile */
    }

    .footer-logo,
    .footer-details,
    .footer-horaires {
        /* Chaque colonne prend toute la largeur */
        flex-basis: auto;
        width: 100%;
        min-width: 100%;
        text-align: center; /* Centre le texte */
        padding-right: 0;
    }

    .footer-logo {
        margin-bottom: 30px;
    }
    .footer-logo img {
        margin: 0 auto; /* Centre le logo */
    }

    .contact-bloc {
        /* Empile l'icône et le texte */
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-bloc .icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}




/* --- =================================== --- */
/* --- CRÉDITS PIED DE PAGE                --- */
/* --- =================================== --- */

.site-credit {
    /* Il est maintenant sur fond beige, on retire le fond noir */
    
    /* Couleur "noir" (votre fond principal) pour le texte */
    color: #0d0d0d; 
    font-size: 0.6em;
    
    /* Espace par rapport aux colonnes du dessus */
    padding-top: 30px; 
    padding-bottom: 20px;
    text-align: center;
    
    /* Ligne de séparation au-dessus */
   /*  border-top: 1px solid rgba(13, 13, 13, 0.2); */
    margin-top: 20px;
}

.site-credit p {
    margin: 0;
}

.site-credit a {
    color: #0d0d0d; /* Lien en "noir" aussi */
    text-decoration: none;
    font-weight: bold; /* On le met en gras pour le voir */
}

.site-credit a:hover {
    text-decoration: underline;
}