/* --- VARIABLES --- */
:root {
    --primary-blue: #0f1c3f;
    --accent-blue: #3828A2;
    --bright-cyan: #00f2ff;
    --gold: #FFD700;
    --white: #ffffff;
    --bg-light: #f8f9fb;
    --text-dark: #1a1a1a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
html { overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
.container { width: 88%; max-width: 1100px; margin: 0 auto; }
.text-center { text-align: center; }

/* --- TYPOGRAPHIE --- */
h1 { font-family: var(--font-heading); color: var(--primary-blue); font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 1.5rem; }
h2 { font-family: var(--font-heading); color: var(--primary-blue); font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 3rem; }

/* --- ANIMATIONS & KEYFRAMES --- */
@keyframes shine { 
    0% { background-position: 200% center; }
    100% { background-position: 0% center; }
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56, 40, 162, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(56, 40, 162, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56, 40, 162, 0); }
}
@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); text-shadow: 0 0 10px var(--gold); } }

/* Classes Anim */
.animated-bg {
    background: linear-gradient(-45deg, #ffffff, #f0f4ff, #eef2ff, #ffffff);
    background-size: 400% 400%; animation: gradient-animation 15s ease infinite;
}
.shining-text {
    background: linear-gradient(to right, var(--primary-blue) 20%, var(--bright-cyan) 50%, var(--primary-blue) 80%);
    background-size: 200% auto; color: var(--primary-blue);
    background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: shine 2s linear infinite; font-style: italic; font-weight: 800;
}
.pulse-animation { animation: pulse 2.5s infinite; }
.slide-in { animation: slideDown 1s ease forwards; opacity: 0; }
.fade-in-up { animation: fadeInUp 1s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; width: 100%;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px);
    z-index: 1000; padding: 0.5rem 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: visible; max-width: 100vw;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 180px; width: auto; object-fit: contain; transition: transform 0.3s ease; }
.logo img:hover { transform: scale(1.05); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links li { list-style: none; }
.nav-links a { font-family: 'Playfair Display', serif; font-size: 0.95rem; text-transform: uppercase; font-weight: 500; position: relative; letter-spacing: 1px; }
.nav-links a:hover { color: var(--accent-blue); }
.nav-links a:not(.btn-reserver-nav):after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--accent-blue); transition: var(--transition); }
.nav-links a:hover:after { width: 100%; }

.btn-reserver-nav {
    background: linear-gradient(45deg, var(--accent-blue), #5e4bd6);
    padding: 0.7rem 1.8rem; border-radius: 50px; color: white !important; font-weight: 600;
    box-shadow: 0 4px 15px rgba(56, 40, 162, 0.3);
}
.btn-reserver-nav:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(56, 40, 162, 0.5); }

/* --- HERO SECTION --- */
.hero {
    height: 100vh; min-height: 600px;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    padding-top: 80px; position: relative; overflow: hidden;
}
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('public/background_SmileEdit.jpeg') center 20% / cover no-repeat;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}
@media screen and (max-width: 480px) {
    .hero {
        min-height: 450px;
        padding-top: 70px;
    }
}
.floating-shape { position: absolute; border-radius: 50%; opacity: 0.4; z-index: 0; filter: blur(60px); }
.shape-1 { top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,242,255,0.2) 0%, rgba(255,255,255,0) 70%); animation: float 8s ease-in-out infinite; }
.shape-2 { bottom: -100px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(56,40,162,0.15) 0%, rgba(255,255,255,0) 70%); animation: float 10s ease-in-out infinite reverse; }

.hero-content { z-index: 1; position: relative; }
.hero h5 { text-transform: uppercase; letter-spacing: 4px; font-weight: 700; margin-bottom: 1rem; color: var(--accent-blue); }
.hero .subtitle { font-size: 1.2rem; color: var(--text-grey); max-width: 600px; margin: 0 auto 2.5rem; font-weight: 400; }

