:root {
    /* Couleurs */
    --primary-gold: #DAA520;
    --secondary-gold: #FFD700;
    --accent-gold: #FFA500;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #1e1e1e;
    --card-hover: #252525;
    --text-light: #f8f9fa;
    --text-light-footer: #f8f9faab;
    --text-muted: #adb5bd;
    --text-gold: #d4af37;
    
    /* Effets */
    --border-radius:20px;
    --border-radius-card : 10px;
    --border-color: rgba(218, 165, 32, 0.15);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.3);
    --gold-shadow: rgba(218, 165, 32, 0.4);
    
    /* Dégradés */
    --gradient-gold: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold), var(--accent-gold));
     --secondary-gradient-gold: linear-gradient(135deg, var(--secondary-gold), var(--primary-gold), var(--accent-gold));
    --gradient-purple: linear-gradient(0deg, #6e8efb 0%, #80008e 100%);
    --gradient-dark: linear-gradient(to bottom, var(--dark-bg), var(--darker-bg));
    --gradient-blue : linear-gradient(rgba(23, 23, 23, 0.8), rgba(25, 3, 125, 0.9));
    --gradient-page :linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
    --gradient-green : linear-gradient(90deg,rgba(192, 237, 213, 1) 0%, rgba(218, 247, 247, 1) 54%, rgba(255, 255, 255, 1) 100%);
   
    
    /* Espacements */
    --section-padding: 5rem 0;
    --container-padding: 0 1.5rem;
    
    /* Polices */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-custom {
        background-color: rgba(0, 0, 0, 0.7);
        font-family: var(--font-heading);
       }

.navbar-custom .navbar-nav .nav-item .nav-link {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
}

.navbar-custom .navbar-nav .nav-item .nav-link:hover {
    color: var(--text-gold);
    background-color: rgba(218, 165, 32, 0.1);
}


/* Bouton hamburger personnalisé */
.navbar-toggler {
border: 1px solid var(--border-color);
padding: 0.5rem;
transition: all var(--transition-fast);
}

.navbar-toggler:hover {
border-color: var(--primary-gold);
}

.navbar-toggler-icon {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28218, 165, 32, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

 /* Logo harmonisé */
    .logo-wrapper  {
    display: inline-block;
    position: relative;
    padding: 2rem;
    max-width: 600px;
    transition: all 0.4s ease;
    text-decoration: none;
}

.logo-wrapper:hover {
    transform: translateY(-5px);
}

.logo-brand {
            padding-left: 1.5rem;
        }

.brand {
        font-family: var(--font-heading);
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        font-weight: 700;
        letter-spacing: 0.15rem;
        color: var(--text-gold);
        margin: 0;
        line-height: 1;
        text-transform: lowercase;
}

.slogan {
    font-family: var(--font-body);
            font-size: 0.7rem;
            letter-spacing: 0.2rem;
            text-transform: uppercase;
            color: var(--text-muted);
            display: block;
            margin-top: 0.25rem;
}

.dot {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 12px;
    height: 12px;
    background: var(--gradient-gold);
    border-radius: 50%;
    box-shadow: 0 2px 8px var(--gold-shadow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}


/* Main banner */

.hero-section {
    position: relative; 
    height: 80vh; 
    min-height: 600px;
    overflow: hidden;
}

.img-bg {
    position: absolute;
    z-index: 1; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
}

.img-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative; 
    z-index: 2; 
    height: 100%;
    display: flex;
    background: var(--gradient-blue) ;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    text-align: center; 
    color: white;
    padding: 10rem;
}



/* Style du texte */
 .hero-section h1 {
    font-size: 3.5rem;
    margin: 5px 50px 40px ;
    
    font-weight: 700;
    }

    .hero-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    }

     @media (max-width: 768px) {
            .hero-section h1 {
                margin-top: 8rem;
                font-size: 2rem;
            }
            
            .hero-section p {
                font-size: 1.1rem;
            }
        }



        

.page-content {
    background: var(--gradient-page);
    border-top: var(--primary-gold) solid 1px;

}

section {
    height: 40rem;
    padding: var(--section-padding);
    text-align: center;
}



        .section-title {
                    text-align: center;
                    margin-bottom: 60px;
                    position: relative;
                    color: white;
                }
        
        .section-title:after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--secondary-gold);
            margin: 15px auto;
        } 
        
        .service-card {
            border: none;
            border-radius: var(--border-radius-card);
            background:none;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
            transition: transform 0.3s;
            margin-bottom: 30px;
            height: 100%;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
        }
        
        .service-icon {
            font-size: 3rem;
            color: white;
            margin-bottom: 20px;
        }

