/* Gallery section */
.section-gallery {
    background: #faf7f2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.gallery-item {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    background: #eee;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.3s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 14px 16px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption {
    opacity: 1;
}

.gallery-cta {
    text-align: center;
    margin-top: 40px;
    font-size: 1.05rem;
    color: #555;
}

.gallery-cta .btn {
    margin-left: 12px;
    vertical-align: middle;
}

/* Tablet */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .gallery-item figcaption {
        font-size: 0.8rem;
        padding: 10px 12px;
        opacity: 1;
    }
    .gallery-cta {
        font-size: 0.95rem;
    }
    .gallery-cta .btn {
        display: block;
        margin: 14px auto 0;
    }
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 15, 0.94);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.gallery-lightbox[hidden] { display: none; }

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: #fff;
    margin: 18px 0 0;
    font-size: 1rem;
    text-align: center;
    opacity: 0.85;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-close { top: 20px;  right: 20px; font-size: 2.4rem; }
.lightbox-prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
    .lightbox-close { width: 40px; height: 40px; top: 12px; right: 12px; }
    .lightbox-prev,
    .lightbox-next { width: 40px; height: 40px; }
}

/* Team photos row */
.team-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 36px;
}

.team-photos picture {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 6px;
    display: block;
    background: #eee;
}

.team-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.team-photos picture:hover img {
    transform: scale(1.04);
}

@media (max-width: 700px) {
    .team-photos {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

/* ───────── Section Signature — 3 piliers ───────── */
.section-signature {
    background: #fff;
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 20px;
}

.signature-card {
    display: flex;
    flex-direction: column;
    background: #faf7f2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.signature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.signature-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}

.signature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.signature-card:hover .signature-image img {
    transform: scale(1.04);
}

.signature-body {
    padding: 28px 26px 32px;
    text-align: center;
}

.signature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 16px;
    box-shadow: 0 6px 14px rgba(212, 165, 116, 0.3);
}

.signature-card h3 {
    font-family: 'Judson', Georgia, serif;
    font-size: 1.5rem;
    margin: 0 0 12px;
    color: #2c2c2c;
}

.signature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.signature-grid--icon .signature-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.signature-grid--icon .signature-body {
    padding: 40px 28px 36px;
}

@media (max-width: 900px) {
    .signature-grid { grid-template-columns: 1fr; gap: 20px; }
    .signature-image { aspect-ratio: 16 / 9; }
}

/* ───────── Section Boutique ───────── */
.section-boutique {
    background: #fff;
}

.boutique-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 24px;
}

.boutique-card {
    display: flex;
    flex-direction: column;
    background: #faf7f2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.boutique-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.boutique-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f3ebde, #e8dcc6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 3.4rem;
    overflow: hidden;
}

.boutique-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 12px;
}

.boutique-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.boutique-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.boutique-brand {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.boutique-card h3 {
    font-family: 'Judson', Georgia, serif;
    font-size: 1.35rem;
    margin: 0 0 10px;
    color: #2c2c2c;
}

.boutique-card p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #555;
    margin: 0 0 18px;
    flex: 1;
}

.boutique-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.boutique-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c2c2c;
}

.boutique-cta {
    text-align: center;
    padding: 10px 16px;
    font-size: 0.9rem;
}

.boutique-note {
    text-align: center;
    margin-top: 32px;
    font-size: 0.95rem;
    color: #555;
}

.boutique-note i {
    color: var(--primary-color);
    margin-right: 6px;
}

.boutique-note a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.boutique-note a:hover { text-decoration: underline; }

