* { 
    margin: 0;
     padding: 0; 
     box-sizing: border-box; }

body {
    font-family: 'Lato', sans-serif;
    background:  #F5EFDF;
    color: #2a2a2a;
    font-weight: 300;
}

/*  HEADER  */
.site-header {
    background:  #2D5A43;
    padding: 16px 32px;
}

.header-inner {
   
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 0;
}


.logo { 
    text-decoration: none;
     color:#F5EFDF;
 }

 .logo-img {
    height: 60px;
    width: auto;
}

nav a {
    color: #F5EFDF;
    text-decoration: none;
    margin-left: 32px;
    letter-spacing: 1px;
    font-size: 0.85rem;
    text-transform: uppercase;
   
}
nav a:hover {
     color: #B29037; 
    }



/*  hero  */
.hero {
    background: #2D5A43;
    color: #F5EFDF;
    padding: 96px 32px;
    text-align: center;
}



.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size:  3rem;
    line-height: 1.1;
    margin-bottom: 19px;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(245,239,223,.75);
    margin-bottom: 32px;
}

/*  BOUTON  */
.btn {
    display: inline-block;
    background: #B29037;
    color: #fff;
    padding: 13px 32px;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.btn:hover {
     background: #1a3528;
     }

/*  SECTIONS  */
.section-bieres, .equipe-section {
    max-width: 1100px;
    margin: 64px auto;
    padding: 0 32px;
}

.section-bieres h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2D5A43;
    margin-bottom: 32px;
    text-align: center;
}

/*  CARDS  */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid rgba(45,90,67,.15);
    text-decoration: none;
    color: #2a2a2a;
    display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(45,90,67,.12); }

.card-img {
    height: 180px;
    
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.biere-icon img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.card-body { 
    padding: 16px;

}
.card-body h3 {
    
    font-family: 'Playfair Display', serif;
     font-size: 17px;
      margin-bottom: 48px; 
      color: #2D5A43; 

}
.card-type { 
    font-size: 12px; 
    color: #768D65;
     letter-spacing: 1px; 
     text-transform: uppercase;
      margin-bottom: 6px
 }

.card-degre { 
    font-size: 18px; 
    color: #B29037; 
    font-weight: 400; 
}

/*  PAGE HEADER  */
.page-header {
    background: #2D5A43;
    color: #F5EFDF;
    text-align: center;
    padding: 64px 32px;
}
.page-header h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: 3rem;
     margin-bottom: 8px; }
.page-header p { 
    color: rgba(245,239,223,.75);
 }
.page-header .btn { 
    margin-top: 24px;
 }


.panier-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.btn-panier {
    display: flex;
    align-items: center;
    gap: 5px;
}

/*  BIERE DETAIL  */
.biere-detail {
    max-width: 900px;
    margin: 48px auto;
    padding: 0 32px;
}

.back-link {
    display: inline-block;
    color: #2D5A43;
    text-decoration: none;
    font-size: .85rem;
    letter-spacing: 1px;
    margin-bottom: 32px;
}
.back-link:hover {
     color: #B29037;
     }

.biere-card {
    display: flex;
    gap: 48px;
    background: #fff;
    padding:48px;
    border: 1px solid rgba(45,90,67,.15);
    align-items: flex-start;
}

.biere-icon { 
    font-size: 6rem; 
    line-height: 1; }

.biere-type { 
    font-size: .75rem;
     letter-spacing: 3px;
      text-transform: uppercase; 
    color: #B29037; 
    margin-bottom: 8px;
 }

.biere-card h1 { 
    font-family: 'Playfair Display',serif; 
    font-size: 2.5rem; 
     color: #2D5A43;
      margin-bottom: 16px;
    
    }

.biere-meta { 

    display: flex; 
    gap: 24px; 
    margin-bottom: 24px;
 }

.biere-meta span { 
    font-size: .9rem; 
    background:#2D5A43; 
    color: #F5EFDF; 
    padding: 5px 13px; 
    letter-spacing: 1px; }

.biere-desc {
    line-height: 1.8;
     color: #555;
    
    }


.alert {
    max-width: 1100px;
    margin: 16px auto;
    padding: 16px 32px;
    background: #fce4e4;
    border-left: 4px solid #c0392b;
    color: #c0392b;
}