.hero-btns { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; align-items: center; }
.btn-hero-main {
    background: linear-gradient(to right, var(--primary-blue), var(--accent-blue));
    color: var(--white); padding: 0.7rem 1.8rem; border-radius: 50px;
    font-weight: 700; font-size: 0.95rem; box-shadow: 0 10px 30px rgba(15, 28, 63, 0.3); border: none;
    cursor: pointer; transition: var(--transition);
}
.btn-hero-main:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 15px 40px rgba(15, 28, 63, 0.4); }
.btn-hero-outline {
    border: 2px solid var(--primary-blue); color: var(--primary-blue);
    padding: 0.65rem 1.7rem; border-radius: 50px; font-weight: 700; font-size: 0.95rem;
    cursor: pointer; background: transparent; transition: var(--transition);
}
.btn-hero-outline:hover { background: var(--primary-blue); color: white; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(15, 28, 63, 0.2); }

.scroll-down { position: absolute; bottom: 20px; z-index: 10; }
.mouse { width: 24px; height: 36px; border: 2px solid var(--primary-blue); border-radius: 20px; position: relative; opacity: 0.5; }
.mouse::before { content: ''; width: 4px; height: 6px; background: var(--primary-blue); position: absolute; top: 6px; left: 50%; transform: translateX(-50%); border-radius: 2px; animation: scrollMouse 2s infinite; }

/* --- INFO BAR --- */
.info-bar { background: var(--accent-blue); color: white; padding: 0.8rem 0; text-align: center; font-size: 0.85rem; font-weight: 500; }
.info-bar span { margin: 0 10px; display: inline-block; }

