/* --- DESIGN TOKENS --- */
:root {
    /* Colors */
    --bg-dark: #1E0E2D;          /* Very deep violet/black */
    --bg-surface: #5A2A82;       /* Primary Violet */
    --bg-surface-dark: #3F1D5B;  /* Darker Violet for contrast */
    --bg-glass: rgba(30, 14, 45, 0.85);
    
    --neon-green: #7ED957;       /* Primary Neon Green */
    --neon-green-glow: rgba(126, 217, 87, 0.4);
    --neon-green-dark: #66B345;
    
    --text-main: #f8f9fa;
    --text-muted: #D3C4E3;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-neon: rgba(126, 217, 87, 0.3);

    /* Typography */
    --font-family: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Component specific */
    --bg-footer: #08030c;
    --bg-glass-scrolled: rgba(30, 14, 45, 0.95);
    --bg-horaires: rgba(0,0,0,0.2);
}

/* --- LIGHT THEME TOKENS --- */
:root.light-mode {
    --bg-dark: #f4f5f7;
    --bg-surface: #ffffff;
    --bg-surface-dark: #e9ecef;
    --bg-glass: rgba(255, 255, 255, 0.9);
    
    --neon-green: #298d1a;
    --neon-green-glow: rgba(41, 141, 26, 0.2);
    --neon-green-dark: #1b660f;
    
    --text-main: #1a1a1a;
    --text-muted: #555555;
    
    --border-color: rgba(0, 0, 0, 0.1);
    --border-neon: rgba(41, 141, 26, 0.3);
    
    --bg-footer: #e4e6eb;
    --bg-glass-scrolled: rgba(255, 255, 255, 0.95);
    --bg-horaires: rgba(0,0,0,0.05);
}

/* Fix Chrome repainting bugs for CSS variables in gradients and SVG */
:root.light-mode .hero { background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-dark) 100%); }
:root.light-mode .boutique { background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-dark) 100%); }
:root.light-mode .contact { background: linear-gradient(0deg, var(--bg-surface) 0%, var(--bg-dark) 100%); }
:root.light-mode .shape-fill { fill: var(--bg-dark); }
.shape-fill { transition: fill 0.4s ease; }

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-neon {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green-glow);
}

.section-padding {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--neon-green);
    color: var(--bg-dark);
    box-shadow: 0 4px 20px var(--neon-green-glow);
}

.btn-primary:hover {
    background-color: var(--neon-green-dark);
    box-shadow: 0 6px 25px rgba(126, 217, 87, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-dark);
}

.full-width {
    width: 100%;
}

.link-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-green);
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition-fast);
}

.link-action:hover {
    gap: 12px;
    color: var(--neon-green-dark);
}

/* --- SHAPE DIVIDERS (WAVES) --- */
.custom-shape-divider-bottom-1710953000 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1710953000 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-bottom-1710953000 .shape-fill {
    fill: var(--bg-dark);
}

.custom-shape-divider-top-1710953100 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1710953100 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.custom-shape-divider-top-1710953100 .shape-fill {
    fill: var(--bg-dark);
}

.custom-shape-divider-top-1710953200 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.custom-shape-divider-top-1710953200 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}
.custom-shape-divider-top-1710953200 .shape-fill {
    fill: var(--bg-dark);
}


/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    background: var(--bg-glass-scrolled);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.logo-accent {
    color: var(--neon-green);
}

.logo-sub {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--neon-green);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--neon-green);
    transition: var(--transition-normal);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-pro {
    color: var(--text-main);
    font-size: 1.2rem;
    transition: var(--transition-fast);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.btn-pro:hover {
    color: var(--neon-green);
    transform: scale(1.1);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    color: var(--neon-green);
    transform: rotate(15deg);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-dark) 100%);
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(126,217,87,0.15) 0%, rgba(30,14,45,0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.hero-text-area {
    flex: 1;
    max-width: 600px;
}

.hero-text-area h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-text-area p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
}

.floating-img {
    width: 100%;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero-facade-img {
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 3px solid var(--neon-green);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-facade-img:hover {
    transform: scale(1.02);
}

/* --- SERVICES SECTION --- */
.services {
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--bg-surface-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition-normal);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-neon);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 0 15px rgba(126, 217, 87, 0.1);
    background: var(--bg-surface);
}

.service-icon {
    font-size: 3rem;
    color: var(--neon-green);
    margin-bottom: 20px;
}

.service-img-wrapper {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

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

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- PREMIUM SERVICE CARDS --- */
.service-premium-card {
    background: var(--bg-surface-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.service-premium-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-neon);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 0 15px rgba(126, 217, 87, 0.1);
    background: var(--bg-surface);
}

.service-premium-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition-normal);
}

.service-premium-card:hover .service-premium-image {
    transform: scale(1.05);
}

