/* --- 1. CONFIGURATION GÉNÉRALE (BASE PC) --- */
:root {
    --primary-color: #5E2129;
    --accent-color: #dcbfa5;
    --text-color: #4a4a4a;
    --bg-cream: #f9f7f2;
    --white: #ffffff;
    --marble-1: #f3e5dc;
    --marble-2: #e8dacc;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --font-script: 'Great Vibes', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-color); line-height: 1.6; background-color: var(--white); overflow-x: hidden; }
.container { width: 92%; max-width: 1300px; margin: 0 auto; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* TYPO GÉNÉRALE */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary-color); }
.sub-title { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: #999; margin-bottom: 10px; }
.main-title { font-size: 2.5rem; margin-bottom: 20px; }
.section-padding { padding: 80px 0; }
.pd-top-tiny { padding-top: 10px; } 
.pd-bottom-normal { padding-bottom: 80px; }
.bg-cream { background-color: var(--bg-cream); }
.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }

/* --- HEADER (PC) --- */
.marble-bg { background-color: var(--marble-1); background-image: linear-gradient(315deg, var(--marble-1) 0%, var(--marble-2) 74%); padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
.header-row { display: flex; justify-content: space-between; align-items: center; }

/* Logo */
.logo-wrapper { display: flex; align-items: center; }
.mini-logo { height: 35px; width: auto; margin-right: 12px; }
.logo-text-stack { display: flex; flex-direction: column; justify-content: center; align-items: center; line-height: 1.1; }
.brand-name { font-family: var(--font-heading); font-size: 1.2rem; letter-spacing: 1px; color: var(--primary-color); white-space: nowrap; }
.brand-signature { font-family: var(--font-script); font-size: 1rem; color: var(--primary-color); white-space: nowrap; display: inline-block; margin-top: -3px; animation: signaturePulse 3s ease-in-out infinite; }

@keyframes signaturePulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
}

/* Nav */
.main-nav ul { display: flex; gap: 25px; margin: 0; padding: 0; }
.main-nav a { text-transform: uppercase; font-size: 0.85rem; color: #444; font-weight: 700; position: relative; white-space: nowrap; }
.main-nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--primary-color); transition: width 0.3s; }
.main-nav a:hover::after { width: 100%; }

