/* ═══════════════════════════════════════════════════════
   MAEV'ART Beauty Center · galerie.css
   Styles spécifiques à la page Galerie
═══════════════════════════════════════════════════════ */

/* ── Nav sur fond clair (pas d'inversion) ─────────────── */
.nav-page-link          { color: #1A1A1A; }
.nav-page-link:hover    { color: #8B2346; }
.nav-page-link-active   { color: #8B2346 !important; }

/* ── Hero (light, split texte + mosaïque) ─────────────── */
.galerie-hero-blob-a {
    width: 500px; height: 500px;
    top: -120px; left: -140px;
    opacity: 0.07;
}
.galerie-hero-blob-b {
    width: 400px; height: 400px;
    bottom: -100px; right: -100px;
    opacity: 0.08;
    animation-delay: -3s;
}
.galerie-h1 {
    font-size: clamp(2.8rem, 6.2vw, 4.6rem);
    font-weight: 300;
}
.galerie-h1-accent { color: #8B2346; }

/* ── Mosaïque hero (3 photos) ─────────────────────────── */
.galerie-mosaic {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 14px;
    height: 440px;
}
@media (min-width: 768px) {
    .galerie-mosaic { height: 520px; grid-template-rows: 240px 240px; }
}
.galerie-mosaic-a {
    grid-row: span 2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(139, 35, 70, 0.15);
}
.galerie-mosaic-b,
.galerie-mosaic-c {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(139, 35, 70, 0.10);
}
.galerie-mosaic img { transition: transform 600ms ease; }
.galerie-mosaic > div:hover img { transform: scale(1.06); }
.galerie-mosaic-badge {
    position: absolute;
    bottom: -18px;
    left: 18px;
    z-index: 20;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* ── Category tiles (section 3) ───────────────────────── */
.category-tile {
    position: relative;
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    display: block;
    cursor: pointer;
    transition: transform 300ms ease, box-shadow 300ms ease;
}
.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(139, 35, 70, 0.18);
}
.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}
.category-tile:hover img { transform: scale(1.08); }
.category-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.25) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px 16px;
    z-index: 2;
}
.category-tile-name {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 22px;
    color: white;
    line-height: 1;
    margin-bottom: 2px;
}
.category-tile-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #C8A97E;
}

/* ── Galerie items (sections par catégorie) ──────────── */
.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
}
.gallery-item img { transition: transform 500ms ease; }
.gallery-item:hover img { transform: scale(1.08); }

/* ── Instagram premium card (section 5) ───────────────── */
.galerie-ig-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: linear-gradient(135deg, #F5EFE6 0%, #FFFFFF 100%);
    border: 1px solid rgba(200, 169, 126, 0.30);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(139, 35, 70, 0.10);
}
@media (min-width: 768px) {
    .galerie-ig-card { grid-template-columns: 1.1fr 1fr; }
}
.galerie-ig-card-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 3px;
    min-height: 240px;
}
@media (min-width: 768px) { .galerie-ig-card-photos { min-height: 320px; } }
.galerie-ig-card-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.galerie-ig-card-photos img:first-child { grid-row: span 2; }
.galerie-ig-card-content {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 768px) { .galerie-ig-card-content { padding: 40px; } }
.galerie-ig-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #8B2346;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    align-self: flex-start;
}

/* ── Scroll offset pour anchor categories ─────────────── */
.scroll-mt-24 { scroll-margin-top: 100px; }