.process-card {
    border: none;
    background: none;
    color: var(--gradient-blue);
    /* border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
    transition: transform 0.3s;
    margin-bottom: 30px;
    height: 100%;
}

 .process-card:hover {
            transform: translateY(-10px);
        }


  .process-icon {
        width: 60px;
        height: 60px;
        background: var(--gradient-page);
        color: rgb(255, 255, 255);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0 auto 20px;
    }
      
    
    /* Brandvalue */

    
.brandvalue-card {
    border: none;
    background: var(--gradient-green);
    border-radius:var(--border-radius-card);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin-bottom: 30px;
    height: 100%;
}

 .brandvalue-card:hover {
            transform: translateY(-10px);
        }


  .brandvalue-icon {
        width: 60px;
        height: 60px;
        background: var(--gradient-page);
        color: rgb(255, 255, 255);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0 auto 20px;
    }
   
        


/* Buttons */
.btn-gold {
    background: var(--gradient-gold);
    color: #1a1a1a;
    border: 1px solid var(--gradient-gold);
    font-weight: 600;
    box-shadow: 0 4px 15px var(--gold-shadow);
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--gold-shadow);
    color: #1a1a1a;
}

.btn-gold-secondary {
    background: var(--gradient-gold);
    color: #1a1a1a;
    border: 1px solid var(--gradient-gold);
    font-weight: 600;
    box-shadow: 0 4px 15px var(--gold-shadow);
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

.btn-gold-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--gold-shadow);
    color: #1a1a1a;
}


.btn-blue {
    background: var(--gradient-purple);
    color: white;
    border: 1px solid var(--gradient-purple);
    font-weight: 600;
    box-shadow: 0 4px 15px var(--gold-shadow);
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

.btn-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--gold-shadow);
    color: white;
}

.btn-outline-light {
    border: 1px solid #cfcfcf;
    color: #1a1a1a;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--dark-bg);
    border-color: var(--text-light);
    transform: translateY(-3px);
}

.btn-outline-gold {
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;  
    border-radius: 50px;
    font-size: 0.9rem;     
    line-height: 1.4;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--accent-gold);
    color: var(--text-light);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}



/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--text-light-footer);
    padding: var(--section-padding);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background:var(--gradient-gold);
}

.footer h5, 
.footer h6 {
    color: var(--text-gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-gold);
}

.footer a {
    color: var(--text-light-footer);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--text-gold);
    padding-left: 5px;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-gold);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px var(--gold-shadow);
}

.newsletter-form .form-control {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    height: 50px;
}

.newsletter-form .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(218, 165, 32, 0.25);
    border-color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 3rem;
}


/* IMAGE LOGO */

.imagelogo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 6px solid transparent;
    animation: borderPulse 4s infinite alternate, float 6s ease-in-out infinite;
}

.imagelogo:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 15px 35px rgba(218, 165, 32, 0.4);
}

.imagelogo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        var(--primary-gold), 
        var(--secondary-gold), 
        var(--accent-gold), 
        var(--primary-gold));
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0.7;
    animation: gradientShift 4s ease infinite, rotate 20s linear infinite;
    filter: blur(10px);
}

.imagelogo::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--secondary-gold);
    border-right-color: var(--accent-gold);
    border-bottom-color: var(--primary-gold);
    z-index: -1;
    animation: rotate 3s linear infinite, borderColors 6s ease infinite;
}

@keyframes borderPulse {
    0% { border-color: rgba(218, 165, 32, 0.2); }
    50% { border-color: rgba(255, 215, 0, 0.6); }
    100% { border-color: rgba(255, 165, 0, 0.3); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes borderColors {
    0%, 100% { 
        border-top-color: var(--secondary-gold);
        border-right-color: var(--accent-gold);
        border-bottom-color: var(--primary-gold);
    }
    33% { 
        border-top-color: var(--accent-gold);
        border-right-color: var(--primary-gold);
        border-bottom-color: var(--secondary-gold);
    }
    66% { 
        border-top-color: var(--primary-gold);
        border-right-color: var(--secondary-gold);
        border-bottom-color: var(--accent-gold);
    }
}

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

/* Effet de particules dorées */
.imagelogo-container {
    position: relative;
    display: inline-block;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--secondary-gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleAnimation 3s infinite;
}

@keyframes particleAnimation {
    0% { 
        transform: translate(0, 0); 
        opacity: 0; 
        width: 0; 
        height: 0;
    }
    10% { 
        opacity: 1; 
        width: 6px; 
        height: 6px;
    }
    100% { 
        transform: translate(var(--tx), var(--ty)); 
        opacity: 0; 
        width: 2px; 
        height: 2px;
    }
}


.bg-meezaria{
    background: var(--gradient-purple);
}


.category-filter .form-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 0.3rem;
}
.category-filter select, 
.category-filter input {
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
}
.category-filter .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
}


/* ====================
   RESPONSIVE STYLES
   ==================== */