/* Header Right */
.header-right { display: flex; align-items: center; gap: 15px; }
.header-socials { display: flex; gap: 10px; }
.social-icon-header { display: flex; justify-content: center; align-items: center; width: 35px; height: 35px; border-radius: 50%; background-color: var(--white); color: var(--primary-color); font-size: 1rem; transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.social-icon-header:hover { background-color: var(--primary-color); color: var(--white); transform: translateY(-2px); }
.btn-call { background-color: var(--primary-color); color: white; padding: 10px 20px; border-radius: 4px; font-size: 0.9rem; transition: 0.3s; white-space: nowrap; }
.btn-call:hover { background-color: #3e151b; }

/* BANDEAU MICRO */
.scrolling-banner { background-color: var(--primary-color); color: var(--white); padding: 1px 0; overflow: hidden; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,0.1); }
.scrolling-content { display: inline-block; padding-left: 100%; animation: scroll-left 25s linear infinite; line-height: 1; }
.scrolling-content span { font-family: var(--font-heading); font-size: 0.6rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* HERO & INTRO */
.hero-logo-section { padding: 40px 0 0 0; background-color: var(--bg-cream); border-bottom: none; }
.hero-logo-img { height: 220px; width: auto; margin: 0 auto; }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-content { position: relative; z-index: 1; }
.floating-perfume { position: absolute; top: -80px; left: -100px; width: 180px; height: auto; z-index: -1; opacity: 0.7; pointer-events: none; }
.intro-content h1 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 20px; position: relative; z-index: 2; transform-origin: left center; }

/* Texte Dynamique */
.dynamic-headline { font-family: var(--font-heading); font-size: 2rem; color: var(--primary-color); margin-bottom: 25px; display: flex; justify-content: center; align-items: center; gap: 8px; font-style: italic; position: relative; z-index: 2; line-height: 1; }
.static-part { color: var(--primary-color); display: block; padding-bottom: 5px; }
.dynamic-words-wrapper { position: relative; height: 2.5rem; width: 140px; overflow: hidden; display: flex; align-items: center; }
.dynamic-words-wrapper .word { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; white-space: nowrap; opacity: 0; visibility: hidden; color: var(--accent-color); font-weight: 600; padding-right: 15px; }

.intro-text-align { margin-bottom: 20px; color: #666; font-size: 1.05rem; }
.signature { display: block; margin-top: 20px; font-size: 0.9rem; letter-spacing: 2px; color: #888; text-transform: uppercase; }
.intro-image-wrapper { position: relative; height: 500px; z-index: 2; }
.img-arched { width: 100%; height: 100%; object-fit: cover; object-position: center center; border-radius: 160px 160px 30px 30px; box-shadow: 15px 15px 0px rgba(220, 191, 165, 0.3); }

/* CARDS (PRESTATIONS) */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; padding: 20px 0; }
.card { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; padding: 25px; border-radius: 20px; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); border: 1px solid transparent; box-shadow: 0 5px 15px rgba(94, 33, 41, 0.05); }
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(94, 33, 41, 0.12); border-color: var(--accent-color); }
.card-img-wrapper { height: 240px; width: 100%; max-width: 220px; overflow: hidden; border-radius: 150px 150px 20px 20px; margin-bottom: 25px; position: relative; box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.card:hover .card-img-wrapper img { transform: scale(1.08); }
.card h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 15px; color: var(--primary-color); transition: color 0.3s ease; }
.card:hover h3 { color: var(--accent-color); }
.card p { font-size: 0.95rem; color: #666; line-height: 1.6; max-width: 90%; }

/* LOCAL */
.local-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.local-slideshow-wrapper { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 20px 0 20px 0; box-shadow: 10px 10px 0px rgba(220, 191, 165, 0.5); }
.local-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.active-slide { opacity: 1; }
.local-text p { margin-bottom: 30px; }

/* A PROPOS */
.apropos-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; background: #fff; border-radius: 20px; overflow: hidden; padding: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.apropos-img-wrapper { height: 550px; width: 100%; overflow: hidden; position: relative; border-radius: 250px 250px 20px 20px; margin: 20px; background-color: #fff; }
.apropos-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.apropos-slide.active-slide { opacity: 1; }
.apropos-content { padding: 50px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.watermark-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 300px; height: 300px; background-image: url('Minilogo.png'); background-size: contain; background-repeat: no-repeat; background-position: center; opacity: 0.05; z-index: 0; pointer-events: none; }
.apropos-content h3, .apropos-content .role, .apropos-content .text-body, .apropos-content .apropos-footer { position: relative; z-index: 1; }
.apropos-content h3 { font-size: 2.2rem; margin-bottom: 5px; }
.apropos-content .role { font-size: 0.9rem; letter-spacing: 2px; color: #999; text-transform: uppercase; display: block; margin-bottom: 20px; }
.apropos-content .text-body p { margin-bottom: 15px; color: #555; }
.apropos-footer { margin-top: 30px; display: flex; flex-direction: column; gap: 10px; }
.apropos-footer .greeting { font-weight: bold; color: var(--primary-color); }
.handwritten-sig { font-family: var(--font-script); font-size: 2rem; color: var(--accent-color); transform: rotate(-5deg); display: inline-block; width: fit-content; }

/* PRIX & OFFRES */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.price-col { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); transition: 0.3s; border: 1px solid transparent; }
.price-col:hover { border-color: var(--accent-color); box-shadow: 0 10px 30px rgba(220, 191, 165, 0.2); transform: translateY(-5px); }
.price-header-text { text-align: center; font-family: var(--font-heading); font-size: 1.5rem; color: var(--primary-color); margin-bottom: 25px; border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; }
.price-list li { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 15px; border-bottom: 1px dotted #ddd; padding-bottom: 5px; }
.cat-title { font-weight: bold; color: var(--primary-color); text-transform: uppercase; margin-bottom: 15px !important; border-bottom: none !important; display: block !important; }
.p-info strong { font-size: 1rem; color: #333; }
.p-info span { font-size: 0.8rem; color: #888; display: block; }
.p-cost { font-weight: bold; color: var(--primary-color); min-width: 60px; text-align: right; }
.combo .p-info { font-style: italic; }

/* FAQ & CONTACT */
.faq-banner { background-color: var(--primary-color); color: white; border-radius: 15px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.banner-text { padding: 60px; }
.banner-img { background-size: cover; background-position: center; transition: 0.5s; }
.faq-banner:hover .banner-img { transform: scale(1.05); } 
.btn-light { background: white; color: var(--primary-color); padding: 10px 25px; border-radius: 4px; display: inline-block; font-weight: bold; transition: 0.3s; }
.btn-light:hover { background: var(--accent-color); color: white; }
details { background: white; margin-bottom: 10px; padding: 20px; border-radius: 5px; cursor: pointer; border: 1px solid #eee; transition: 0.3s; }
details:hover { border-color: var(--accent-color); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
summary { font-weight: bold; outline: none; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.info-box { background: white; padding: 25px; border-radius: 8px; position: relative; margin-bottom: 15px; transition: 0.3s; }
.info-box:hover { transform: translateX(5px); border-left: 3px solid var(--primary-color); }
.contact-map { min-height: 400px; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* FOOTER */
.main-footer { padding: 40px 0; }
.footer-socials { display: flex; justify-content: center; gap: 25px; }
.social-icon { display: flex; justify-content: center; align-items: center; width: 50px; height: 50px; border-radius: 50%; background-color: var(--white); color: var(--primary-color); font-size: 1.3rem; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.social-icon:hover { background-color: var(--primary-color); color: var(--white); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(94, 33, 41, 0.2); }


/* ==========================================================================
   2. VERSION TABLETTE (iPad, petites résolutions > 768px et < 1100px)
   ========================================================================== */
@media (max-width: 1100px) {
    .container { width: 95%; }
    
    /* Header: On garde le menu mais on serre un peu */
    .header-row { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .main-nav ul { gap: 15px; font-size: 0.8rem; }
    
    /* Intro et sections en colonne si ça devient trop serré */
    .intro-grid { gap: 40px; }
    .intro-content h1 { font-size: 2.2rem; }
    
    /* Local: Image en haut, texte en bas */
    .local-grid { grid-template-columns: 1fr; }
    .local-slideshow-wrapper { width: 80%; margin: 0 auto; }
    
    /* A propos */
    .apropos-container { grid-template-columns: 1fr; }
    .apropos-img-wrapper { height: 400px; border-radius: 20px 20px 0 0; margin: 0; }
    .apropos-content { padding: 30px; }
    
    /* Contact */
    .contact-grid { grid-template-columns: 1fr; }
    .contact-map { min-height: 300px; }
    
    /* FAQ */
    .faq-banner { grid-template-columns: 1fr; }
    .banner-img { height: 200px; order: -1; }
}


/* ==========================================================================
   3. VERSION SMARTPHONE (Mobile < 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Header empilé */
    .header-row { flex-direction: column; gap: 15px; padding: 10px 0; }
    
    /* Menu Navigation empilé ou scrollable */
    .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .main-nav a { font-size: 0.75rem; padding: 5px; }
    
    /* Logo centré */
    .logo-wrapper { flex-direction: column; text-align: center; gap: 5px; }
    .logo-text-stack { align-items: center !important; }
    .mini-logo { margin-right: 0; margin-bottom: 5px; }
    
    /* Droite (Socials + Tel) */
    .header-right { flex-direction: column; gap: 10px; width: 100%; }
    .btn-call { width: 100%; text-align: center; } /* Bouton appel pleine largeur */
    
    /* Intro */
    .intro-grid { grid-template-columns: 1fr; gap: 30px; }
    .intro-image-wrapper { height: 300px; order: -1; } /* Image avant le texte sur mobile */
    .intro-content { text-align: center; }
    .dynamic-headline { justify-content: center; font-size: 1.5rem; }
    .intro-content h1 { font-size: 1.8rem; }
    .floating-perfume { display: none; } /* On cache les décos volantes sur mobile */
    
    /* Cartes Prestations: 1 colonne */
    .cards-grid { grid-template-columns: 1fr; gap: 30px; }
    .card-img-wrapper { max-width: 180px; height: 200px; } /* Un peu plus petit */
    
    /* Prix et Tarifs */
    .price-grid { grid-template-columns: 1fr; }
    
    /* A Propos */
    .apropos-img-wrapper { height: 300px; } /* Image moins haute */
    .apropos-content h3 { font-size: 1.8rem; }
    
    /* Local Slide */
    .local-slideshow-wrapper { width: 100%; border-radius: 20px; }
    
    /* Général */
    .section-padding { padding: 50px 0; }
    .main-title { font-size: 2rem; }
}