/* --- CONFIGURATION & VARIABLES --- */
:root {
    --primary: #0F172A; /* Bleu Nuit Profond */
    --accent: #D4AF37; /* Or Métallique */
    --text-light: #F8FAFC;
    --text-dark: #334155;
    --bg-light: #F1F5F9;
    --glass: rgba(255, 255, 255, 0.1);
    --font-main: 'Playfair Display', serif; /* Pour le luxe */
    --font-body: 'Lato', sans-serif; /* Pour la lisibilité */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-main); color: var(--primary); }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

/* --- NAVIGATION TRANSPARENT & STICKY --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 50px;
    transition: 0.4s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    padding: 15px 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.nav-links { display: flex; gap: 40px; }
.nav-links a {
    color: var(--text-light);
   
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -5px; left: 0;
    background: var(--accent);
    transition: 0.3s;
}

.nav-links a:hover::before { width: 100%; }

/* Hamburger */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background: var(--text-light); margin: 5px; transition: 0.3s; }

/* --- HERO SECTION (VIDEO STYLE) --- */
.hero {
    height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.4)), url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    color: var(--text-light);
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-light);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.5s;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.8s;
}

.btn-gold {
    padding: 15px 15px;
    background: var(--accent);
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
   /* letter-spacing: 1px; */
    border: 2px solid var(--accent);
    opacity: 0;
    animation: fadeUp 1s forwards 1.1s;
}

.btn-gold:hover {
    background: transparent;
    color: var(--accent);
}