/* Tablette (768px - 991px) */
@media (max-width: 991px) {
    /* Navigation */
    .navbar-custom .navbar-nav .nav-item .nav-link {
        padding: 0.5rem 1rem;
        text-align: center;
    }
    
    .logo-brand {
        padding-left: 0;
        text-align: center;
    }
    
    .brand {
        font-size: 1.8rem;
    }
    
    /* Hero Section */
    .hero-section {
        height: 60vh;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 3rem 2rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
        margin: 20px 30px 30px;
    }
    
    .hero-section p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    /* Sections */
    section {
        height: auto;
        padding: 3rem 0;
    }
    
    /* Cards */
    .service-card,
    .process-card,
    .brandvalue-card {
        margin-bottom: 20px;
        height: auto;
        min-height: 250px;
    }
    
    /* Logo animé */
    .imagelogo {
        width: 250px;
        height: 250px;
        margin: 0 auto;
        display: block;
    }
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {
    /* Variables pour mobile */
    :root {
        --section-padding: 3rem 0;
        --container-padding: 0 1rem;
    }
    
    /* Navigation */
    .navbar-custom {
        padding: 0.5rem 0;
    }
    
    .logo-wrapper {
        padding: 1rem;
        text-align: center;
        width: 100%;
    }
    
    .brand {
        font-size: 1.5rem;
    }
    
    .slogan {
        font-size: 0.6rem;
        letter-spacing: 0.15rem;
    }
    
    .dot {
        top: 15px;
        right: 20px;
        width: 10px;
        height: 10px;
    }
    
    /* Hero Section - Correction des superpositions */
    .hero-section {
        height: auto;
        min-height: 400px;
        display: flex;
        flex-direction: column;
    }
    
    .img-bg {
        position: relative;
        height: 200px;
        min-height: 200px;
        order: 1;
    }
    
    .img-bg img {
        object-fit: cover;
    }
    
    .hero-content {
        position: relative;
        padding: 2rem 1rem;
        order: 2;
        background: var(--gradient-blue);
        margin-top: 0;
        min-height: 300px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
        margin: 0 0 20px 0;
        padding: 0 1rem;
        line-height: 1.3;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 25px;
        padding: 0 1rem;
    }
    
    .hero-content .btn {
        margin: 0.5rem;
        display: block;
        width: 90%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Sections générales */
    section {
        padding: 2rem 0;
        height: auto;
        min-height: auto;
    }
    
    .section-title {
        margin-bottom: 40px;
        padding: 0 1rem;
    }
    
    .section-title:after {
        width: 60px;
        height: 3px;
    }
    
    /* Cards responsive */
    .service-card,
    .process-card,
    .brandvalue-card {
        margin: 0 auto 20px;
        width: 90%;
        max-width: 350px;
        min-height: 200px;
    }
    
    .service-card:hover,
    .process-card:hover,
    .brandvalue-card:hover {
        transform: translateY(-5px);
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .process-icon,
    .brandvalue-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Boutons sur mobile */
    .btn-gold,
    .btn-gold-secondary,
    .btn-blue,
    .btn-outline-light,
    .btn-outline-gold {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
        margin: 0.5rem auto;
    }
    
    /* Logo animé - taille réduite */
    .imagelogo {
        width: 200px;
        height: 200px;
        margin: 0 auto 2rem;
    }
    
    .imagelogo-container {
        text-align: center;
    }
    
    /* Footer responsive */
    .footer {
        padding: 2rem 0;
    }
    
    .footer h5 {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    
    .footer h5:first-child {
        margin-top: 0;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    /* Formulaire newsletter */
    .newsletter-form .form-control {
        height: 45px;
        margin-bottom: 1rem;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
    
    /* Filtres */
    .category-filter .row {
        flex-direction: column;
    }
    
    .category-filter .col-md-3,
    .category-filter .col-md-2 {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .category-filter .btn {
        width: 100%;
    }
}

/* Très petits mobiles (≤ 480px) */
@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section p {
        font-size: 0.9rem;
    }
    
    .brand {
        font-size: 1.3rem;
    }
    
    .imagelogo {
        width: 180px;
        height: 180px;
    }
    
    .service-card,
    .process-card,
    .brandvalue-card {
        width: 95%;
        margin: 0 auto 15px;
    }
    
    .btn-gold,
    .btn-gold-secondary,
    .btn-blue {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Orientation paysage sur mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: 350px;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
        margin: 0 0 15px 0;
    }
    
    .hero-section p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .btn-gold,
    .btn-blue {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}

/* Correction pour les tablettes en orientation portrait */
@media (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
    .hero-section {
        height: 50vh;
    }
    
    .hero-content {
        padding: 4rem 2rem;
    }
    
    .service-card,
    .process-card,
    .brandvalue-card {
        min-height: 280px;
    }
}

/* Support des écrans haute densité (Retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .imagelogo {
        border-width: 8px;
    }
}