/* ============================================
   CSS PRINCIPAL - ENERGIE CONCEPT
   Inspiré du site www.energieconcept-29.fr
   ============================================ */

/* Variables CSS */
:root {
    --color-primary: #df8916;      /* Orange principal */
    --color-secondary: #36677e;    /* Bleu foncé */
    --color-accent: #b3cbd2;       /* Bleu clair */
    --color-text: #353535;         /* Gris foncé */
    --color-white: #FFFFFF;
    --color-dark: #7b0908;

    --font-title: "Kaushan Script", cursive;
    --font-menu: "Ubuntu Condensed", sans-serif;
    --font-body: "Arial", sans-serif;

    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.4;
    color: var(--color-text);
    background-color: var(--color-secondary);
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

/* ============================================
   NAVIGATION - STYLE ORIGINAL
   ============================================ */

.navbar {
    background-color: var(--color-white);
    border-bottom: 3px solid var(--color-primary);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo style original */
.logo a {
    display: block;
    transition: var(--transition);
}

.logo a img {
    max-width: 120px;
    height: auto;
    display: block;
    transition: var(--transition);
}

.logo a:hover img {
    opacity: 0.8;
    transform: scale(1.02);
}

.logo-highlight {
    color: var(--color-primary);
}

/* Menu Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

/* Sous-menu caché par défaut */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 10px 10px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

/* Sous-menu visible au survol */
.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Éléments du sous-menu */
.submenu li {
    margin: 0;
    padding: 0;
}

.submenu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-menu);
    font-size: 1rem;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.submenu li a:hover {
    background-color: rgba(223, 137, 22, 0.1);
    color: var(--color-primary);
    border-left-color: var(--color-primary);
}

/* Indicateur de sous-menu - supprimé */
.nav-item > a.nav-link::after {
    display: none;
}

.nav-link {
    font-family: var(--font-menu);
    font-size: 23px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
    border-top: 3px solid transparent;
}

/* Hover effect - style original */
.nav-link:hover {
    color: var(--color-primary);
    border-top-color: var(--color-primary);
}

.nav-link.active {
    color: var(--color-primary);
    border-top-color: var(--color-primary);
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 6px;
    padding: 15px 10px;
    z-index: 1001;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(54, 103, 126, 0.1);
    border-color: var(--color-secondary);
}

.hamburger .bar {
    width: 35px;
    height: 5px;
    background-color: #36677e;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Hamburger animation */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--color-primary);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--color-primary);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    margin-top: 80px;
    width: 100%;
    position: relative;
    background-color: transparent;
}

.hero-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    z-index: 1;
}

.hero-background {
    width: 100vw;
    max-width: 100%;
    height: 860px;
    display: block;
    position: relative;
    z-index: 1;
    object-fit: cover;
    object-position: center;
    margin-left: calc(-50vw + 50%);
    filter: brightness(0.9);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    max-width: 1100px;
    width: 90%;
    padding: 2rem;
    background-color: transparent;
    text-align: left;
    color: var(--color-white);
}

.hero-content h1 {
    font-family: var(--font-menu);
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    text-align: left;
}

.hero-content p {
    font-family: var(--font-menu);
    font-size: 1.3rem;
    color: var(--color-white);
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Symboles personnalisés en blanc */
.hero-content .check-symbol {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}

.hero-content .check-symbol::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 14px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    top: 3px;
    left: 7px;
}

/* Ligne par ligne avec check blanc */
.hero-content p {
    margin: 0.5rem 0;
}

.hero-content .service-line {
    display: block;
    margin: 0.5rem 0;
    text-align: left;
}

/* Bouton Devis Gratuit */
.hero-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    font-family: var(--font-menu);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--color-white);
    background-color: var(--color-primary);
    border: 3px solid var(--color-primary);
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(223, 137, 22, 0.3);
}

.hero-button:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.hero-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(223, 137, 22, 0.3);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 4rem 2rem;
}

.section:nth-child(even) {
    background-color: #f9f9f9;
}

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

/* Grille de contact - sections côte à côte avec ratio 2:1 */
.contact-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-grid .Contactez-nous {
    padding: 2rem;
    border-radius: 10px;
    color: var(--color-white);
}