/* --- SERVICES (AGENCY STYLE) --- */
.section { padding: 100px 5%; }
.bg-white { background: #fff; }

.title-block {
    text-align: center;
    margin-bottom: 80px;
}

.title-block h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.title-block .line {
    width: 60px; height: 3px;
    background: var(--accent);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-box {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-box:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

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

.service-box h3 { font-size: 1.5rem; margin-bottom: 15px; }
.service-box p { color: #666; line-height: 1.8; }

/* --- ABOUT (SPLIT LAYOUT) --- */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-img {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 20px 20px 0px var(--accent);
}

.about-text { flex: 1; min-width: 300px; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.about-text p { margin-bottom: 20px; color: #555; }

/* --- CONTACT FORM (MODERN) --- */
.contact-wrapper {
    display: flex;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.contact-info {
    background: var(--primary);
    color: #fff;
    padding: 50px;
    flex: 1;
}

.contact-info h3 { color: var(--accent); margin-bottom: 20px; font-family: var(--font-body); text-transform: uppercase; }
.contact-info p { margin-bottom: 30px; opacity: 0.8; }

.contact-form {
    flex: 2;
    padding: 50px;
}

.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-group { flex: 1; }

input, textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-light);
    border: none;
    outline: none;
    font-family: var(--font-body);
    transition: 0.3s;
}

input:focus, textarea:focus {
    background: #e2e8f0;
    border-left: 3px solid var(--accent);
}

/* --- FOOTER --- */
footer {
    background: var(--primary);
    color: #fff;
    padding: 50px 5% 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-col { flex: 1; min-width: 250px; margin: 20px; text-align: left; }
.footer-col h4 { color: var(--accent); margin-bottom: 20px; font-family: var(--font-body); }
.footer-col ul li { margin-bottom: 10px; color: #aaa; }

.copyright { color: #666; font-size: 0.8rem; }

/* --- ANIMATIONS & RESPONSIVE --- */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(50px); transition: all 1s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

@media screen and (max-width: 768px) {
    header { padding: 20px; }
    .nav-links {
        position: absolute; right: 0; top: 70px;
        background: var(--primary);
        flex-direction: column;
        width: 100%;
        text-align: center;
        transform: translateX(100%);
        transition: 0.5s;
        padding: 20px 0;
    }
    .about-text h2{text-align: center;}
    .nav-links.nav-active { transform: translateX(0); }
    .burger { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    .contact-wrapper { flex-direction: column; }
    .form-row { flex-direction: column; gap: 0; }
    .about-img img { box-shadow: 10px 10px 0px var(--accent); }
}
/* Ajout pour le sélecteur de langue */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255,255,255,0.3);
}

.lang-switcher a {
    color: var(--text-light);
    font-weight: 600;
    transition: 0.3s;
}

.lang-switcher a.active {
    color: var(--accent);
}

.lang-switcher span {
    color: rgba(255,255,255,0.5);
}

@media screen and (max-width: 768px) {
    .lang-switcher {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
        justify-content: center;
        margin-top: 20px;
    }
    .logo img {
    width: 150px !important;
    border-radius: 10px !important;
    }
}

/* ... (Le reste du CSS reste identique au précédent) ... */

/* --- Social Icons dans Footer --- */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.social-icons a:hover.fa-facebook-f {
    background: #1877F2;
    color: #fff;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-icons a:hover.fa-instagram {
    background: #E4405F;
    color: #fff;
    box-shadow: 0 5px 15px rgba(228, 64, 95, 0.4);
}

.social-icons a:hover.fa-linkedin-in {
    background: #0A66C2;
    color: #fff;
    box-shadow: 0 5px 15px rgba(10, 102, 194, 0.4);
}

.social-icons a:hover.fa-twitter {
    background: #000000;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.social-icons a:hover.fa-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* --- Footer Links --- */
.footer-col ul li a {
    color: #aaa;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* --- Responsive Footer --- */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-col {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-col ul li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
}

/* === FLOATING ACTION BUTTONS - VERSION FINALE === */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99999 !important;
    pointer-events: auto;
}

/* Style de base des boutons */
.float-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Texte à droite de l'icône */
    gap: 0;
    padding: 14px 18px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 50px;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

/* Icône */
.float-btn i {
    font-size: 1.3rem;
    min-width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Label (texte) - caché par défaut, apparaît au hover desktop */
.float-label {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-block;
}

/* === DESKTOP : Animation hover avec expansion === */
@media (hover: hover) and (pointer: fine) {
    
    .float-btn:hover {
        min-width: 145px; /* Largeur étendue */
        padding-right: 22px;
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    }
    
    .float-btn:hover .float-label {
        max-width: 100px;
        opacity: 1;
        margin-left: 10px;
    }
    
    .float-btn:hover i {
        transform: scale(1.1);
    }
    
    /* Couleurs hover desktop */
    .float-btn.whatsapp:hover {
        background: linear-gradient(135deg, #128C7E, #075E54);
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    }
    
    .float-btn.phone:hover {
        background: linear-gradient(135deg, #b8962e, #9c7d26);
        color: var(--primary);
        box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
    }
}

/* Couleurs de base */
.float-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.float-btn.phone {
    background: linear-gradient(135deg, var(--accent), #b8962e);
    color: var(--primary);
}

/* === MOBILE : Boutons ronds, pas d'expansion === */
@media screen and (max-width: 768px) {
    .floating-buttons {
        bottom: 15px !important;
        right: 15px !important;
        gap: 10px !important;
        flex-direction: column !important;
    }
    
    .float-btn {
        width: 55px !important;
        height: 55px !important;
        min-width: 55px !important;
        padding: 0 !important;
        border-radius: 50% !important; /* Boutons ronds */
        justify-content: center !important;
        align-items: center !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    }
    
    .float-btn i {
        font-size: 1.5rem !important;
        margin: 0 !important;
    }
    
    /* Cacher le texte sur mobile */
    .float-label {
        display: none !important;
    }
    
    /* Désactiver l'expansion au hover sur tactile */
    .float-btn:hover {
        min-width: 55px !important;
        padding: 0 !important;
        transform: none !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    }
    
    .float-btn:hover .float-label {
        max-width: 0 !important;
        opacity: 0 !important;
        margin-left: 0 !important;
    }
    
    .float-btn:hover i {
        transform: none !important;
    }
    
    /* Effet de tap au clic (feedback tactile) */
    .float-btn:active {
        transform: scale(0.95) !important;
        opacity: 0.9;
        transition: transform 0.1s ease;
    }
}

/* Accessibilité : focus clavier */
.float-btn:focus {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* Animation d'apparition au chargement */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.floating-buttons {
    animation: floatIn 0.4s ease forwards;
}

/* Lien de navigation actif */
.nav-links a.active {
    color: (--text-light) !important;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent) !important;
    transition: width 0.3s ease;
}

/* Language switcher actif */
.lang-switcher a.active-lang {
    color: var(--accent);
    font-weight: 700;
}

/* Hover normal (sans conflit avec active) */
.nav-links a:not(.active):hover {
    color: var(--accent);
}

/* === NEWSLETTER FOOTER === */
.newsletter-box {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.newsletter-box h5 {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
}

.newsletter-box p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input-group {
    display: flex;
    gap: 8px;
}

.newsletter-input-group input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: background 0.3s;
}

.newsletter-input-group input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-input-group input:focus {
    outline: none;
    background: rgba(255,255,255,0.2);
}

.newsletter-input-group button {
    padding: 10px 15px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.newsletter-input-group button:hover {
    background: #fff;
    transform: translateY(-2px);
}

.newsletter-input-group button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.newsletter-privacy {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    display: block;
}

.newsletter-message {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-message.success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border-left: 3px solid #28a745;
}

.newsletter-message.error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border-left: 3px solid #dc3545;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.contact-list i {
    color: var(--accent);
    margin-top: 3px;
    min-width: 16px;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-col {
        margin-bottom: 30px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-list li {
        justify-content: center;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input-group button {
        width: 100%;
    }
}