
/* --- STYLE GÉNÉRAL --- */
:root {
    --color-black: #111;
    --color-white: #fff;
    --color-gold: #d4af37;
    --color-bg-light: #f4f4f4;
    --color-softs: #e8f5e9; /* Vert très pâle pour les softs */
}

@font-face {
    font-family: 'Impact';
    src: url('./impact.woff') format('woff'); /* URL_POLICE_IMPACT */
    font-weight: normal;
    font-style: normal;
    font-display: swap
}

* { box-sizing: border-box; }

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--color-white);
    color: var(--color-black);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* TYPOGRAPHIE */
h1, h2, h3 { text-transform: uppercase; letter-spacing: 1px; margin-top: 0; }

.font-impact {
    font-family: "Impact", fantasy, sans-serif;
    font-weight: normal;
    letter-spacing: 1px;
}

/* --- HEADER --- */
header.main-header {
    text-align: center;
    padding: 5px 20px;
    background: var(--color-black);
    display: flex;
    justify-content: center;
    position: fixed; /* Set the navbar to fixed position */
    top: 0; /* Position the navbar at the top of the page */
    width: 100%; /* Full width */
    color: white;
    z-index: 1;
}

h1.main-title { font-size: 2rem; margin: 0;
    font-family: 'Impact'; }
h1.main-title .brand-name { font-size: 4.5rem; display: block; line-height: 1; }

.main-logo {
    width: 132px;
    max-width: 50%;
    margin-left: 50px;
    display: block;
}

/* --- INTRO --- */
.intro-section {
    padding: 40px 20px;
    max-width: 800px;
    margin: 146px auto 0;
    text-align: center;

}
.intro-box {
    background: var(--color-bg-light);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--color-gold);
}

/* ================= PARALLAX BIÈRES ================= */
.parallax-beers {
    /* Image de fond fixe (votre photo d'équipe) */
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('brasseur.jpeg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 20px;
    color: var(--color-white);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    text-shadow: 2px 2px 0px #000;
    color: var(--color-white);
}

.beer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-black);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover { transform: translateY(-5px); }

.card-img {
    width: 100%;
    height: 218px; /* Hauteur fixe pour uniformiser */
    object-fit: contain; /* L'image s'adapte sans être coupée */
    margin-bottom: 15px;
    background-color: #fff; /* Fond blanc derrière l'image si transparente */
    border-bottom: 1px solid #eee;
}

.card h3 {
    font-size: 1.8rem;
    margin: 10px 0;
    color: var(--color-black);
}

.card p { font-size: 0.95rem; color: #555; flex-grow: 1; }

.abv-badge {
    display: inline-block;
    background: var(--color-black);
    color: var(--color-gold);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 10px;
}

/* ================= SECTION SOFTS ================= */
.softs-section {
    background-color: var(--color-softs);
    padding: 80px 20px;
    text-align: center;
}

.softs-title {
    color: #2e7d32; /* Vert nature */
    font-size: 3rem;
    margin-bottom: 40px;
}

.soft-intro { max-width: 700px; margin: 0 auto 40px; font-style: italic; }

/* ================= CONTACT ================= */
.contact-section {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 60px 20px;
    text-align: center;
}

.secondary-logo { width: 150px; margin-bottom: 20px; border-radius: 50%; }

.btn-cta {
    display: inline-block;
    margin: 10px;
    padding: 15px 30px;
    background: var(--color-white);
    color: var(--color-black);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: 0.3s;
}
.btn-cta:hover { background: var(--color-gold); color: #fff; }

/* FOOTER */
footer {
    background: #000;
    color: #777;
    padding: 20px;
    text-align: center;
    font-size: 0.8rem;
}
.warning { color: #aaa; font-weight: bold; text-transform: uppercase; margin-bottom: 10px; }

/* MOBILE */
@media (max-width: 768px) {
    h1.main-title .brand-name { font-size: 3.5rem; }
    .parallax-beers { background-attachment: scroll; } /* Meilleure perf mobile */
    .section-title { font-size: 2rem; }
}