/*  FOOTER  */
.site-footer {
    background: #1a3528;
    color: rgba(245,239,223,.5);
    text-align: center;
    padding: 32px;
    font-size: 13px;
    margin-top: 64px;
}
.footer-mention { 
    margin-top: 8px;
     font-size: 11px; 
    
    }



.produit-fiche {
    max-width: 900px;
    margin: 32px auto 0;
    padding: 32px 48px;
    background: #fff;
    border: 1px solid rgba(45,90,67,.15);
}

.produit-fiche h2 {
    font-family: 'Playfair Display', serif;
    color: #2D5A43;
    font-size: 1.4rem;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid#B29037;
    display: inline-block;
}

.produit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
}

.produit-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.produit-label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #B29037;
}

.note-bar {
     display: flex; 
     gap: 5px;
      align-items: center; 
    }

.note-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(45,90,67,.2);
}
.note-dot.active {
    
background: #2D5A43;
 }


.card-img-membre {
    background: #B29037;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.membre-desc {
    font-size: .82rem;
    color: #666;
    line-height: 1.6;
    margin-top: 8px;
}



.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-panier {
    color: #F5EFDF;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
}

.panier-count {
    background: #B29037;
    color: #fff;
    border-radius: 50%;
    font-size: .65rem;
    padding: 2px 6px;
    vertical-align: super;
}

.btn-header {
    color: #F5EFDF;
    text-decoration: none;
    border: 1px solid #B29037;
    padding: 7px 16px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
   
}
.btn-header:hover {
     background: #B29037;
     }

.user-prenom {
    color: #B29037;
    font-size: .85rem;
}

/* AUTH  */
.auth-section {
    max-width: 440px;
    margin: 48px auto;
    padding: 0 32px;
}

.auth-form { 
    display: flex; 
    flex-direction: column;
     gap: 20px; 
    
    }

.form-group { 
    display: flex; 
    flex-direction: column; 
    gap: 6px;
 }

.form-group label {
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2D5A43;
}

.form-group input {
    padding: 12px 16px;
    border: 1px solid rgba(45,90,67,.3);
    background: #fff;
    font-family: 'Lato', sans-serif;
    font-size: .95rem;
    outline: none;
}


.auth-link {
    margin-top: 24px;
    text-align: center;
    font-size: .85rem;
    color: #666;
}
.auth-link a {
     color: #2D5A43;
     }

/*  PANIER  */
.panier-section {
    max-width: 700px;
    margin: 3rem auto;
    padding: 0 32px;
}

.panier-vide { 
    text-align: center; 
    color: #666; 
    padding: 48px 0; 
}

.panier-vide a {
     color: #2D5A43;
     }

.panier-liste { display: flex; 
    flex-direction: column;
     gap: 8px; 
    }

.panier-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 16px 24px;
    border: 1px solid rgba(45,90,67,.15);
}

.panier-name { 
    font-family: 'Playfair Display', serif;
     color: #2D5A43; 
     flex: 1; 
    }

.panier-actions { display: flex; align-items: center; gap: .7rem; }

.btn-qty {
    background: #2D5A43;
    color: #fff;
    border: none;
    width: 28px; height: 28px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}
.btn-qty:hover { 
    background: #B29037;
}

.panier-qty { 
    min-width: 24px;
     text-align: center;
      font-weight: 400; }

.panier-prix { 
    font-weight: 400; 
    color: #B29037; 
    min-width: 70px; 
    text-align: right; }

.panier-total {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding: 16px 24px;
    background: #2D5A43;
    color: #F5EFDF;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

.insta-icon {
    width: 30px;
    height: 30px;
    margin-top: 8px;
}


.animation {
    max-width: 1100px;
    margin: 64px auto;
    padding: 0 32px;
}

.animation iframe {
    width: 100%;
    border: none;
}

@media (max-width: 600px) {
    .biere-card {
        
    flex-direction: column; gap: 24px; 

}
    .cards { 
        grid-template-columns: 1fr 1fr;
     }
}

@media (max-width: 600px) {
    .produit-grid {
         grid-template-columns: 1fr; 
        }
    .produit-fiche { 
        padding: 24px;
     }
}