:root {
    /* Colors */
    --primary-yellow: #FFD700;
    --primary-yellow-hover: #FFDC00;
    --bg-dark: #2C3E50;
    --bg-darker: #1A1A1A;
    --text-light: #ECF0F1;
    --text-dark: #0A0A0A;
    --accent-grey: #95a5a6;
    
    /* Fonts */
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Roboto Condensed', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-yellow {
    color: var(--primary-yellow);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.section-title span {
    color: var(--primary-yellow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-yellow {
    background-color: var(--primary-yellow);
    color: var(--bg-darker);
    border: 2px solid var(--primary-yellow);
}

.btn-yellow:hover {
    background-color: var(--primary-yellow-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
}

.btn-outline:hover {
    background-color: var(--primary-yellow);
    color: var(--bg-darker);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--primary-yellow);
}

.btn-nav {
    background-color: var(--primary-yellow);
    color: var(--bg-darker);
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: #fff;
    color: var(--bg-darker);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-light);
}


/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(44, 62, 80, 0.5), rgba(26, 26, 26, 0.6)), url('../upscalemedia-transformed.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px; /* Navbar height */
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}


/* Utility */
.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }
    
    .service-card {
        padding: 30px 15px;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-card p {
    color: var(--accent-grey);
    margin-bottom: 25px;
    font-size: 1rem;
}

.service-price {
    font-weight: 700;
    font-size: 1.1rem;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}


/* Why Choose Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-left-color: var(--primary-yellow);
    background-color: rgba(255, 255, 255, 0.02);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.feature-text p {
    color: var(--accent-grey);
    font-size: 1rem;
}

/* Progress Bar */
.satisfaction-bar {
    max-width: 800px;
    margin: 0 auto;
}

.bar-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.progress-track {
    width: 100%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-yellow);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}


/* Appointment Section */
.appointment-form-container {
    background-color: var(--bg-darker);
    padding: 40px;
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.full-width {
    grid-column: 1 / -1;
    margin-bottom: 30px;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 700;
}

.form-group label i {
    color: var(--primary-yellow);
    margin-right: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    color: var(--text-light);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Form */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}


/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stars {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 1.1rem;
    color: var(--primary-yellow);
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.9rem;
    color: var(--accent-grey);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h3 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-image img {
    border-radius: 8px;
    box-shadow: 10px 10px 0 var(--primary-yellow);
    width: 33%; /* Taille réduite au tiers */
    display: block;
    margin: 0 auto;
}

.certifications {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text-light);
}

.cert-item i {
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

/* Responsive About */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-top: 30px;
    }
}


/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

#devis {
    background: linear-gradient(rgba(44, 62, 80, 0.6), rgba(26, 26, 26, 0.6)), url('../devis-bg.webp') no-repeat center center/cover;
    background-attachment: fixed;
}

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

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--accent-grey);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

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

.social-links a:hover {
    background-color: var(--primary-yellow);
    color: var(--bg-darker);
    transform: translateY(-5px);
}

.contact-map iframe {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background-color: #000;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--accent-grey);
    font-family: var(--font-body);
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--accent-grey);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    position: relative; /* Pour positionner la signature en absolu */
    display: flex;
    justify-content: center; /* Centre le copyright */
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--accent-grey);
    font-size: 0.8rem;
    min-height: 50px; /* Assure une hauteur minimale */
}

.footer-bottom .salta-container {
    position: absolute;
    right: 100px; /* Marge à droite pour éviter le bouton flottant */
    top: 50%;
    transform: translateY(-50%);
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 100px; /* Espace pour le bouton flottant */
}

/* Signature Salta */
.sig-path {
    font-family: 'Mr Dafoe', cursive;
    font-size: 32px;
    fill: rgba(255, 255, 255, 0.5);
    transition: fill 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.sig-path:hover {
    fill: rgba(255, 255, 255, 0.85);
}

.footer-bottom svg {
    transition: transform 0.2s ease;
}

.footer-bottom svg:hover {
    transform: scale(1.05);
}

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-yellow);
    color: var(--bg-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Responsive Contact & Footer */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-actions {
        flex-direction: column;
        padding-right: 0;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        padding-bottom: 20px;
    }

    .footer-bottom .salta-container {
        position: static; /* Annule le positionnement absolu sur mobile */
        transform: none;
        margin-top: 10px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-darker);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
}

/* Action Buttons Global */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.action-buttons .btn {
    margin: 0 !important;
}

/* Action Buttons Mobile */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .action-buttons .btn {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
    }
}
