/* css/style.css */
:root {
    --primary-color: #1E293B;
    /* Bleu/Gris ardoise très sombre */
    --secondary-color: #C05621;
    /* Couleur terre cuite / Terra */
    --accent-color: #DD6B20;
    --text-color: #334155;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    /* Police moderne et ronde */
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    /* Police Serif élégante pour les titres */
    color: var(--primary-color);
}

/* Header & Hero */
header {
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.85)), url('../images/10.jpg') center/cover no-repeat;
    color: var(--white);
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 5%;
    background: #0F172A;
    /* Fond solide pour la navbar */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 110px;
    /* Taille nettement agrandie */
    width: auto;
    cursor: pointer;
    transition: transform var(--transition-speed);
}

.logo img:hover {
    transform: scale(1.05);
    /* Petit effet au survol */
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    margin-top: 80px;
    /* Compenser la navbar fixe */
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.2;
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    font-weight: 300;
    color: #CBD5E1;
    animation: fadeInUp 1s ease-out;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
    animation: fadeIn 1.5s ease-out;
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.divider {
    height: 4px;
    width: 80px;
    background-color: var(--secondary-color);
    margin: 0 auto 1.5rem auto;
}

/* Services / Gammes */
.services-section {
    padding: 6rem 5%;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    justify-content: center;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 3.5rem 2rem;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(192,86,33,0.05) 0%, rgba(192,86,33,0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 45px rgba(192, 86, 33, 0.1);
    border-color: rgba(192, 86, 33, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.icon-wrapper {
    font-size: 3rem;
    color: var(--secondary-color);
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem auto;
    background: rgba(192, 86, 33, 0.08); /* Fond subtil du cercle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .icon-wrapper {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.15) rotate(5deg);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.service-highlight {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
}

/* Notre Processus */
.process-section {
    padding: 6rem 5%;
    background-color: var(--light-bg);
}

.process-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    border: 4px solid var(--secondary-color);
    z-index: 2;
    position: relative;
}

.process-step h3 {
    margin-bottom: 1rem;
}

/* Pourquoi nous choisir */
.features-section {
    padding: 0;
    background-color: var(--white);
}

.features-container {
    display: flex;
    flex-wrap: wrap;
}

.feature-content {
    flex: 1;
    min-width: 300px;
    padding: 6rem 5% 6rem 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features-list {
    list-style: none;
    margin-top: 2rem;
}

.features-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.features-list i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-top: 0.2rem;
}

.features-list h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-image {
    flex: 1;
    min-width: 300px;
    min-height: 400px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Galerie */
.gallery-section {
    padding: 6rem 5%;
    background-color: var(--light-bg);
    text-align: center;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4 / 3;
    cursor: pointer;
    animation: fadeIn 0.5s ease;
}

.gallery-item.hide {
    display: none;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.08);
}

/* FAQ */
.faq-section {
    padding: 6rem 5%;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #E2E8F0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease;
}

.faq-question:hover, .faq-question.active {
    color: var(--secondary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: #475569;
}

/* Contact Form */
.contact-section {
    padding: 6rem 5%;
    background-color: var(--light-bg);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background-color: #F8FAFC;
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(192, 86, 33, 0.1);
}

.submit-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-family: 'Montserrat', sans-serif;
}

.submit-btn:hover {
    background-color: #A04A1B;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #0F172A;
    /* Bleu très très sombre */
    color: var(--white);
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info h3,
.footer-brand h2 {
    color: var(--white);
    margin-bottom: 1.8rem;
    font-family: 'Playfair Display', serif;
}

.footer-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #CBD5E1;
    font-size: 1.05rem;
}

.footer-info i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all var(--transition-speed);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #94A3B8;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-float i {
    margin-top: 2px;
}

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

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary-color);
        padding: 1rem 0;
        text-align: center;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .navbar {
        padding: 1rem 5%;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.scroll-top.show {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}