/* ================================================
   LES TOURS DU MALT — BEER-DETAIL.CSS
   Fiche bière /nos-bieres/{slug}
   Variables : --beer-bg (fond) / --beer-fg (texte contrasté)
================================================ */

.bd-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── HERO ─────────────────────────────────────── */
.bd-hero {
    --ease: cubic-bezier(.22, 1, .36, 1);
    position: relative;
    padding: 118px 0 64px;
    border-bottom: 3px solid #111;
    color: var(--beer-fg);
    background:
        radial-gradient(90% 70% at 25% 40%, rgba(255,255,255,.38), rgba(255,255,255,0) 60%),
        var(--beer-bg);
    overflow: hidden;
}
.bd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0,0,0,.08) 1px, transparent 1.4px);
    background-size: 14px 14px;
    -webkit-mask-image: linear-gradient(180deg, transparent 20%, #000 100%);
            mask-image: linear-gradient(180deg, transparent 20%, #000 100%);
    pointer-events: none;
}
.bd-hero .bd-wrap { position: relative; }

.bd-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 32px;
}
.bd-crumbs a { color: inherit; text-decoration: none; opacity: .7; }
.bd-crumbs a:hover { opacity: 1; text-decoration: underline; }
.bd-crumbs span[aria-current] { opacity: 1; }
.bd-crumbs span[aria-hidden] { opacity: .4; }

.bd-hero-grid {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: 56px;
    align-items: center;
}

/* Visuel */
.bd-visual {
    position: relative;
    height: 560px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    container-type: inline-size;
    isolation: isolate;
}
.bd-watermark {
    position: absolute;
    inset: 0;
    padding: 0 0 80px;
    opacity: .15;
    z-index: 0;
}
.bd-bottle {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 82%;
    width: auto;
    object-fit: contain;
    padding-bottom: 28px;
    filter: drop-shadow(0 24px 22px rgba(0,0,0,.25)) drop-shadow(0 5px 5px rgba(0,0,0,.14));
    transform: rotate(-3deg);
    transform-origin: 50% 100%;
    transition: transform .6s var(--ease);
}
.bd-visual:hover .bd-bottle { transform: rotate(2deg) translateY(-8px) scale(1.02); }
.bd-ground {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 18px;
    width: 52%;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0,0,0,.4), rgba(0,0,0,0));
    transform: translateX(-50%);
}

/* Infos */
.bd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.bd-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: .95;
    text-transform: uppercase;
    letter-spacing: -.02em;
    color: var(--beer-fg);
}
.bd-style {
    display: inline-block;
    margin-top: 16px;
    padding: 5px 14px;
    background: #fff;
    color: #111;
    border: 2px solid #111;
    border-radius: 8px;
    box-shadow: 3px 3px 0 #111;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.bd-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 0;
}
.bd-stats > div {
    background: #fff;
    color: #111;
    border: 2px solid #111;
    border-radius: 12px;
    box-shadow: 4px 4px 0 #111;
    padding: 12px 18px;
    min-width: 108px;
}
.bd-stats dt {
    font-size: .64rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #666;
}
.bd-stats dd {
    margin: 2px 0 0;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.7rem;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}
.bd-stats dd small { font-size: .8rem; }
.bd-stats .bd-stat-text { font-size: 1.05rem; padding-top: 8px; }
.bd-stats .bcard-ibu-bar { width: 54px; align-self: center; }

.bd-lead {
    margin-top: 26px;
    max-width: 560px;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--beer-fg);
}
.bd-lead p + p { margin-top: .6rem; }
.bd-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ── CONTENU ──────────────────────────────────── */
.bd-main { display: block; }
.bd-section { padding: 72px 0; background: #fafaf8; }
.bd-section + .bd-section { border-top: 3px solid #111; }
.bd-section--sand { background: #f3f1ec; }

.bd-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}
.bd-cols > .bd-prose:only-child,
.bd-cols > .bd-side:only-child { grid-column: 1 / -1; }

.bd-prose { color: #333; font-size: 1.02rem; line-height: 1.8; }
.bd-prose h2,
.bd-faq h2,
.bd-more-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    text-transform: uppercase;
    color: #111;
    line-height: 1.05;
    margin-bottom: 22px;
}
.bd-prose p { margin-bottom: 1rem; }
.bd-prose ul { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: 8px; }
.bd-prose ul li {
    background: #fff;
    border: 2px solid #111;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: .94rem;
    line-height: 1.5;
}
.bd-prose a { color: #e03527; font-weight: 700; }

.bd-side { display: grid; gap: 24px; }
.bd-box {
    background: #fff;
    border: 2px solid #111;
    border-radius: 16px;
    box-shadow: 6px 6px 0 #111;
    padding: 26px 26px 22px;
}
.bd-box h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.05rem;
    text-transform: uppercase;
    color: #e03527;
    margin-bottom: 12px;
}
.bd-box .bd-prose { font-size: .95rem; line-height: 1.7; }
.bd-box .bd-prose p:last-child { margin-bottom: 0; }
.bd-box--accent { background: #f59e0b; }
.bd-box--accent h2 { color: #111; }
.bd-box--accent .bd-prose { color: #111; }

/* FAQ */
.bd-faq { max-width: 820px; }
.bd-faq-item {
    background: #fff;
    border: 2px solid #111;
    border-radius: 12px;
    margin-bottom: 14px;
    box-shadow: 4px 4px 0 #111;
    overflow: hidden;
}
.bd-faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    font-weight: 800;
    color: #111;
}
.bd-faq-item summary::-webkit-details-marker { display: none; }
.bd-faq-item summary::after { content: '+'; font-size: 1.4rem; transition: transform .2s ease; }
.bd-faq-item[open] summary::after { transform: rotate(45deg); }
.bd-faq-item .bd-prose { padding: 0 20px 16px; font-size: .95rem; }
.bd-faq-item .bd-prose p:last-child { margin-bottom: 0; }

.bd-more-title { margin-bottom: 34px; }

@media (max-width: 860px) {
    .bd-hero { padding: 100px 0 48px; }
    .bd-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .bd-visual { height: 420px; }
    .bd-cols { grid-template-columns: 1fr; gap: 32px; }
    .bd-section { padding: 52px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .bd-bottle { transition: none; }
    .bd-visual:hover .bd-bottle { transform: rotate(-3deg); }
}
