/* ═══════════════════════════════════════════════════════
   MAEV'ART Beauty Center · index.css
   Styles extraits de index.html (anciennement index2.html)
═══════════════════════════════════════════════════════ */

/* ── Base ──────────────────────────────────────────────── */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F5EFE6;
    color: #1A1A1A;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

/* Paragraphes body — poids minimum 400 (jamais font-light sur corps de texte) */
p, .font-body { font-weight: 400; }
.font-body.font-medium   { font-weight: 500; }
.font-body.font-semibold { font-weight: 600; }

/* Grain overlay subtil */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ── Navigation ────────────────────────────────────────── */
.glass-nav {
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}
.glass-nav.glass-nav-dark {
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.glass-nav.glass-nav-dark a,
.glass-nav.glass-nav-dark #menu-toggle {
    color: white;
}
.glass-nav.glass-nav-dark img {
    filter: brightness(0) invert(1);
}
.glass-nav.glass-nav-dark.scrolled {
    background: rgba(245, 239, 230, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 35, 70, 0.12);
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.glass-nav.glass-nav-dark.scrolled a,
.glass-nav.glass-nav-dark.scrolled #menu-toggle {
    color: #1A1A1A;
}
.glass-nav.glass-nav-dark.scrolled .btn-primary {
    color: white;
}
.glass-nav.glass-nav-dark.scrolled img {
    filter: none;
}
.glass-nav.scrolled {
    background: rgba(245, 239, 230, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 35, 70, 0.12);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}


/* ── Cards ─────────────────────────────────────────────── */
.card-glass {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 35, 70, 0.12);
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(139, 35, 70, 0.10);
    transition: transform 300ms ease, box-shadow 300ms ease;
}
.card-glass:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(139, 35, 70, 0.18);
}

/* ── Links ─────────────────────────────────────────────── */
.link-underline {
    position: relative;
}
.link-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #8B2346;
    transition: width 0.3s ease;
}
.link-underline:hover::after {
    width: 100%;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn-primary {
    background-color: #8B2346;
    color: white;
    transition: all 300ms ease;
    box-shadow: 0 4px 16px rgba(139, 35, 70, 0.30);
}
.btn-primary:hover {
    transform: scale(1.03);
    background-color: #C8A97E;
    box-shadow: 0 8px 24px rgba(200, 169, 126, 0.40);
}

.btn-outline {
    border: 1.5px solid #8B2346;
    color: #8B2346;
    background-color: transparent;
    transition: all 300ms ease;
}
.btn-outline:hover {
    background-color: #8B2346;
    border-color: #8B2346;
    color: white;
}

.btn-ghost {
    color: #8C7B6E;
    transition: all 300ms ease;
    display: inline-flex;
    align-items: center;
}
.btn-ghost svg,
.btn-ghost i[data-lucide] {
    transition: transform 300ms ease;
}
.btn-ghost:hover {
    color: #8B2346;
}
.btn-ghost:hover svg,
.btn-ghost:hover i[data-lucide] {
    transform: translateX(4px);
}

/* ── Decorative Blobs ──────────────────────────────────── */
.blob-deco {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.25;
    pointer-events: none;
    animation: float 12s infinite alternate ease-in-out;
}
.blob-or    { width: 400px; height: 400px; background: #8B2346; }
.blob-blush { width: 300px; height: 300px; background: #C47A82; }
.blob-beige { width: 500px; height: 300px; background: #C8A97E; }

@keyframes float {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, -20px) scale(1.05); }
}

/* ── Scroll Reveal ─────────────────────────────────────── */
.hero-reveal,
.reveal {
    opacity: 0;
    transition: all 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-reveal.active,
.reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
}
.fade-up  { transform: translateY(30px); }
.scale-in { transform: scale(0.95); }

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* ── Animations ────────────────────────────────────────── */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(10px); }
}
.animate-bounce-slow {
    animation: bounce-slow 2s infinite;
}

@keyframes pulse-ring {
    0%   { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70%  { transform: scale(1);   box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: pulse-ring 3s infinite;
    z-index: -1;
}

/* ── Mobile Menu ───────────────────────────────────────── */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}
#mobile-menu.open {
    transform: translateX(0);
}

/* ── Lucide inline icons ───────────────────────────────── */
i[data-lucide].icon-inline {
    display: inline;
    vertical-align: middle;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}
i[data-lucide].icon-sm  { width: 14px; height: 14px; }
i[data-lucide].icon-md  { width: 18px; height: 18px; }
i[data-lucide].icon-lg  { width: 24px; height: 24px; }
i[data-lucide].icon-xl  { width: 32px; height: 32px; }

.icon-or    { color: #C8A97E; }
.icon-blush { color: #C47A82; }
.icon-bordeaux { color: #8B2346; }
.icon-green { color: #25D366; }
.icon-white { color: #ffffff; }
.icon-filled { fill: currentColor; }

/* ── Services — photo cards ─────────────────────────────── */
.svc-photo-card {
    cursor: default;
}

/* ── Gallery ────────────────────────────────────────────── */
.gallery-item .gallery-overlay > div {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ── Lightbox ────────────────────────────────────────────── */
#lightbox {
    animation: lb-in 0.2s ease-out;
}
@keyframes lb-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
#lightbox-img {
    animation: lb-img-in 0.25s ease-out;
}
@keyframes lb-img-in {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

/* ── Footer ─────────────────────────────────────────────── */
.footer-gradient-top {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #8B2346 20%, #C8A97E 50%, #8B2346 80%, transparent 100%);
}
.footer-wa-btn { background-color: #25D366; }

/* ── Stars row ─────────────────────────────────────────── */
.stars-row {
    display: inline-flex;
    gap: 2px;
    align-items: center;
    color: #C8A97E;
}
.stars-row i[data-lucide] {
    width: 14px;
    height: 14px;
    fill: currentColor;
}