.service-premium-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-premium-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-premium-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.service-premium-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-premium-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-premium-list li i {
    color: var(--neon-green);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* --- BOUTIQUE SECTION --- */
.boutique {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-dark) 100%);
}

.boutique-swiper {
    width: 100%;
    padding: 20px 10px 60px 10px; /* Espace pour la pagination */
    position: relative;
    z-index: 2;
}

.boutique-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--neon-green) !important;
    background: rgba(0,0,0,0.5);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    border: 1px solid var(--neon-green);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 16px !important;
}

.swiper-pagination-bullet {
    background: var(--text-muted) !important;
}

.swiper-pagination-bullet-active {
    background: var(--neon-green) !important;
}

.gallery-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    width: 100%; /* Important for swiper-slide child */
}

.gallery-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-neon);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-surface-dark);
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.article-description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.article-description p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    padding-bottom: 15px;
}

.gallery-card:hover .article-description {
    max-height: 400px;
    opacity: 1;
    margin-top: 5px;
}

/* --- ABOUT SECTION --- */
.about {
    background-color: var(--bg-dark);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 400;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-text strong {
    color: var(--text-main);
}

.about-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-stack {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 2px solid rgba(126, 217, 87, 0.2);
}

.image-stack .front-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    background: var(--bg-surface);
}

/* --- CONTACT SECTION --- */
.contact {
    background: linear-gradient(0deg, var(--bg-surface) 0%, var(--bg-dark) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--bg-dark);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.contact-info {
    padding: 50px;
    background: var(--bg-surface-dark);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--neon-green);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(126, 217, 87, 0.1);
    color: var(--neon-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-muted);
}

.horaires {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.horaires h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.horaires ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.horaires li {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: var(--bg-horaires);
    border-radius: 6px;
    border-left: 3px solid var(--neon-green);
}

.horaires li.closed {
    border-left-color: #ff3366;
    opacity: 0.6;
}

.contact-form-container {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-surface-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 10px rgba(126, 217, 87, 0.2);
}

/* --- WHATSAPP FAB --- */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* Official WhatsApp color */
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-normal);
    overflow: hidden;
}

.whatsapp-fab i {
    font-size: 1.8rem;
}

.whatsapp-fab .fab-text {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    transition: max-width 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    font-weight: 800;
}

.whatsapp-fab:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-fab:hover .fab-text {
    max-width: 150px;
    opacity: 1;
    padding-left: 10px;
}

/* --- FOOTER --- */
.main-footer {
    background: var(--bg-footer);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.brand-col .logo {
    display: inline-block;
    margin-bottom: 15px;
}

.brand-col .tagline {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 400px;
}

.contact-col h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--neon-green);
    font-size: 1.2rem;
    margin-top: 4px;
}

.footer-contact a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--neon-green);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.developer-credit {
    font-size: 0.85rem;
    color: rgba(179, 168, 196, 0.5);
}

.developer-credit a {
    color: rgba(179, 168, 196, 0.8);
    transition: var(--transition-fast);
}

.developer-credit a:hover {
    color: var(--neon-green);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* --- DYNAMIC COMPONENTS --- */

/* Typing Effect */
.typewrite > .wrap {
    border-right: 0.08em solid var(--neon-green);
    animation: blinkCursor 0.75s step-end infinite;
}
@keyframes blinkCursor {
    from, to { border-color: transparent }
    50% { border-color: var(--neon-green); }
}

/* Boutique Filters */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--neon-green);
    border-color: var(--neon-green);
    color: var(--bg-dark);
}

/* Testimonials */
.testimonials {
    background: var(--bg-surface-dark);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: var(--bg-dark);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
}
.stars {
    color: #ffc107;
    margin-bottom: 15px;
}
.quote {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 25px;
}
.author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-green);
    font-size: 1.2rem;
}
.author-info h4 {
    font-size: 1.1rem;
    color: var(--text-main);
}
.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Form Messages */
.form-success {
    background-color: rgba(126, 217, 87, 0.2);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
}
.form-error {
    background-color: rgba(255, 51, 102, 0.2);
    color: #ff3366;
    border: 1px solid #ff3366;
}