/* --- SECTIONS --- */
.section { padding: 6rem 0; }
.bg-light { background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 50%, #ffffff 100%); }
.section-header { position: relative; margin-bottom: 3rem; }
.pre-title { text-transform: uppercase; color: var(--accent-blue); font-weight: 700; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 0.5rem; }
.section-title { position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 40px; height: 3px; background: linear-gradient(to right, var(--accent-blue), var(--bright-cyan)); border-radius: 2px; }
.section-studio { padding: 6rem 0; background: white; }
.studio-text { max-width: 700px; margin: 0 auto; font-size: 1.1rem; color: #555; line-height: 1.8; }
.studio-text p { margin-bottom: 1.5rem; }

/* --- CAROUSEL STYLES --- */
.carousel-container { position: relative; height: 400px; width: 100%; max-width: 900px; margin: 0 auto; background: linear-gradient(135deg, rgba(56,40,162,0.08) 0%, rgba(0,242,255,0.12) 50%, rgba(255,215,0,0.05) 100%); border-radius: 25px; padding: 15px; box-shadow: 0 20px 60px rgba(0,0,0,0.08); }
.carousel-track-container { height: 100%; position: relative; overflow: hidden; border-radius: 20px; box-shadow: inset 0 0 20px rgba(0,0,0,0.05); background: white; }
.carousel-track { padding: 0; margin: 0; list-style: none; position: relative; height: 100%; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.carousel-slide { position: absolute; top: 0; bottom: 0; width: 100%; transition: opacity 0.5s ease; }
.carousel-slide .gallery-card { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }

.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: white; border: none; width: 50px; height: 50px; border-radius: 50%;
    font-size: 1.2rem; color: var(--accent-blue); cursor: pointer; z-index: 10;
    box-shadow: 0 8px 20px rgba(56, 40, 162, 0.2); transition: 0.3s ease;
    font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--accent-blue); color: white; transform: translateY(-50%) scale(1.1); }
.prev-btn { left: -25px; }
.next-btn { right: -25px; }
.prev-btn:hover, .next-btn:hover { background: var(--accent-blue); color: white; box-shadow: 0 12px 25px rgba(56, 40, 162, 0.35); }

.carousel-nav { display: flex; justify-content: center; padding: 25px 0 0 0; gap: 8px; }
.carousel-indicator { 
    border: none; width: 12px; height: 12px; border-radius: 50%; 
    background: #ddd; cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.carousel-indicator:hover { background: #999; transform: scale(1.15); }
.carousel-indicator.current-slide { background: linear-gradient(135deg, var(--accent-blue), var(--bright-cyan)); transform: scale(1.3); box-shadow: 0 4px 12px rgba(56, 40, 162, 0.4); }

/* Common Gallery Card Style */
.gallery-card { 
    position: relative; overflow: hidden; height: 100%; 
    background: linear-gradient(135deg, #f5e6ff 0%, #e8f4ff 100%);
    border-radius: 0;
}
.gallery-card img { width: 100%; height: 100%; object-fit: cover; object-position: center center; opacity: 0.95; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.carousel-slide.current-slide .gallery-card img { opacity: 1; transform: scale(1.05); }
.gallery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top-right, rgba(56,40,162,0.1) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
    z-index: 1;
}
.badge-status {
    position: absolute; top: 20px; left: 20px; background: var(--accent-blue); color: white;
    padding: 0.5rem 1rem; border-radius: 30px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; z-index: 2;
    animation: slideDown 0.6s ease forwards;
}
.badge-status.white { background: white; color: var(--primary-blue); }

/* --- STYLE CAROUSEL AVIS --- */
.review-carousel { max-width: 700px; height: 350px; }
.bg-gradient { background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%); }
.review-card-slider {
    background: white; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    padding: 2rem 3rem; border-radius: 0; /* Géré par le container */
}
.review-card-slider p { font-size: 1.1rem; font-style: italic; color: var(--text-dark); margin-bottom: 2rem; line-height: 1.8; }
.review-author h4 { font-family: var(--font-heading); color: var(--primary-blue); margin-bottom: 0.2rem; }
.review-author span { font-size: 0.8rem; color: var(--accent-blue); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.stars-animated { margin-bottom: 1rem; color: var(--gold); font-size: 1rem; letter-spacing: 3px; display: flex; justify-content: center; gap: 3px; }
.stars-animated i { animation: twinkle 3s infinite ease-in-out; animation-delay: calc(var(--i) * 0.15s); opacity: 0.7; }


/* --- TARIFS --- */
.pricing-grid { 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center; 
    gap: 2rem;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}
.price-card {
    background: white; padding: 2.5rem; border-radius: 25px; width: 100%; text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.02);
    position: relative; overflow: hidden; will-change: transform;
}
.price-card.featured { border: 2px solid var(--accent-blue); transform: scale(1.05); }
.price-card.featured .glow-effect {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(56,40,162,0.1) 0%, rgba(0,0,0,0) 60%);
    animation: rotate 10s linear infinite; pointer-events: none;
}
.badge-blue { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--accent-blue); color: white; padding: 0.5rem 1.5rem; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; }
.price { font-size: 3rem; font-weight: 800; color: var(--primary-blue); margin: 0.5rem 0; }
.detail { display: block; margin-bottom: 1rem; color: var(--text-grey); font-style: italic; }
.price-card hr { border: 0; border-top: 1px solid #eee; margin: 1.5rem 0; }
.price-card ul li { margin-bottom: 1rem; display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; text-align: left; line-height: 1.4; }
.price-card ul li i { color: var(--accent-blue); margin-top: 3px; flex-shrink: 0; }
.price-card.featured ul li i.fa-star { color: var(--gold); }
.btn-card { display: inline-block; margin-top: 1.5rem; padding: 0.8rem 2rem; border-radius: 50px; background: var(--bg-light); color: var(--primary-blue); font-weight: 700; transition: 0.3s; }
.btn-card:hover { background: var(--accent-blue); color: white; }

/* --- RECOMMANDATIONS --- */
.recommendations-container { max-width: 1100px; margin: 0 auto; }
.recommendations-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.recommendation-block { 
    background: white; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.recommendation-block:hover { transform: translateY(-5px); box-shadow: 0 15px 50px rgba(0,0,0,0.12); }
.recommendation-header { 
    padding: 1.5rem; 
    display: flex; 
    align-items: center; 
    gap: 1rem;
    color: white;
    font-weight: 700;
}
.recommendation-header.before { background: linear-gradient(135deg, var(--accent-blue), #5e4bd6); }
.recommendation-header.after { background: linear-gradient(135deg, #27ae60, #229954); }
.recommendation-header i { font-size: 1.8rem; }
.recommendation-header h3 { margin: 0; font-size: 1.3rem; }
.recommendation-content { padding: 1.5rem; }
.intro-text { color: var(--accent-blue); font-weight: 600; margin-bottom: 1rem; font-size: 0.95rem; }
.recommendation-item { margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid #f0f0f0; }
.recommendation-item:last-child { border-bottom: none; }
.recommendation-item h4 { color: var(--primary-blue); font-weight: 700; margin-bottom: 0.5rem; font-size: 0.95rem; }
.recommendation-item ul { margin: 0.8rem 0; padding-left: 1.5rem; }
.recommendation-item ul li { list-style: disc; color: #555; margin-bottom: 0.4rem; line-height: 1.4; font-size: 0.9rem; }
.highlight { background: #fff3cd; padding: 0.8rem; border-radius: 8px; margin-top: 0.8rem; font-weight: 500; color: #000; font-size: 0.85rem; line-height: 1.5; }
.highlight-small { background: #e8f4f8; padding: 0.8rem; border-radius: 8px; margin-top: 0.8rem; font-weight: 500; color: var(--primary-blue); font-size: 0.85rem; line-height: 1.5; }

.restriction-section { }
.restriction-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.restriction-block { 
    background: white; 
    padding: 2rem; 
    border-radius: 20px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-left: 4px solid var(--accent-blue);
}
.restriction-block.avoid { border-left-color: #e74c3c; }
.restriction-block.allow { border-left-color: #27ae60; }
.restriction-block h3 { color: var(--primary-blue); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem; }
.restriction-block.avoid h3 i { color: #e74c3c; }
.restriction-block.allow h3 i { color: #27ae60; }
.white-food-label { font-size: 0.85rem; font-style: italic; color: #666; margin: -0.8rem 0 1rem 0; }
.avoid-list { margin: 1rem 0; padding-left: 1.5rem; list-style: none; }
.avoid-list li { color: #555; margin-bottom: 0.6rem; padding-left: 1.5rem; position: relative; line-height: 1.4; font-size: 0.9rem; }
.avoid-list li::before { content: "✕"; position: absolute; left: 0; color: #e74c3c; font-weight: bold; font-size: 1.1rem; }
.allowed-list { margin: 1rem 0; padding-left: 1.5rem; list-style: none; }
.allowed-list li { color: #555; margin-bottom: 0.6rem; padding-left: 1.5rem; position: relative; line-height: 1.4; font-size: 0.9rem; }
.allowed-list li::before { content: "✓"; position: absolute; left: 0; color: #27ae60; font-weight: bold; font-size: 1.1rem; }
.warning { background: #ffe6e6; padding: 0.8rem; border-radius: 8px; margin-top: 1rem; font-weight: 500; color: #c0392b; font-size: 0.8rem; font-style: italic; line-height: 1.4; }

.contraindications { 
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    padding: 2rem; 
    border-radius: 20px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 2px solid #e74c3c;
}
.contraindications h2 { margin-bottom: 2rem; color: #c0392b; }
.contraindications-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.contraindication-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 1rem; 
    padding: 1rem 1.2rem; 
    background: white; 
    border-radius: 12px;
    border-left: 3px solid #e74c3c;
}
.contraindication-item i { color: #e74c3c; font-size: 1.3rem; flex-shrink: 0; margin-top: 0.2rem; }
.contraindication-item span { color: var(--text-dark); line-height: 1.5; font-size: 0.9rem; }

.final-result { 
    padding: 2rem; 
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f4ff 100%); 
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--accent-blue);
}
.final-result i { color: var(--gold); font-size: 2rem; margin-bottom: 0.5rem; }
.final-result h3 { color: var(--primary-blue); font-size: 1.3rem; margin-bottom: 0.5rem; }
.final-result p { color: var(--primary-blue); font-weight: 600; font-size: 1rem; }

/* --- FOOTER --- */
footer { background: var(--primary-blue); color: white; padding: 5rem 0 2rem; }
.footer-main { 
    display: flex; 
    justify-content: space-between;
    flex-wrap: wrap; 
    gap: 2rem; 
    align-items: flex-start;
    width: 100%;
}
.footer-col { flex: 1 1 auto; min-width: 200px; }
.brand-col { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1 1 auto; }
.footer-logo { width: 240px; margin-bottom: 1.5rem; }
.slogan { font-family: var(--font-heading); font-style: italic; font-size: 1.2rem; opacity: 0.8; background: linear-gradient(to left, var(--primary-blue) 20%, var(--bright-cyan) 50%, var(--primary-blue) 80%); background-size: 200% auto; color: var(--primary-blue); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: shine 3s linear infinite; }
.footer-col h3 { font-family: var(--font-body); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 2px; color: #a3bffa; margin-bottom: 1.5rem; text-align: center; }
.contact-row { display: flex; gap: 12px; margin-bottom: 1rem; align-items: center; justify-content: center; flex-direction: column; }
.contact-row i { color: #a3bffa; margin-top: 0; font-size: 1rem; }
.contact-row p, .contact-row a { color: rgba(255,255,255,0.9); font-size: 0.95rem; }

/* RESEAUX SOCIAUX - HORIZONTAL & COULEURS */
.social-links-large { 
    display: flex; 
    flex-direction: row; 
    gap: 1.5rem; 
    justify-content: center;
    align-items: center;
}
.social-btn {
    width: 60px; height: 60px; font-size: 1.8rem;
    background: white; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1);
}
.social-btn:hover { transform: translateY(-3px) scale(1.1); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

.insta { color: #E1306C; }
.tiktok { color: #000000; }
.whatsapp { color: #25D366; }
.snap { background-color: #FFFC00; color: white; text-shadow: 0 0 5px rgba(0,0,0,0.5); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; width: 88%; max-width: 1100px; margin: 0 auto; margin-top: 3rem; }
.copyright { font-size: 0.8rem; opacity: 0.5; }
.scroll-top { cursor: pointer; padding: 10px; transition: 0.3s; }
.scroll-top:hover { color: var(--bright-cyan); transform: translateY(-5px); }

/* --- SCROLL REVEAL --- */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE MOBILE --- */
.burger { display: none; cursor: pointer; }
.burger div { width: 30px; height: 3px; background: var(--primary-blue); margin: 6px; border-radius: 5px; transition: 0.3s; }

@media screen and (max-width: 960px) {
    .logo img { height: 90px; }
    .burger { display: block; z-index: 2000; }
    .burger.toggle .line1 { transform: rotate(-45deg) translate(-6px, 6px); background: var(--primary-blue); }
    .burger.toggle .line2 { opacity: 0; }
    .burger.toggle .line3 { transform: rotate(45deg) translate(-6px, -6px); background: var(--primary-blue); }

    .nav-links {
        position: fixed; right: 0; top: 0; height: 100vh; width: 80vw;
        background: white; flex-direction: column; justify-content: flex-start;
        transform: translateX(100%); transition: 0.4s ease; z-index: 1500; max-width: 100%; padding-top: 100px; overflow-y: auto;
    }
    .nav-links.nav-active { transform: translateX(0%); }
    .nav-links a { font-size: 1.5rem; margin: 1rem 0; }

    .hero { height: auto; min-height: 100vh; padding: 120px 0 80px; }
    .hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
    .hero h5 { font-size: 0.75rem; letter-spacing: 2px; }
    .hero .subtitle { font-size: 1rem; padding: 0 1rem; }
    .hero-btns { flex-direction: row; gap: 1rem; }

    .section { padding: 4rem 0; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .price-card.featured { transform: scale(1); }
    .carousel-container { height: 300px; }
    .carousel-btn { width: 40px; height: 40px; font-size: 1rem; }
    
    .recommendations-wrapper { grid-template-columns: 1fr; gap: 1.5rem; }
    .restriction-row { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .footer-main { gap: 2rem; }
    .footer-col { flex: 1 1 auto; }
    .brand-col { flex: 1 1 100%; order: -1; }
    .footer-bottom { justify-content: center; gap: 2rem; }
}

@media screen and (max-width: 768px) {
    .container { width: 92%; }
    h1 { font-size: clamp(1.8rem, 5vw, 2.2rem); }
    h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
    .info-bar { font-size: 0.75rem; padding: 0.6rem 0; }
    .info-bar span { margin: 0 5px; }
    .carousel-container { height: 250px; padding: 10px; }
    .review-carousel { height: 320px; }
    .review-card-slider { padding: 1.5rem 2rem; }
    .pricing-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .price-card { padding: 2rem; }
    .price { font-size: 2.5rem; }
    .footer-col { flex-basis: 100%; }
}

@media screen and (max-width: 480px) {
    .container { width: 95%; }
    .navbar { padding: 0.3rem 0; }
    .logo img { height: 80px; }
    
    h1 { font-size: clamp(1.5rem, 6vw, 2rem); margin-bottom: 1rem; }
    h2 { font-size: clamp(1.2rem, 5vw, 1.8rem); margin-bottom: 2rem; }
    
    .hero { padding: 100px 0 60px; min-height: 100vh; }
    .hero-content { padding: 0 1rem; }
    .hero h5 { font-size: 0.7rem; margin-bottom: 0.8rem; }
    .hero .subtitle { font-size: 0.95rem; margin-bottom: 2rem; }
    .hero-btns { gap: 0.8rem; width: 100%; }
    
    .section { padding: 3rem 0; }
    .section-header { margin-bottom: 2rem; }
    
    .info-bar { font-size: 0.7rem; padding: 0.5rem 0; }
    .info-bar span { display: block; margin: 0.3rem 0; }
    
    .carousel-container { height: 220px; margin: 0 auto; padding: 8px; }
    .carousel-track-container { border-radius: 15px; }
    .carousel-btn { width: 35px; height: 35px; font-size: 0.9rem; }
    .prev-btn { left: -15px; }
    .next-btn { right: -15px; }
    
    .review-carousel { height: 280px; max-width: 100%; }
    .review-card-slider { padding: 1.5rem 1.5rem; }
    .review-card-slider p { font-size: 1rem; margin-bottom: 1.5rem; }
    
    .pricing-grid { grid-template-columns: 1fr; gap: 1rem; }
    .price-card { 
        width: 100%; 
        padding: 1.5rem; 
    }
    .price-card.featured { transform: scale(1); }
    .price { font-size: 2rem; }
    .detail { font-size: 0.9rem; }
    .price-card h3 { font-size: 1.3rem; }
    .price-card ul li { font-size: 0.85rem; margin-bottom: 0.8rem; }
    
    .btn-hero-main, .btn-hero-outline { padding: 0.6rem 1.5rem; font-size: 0.85rem; }
    
    .gallery-card { border-radius: 15px; }
    .badge-status { top: 10px; left: 10px; padding: 0.35rem 0.8rem; font-size: 0.65rem; }
    
    .footer-main { gap: 1.5rem; flex-direction: column; text-align: center; align-items: center; }
    .footer-col { flex: 1 1 100%; }
    .brand-col { flex: 1 1 100%; order: -1; }
    .footer-logo { width: 120px; margin-bottom: 1rem; }
    .slogan { font-size: 1rem; }
    .footer-col h3 { font-size: 0.75rem; margin-bottom: 1rem; text-align: center; }
    .contact-row { gap: 8px; flex-direction: column; align-items: center; justify-content: center; }
    .contact-row i { margin-top: 0; }
    .contact-row p, .contact-row a { font-size: 0.85rem; }
    .social-links-large { gap: 1rem; justify-content: center; }
    .social-btn { width: 50px; height: 50px; font-size: 1.4rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.8rem; width: 100%; }
    .copyright { font-size: 0.7rem; }
    
    .scroll-down { bottom: 15px; }
    .mouse { width: 20px; height: 30px; }
}
    .footer-bottom { flex-direction: column-reverse; gap: 1.5rem; text-align: center; }
}
//* --- SOCIAL BUBBLES ON BUTTON CLICK --- */

/* 1. Le Conteneur : Doit coller exactement à la taille du bouton */
.btn-wrapper {
    position: relative;
    /* fit-content force le wrapper à prendre la largeur exacte du bouton, ni plus ni moins */
    width: -moz-fit-content;
    width: fit-content; 
    margin: 0 auto; /* Centre le wrapper lui-même si besoin */
    display: block; /* Comportement stable */
    z-index: 10;
}

/* Cas spécifique pour le menu (Nav) - DESKTOP */
/* En desktop, position fixed et laisser le JavaScript gérer left et top */
@media screen and (min-width: 961px) {
    .nav-links .btn-wrapper .social-bubbles {
        position: fixed;
        z-index: 10001;
    }
}

/* Cas spécifique pour le menu (Nav) - MOBILE */
/* En mobile, position fixed avec centrage CSS */
@media screen and (max-width: 960px) {
    .nav-links .btn-wrapper .social-bubbles {
        position: fixed !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10001 !important;
        top: auto !important;
    }
}

/* 2. Les Bulles (Configuration de base) */
.social-bubbles {
    position: absolute;
    /* On part du centre exact du wrapper */
    left: 50%;
    /* On les place juste en dessous */
    top: 100%; 
    /* IMPORTANT : C'est cette ligne qui centre parfaitement par rapport au point "left: 50%" */
    transform: translateX(-50%); 
    
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px; /* Espacement entre les icones */
    padding-top: 15px; /* Petit espace sous le bouton */
    
    /* Etat initial : caché */
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    width: max-content; /* S'assure que les bulles ne se mettent pas à la ligne */
    max-width: 90vw; /* Empêcher le débordement sur mobile */
}

/* 3. Style des icones */
.social-bubble {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    
    /* Animation de départ : petit et invisible */
    transform: scale(0);
    opacity: 0;
}

.social-bubble.instagram { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.social-bubble.tiktok { background: linear-gradient(135deg, #000000 0%, #1a1a2e 100%); }
.social-bubble.whatsapp { background: linear-gradient(135deg, #25d366 0%, #20a053 100%); }

.social-bubble:hover {
    transform: scale(1.15) !important; /* Le !important garde l'échelle active */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* --- ANIMATIONS (Desktop & Mobile) --- */

/* État ACTIF (Quand on clique) */
.btn-wrapper.active .social-bubbles {
    opacity: 1;
    pointer-events: auto;
    /* On garde le centrage pendant l'animation */
    transform: translateX(-50%);
}

.btn-wrapper.active .social-bubble {
    opacity: 1;
    /* Animation d'apparition rebondissante */
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Délais pour l'effet "l'un après l'autre" */
.btn-wrapper.active .social-bubble:nth-child(1) { animation-delay: 0s; }
.btn-wrapper.active .social-bubble:nth-child(2) { animation-delay: 0.1s; }
.btn-wrapper.active .social-bubble:nth-child(3) { animation-delay: 0.2s; }


/* État FERMETURE (Quand on reclique) */
.btn-wrapper.closing .social-bubble {
    animation: bounceOut 0.4s ease forwards;
}
.btn-wrapper.closing .social-bubble:nth-child(1) { animation-delay: 0.2s; }
.btn-wrapper.closing .social-bubble:nth-child(2) { animation-delay: 0.1s; }
.btn-wrapper.closing .social-bubble:nth-child(3) { animation-delay: 0s; }


/* KEYFRAMES D'ANIMATION */
@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes bounceOut {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0); opacity: 0; }
}


/* --- FIX POUR LA CARTE PRIX (BEST SELLER) --- */
/* Permet aux bulles de sortir de la carte sans être coupées */
.price-card.featured, .price-card {
    overflow: visible !important; 
    z-index: 1;
}
/* Le bouton doit passer au-dessus de tout quand il est cliqué */
.price-card .btn-wrapper.active {
    z-index: 1000;
}


/* --- VERSION MOBILE (Responsive) --- */
@media screen and (max-width: 960px) {
    /* Sur mobile, on veut que ça "pousse" le contenu vers le bas */
    
    .btn-wrapper {
        width: 100%; /* Le conteneur prend toute la largeur */
    }

    .social-bubbles {
        position: relative; /* Reprend sa place dans le flux */
        left: auto;
        top: auto;
        transform: none; /* Plus de centrage absolu */
        
        /* Initialement caché (hauteur 0) */
        height: 0;
        overflow: hidden;
        padding-top: 0;
        margin-top: 0;
        width: 100%;
        transition: height 0.3s ease;
    }

    /* Quand actif sur mobile */
    .btn-wrapper.active .social-bubbles {
        height: 80px; /* On ouvre l'espace */
        padding-top: 15px;
        margin-bottom: 10px;
        transform: none;
        overflow: visible;
    }
}