/**
 * Wedding Galleries Mosaic — Design 3 · Beige Velours
 */

/* ──────────────────────────────────────────────
   Section wrapper
   ────────────────────────────────────────────── */
.wedding-galleries-mosaic-section {
    background: #fdfbfa;
    padding: 2.5rem 0 6rem;
    overflow: visible;
    width: 100%;
}

.gallery-single {
    overflow: visible !important;
}

/* ──────────────────────────────────────────────
   Inner
   ────────────────────────────────────────────── */
.wedding-mosaic-inner {
    width: 100%;
}

/* ──────────────────────────────────────────────
   En-tête centré
   ────────────────────────────────────────────── */
.wedding-mosaic-header {
    text-align: center;
    padding: 0 3rem 3.5rem;
}

.wedding-mosaic-rule {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin: 0 auto 1.8rem;
    border: none;
    background: none;
    width: auto;
    height: auto;
}

.wedding-mosaic-rule-l {
    width: 160px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(160, 120, 80, 0.85), transparent);
}

.wedding-mosaic-rule-l.thin {
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(160, 120, 80, 0.55), transparent);
}

.wedding-mosaic-title {
    font-family: 'Arca Majora', 'Montserrat', 'Helvetica Neue', Arial, sans-serif !important;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem) !important;
    font-weight: 400 !important;
    color: #2a1e12 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    text-transform: none !important;
}

.wedding-mosaic-title em {
    font-style: normal;
    color: #a07850 !important;
    font-size: 1em;
    display: inline !important;
    font-family: 'Arca Majora', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    visibility: visible !important;
    opacity: 1 !important;
}

.wedding-mosaic-season-badge {
    display: inline-block;
    font-family: 'Jost', 'Montserrat', sans-serif;
    font-size: 0.5rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #a07850;
    margin-top: 0.8rem;
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
}

.wedding-mosaic-subtitle {
    display: none !important;
}

/* ──────────────────────────────────────────────
   Bande défilante
   ────────────────────────────────────────────── */
.wedding-mosaic-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    gap: 1.6rem;
    padding: 20px 4rem 30px;
    scrollbar-width: none;
    cursor: grab;
    height: 530px;
    align-items: center;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
}

.wedding-mosaic-grid::-webkit-scrollbar { display: none; }
.wedding-mosaic-grid:active { cursor: grabbing; }

/* ──────────────────────────────────────────────
   Carte
   ────────────────────────────────────────────── */
.wedding-mosaic-card {
    flex-shrink: 0;
    width: 330px;
    height: 475px;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: transparent;
    cursor: pointer;
}

.wedding-mosaic-card:hover {
    transform: translateY(-8px);
    z-index: 2;
}

/* ── Image ── */
.wedding-mosaic-card-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 18px;
}

.wedding-mosaic-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease, filter 0.5s ease;
    filter: none;
}

.wedding-mosaic-card:hover .wedding-mosaic-card-image img {
    transform: scale(1.06);
    filter: sepia(0%) brightness(1);
}

.wedding-mosaic-card-placeholder {
    width: 100%;
    height: 100%;
    background: #2c2c2c;
}

/* ── Gradient haut de carte ── */
.wedding-mosaic-card-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: none;
    pointer-events: none;
    z-index: 1;
}

/* ── Overlay hover crème ── */
.wedding-mosaic-card-hover-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(250, 246, 238, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 18px;
}

.wedding-mosaic-card-hover-overlay::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(160, 120, 80, 0.55);
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
}

.wedding-mosaic-card:hover .wedding-mosaic-card-hover-overlay {
    opacity: 1;
}

/* Ornement ❧ */
.wedding-mosaic-hover-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    flex-shrink: 0;
    opacity: 0.85;
}

/* Titre hover */
.wedding-mosaic-hover-text {
    font-family: 'Cormorant Garamond', 'Cormorant', 'EB Garamond', 'Georgia', serif;
    font-size: 1.3rem;
    font-weight: 300;
    font-style: italic;
    color: #2a1e12;
    text-align: center;
    padding: 0 1.5rem;
    margin: 0;
    line-height: 1.4;
}

/* CTA */
.wedding-mosaic-hover-cta {
    margin-top: 1rem;
    font-family: 'Jost', 'Montserrat', sans-serif;
    font-size: 0.45rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #a07850;
    display: block;
}

/* ── Zone texte bas — masquée ── */
.wedding-mosaic-card-text {
    display: none;
}

/* ── Lien couvre toute la carte ── */
.wedding-mosaic-card-link {
    display: block;
    position: absolute;
    inset: 0;
    text-decoration: none;
    color: inherit;
    z-index: 3;
}

.wedding-mosaic-hint { display: none; }

/* ──────────────────────────────────────────────
   Responsive
   ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .wedding-galleries-mosaic-section { padding: 4rem 0; }
    .wedding-mosaic-grid { height: 430px; padding: 20px 1.5rem 30px; gap: 1.2rem; }
    .wedding-mosaic-card { width: 260px; height: 375px; }
    .wedding-mosaic-header { padding: 0 1.5rem 2.5rem; }
}

@media (max-width: 480px) {
    .wedding-mosaic-grid { height: 340px; padding: 15px 1rem 20px; gap: 1rem; }
    .wedding-mosaic-card { width: 210px; height: 300px; }
    .wedding-mosaic-header { padding: 0 1rem 2rem; }
    .wedding-mosaic-title { font-size: 2rem !important; }
}
