/* ========================================
   FORMS & OVERLAYS — Contact, lightbox,
   bandeau d'appel sticky mobile, page légale
   ======================================== */

/* ---------- CONTACT ---------- */
.section-contact { background: var(--black-2); position: relative; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; }
.contact-form input,
.contact-form select,
.contact-form textarea {
    background: var(--black);
    border: 1px solid var(--border-strong);
    color: var(--white);
    padding: 16px 18px;
    font-family: inherit;
    font-size: 15px;
    border-radius: 2px;
    transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
    width: 100%;
    min-height: 48px;
}
/* Focus visible accessible sur les champs */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--wood-light);
    background: var(--black-3);
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.25);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c8c8c8' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 42px;
}
.form-status { font-size: 14px; color: var(--wood-light); text-align: center; margin-top: 8px; min-height: 20px; }
.form-status.error { color: #e08a6a; }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-block h4 {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--wood-light);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.contact-block p, .contact-block address { color: var(--text); line-height: 1.7; font-style: normal; }
.contact-block a:hover { color: var(--wood-light); }
.contact-phone { font-family: var(--font-display); font-size: 30px; letter-spacing: 2px; color: var(--wood-light) !important; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.contact-map { margin-top: 6px; border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.contact-map iframe { display: block; width: 100%; height: 220px; border: 0; filter: grayscale(0.4) brightness(0.85); }

.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.social {
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--border-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--steel);
    transition: all var(--speed) var(--ease);
    border-radius: 2px;
}
.social:hover { background: var(--wood-light); color: var(--black); border-color: var(--wood-light); transform: translateY(-2px); }

/* ---------- LIGHTBOX ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity var(--speed) var(--ease);
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border: 1px solid var(--border-strong); }
.lightbox-close {
    position: absolute;
    top: 24px; right: 32px;
    width: 50px; height: 50px;
    border: 1px solid var(--steel);
    color: var(--white);
    font-size: 32px;
    border-radius: 50%;
    transition: all var(--speed) var(--ease);
}
.lightbox-close:hover { background: var(--wood-light); color: var(--black); border-color: var(--wood-light); transform: rotate(90deg); }

/* ---------- CTA STICKY MOBILE (bandeau d'appel) ---------- */
.mobile-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 150;
    display: none;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-strong);
}
.mobile-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    padding: 10px 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    border: 1px solid var(--steel-dark);
    color: var(--white);
}
.mobile-cta a.cta-accent { background: var(--wood-light); color: var(--black); border-color: var(--wood-light); }

/* ---------- PAGE LÉGALE ---------- */
.legal-page { padding-top: 140px; }
.legal-page .container { max-width: 860px; }
.legal-page h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 56px);
    letter-spacing: 3px;
    color: var(--white);
    margin-bottom: 40px;
}
.legal-page h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--wood-light);
    margin: 40px 0 14px;
}
.legal-page p, .legal-page li { color: var(--text); margin-bottom: 12px; line-height: 1.8; }
.legal-page ul { padding-left: 22px; list-style: disc; }
.legal-page a { color: var(--wood-light); }
.legal-back { display: inline-block; margin-top: 48px; }
