:root {
--primary: #5a4636;
--accent: #d2ad53;
--soft-peach: #fff6ea;
--white: #ffffff;
}

html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Plus Jakarta Sans', sans-serif;
background: linear-gradient(135deg, #fffcf9 0%, #f9f0e5 100%);
color: var(--primary);
line-height: 1.7;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
position: relative;
}
/* --- ANIMATION D'APPARITION GLOBALE --- */
.global-animate {
animation: globalFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes globalFadeInUp {
0% { opacity: 0; transform: translateY(30px); }
100% { opacity: 1; transform: translateY(0); }
}
/* --- COMPTEUR --- */
.countdown-container {
width: 100%;
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(10px);
padding: 20px 20px;
text-align: center;
border-bottom: 1px solid rgba(210, 173, 83, 0.15);
position: sticky;
top: 0;
z-index: 1000;
}
.countdown-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 12px; text-transform: uppercase; opacity: 0.6; }
#countdown { display: flex; justify-content: center; gap: 25px; }
.count-item { display: flex; flex-direction: column; min-width: 55px; }
.count-number { font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.count-label { font-size: 0.6rem; text-transform: uppercase; opacity: 0.4; margin-top: 6px; }
.slide-fade { animation: slideFade 0.5s cubic-bezier(0.23, 1, 0.32, 1); }
@keyframes slideFade { 0% { transform: translateY(-10px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
/* --- RÉSEAUX SOCIAUX --- */
.social-sidebar {
position: fixed;
left: 30px;
top: 50%;
transform: translateY(-50%);
display: flex;
flex-direction: column;
gap: 15px;
z-index: 100;
}
.social-link {
display: flex;
align-items: center;
background: var(--white);
color: var(--primary);
text-decoration: none;
border-radius: 50px;
height: 48px;
width: 48px;
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
border: 1px solid rgba(210, 173, 83, 0.1);
overflow: hidden;
transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, color 0.3s, border-color 0.3s;
}
.social-link i { min-width: 48px; text-align: center; font-size: 1.2rem; }
.social-link span { opacity: 0; transition: opacity 0.4s ease-in-out; transition-delay: 0.1s; font-size: 0.9rem; font-weight: 600; white-space: nowrap; padding-right: 20px; }

/* LA CORRECTION EST LÀ : ON REND LE TEXTE VISIBLE AU SURVOL */
.social-link:hover span { opacity: 1; }

.social-link:hover { background: var(--primary); color: var(--white); width: auto; min-width: 48px; padding-right: 20px; }
.social-link:hover.home-link { width: 130px; }
.social-link:hover.shop-link { width: 195px; }
.social-link:hover[href*="instagram"] { width: 145px; }
.social-link:hover[href*="tiktok"] { width: 120px; }
.social-link:hover.faq-link { width: 110px; }
/* Style spécial pour la page FAQ active */
.social-link.faq-link {
background: var(--soft-peach);
color: var(--accent);
border: 1px solid var(--accent);
}
.social-link.faq-link:hover {
background: var(--accent);
color: var(--white);
}
/* --- SECTIONS --- */

/* --- DÉCORATIONS LATÉRALES ANIMÉES --- */
.side-decorations { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; overflow: hidden; }
.decor-img {
  position: absolute;
  object-fit: contain;
  opacity: 0.8;
  animation: floatAnim 8s ease-in-out infinite alternate;
}
.decor-left-1 {
  top: 10%; left: 2%;
  width: 180px; height: auto;
  animation-duration: 9s;
}
.decor-right-1 {
  top: 30%; right: 2%;
  width: 220px; height: auto;
  animation-duration: 11s; animation-delay: -2s;
  scale: -1 1;
}
.decor-left-2 {
  top: 55%; left: 3%;
  width: 160px; height: auto;
  animation-duration: 7s; animation-delay: -4s;
}
.decor-right-2 {
  top: 75%; right: 4%;
  width: 190px; height: auto;
  animation-duration: 10s; animation-delay: -1s;
  scale: -1 1;
}
.decor-left-3 {
  top: 92%; left: 5%;
  width: 150px; height: auto;
  animation-duration: 8s; animation-delay: -3s;
}

@keyframes floatAnim {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-30px) rotate(5deg); }
}
.hero-faq { padding: 80px 20px 20px 20px; text-align: center; }
.tag { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; background: var(--white); padding: 10px 24px; border-radius: 50px; box-shadow: 0 8px 20px rgba(0,0,0,0.05); display: inline-block; margin-bottom: 20px; }
h1 { font-family: 'Lora', serif; font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 400; margin-bottom: 15px; }
h1 span { font-style: italic; color: var(--accent); }
/* --- ACCORDÉON FAQ ANIMÉ --- */
.faq-section { max-width: 800px; margin: 0 auto 80px auto; padding: 20px; }
details {
background: var(--white);
border-radius: 20px;
margin-bottom: 15px;
box-shadow: 0 5px 20px rgba(0,0,0,0.03);
border: 1px solid rgba(210, 173, 83, 0.15);
transition: border-color 0.3s, box-shadow 0.3s;
overflow: hidden;
}
details[open] { box-shadow: 0 10px 30px rgba(90, 70, 54, 0.08); border-color: var(--accent); }
summary {
padding: 22px 30px;
font-weight: 600;
font-size: 1.1rem;
cursor: pointer;
list-style: none;
display: flex;
justify-content: space-between;
align-items: center;
color: var(--primary);
transition: color 0.3s ease;
}
summary::-webkit-details-marker { display: none; }
summary::after {
content: '\002B';
font-size: 1.8rem;
font-weight: 300;
color: var(--accent);
transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { color: var(--accent); }
/* Wrapper d'animation de contenu */
.faq-content {
overflow: hidden;
height: 0;
opacity: 0;
padding: 0 30px;
transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, padding 0.35s ease;
font-size: 1rem;
opacity: 0.85;
line-height: 1.7;
}
/* --- BOUTONS ET POP-UP --- */
.btn-main {
padding: 18px 45px;
font-size: 1.1rem;
background: var(--primary);
color: white;
text-decoration: none;
border-radius: 100px;
font-weight: 600;
display: inline-block;
transition: 0.4s;
box-shadow: 0 10px 25px rgba(90, 70, 54, 0.15);
margin: 10px 6px;
cursor: pointer;
border: none;
font-family: inherit;
}
.btn-main:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(90, 70, 54, 0.25); }
.cta-box { margin: 40px auto; max-width: 800px; padding: 40px; text-align: center; background: white; border-radius: 25px; box-shadow: 0 15px 40px rgba(0,0,0,0.04); border: 1px solid rgba(210, 173, 83, 0.2); }
.cta-box p { font-family: 'Lora', serif; font-size: 1.8rem; margin-bottom: 15px; }
.cta-box span { font-size: 1.05rem; display: block; margin-bottom: 25px; opacity: 0.8; }
/* --- FOOTER & COOKIES --- */
footer { text-align: center; padding: 40px 20px 0px 20px; font-size: 0.8rem; opacity: 0.5; letter-spacing: 1px; }
footer a { color: var(--primary); text-decoration: none; margin: 0 10px; font-weight: 600; }
footer a:hover { color: var(--accent); text-decoration: underline; }
.cookie-banner { position: fixed; bottom: 30px; right: 30px; max-width: 380px; background: var(--white); border: 1px solid rgba(210, 173, 83, 0.2); border-radius: 25px; padding: 25px; box-shadow: 0 15px 40px rgba(90, 70, 54, 0.12); z-index: 5000; display: none; animation: cookieSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes cookieSlideUp { 0% { transform: translateY(50px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
.cookie-banner.cookie-hide { animation: cookieSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes cookieSlideDown { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(50px); opacity: 0; } }
.cookie-banner p { font-size: 0.88rem; color: var(--primary); margin-bottom: 20px; line-height: 1.5; text-align: left; }
.cookie-banner p a { color: var(--accent); text-decoration: none; font-weight: 600; }
.cookie-banner p a:hover { text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-btn { padding: 10px 22px; font-size: 0.85rem; border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.3s; border: none; }
.cookie-btn.accept { background: var(--primary); color: white; }
.cookie-btn.accept:hover { background: var(--accent); transform: translateY(-2px); }
.cookie-btn.decline { background: transparent; color: var(--primary); border: 1px solid rgba(90, 70, 54, 0.2); }
.cookie-btn.decline:hover { background: rgba(90, 70, 54, 0.04); }
@media (max-width: 900px) {
body { padding-bottom: 80px; }
.side-decorations { display: none; }
h1 { font-size: 2.2rem; }
.hero-faq { padding: 40px 15px; }
.cta-box { padding: 25px 15px; margin: 20px 15px; }
.btn-main, .btn-outline { padding: 14px 28px !important; font-size: 1rem !important; }
.social-sidebar { left: 0; top: auto; bottom: 0; width: 100%; flex-direction: row; justify-content: center; transform: none; padding: 15px; background: rgba(255,255,255,0.95); border-top: 1px solid #eee; }
.social-link:hover { width: 48px !important; }
.social-link span { display: none; }
.cookie-banner { left: 20px; right: 20px; bottom: 85px; max-width: none; padding: 20px; }
.faq-section { padding: 10px; margin-bottom: 60px; }
summary { padding: 18px 20px; font-size: 1rem; }
}

/* --- TRANSITION DE PAGE --- */
body { animation: fadeInPage 0.6s ease-in-out forwards; }
@keyframes fadeInPage { 0% { opacity: 0; } 100% { opacity: 1; } }
body.page-exit { animation: fadeOutPage 0.5s ease-in-out forwards !important; }
@keyframes fadeOutPage { 0% { opacity: 1; } 100% { opacity: 0; } }


/* --- OVERRIDES MOBILES POUR REDUIRE L'EFFET "ZOOM" --- */
@media (max-width: 900px) {
    body { font-size: 0.95rem !important; }
    h1 { font-size: 1.8rem !important; margin-bottom: 15px !important; }
    h2 { font-size: 1.4rem !important; }
    h3 { font-size: 1.2rem !important; }
    p, ul, li { font-size: 0.95rem !important; line-height: 1.6 !important; }
    .hero, .hero-faq { padding: 30px 15px !important; min-height: auto !important; }
    .btn-main, .btn-outline { padding: 12px 24px !important; font-size: 0.9rem !important; }
    .cta-box { padding: 25px 15px !important; margin: 20px 15px !important; }
    .cta-box p { font-size: 1.4rem !important; }
    .grid-about { padding: 25px 15px !important; }
    .features { gap: 20px !important; padding: 30px 15px !important; }
    .social-sidebar { padding: 8px !important; bottom: 0 !important; }
    .social-link { height: 40px !important; width: 40px !important; border-radius: 40px !important; }
    .social-link i { min-width: 40px !important; font-size: 1rem !important; }
    .social-link:hover { width: 40px !important; min-width: 40px !important; padding-right: 0px !important; }
    .countdown-container { padding: 10px !important; }
    .count-number { font-size: 1.2rem !important; }
    .count-label { font-size: 0.55rem !important; }
    .cookie-banner { padding: 15px !important; bottom: 65px !important; left: 15px !important; right: 15px !important; }
    .cookie-banner p { font-size: 0.8rem !important; margin-bottom: 15px !important; }
    summary { padding: 15px 20px !important; font-size: 0.95rem !important; }
    .faq-section { margin-bottom: 60px !important; padding: 10px !important; }
    .container { padding: 25px 15px !important; margin: 15px !important; }
    .modal-box { padding: 25px 15px !important; }
    .tag { font-size: 0.7rem !important; padding: 6px 16px !important; margin-bottom: 15px !important; }
}


@media (max-width: 900px) {
    footer { 
        padding-top: 20px !important; 
        font-size: 0.7rem !important; 
    }
    footer + div { 
        padding-bottom: 20px !important; 
        padding-top: 5px !important;
        font-size: 0.75rem !important;
    }
    footer + div img {
        height: 28px !important;
    }
}


@media (max-width: 900px) {
    footer p, footer a {
        font-size: 0.65rem !important;
    }
}


@media (max-width: 900px) {
    .cta-box { 
        padding: 20px 15px !important; 
        margin: 15px 15px !important; 
        background: white !important;
        border-radius: 15px !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.03) !important;
    }
    .cta-box p { 
        font-size: 1.3rem !important; 
        margin-bottom: 10px !important;
    }
    .cta-box span {
        font-size: 0.85rem !important;
        margin-bottom: 15px !important;
        line-height: 1.5 !important;
    }
    .cta-box .btn-link {
        font-size: 0.9rem !important;
    }
}


/* --- CHROME BUG FIXES FOR ANIMATIONS --- */
body {
    animation: none !important; /* Disable body animation to prevent stacking context bug */
}
body.page-exit {
    animation: none !important;
}

/* Nouveau système de transition de page via un pseudo-élément overlay (évite le bug des éléments fixed/sticky) */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: #fffcf9;
    z-index: 999999;
    pointer-events: none;
    animation: overlayFadeOut 0.6s ease-in-out forwards;
}
body.page-exit::after {
    animation: overlayFadeIn 0.5s ease-in-out forwards !important;
}
@keyframes overlayFadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}
@keyframes overlayFadeIn {
    0% { opacity: 0; visibility: visible; }
    100% { opacity: 1; }
}

/* Force l'accélération matérielle (GPU) pour éviter les clignotements sur Chrome */
.reveal, .global-animate, .decor-img, .faq-content {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.decor-img {
    will-change: transform;
}
.reveal {
    will-change: transform, opacity;
}
