/* ================================================
   LES TOURS DU MALT — PRO.CSS
   Sous-pages Services & Location — NEO-BRUTALISM
   S'appuie sur les variables et composants de style.css
   (--nb-*, .nb-btn, .nb-btn-outline, .nb-badge, .section-badge)
================================================ */

.pro-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.pro-wrap--narrow { max-width: 820px; }
.pro-wrap--form   { max-width: 760px; }

/* ── FIL D'ARIANE ─────────────────────────────── */
.pro-crumbs {
    background: #111;
    border-bottom: 2px solid #e03527;
    padding: 118px 0 0; /* laisse la place au header fixe */
}
.pro-crumbs nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.45);
}
.pro-crumbs a { color: #f59e0b; text-decoration: none; }
.pro-crumbs a:hover { text-decoration: underline; }
.pro-crumbs [aria-current] { color: #fff; }

/* ── HERO ─────────────────────────────────────── */
.pro-hero {
    position: relative;
    background: #111;
    border-bottom: 3px solid #e03527;
    padding: 56px 0 72px;
    overflow: hidden;
}
.pro-hero-bg { position: absolute; inset: 0; }
.pro-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.pro-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px);
    background-size: 14px 14px;
}
.pro-hero .pro-wrap { position: relative; z-index: 1; }
.pro-hero .nb-badge { margin-bottom: 18px; }
.pro-hero-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -.02em;
    color: #fff;
    margin-bottom: 20px;
}
.pro-hero-sub {
    max-width: 640px;
    color: rgba(255,255,255,.6);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}
