/* * AMANDINE JUNG - STYLE OFFICIEL v3.1
 * Nettoyage & Optimisation des utilitaires
 */

:root {
    --ink: #1a1a1a;
    --paper: #ffffff;
    --accent: #d4af37; 
    --gray-light: #f4f4f4;
    --border: rgba(26, 26, 26, 0.08);
}

/* 1. RESET & BASES */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Barre de progression de lecture */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; height: 2px;
    background: var(--accent);
    z-index: 1000;
    width: 0%;
    animation: scroll-progress auto linear;
    animation-timeline: scroll();
}

@keyframes scroll-progress {
    from { width: 0%; }
    to { width: 100%; }
}

/* 2. TYPOGRAPHIE & UTILITAIRES (Classes manquantes dans tes PHP) */
@font-face {
    font-family: 'SimSum';
    src: url('../../aj21.woff2') format('woff2');
    font-weight: normal; font-style: normal; font-display: swap;
}

h1, h2, h3, .font-logo {
    font-family: 'SimSum', serif;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-20 { margin-bottom: 5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.opacity-40 { opacity: 0.4; }

/* 3. LAYOUT */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-main { padding: 80px 0; min-height: 60vh; }

/* 4. HEADER */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    height: 90px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link { text-decoration: none; color: var(--ink); transition: color 0.4s ease; }

/* 5. NAVIGATION */
.main-nav ul { display: flex; gap: 40px; list-style: none; padding: 0; margin: 0; }
.main-nav a {
    text-decoration: none;
    color: var(--ink);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.6;
    transition: all 0.3s ease;
}
.main-nav a:hover { opacity: 1; color: var(--accent); }

/* 6. BOUTONS PRESTIGE */
/* Ciblage plus précis pour éviter les !important */
.woocommerce div.product form.cart .button.single_add_to_cart_button {
    position: relative;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
    padding: 20px 0;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    width: 100%;
    z-index: 1;
}

.single_add_to_cart_button::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 0%;
    background: var(--accent);
    z-index: -1;
    transition: height 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.single_add_to_cart_button:hover { color: white; border-color: var(--accent); }
.single_add_to_cart_button:hover::before { height: 100%; }

/* 7. WOOCOMMERCE GRIDS */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.product-card img {
    width: 100%;
    height: auto;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* 8. FOOTER */
.site-footer {
    background-color: var(--paper);
    border-top: 1px solid var(--border);
    padding: 60px 0;
    margin-top: 100px;
}

.footer-container {
    text-align: center;
}

.copyright {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em; /* L'espacement qui donne le côté prestige */
    color: rgba(26, 26, 26, 0.4);
    margin-bottom: 20px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-legal a {
    text-decoration: none;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(26, 26, 26, 0.6);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* 9. RESPONSIVE */
@media (max-width: 768px) {
    .header-container { flex-direction: column; height: auto; padding: 20px 0; }
    .main-nav ul { gap: 15px; margin-top: 20px; flex-wrap: wrap; justify-content: center; }
    .product-grid { grid-template-columns: 1fr; }
    .py-32 { padding-top: 4rem; padding-bottom: 4rem; }
}

/* ==========================================================================
   PANIER PRESTIGE - CONFIGURATION FINALE
   ========================================================================== */

/* 1. CONTENEUR GLOBAL & ZONE DE SURVOL */
.header-cart-wrapper {
    position: relative;
    padding-bottom: 20px; /* Zone tampon pour le survol */
    margin-bottom: -20px;
    margin-left: 25px;
}

.header-cart {
    position: relative;
    display: inline-block;
}

/* 2. LIEN VISIBLE (Icône + Infos) */
.cart-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    transition: all 0.3s ease;
}

.cart-link:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.cart-icon {
    font-size: 19px;
    position: relative;
    display: flex;
    align-items: center;
}

.cart-infos {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.cart-contents-count {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.cart-contents-total {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* 3. MINI-PANIER (Effet Glassmorphism au Rollover) */
.mini-cart-content {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    padding: 25px;
    z-index: 1000;
    
    /* Animation de sortie */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.header-cart-wrapper:hover .mini-cart-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 4. BOUTONS INTERNES DU MINI-PANIER */
.mini-cart-content .woocommerce-mini-cart__buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.mini-cart-content .woocommerce-mini-cart__buttons a {
    flex: 1;
    margin: 0;
    padding: 14px 5px;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font-size: 9px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mini-cart-content .woocommerce-mini-cart__buttons a.checkout {
    background: var(--ink);
    color: #fff;
}

.mini-cart-content .woocommerce-mini-cart__buttons a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* 5. ADAPTATION MOBILE */
@media (max-width: 768px) {
    .cart-infos {
        display: none; /* On ne garde que l'icône sur mobile pour l'espace */
    }
    .mini-cart-content {
        display: none; /* Le survol n'existe pas sur mobile, WC gère le clic */
    }
}
/* ==========================================================================
   HERO FRESQUE - ACCUEIL ONIRIQUE
   ========================================================================== */

.hero-fresque {
    position: relative;
    width: 100%;
    height: 100vh; /* Presque toute la hauteur de l'écran */
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 90px; /* Compensation du header fixe */
}

/* L'image de fond (Hansel & Gretel) */
.fresque-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-fresque:hover .fresque-image {
    transform: scale(1.03); /* Léger zoom au survol pour le côté vivant */
}

/* Superposition de texture papier */
.hero-fresque::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png'); /* Texture grain discret */
    opacity: 0.1;
    pointer-events: none;
    z-index: 2;
}

/* Conteneur des widgets */
.fresque-widgets {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    padding-bottom: 60px;
}

/* Style commun des widgets (Glassmorphism) */
.glass-widget {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.glass-widget:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
}

/* Widget Produit Phare */
.widget-focus {
    max-width: 320px;
}

.widget-focus .tag {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent); /* Ton rose/doré dynamique */
    display: block;
    margin-bottom: 10px;
}

.widget-focus h3 {
    font-family: 'SimSum', serif; /* Typo officielle */
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--ink);
}

/* Bouton minimaliste */
.link-prestige {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.link-prestige:hover {
    color: var(--accent);
    border-color: var(--accent);
    padding-right: 10px;
}

/* Widget Social & Patreon */
.widget-external {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-item i {
    font-size: 16px;
    color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-fresque { height: auto; padding: 100px 0 40px; }
    .fresque-widgets { flex-direction: column; align-items: center; gap: 20px; padding-bottom: 0; }
    .widget-focus, .widget-external { width: 90%; text-align: center; }
}