/*
Theme Name: BeautyLabs Premium
Theme URI: https://beautylabs.com
Author: Antigravity for BeautyLabs
Author URI: https://beautylabs.com
Description: Thème WordPress sur-mesure pour BeautyLabs Premium. Export depuis HTML statique.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beautylabs
Tags: custom-colors, custom-menu, e-commerce, portfolio
*/
/* BeautyLabs - Global Optimization System */
:root {
    --primary: #C29967;
    --primary-light: #D4AF37;
    --background-light: #FDFCFB;
    --background-dark: #F4F1ED;
    --nude: #EEDECB;
    --text-slate-900: #1A1A1A;
    --text-slate-600: #4A4A4A;
    --text-slate-400: #8A8A8A;

    /* Fluid Typography Tokens */
    --h1-fluid: clamp(2rem, 5vw + 1rem, 4.5rem);
    --h2-fluid: clamp(1.5rem, 4vw + 1rem, 3.5rem);
    --h3-fluid: clamp(1.25rem, 3vw + 0.5rem, 2.5rem);
}

body,
html {
    font-family: 'Manrope', sans-serif;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

main {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Fluid Typography Implementation */
h1 {
    font-size: var(--h1-fluid);
    line-height: 1.1;
}

h2 {
    font-size: var(--h2-fluid);
    line-height: 1.2;
}

h3 {
    font-size: var(--h3-fluid);
    line-height: 1.3;
}

/* Micro-interactions & Smooth States */
a,
button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

a:hover,
button:hover {
    transform: translateY(-2px);
}

.glass-nav {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(252, 251, 248, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-nav-scrolled {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background-color: rgba(252, 251, 248, 0.85);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.dark .glass-nav {
    background-color: rgba(17, 24, 39, 0.4);
}

.dark .glass-nav-scrolled {
    background-color: rgba(17, 24, 39, 0.85);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

.dark ::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Transitions */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
}

/* Hover effects */
.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

/* AOS Tweaks */
[data-aos] {
    pointer-events: none;
}

.aos-animate {
    pointer-events: auto;
}

/* Animation classes */
.gold-glow {
    box-shadow: 0 0 15px rgba(194, 153, 103, 0.3);
}

.hover-scale {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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