.contact-grid .ecrivez-nous {
    padding: 2rem;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.contact-grid .Contactez-nous .container,
.contact-grid .ecrivez-nous .container {
    max-width: 100%;
    padding: 0;
}

.contact-grid .Contactez-nous h2,
.contact-grid .Contactez-nous h3,
.contact-grid .Contactez-nous p {
    color: var(--color-white);
}

.contact-grid .Contactez-nous h3 {
    margin-top: 1.5rem;
}

/* Section Hero Contact avec background bleu */
.hero-contact {
    background-color: var(--color-secondary);
    padding: 3rem 2rem;
}

.hero-contact h1 {
    font-family: var(--font-menu);
    font-size: 2rem;
    color: var(--color-white);
    text-align: center;
    margin: 0;
}

h2 {
    font-family: var(--font-menu);
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Titres h2.black - alignés à gauche et noirs */
h2.black {
    color: var(--color-text);
    text-align: left;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Section Services avec background bleu foncé */
#Services {
    background-color: #36677e;
    color: var(--color-white);
}

#Services h2 {
    color: var(--color-white);
}

/* Texte centré */
.text-center {
    text-align: center;
}

h3 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Grid spécial pour la section Services - 4 colonnes */
#Services .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Cards de la section Services */
#Services .card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 3px solid var(--color-primary);
    position: relative;
    z-index: 3;
}

#Services .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#Services .card h2.black {
    color: var(--color-text) !important;
    text-align: left !important;
}

#Services .card p {
    color: var(--color-text);
    line-height: 1.6;
}

/* Card2 pour la section FAQ - alignées 2 par 2 */
.card2 {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-left: 4px solid var(--color-primary);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-left-color: var(--color-secondary);
}

.card2 h3 {
    font-family: var(--font-menu);
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
}

/* Section FAQ avec background gris clair */
#FAQ {
    background-color: #f5f5f5;
}

/* Section Partner - Images en noir et blanc avec effet au survol */
.Partner {
    text-align: center;
    background-color: #f5f5f5;
}

.Partner .element-partner-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
}

.Partner .partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.Partner .partner-item img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    opacity: 0.7;
    max-height: 65px !important;
    width: auto !important;
    height: auto !important;
}

.Partner .partner-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.card2 p {
    color: var(--color-text);
    line-height: 1.6;
    font-size: 1rem;
}

/* Grid FAQ - 2 colonnes */
#FAQ .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Boutons "En savoir plus" dans la section Services - plus petits */
#Services .card .hero-button {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Section artisan avec background bleu foncé */
#artisan {
    background-color: #36677e;
    color: var(--color-white);
}

#artisan h2 {
    color: var(--color-white);
}

#artisan .card {
    background: transparent;
    padding: 2rem;
    border-radius: 0;
    box-shadow: none;
    transition: var(--transition);
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#artisan .card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.05);
}

#artisan .card h3 {
    color: var(--color-white);
}

#artisan .card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-align: center;
}

/* Images dans la section artisan - petites */
#artisan .card-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 3px solid var(--color-primary);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card p {
    color: var(--color-text);
    line-height: 1.6;
}

/* Card1 pour la section Services (style normal) */
.card1 {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 3px solid var(--color-primary);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card1:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card1 p {
    color: var(--color-text);
    line-height: 1.6;
}

/* Section Services avec background home_2 et effet parallax */
#Services {
    position: relative;
    background-image: url('../img/home_2.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 800px;
    padding: 4rem 2rem;
}

#Services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

#Services .container {
    position: relative;
    z-index: 2;
}

#Services h2:not(.black) {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

#Services h2.black {
    position: relative;
    z-index: 2;
    color: var(--color-text) !important;
    text-align: left !important;
}

/* Card1 pour la section Services */
#Services .card1 {
    background: transparent;
    padding: 2rem;
    border-radius: 0;
    box-shadow: none;
    transition: var(--transition);
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#Services .card1:hover {
    transform: translateY(-5px);
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.05);
}

#Services .card1 h3 {
    color: var(--color-white);
}

#Services .card1 p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
}