/* --- ANIMATIONS & UTILS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }

/* --- PORTFOLIO SECTION --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.portfolio-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.9);
    padding: 15px;
    text-align: center;
    border-top: 2px solid var(--primary);
    transition: bottom 0.4s ease;
}
.portfolio-overlay h4 {
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
}
.portfolio-item:hover img {
    transform: scale(1.1);
}
.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

/* --- FAQ SECTION --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-surface-dark);
    border: 1px solid rgba(255,255,255,0.05);
}
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px;
    text-align: left;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: var(--primary);
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-question.active {
    color: var(--primary);
}
.faq-question.active i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p {
    margin: 0;
    padding: 0 20px;
    color: var(--text-muted);
}
.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

/* --- CART E-COMMERCE --- */
.cart-fab {
    position: fixed;
    bottom: 110px;
    left: 30px;
    background: var(--primary);
    color: #000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(126, 217, 87, 0.4);
    transition: transform 0.3s ease;
}
.cart-fab:hover {
    transform: scale(1.1);
}
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff3b3b;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--bg-dark);
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 2001;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
}
.cart-sidebar.open {
    right: 0;
}
.cart-header {
    padding: 20px;
    background: var(--bg-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(126, 217, 87, 0.2);
}
.cart-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary);
}
.close-cart {
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}
.close-cart:hover {
    color: #ff3b3b;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}
.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 50px;
}
.cart-item-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-surface-dark);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}
.cart-item-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    border-radius: 5px;
}
.cart-item-details {
    flex: 1;
}
.cart-item-details h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: var(--text-light);
}
.cart-item-price {
    color: var(--primary);
    font-weight: bold;
    font-size: 0.9rem;
}
.cart-item-remove {
    color: #ff3b3b;
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-footer {
    padding: 20px;
    background: var(--bg-dark);
    border-top: 1px solid rgba(126, 217, 87, 0.2);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-light);
}
.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.cart-overlay.show {
    display: block;
    opacity: 1;
}

/* --- PROMO BANNER --- */
.promo-banner {
    background: linear-gradient(135deg, #ff3b3b, #ff7b00);
    color: white;
    padding: 20px;
    position: fixed;
    top: 100px; /* En dessous de la navbar */
    right: 20px;
    z-index: 1050;
    max-width: 320px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(255, 59, 59, 0.4);
    animation: slideInRight 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

.promo-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.promo-badge {
    background: white;
    color: #ff3b3b;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}
.promo-banner p { margin: 0; font-weight: 500; font-size: 0.95rem; line-height: 1.4; }
.promo-btn {
    border-color: white;
    color: white;
    padding: 6px 18px;
    align-self: flex-end;
}
.promo-btn:hover { background: white; color: #ff3b3b; }
.close-promo {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}
.close-promo:hover { color: white; }


/* --- TELEASSISTANCE SECTION --- */
.teleassistance {
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(126, 217, 87, 0.1);
}
.teleassistance-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.teleassistance-text { flex: 1; }
.teleassistance-image { flex: 1; }
.teleassistance-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.teleassistance-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.teleassistance-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
@media (max-width: 768px) {
    .teleassistance-content { flex-direction: column; }
    .teleassistance-buttons { flex-direction: column; }
}

/* --- CHATBOT (K'PSy Bot) --- */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--neon-green);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(126, 217, 87, 0.5);
    z-index: 999;
    transition: transform 0.3s;
}
.chatbot-toggle:hover { transform: scale(1.1); }

.chatbot-container {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 350px;
    background: var(--bg-surface);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    border: 1px solid rgba(126, 217, 87, 0.2);
}
.chatbot-container.open { display: flex; animation: slideUp 0.3s ease; }
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}
.chatbot-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.chatbot-actions i { cursor: pointer; font-size: 1.2rem; }

.chatbot-messages {
    flex: 1;
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--bg-surface-dark);
}
.chat-message {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.4;
}
.bot-message {
    background: var(--bg-dark);
    color: var(--text-light);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}
.user-message {
    background: var(--neon-green);
    color: var(--bg-dark);
    align-self: flex-end;
    border-bottom-right-radius: 0;
    font-weight: 500;
}

.chatbot-options {
    padding: 10px;
    background: var(--bg-surface);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chat-option-btn {
    background: transparent;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}
.chat-option-btn:hover { background: var(--neon-green); color: var(--bg-dark); }

@media (max-width: 400px) {
    .chatbot-container { width: 90%; left: 5%; bottom: 100px; }
}

/* --- LEGAL MODAL --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}
.modal-content {
    background-color: var(--bg-surface);
    margin: 10% auto;
    padding: 30px;
    border: 1px solid var(--primary);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}
.close-modal {
    color: var(--text-muted);
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-modal:hover {
    color: var(--primary);
}
.legal-text h3 {
    margin-top: 20px;
    color: var(--primary);
    font-size: 1.2rem;
}

/* --- BACK TO TOP --- */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: var(--primary);
    color: #000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(126, 217, 87, 0.4);
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}
.back-to-top:hover {
    transform: translateY(-5px);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .contact-wrapper, .about-content {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-surface-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .mobile-menu-btn.active i::before {
        content: "\f00d";
    }

    .hero-buttons {
        flex-direction: column;
    }
    
    .whatsapp-fab:hover .fab-text {
        max-width: 0;
        opacity: 0;
        padding-left: 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}