/* ─── Modale Réservation Boutique ─── */
.boutique-modal { position: fixed; inset: 0; z-index: 9999; display: none; }
.boutique-modal.is-open { display: block; }
.boutique-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.boutique-modal-dialog {
    position: relative; max-width: 540px; width: calc(100% - 24px);
    margin: 5vh auto; max-height: 90vh; overflow-y: auto;
    background: #fff; border-radius: 8px; padding: 28px 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,.3);
}
.boutique-modal-close {
    position: absolute; top: 8px; right: 12px;
    background: none; border: none; font-size: 28px; line-height: 1;
    cursor: pointer; color: #888;
}
.boutique-modal-close:hover { color: #222; }
.boutique-modal-dialog h3 { font-family: 'Judson', Georgia, serif; margin: 0 0 18px; font-size: 1.45rem; color: #2c2c2c; }
.boutique-modal-product {
    display: flex; gap: 14px; align-items: center;
    background: #faf7f2; padding: 12px; border-radius: 6px; margin-bottom: 18px;
}
.boutique-modal-product img { width: 72px; height: 72px; object-fit: contain; background: #fff; padding: 6px; border-radius: 4px; }
.boutique-modal-product .bm-brand { font-size: .72rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--primary-color); margin: 0; }
.boutique-modal-product .bm-name { margin: 4px 0; font-size: .98rem; color: #222; font-weight: 600; }
.boutique-modal-product .bm-price { margin: 0; font-size: .9rem; color: #555; }
.boutique-modal form .bm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.boutique-modal form label { display: flex; flex-direction: column; font-size: .82rem; color: #555; gap: 4px; margin-bottom: 10px; }
.boutique-modal form input, .boutique-modal form textarea {
    border: 1px solid #d8cfbf; border-radius: 4px; padding: 8px 10px; font-size: .95rem;
    font-family: inherit; background: #fff; color: #222;
}
.boutique-modal form input:focus, .boutique-modal form textarea:focus {
    outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(164,122,79,.15);
}
.boutique-modal .bm-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; height: 0; width: 0; }
.boutique-modal .bm-hint { font-size: .78rem; color: #888; margin: 6px 0 14px; }
.boutique-modal .bm-error { background: #fdecea; color: #b3261e; padding: 10px 12px; border-radius: 4px; font-size: .88rem; margin-bottom: 14px; }
.boutique-modal .bm-actions { display: flex; gap: 10px; justify-content: flex-end; }
.boutique-modal .bm-actions .btn { padding: 10px 18px; }
.boutique-modal .btn-ghost { background: transparent; color: #555; border: 1px solid #ccc; }
.boutique-modal .btn-ghost:hover { background: #f1ebe1; }
.boutique-modal .bm-success { text-align: center; padding: 16px 8px; }
.boutique-modal .bm-success p { margin: 0 0 18px; color: #2c2c2c; }
@media (max-width: 540px) {
    .boutique-modal form .bm-row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .boutique-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 500px) {
    .boutique-grid { grid-template-columns: 1fr; }
}

/* ───────── Section Instagram ───────── */
.section-instagram {
    background: #faf7f2;
    text-align: center;
}

.section-instagram .section-header h2 i {
    color: #E1306C;
    margin-right: 8px;
}

.section-instagram .section-subtitle a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.section-instagram .section-subtitle a:hover { text-decoration: underline; }

.instagram-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 32px;
    background: linear-gradient(135deg, #f9efee 0%, #fbe9d9 50%, #efe1f2 100%);
    border-radius: 14px;
    text-decoration: none;
    color: #2c2c2c;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(225, 48, 108, 0.18);
}

.instagram-cta-icon {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    font-size: 1.9rem;
    box-shadow: 0 6px 14px rgba(220, 39, 67, 0.35);
}

.instagram-cta-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.instagram-cta-body strong {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c2c2c;
}

.instagram-cta-body span {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.45;
}

.instagram-cta-arrow {
    flex: 0 0 auto;
    font-size: 1.6rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.instagram-cta:hover .instagram-cta-arrow {
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .instagram-cta {
        flex-direction: row;
        gap: 16px;
        padding: 20px;
    }
    .instagram-cta-icon { width: 52px; height: 52px; font-size: 1.5rem; }
    .instagram-cta-body strong { font-size: 1rem; }
    .instagram-cta-body span { font-size: 0.85rem; }
    .instagram-cta-arrow { font-size: 1.3rem; }
}

/* Legacy instagram grid (kept for backwards compat, currently unused) */
.instagram-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    overflow: hidden;
}

.instagram-grid picture {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eee;
}

.instagram-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.4s ease, transform 0.6s ease;
}

.instagram-grid:hover img {
    filter: brightness(0.6);
}

.instagram-grid:hover picture:nth-child(odd) img {
    transform: scale(1.05);
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.4), rgba(193, 53, 132, 0.4));
}

.instagram-overlay i {
    font-size: 1.8rem;
    margin-right: 12px;
}

.instagram-grid:hover .instagram-overlay {
    opacity: 1;
}

@media (max-width: 900px) {
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }
    .instagram-overlay { font-size: 0.9rem; opacity: 1; background: linear-gradient(to top, rgba(0,0,0,0.4), transparent 50%); }
    .instagram-overlay i { font-size: 1.2rem; margin-right: 6px; }
}