.footer .container {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* S'assurer qu'il n'y a pas d'espace après le footer */
html {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Supprimer tout espace blanc après le footer */
body::after {
    display: none !important;
}

/* 1er niveau: Vide */
.footer-empty-level {
    height: 3rem;
    width: 100%;
}

/* 2ème niveau: Logo + Menu + Bouton */
.footer-top-level {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

/* Ajustement spécifique pour le bouton */
.footer-top-level .footer-cta {
    align-self: center;
    margin: 0;
    vertical-align: middle;
}

/* 3ème niveau: Copyright */
.footer-bottom-level {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 0.5rem;
}

.footer-bottom-level p {
    margin: 0;
}

/* Alignement centré pour chaque élément */
.footer-top-level > * {
    align-self: center;
}

.footer p {
    margin: 0;
    font-size: 1rem;
    text-align: center;
}

/* Logo footer "ENERGIE CONCEPT" */
.footer-logo {
    margin-bottom: 0;
    text-align: center;
    display: inline-block;
}

.footer-logo a {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 500;
    color: var(--color-white);
    text-decoration: none;
    line-height: 1.4em;
    transition: var(--transition);
}

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

/* Menu footer en blanc */
.footer-nav {
    display: inline-flex;
    list-style: none;
    gap: 0.2rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-nav-item {
    position: relative;
}

.footer-nav-link {
    font-family: var(--font-menu);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white) !important;
    text-decoration: none;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.5rem;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.footer-nav-link:hover {
    color: var(--color-primary) !important;
    border-bottom-color: var(--color-primary);
}

.footer-nav-item {
    position: relative;
}

.footer-nav-link {
    font-family: var(--font-menu);
    font-size: 18px;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.footer-nav-link:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* Hamburger footer */
#footer-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

/* Sous-menu footer */
.footer-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 10px 10px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.footer-nav-item:hover .footer-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer-submenu li {
    margin: 0;
    padding: 0;
}

.footer-submenu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-menu);
    font-size: 1rem;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.footer-submenu li a:hover {
    background-color: rgba(223, 137, 22, 0.1);
    color: var(--color-primary);
    border-left-color: var(--color-primary);
}

/* Bouton footer */
.footer-cta .hero-button {
    margin: 0 auto;
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.footer-cta {
    margin-bottom: 0 !important;
}

/* Footer hamburger styles */
#footer-hamburger {
    display: none;
}

/* Hamburger animation footer */
#footer-hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#footer-hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

#footer-hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   RESPONSIVE DESIGN - TABLETTE
   ============================================ */

@media screen and (max-width: 992px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .logo a img {
        max-width: 200px;
    }

    .nav-link {
        font-size: 20px;
        padding: 0.4rem 0.8rem;
    }

    .hero {
        width: 100%;
        padding: 0;
    }

    .hero-background {
        width: 100vw;
        height: 500px;
        margin-left: calc(-50vw + 50%);
    }

    .hero-content {
        max-width: 700px;
        padding: 2rem 1.5rem;
        width: 85%;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        text-align: left;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-button {
        font-size: 1.1rem;
        padding: 0.9rem 2rem;
        margin-top: 1.5rem;
    }

    .hero-content .check-symbol {
        width: 20px;
        height: 20px;
    }

    .hero-content .check-symbol::before {
        width: 6px;
        height: 12px;
        top: 2px;
        left: 6px;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    /* Désactiver parallax sur tablette */
    #Services {
        background-attachment: scroll;
    }

    /* Boutons "En savoir plus" plus petits sur tablette */
    #Services .card .hero-button {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Section FAQ - 1 colonne sur tablette et mobile */
    #FAQ .grid,
    #FAQ_Best .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .card2 {
        padding: 1.5rem;
    }

    /* Section Services - 2 colonnes sur tablette */
    #Services .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    /* Section artisan - 3 colonnes sur tablette */
    #artisan .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }

    #artisan .card {
        padding: 1.5rem;
    }

    #artisan .card-image {
        width: 50px;
        height: 50px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media screen and (max-width: 768px) {
    /* Hamburger visible sur mobile */
    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    #footer-hamburger {
        display: flex;
    }

    .hamburger .bar {
        background-color: #36677e;
        width: 35px;
        height: 5px;
    }

    .hamburger:hover .bar {
        background-color: var(--color-primary);
    }

    .hamburger.active .bar {
        background-color: var(--color-primary);
    }

    /* Menu mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--color-secondary);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

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

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-link {
        font-size: 18px;
        color: var(--color-white);
        padding: 1rem;
        display: block;
        border: none;
    }

    /* Sous-menu mobile */
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(54, 103, 126, 0.3);
        box-shadow: none;
        border-radius: 0;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        display: none;
    }

    .nav-item:hover .submenu {
        display: block;
    }

    .submenu li a {
        color: var(--color-white);
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        border-left: none;
    }

    .submenu li a:hover {
        background-color: rgba(223, 137, 22, 0.3);
        color: var(--color-white);
        border-left: none;
    }

    .nav-link:hover {
        background-color: var(--color-primary);
        color: var(--color-white);
        border: none;
    }

    .nav-link.active {
        background-color: var(--color-primary);
        color: var(--color-white);
        border: none;
    }

    /* Cacher l'indicateur de sous-menu sur mobile */
    .nav-item > a.nav-link::after {
        display: none;
    }

    /* Footer responsive */
    .footer {
        padding: 2rem 1rem;
        position: relative;
        text-align: center;
    }

    .footer .container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-logo {
        text-align: center;
        display: block;
        margin-bottom: 1rem;
    }

    .footer-logo a {
        font-size: 24px;
    }

    .footer-nav {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin: 0;
        padding: 0;
    }

    .footer-nav-link {
        font-size: 16px;
        padding: 0.6rem 1rem;
    }

    .footer .hero-button {
        font-size: 14px;
        padding: 0.6rem 1.2rem;
        margin-top: 1rem;
    }

    /* Sous-menu footer mobile */
    .footer-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        border-radius: 0;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        margin-left: 1rem;
        display: none;
    }

    .footer-nav-item:hover .footer-submenu {
        display: block;
    }

    .footer-submenu li a {
        color: var(--color-white);
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .footer-submenu li a:hover {
        background-color: rgba(223, 137, 22, 0.3);
        color: var(--color-white);
    }

    #footer-hamburger {
        display: none;
    }

    /* Footer menu mobile - supprimé pour afficher le menu normalement */

    /* Logo mobile */
    .logo a img {
        max-width: 150px;
    }

    /* Hero mobile */
    .hero {
        margin-top: 70px;
        width: 100%;
        padding: 0;
    }

    .hero-background {
        width: 100vw;
        height: 550px;
        margin-left: calc(-50vw + 50%);
    }

    .hero-content {
        max-width: 100%;
        padding: 1.5rem 1rem;
        width: 90%;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
        text-align: left;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.4;
    }

    .hero-button {
        font-size: 1rem;
        padding: 0.8rem 1.8rem;
        margin-top: 1.2rem;
    }

    .hero-content .check-symbol {
        width: 16px;
        height: 16px;
        margin-right: 6px;
    }

    .hero-content .check-symbol::before {
        width: 4px;
        height: 9px;
        top: 2px;
        left: 4px;
        border-width: 0 2px 2px 0;
    }

    .hero-content .check-symbol::before {
        width: 5px;
        height: 10px;
        top: 2px;
        left: 5px;
        border-width: 0 2px 2px 0;
    }

    /* Sections mobile */
    .section {
        padding: 2rem 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Désactiver parallax sur mobile */
    #Services {
        background-attachment: scroll;
    }

    /* Boutons "En savoir plus" plus petits sur mobile */
    #Services .card .hero-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Section FAQ - passe à 1 colonne sur mobile */
    #FAQ .grid,
    #FAQ_Best .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .card2 {
        padding: 1.2rem;
    }

    /* Section Services - 1 colonne sur mobile */
    #Services .grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    /* Section artisan - 2 colonnes sur mobile */
    #artisan .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    #artisan .card {
        padding: 1.2rem;
    }

    #artisan .card-image {
        width: 45px;
        height: 45px;
    }

    .card {
        padding: 1.5rem;
    }

    .card1 {
        padding: 1.2rem;
    }

    /* Contact grid - passe en colonne sur mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    /* Ordre sur mobile : Écrivez-nous en premier, Contactez-nous en dessous */
    .contact-grid .ecrivez-nous {
        order: 1 !important;
    }

    .contact-grid .Contactez-nous {
        order: 2 !important;
    }
}

    /* Formulaire contact - champs en colonne sur mobile */
    .ecrivez-nous form > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   PETITS ÉCRANS
   ============================================ */

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }

    .logo a img {
        max-width: 130px;
    }

    .hero {
        margin-top: 70px;
        width: 100%;
        padding: 0;
    }

    .hero-background {
        width: 100vw;
        height: 500px;
        margin-left: calc(-50vw + 50%);
    }

    .hero-content {
        padding: 1rem 0.8rem;
        width: 95%;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
        text-align: left;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .hero-button {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
        margin-top: 1rem;
    }

    .hero-content .check-symbol {
        width: 14px;
        height: 14px;
        margin-right: 5px;
    }

    .hero-content .check-symbol::before {
        width: 3px;
        height: 7px;
        top: 2px;
        left: 3px;
        border-width: 0 2px 2px 0;
    }

    .nav-link {
        font-size: 16px;
    }

    h2 {
        font-size: 1.3rem;
    }

    .card {
        padding: 1rem;
    }

    /* Désactiver parallax sur petits écrans */
    #Services {
        background-attachment: scroll;
    }

    /* Boutons "En savoir plus" plus petits sur petits écrans */
    #Services .card .hero-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    /* Section Services - reste 1 colonne sur petits écrans */
    #Services .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Section FAQ - reste 1 colonne sur petits écrans */
    #FAQ .grid,
    #FAQ_Best .grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .card2 {
        padding: 1rem;
    }

    .card2 h3 {
        font-size: 1.1rem;
    }

    /* Section artisan - 1 colonne sur petits écrans */
    #artisan .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #artisan .card {
        padding: 0.8rem;
    }

    #artisan .card-image {
        width: 40px;
        height: 40px;
    }

    .card1 {
        padding: 0.8rem;
    }

    /* ============================================
       SLIDER RÉALISATIONS
       ============================================ */

    .slider-container {
        position: relative;
        max-width: 1000px;
        margin: 0 auto;
        overflow: hidden;
    }

    .slider {
        position: relative;
        width: 100%;
        height: 860px;
        overflow: hidden;
        border-radius: 10px;
    }

    .slide {
        display: none;
        width: 100%;
        height: 100%;
        position: relative;
    }

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

    .slide-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
        color: white;
        padding: 2rem;
        border-radius: 0 0 10px 10px;
    }

    .slide-caption h3 {
        margin: 0 0 0.5rem 0;
        font-size: 1.5rem;
        color: var(--color-primary);
    }

    .slide-caption p {
        margin: 0;
        font-size: 1rem;
    }

    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(54, 103, 126, 0.8);
        color: white;
        border: none;
        font-size: 2rem;
        padding: 1rem;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .slider-btn:hover {
        background-color: var(--color-primary);
    }

    .prev-btn {
        left: 20px;
    }

    .next-btn {
        right: 20px;
    }

    .slider-dots {
        text-align: center;
        margin-top: 1rem;
    }

    .dot {
        height: 12px;
        width: 12px;
        margin: 0 5px;
        background-color: #bbb;
        border-radius: 50%;
        display: inline-block;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .dot.active, .dot:hover {
        background-color: var(--color-primary);
        transform: scale(1.2);
    }

    /* Mobile responsive */
    @media screen and (max-width: 768px) {
        .slide img {
            height: 400px;
        }

        .slide-caption {
            padding: 1rem;
        }

        .slide-caption h3 {
            font-size: 1.2rem;
        }

        .slide-caption p {
            font-size: 0.9rem;
        }

        .slider-btn {
            width: 40px;
            height: 40px;
            font-size: 1.5rem;
        }

        .prev-btn {
            left: 10px;
        }

        .next-btn {
            right: 10px;
        }
    }
}

/* ============================================
   NEW STYLES - CONVERSION OPTIMIZATION
   ============================================ */

/* Urgency Banner Animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* Testimonials Enhancement */
.card2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #df8916 !important;
    box-shadow: 0 0 0 3px rgba(223, 137, 22, 0.1) !important;
}

/* Button Hover Enhancement */
.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(223, 137, 22, 0.3);
}

/* Social Proof Section Enhancement */
#chiffres p {
    transition: transform 0.3s ease;
}

#chiffres:hover p {
    transform: scale(1.05);
}

/* Mobile Responsive for Contact Section */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    #chiffres .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    #chiffres p {
        font-size: 3rem !important;
    }
}