.pro-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.pro-hero .nb-btn { box-shadow: 4px 4px 0 #f59e0b; }
.pro-hero .nb-btn:hover { box-shadow: none; }
.pro-hero .nb-btn-outline {
    color: #fff;
    border-color: #fff;
    box-shadow: 4px 4px 0 rgba(255,255,255,.35);
}
.pro-hero .nb-btn-outline:hover { background: rgba(255,255,255,.1); box-shadow: none; }

/* ── SECTIONS ─────────────────────────────────── */
.pro-section { padding: 80px 0; background: #fafaf8; border-top: 3px solid #111; }
.pro-hero + .pro-section { border-top: 0; }
.pro-section--sand { background: #f3f1ec; }
.pro-section--dark { background: #111; color: #fff; border-top-color: #e03527; }

.pro-head { text-align: center; margin-bottom: 48px; }
.pro-head .section-title { margin-top: 14px; }
.pro-section--dark .section-title { color: #fff; }
.pro-head p { color: #555; max-width: 560px; margin: 14px auto 0; line-height: 1.7; }
.pro-section--dark .pro-head p { color: rgba(255,255,255,.55); }

.pro-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
    align-items: start;
}
.pro-split .section-title { margin: 14px 0 22px; }
.pro-lead { color: #444; font-size: 1.1rem; line-height: 1.75; margin-bottom: 18px; }
.pro-text { color: #555; line-height: 1.75; margin-bottom: 28px; }

/* ── CARTES / TUILES ──────────────────────────── */
.pro-card {
    background: #fff;
    color: #111;
    border: 2px solid #111;
    border-radius: 16px;
    box-shadow: 6px 6px 0 #111;
    padding: 28px;
}
.pro-card--dark   { background: #111; color: #fff; box-shadow: 6px 6px 0 #e03527; }
.pro-card--accent { background: #f59e0b; }

.pro-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pro-tile {
    background: #fff;
    border: 2px solid #111;
    border-radius: 12px;
    box-shadow: 4px 4px 0 #111;
    padding: 16px;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.pro-tile:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #111; background: #fffbea; }
.pro-tile-icon { font-size: 1.6rem; margin-bottom: 6px; line-height: 1; }
.pro-tile h3, .pro-tile h4 {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: .82rem;
    line-height: 1.2;
    color: #111;
}
.pro-tile p { color: #555; font-size: .8rem; line-height: 1.5; margin-top: 4px; }

/* Liste « ce qu'on vous propose » */
.pro-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pro-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; line-height: 1.4; }
.pro-list .pro-list-icon {
    flex: none;
    width: 40px; height: 40px;
    display: grid; place-items: center;
    background: #f59e0b;
    border: 2px solid #111;
    border-radius: 10px;
    font-size: 1.15rem;
}
.pro-list small { display: block; font-weight: 500; opacity: .6; font-size: .78rem; margin-top: 2px; }
.pro-card--dark .pro-list-icon { border-color: #fff; }
.pro-card h3.pro-card-title {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.4rem;
    margin-bottom: 22px;
}
.pro-card .nb-btn { width: 100%; justify-content: center; margin-top: 26px; }

/* ── TARIFS (tireuse) ─────────────────────────── */
.pro-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 56px; }
.pro-prices--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pro-price { position: relative; display: flex; flex-direction: column; padding-top: 34px; }
.pro-price .pro-flag {
    position: absolute; top: -14px; left: 20px;
    background: #22c55e; color: #fff;
    border: 2px solid #111; border-radius: 6px;
    box-shadow: 2px 2px 0 #111;
    font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
    padding: 4px 12px;
}
.pro-price .pro-flag--red { background: #e03527; color: #fff; }
.pro-price-icon { font-size: 2rem; line-height: 1; margin-bottom: 10px; }
.pro-price h3 { font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1.15rem; text-transform: uppercase; line-height: 1.2; margin-bottom: 10px; }
.pro-price-dur { font-size: .85rem; opacity: .65; margin: 4px 0 14px; }
.pro-price-amount { font-family: 'Archivo Black', sans-serif; font-size: 3.2rem; line-height: 1; margin-bottom: 12px; color: #111; }
.pro-price-amount.is-quote { font-size: 2.2rem; padding: 12px 0; }
.pro-price-note { font-size: .86rem; line-height: 1.55; color: #444; flex: 1; margin: 0 0 12px; font-weight: 500; }
.pro-card--accent .pro-price-note { color: #111; font-weight: 600; }
.pro-price-free-box {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    background: #fafaf8; border: 2px solid #111; border-radius: 10px;
    padding: 10px 12px; margin: 4px 0 12px; flex: 1;
}
.pro-price-free-tag {
    display: inline-block; background: #e03527; color: #fff;
    font-family: 'Archivo Black', sans-serif; font-size: .82rem;
    text-transform: uppercase; letter-spacing: .04em;
    padding: 3px 9px; border-radius: 6px; border: 1.5px solid #111;
    box-shadow: 2px 2px 0 #111;
}
.pro-price-free-txt { font-size: .85rem; font-weight: 800; color: #111; }
.pro-price ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 9px; font-size: .88rem; flex: 1; }
.pro-price li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.4; }
.pro-price li::before { content: '✓'; font-weight: 900; color: #e03527; flex: none; }
.pro-card--accent.pro-price li::before { color: #111; }
.pro-price .nb-btn { margin-top: auto; }
.pro-card--accent.pro-price .nb-btn { background: #111; }

.pro-kit { margin-bottom: 40px; }
.pro-kit h3 { font-family: 'Archivo Black', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.5rem; text-align: center; margin-bottom: 28px; }
.pro-kit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; text-align: center; }
.pro-kit-item { background: #fafaf8; border: 2px solid #111; border-radius: 12px; padding: 16px 10px; }
.pro-kit-item .pro-tile-icon { font-size: 1.9rem; margin-bottom: 8px; }
.pro-kit-item h4 { font-weight: 800; font-size: .85rem; color: #111; }
.pro-kit-item p { color: #666; font-size: .75rem; margin-top: 4px; line-height: 1.4; }

/* ── CALCULATEUR ──────────────────────────────── */
.pro-calc {
    background: #111;
    color: #fff;
    border: 2px solid #111;
    border-radius: 18px;
    box-shadow: 8px 8px 0 #f59e0b;
    padding: 40px;
}
.pro-calc-head { text-align: center; margin-bottom: 36px; }
.pro-calc-head .pro-tile-icon { font-size: 2.6rem; margin-bottom: 10px; }
.pro-calc-head h2, .pro-calc-head h3 { font-family: 'Archivo Black', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.7rem; color: #fff; }
.pro-calc-head p { color: rgba(255,255,255,.55); font-size: .9rem; margin-top: 6px; }
.pro-calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.pro-calc-controls { display: grid; gap: 30px; }
.pro-calc-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pro-calc-row label { font-weight: 700; font-size: .9rem; color: rgba(255,255,255,.8); }
.pro-calc-row output { font-family: 'Archivo Black', sans-serif; font-size: 1.5rem; color: #f59e0b; font-variant-numeric: tabular-nums; }
.pro-calc-scale { display: flex; justify-content: space-between; font-size: .7rem; color: rgba(255,255,255,.3); margin-top: 6px; }
.pro-calc-note {
    display: flex; gap: 12px; align-items: center;
    border: 2px dashed rgba(255,255,255,.3);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.5;
}
.pro-calc-result {
    background: #f59e0b;
    color: #111;
    border: 2px solid #fff;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
}
.pro-calc-result .lbl { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.pro-calc-liters { font-family: 'Archivo Black', sans-serif; font-size: 4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.pro-calc-liters small { font-size: 1.6rem; margin-left: 4px; }
.pro-calc-barrels { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; min-height: 48px; margin: 14px 0; }
.pro-calc-kegs {
    display: inline-block;
    background: #111; color: #fff;
    border-radius: 8px;
    padding: 8px 16px;
    font-family: 'Archivo Black', sans-serif; font-size: 1.05rem;
    margin-bottom: 8px;
}
.pro-calc-price {
    font-size: .85rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}
.pro-calc-result small.meta { display: block; font-size: .75rem; font-weight: 700; opacity: .7; }
.pro-calc-result .nb-btn { background: #111; font-size: .8rem; margin-top: 16px; width: 100%; justify-content: center; box-shadow: 4px 4px 0 #fff; }
.pro-calc-result .nb-btn:hover { box-shadow: none; }
.pro-calc-ok {
    margin-top: 28px;
    display: flex; gap: 14px; align-items: center;
    background: #22c55e; color: #111;
    border: 2px solid #fff; border-radius: 12px;
    padding: 14px 18px;
}
.pro-calc-ok strong { display: block; font-size: .92rem; }
.pro-calc-ok span.sub { display: block; font-size: .8rem; opacity: .8; margin-top: 2px; }

/* Curseurs */
.pro-calc input[type=range] {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 12px;
    border: 2px solid #fff; border-radius: 8px;
    cursor: pointer;
}
.pro-calc input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px; height: 26px; border-radius: 6px;
    background: #f59e0b; border: 3px solid #111;
    box-shadow: 0 0 0 2px #fff;
}
.pro-calc input[type=range]::-moz-range-thumb {
    width: 20px; height: 20px; border-radius: 6px;
    background: #f59e0b; border: 3px solid #111;
    box-shadow: 0 0 0 2px #fff;
}
@keyframes popIn { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }

/* ── PROCESSUS (façon) ────────────────────────── */
.pro-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-bottom: 56px; counter-reset: step; }
.pro-step {
    background: #fff; color: #111;
    border: 2px solid #111; border-radius: 12px;
    box-shadow: 4px 4px 0 #f59e0b;
    padding: 18px 12px;
    text-align: center;
}
.pro-step-icon {
    width: 48px; height: 48px; margin: 0 auto 10px;
    display: grid; place-items: center;
    background: #f59e0b; border: 2px solid #111; border-radius: 50%;
    font-size: 1.4rem;
}
.pro-step h3, .pro-step h4 { font-family: 'Archivo Black', sans-serif; font-weight: 400; text-transform: uppercase; font-size: .72rem; line-height: 1.25; }
.pro-step p { color: #666; font-size: .72rem; margin-top: 5px; line-height: 1.4; }

.pro-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pro-key { text-align: center; background: #fff; color: #111; border: 2px solid #111; border-radius: 14px; box-shadow: 6px 6px 0 #e03527; padding: 24px 18px; }
.pro-key .pro-tile-icon { font-size: 2rem; margin-bottom: 10px; }
.pro-key .lbl { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #777; }
.pro-key .val { font-family: 'Archivo Black', sans-serif; font-size: 1.6rem; margin-top: 4px; line-height: 1.1; }
.pro-key .sub { font-size: .8rem; color: #666; margin-top: 6px; }

/* ── GALERIE ──────────────────────────────────── */
.pro-photo {
    border: 2px solid #111; border-radius: 16px; box-shadow: 6px 6px 0 #111;
    overflow: hidden; position: relative; background: #fff;
}
.pro-slider { aspect-ratio: 4 / 3; }
.pro-slider-track { display: flex; height: 100%; transition: transform .5s ease; }
.pro-slide { min-width: 100%; height: 100%; position: relative; }
.pro-slide img { width: 100%; height: 100%; object-fit: cover; }
.pro-slide figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: #111; color: #fff; font-size: .82rem; font-weight: 700; padding: 10px 14px;
    border-top: 2px solid #111;
}
.pro-slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    background: #fff; color: #111;
    border: 2px solid #111; border-radius: 10px; box-shadow: 3px 3px 0 #111;
    font-size: 1.4rem; font-weight: 900; cursor: pointer;
    transition: transform .1s ease, box-shadow .1s ease;
}
.pro-slider-btn:hover { transform: translate(2px, calc(-50% + 2px)); box-shadow: 1px 1px 0 #111; }
.pro-slider-btn.prev { left: 12px; }
.pro-slider-btn.next { right: 12px; }
.pro-empty {
    aspect-ratio: 4 / 3; display: grid; place-content: center; text-align: center;
    background: #fff; border: 2px dashed #111; border-radius: 16px; color: #666; gap: 6px;
}
.pro-empty .big { font-size: 3.4rem; }
.pro-empty a { color: #e03527; font-weight: 800; font-size: .85rem; }

.pro-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pro-gallery button {
    display: block; padding: 0; aspect-ratio: 1; overflow: hidden; position: relative; cursor: zoom-in;
    background: #fff; border: 2px solid #111; border-radius: 12px; box-shadow: 4px 4px 0 #111;
    transition: transform .12s ease, box-shadow .12s ease;
}
.pro-gallery button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #111; }
.pro-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pro-gallery .cap {
    position: absolute; left: 0; right: 0; bottom: 0; background: #111; color: #fff;
    font-size: .72rem; font-weight: 700; padding: 6px 10px; text-align: left;
    transform: translateY(100%); transition: transform .2s ease;
}
.pro-gallery button:hover .cap, .pro-gallery button:focus-visible .cap { transform: none; }
.pro-sub-title { font-family: 'Archivo Black', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.6rem; text-align: center; margin: 64px 0 28px; color: #111; }

/* Lightbox */
.pro-lightbox { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(17,17,17,.94); }
.pro-lightbox.is-open { display: flex; }
.pro-lightbox-inner { position: relative; max-width: 960px; width: 100%; }
.pro-lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border: 3px solid #fff; border-radius: 12px; background: #111; }
.pro-lightbox p { color: rgba(255,255,255,.7); text-align: center; margin-top: 12px; font-size: .9rem; }
.pro-lightbox-close {
    position: absolute; top: -52px; right: 0;
    width: 40px; height: 40px; background: #e03527; color: #fff;
    border: 2px solid #fff; border-radius: 8px; font-size: 1.1rem; font-weight: 900; cursor: pointer;
}

/* ── FAQ ──────────────────────────────────────── */
.pro-faq { display: grid; gap: 14px; }
.pro-faq-item { background: #fff; border: 2px solid #111; border-radius: 12px; box-shadow: 4px 4px 0 #111; overflow: hidden; }
.pro-faq-q {
    width: 100%; text-align: left; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 20px; background: transparent; border: 0;
    font-weight: 800; font-size: 1rem; color: #111;
}
.pro-faq-q:hover { background: #fffbea; }
.pro-faq-chevron {
    flex: none; width: 32px; height: 32px; display: grid; place-items: center;
    background: #f59e0b; border: 2px solid #111; border-radius: 8px;
    transition: transform .25s ease;
}
.pro-faq-chevron svg { width: 16px; height: 16px; }
.pro-faq-q[aria-expanded="true"] .pro-faq-chevron { transform: rotate(180deg); }
.pro-faq-a { padding: 16px 20px 20px; border-top: 2px solid #111; background: #fafaf8; color: #444; line-height: 1.75; }
.pro-faq-a[hidden] { display: none; }
.pro-faq-hint { text-align: center; color: #888; font-size: .75rem; margin-top: 22px; }

/* ── FORMULAIRE DE DEVIS ──────────────────────── */
.pro-form { background: #fff; border: 2px solid #111; border-radius: 18px; box-shadow: 8px 8px 0 #111; padding: 36px; display: grid; gap: 22px; }
.pro-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pro-form label { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #111; margin-bottom: 8px; }
.pro-form label .req { color: #e03527; }
.pro-form input, .pro-form select, .pro-form textarea {
    width: 100%; background: #fafaf8; color: #111;
    border: 2px solid #111; border-radius: 10px;
    padding: 12px 14px; font: inherit; font-size: .95rem;
    transition: box-shadow .12s ease, background .12s ease;
}
.pro-form input:focus, .pro-form select:focus, .pro-form textarea:focus { background: #fff; box-shadow: 4px 4px 0 #f59e0b; }
.pro-form textarea { resize: vertical; }
.pro-form .nb-btn { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; }
.pro-form-foot { text-align: center; font-size: .78rem; color: #777; }
.pro-alert { border: 2px solid #111; border-radius: 12px; box-shadow: 4px 4px 0 #111; padding: 18px 20px; margin-bottom: 26px; font-weight: 700; }
.pro-alert--ok  { background: #22c55e; color: #111; text-align: center; }
.pro-alert--ok h3 { font-family: 'Archivo Black', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.3rem; }
.pro-alert--ok p { font-weight: 500; margin-top: 4px; }
.pro-alert--err { background: #fee2e2; color: #7f1d1d; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 1024px) {
    .pro-prices--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pro-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pro-kit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pro-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .pro-split, .pro-calc-grid, .pro-prices:not(.pro-prices--4), .pro-keys { grid-template-columns: 1fr; }
    .pro-split { gap: 40px; }
    .pro-section { padding: 56px 0; }
    .pro-calc { padding: 26px 20px; }
    .pro-form { padding: 24px 18px; }
    .pro-form-row { grid-template-columns: 1fr; }
    .pro-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .pro-prices--4 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .pro-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pro-tiles { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .pro-slider-track, .pro-faq-chevron, .pro-tile { transition: none; }
}
