/* Reset et variables */
:root {
    --primary-dark: #1D3C1E;
    --primary-light: #2D5A2F;
    --primary-green: #3A7D3F;
    --accent: #4CAF50;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --gray-light: #E8E8E8;
    --gray: #8E8E93;
    --black: #1D1D1F;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 8px 24px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

a[href^="tel:"],
a[href^="mailto:"] {
    color: inherit;
    text-decoration: none;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-light);
    padding: 1.2rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
    z-index: 1002;
}

/* Hero Page */
.hero-page {
    padding: 10rem var(--spacing-md) 4rem;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), 
                url('../imagefond3.webp') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-page-content h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.hero-page-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
}

/* Hero Section - MODIFIÉ */
.hero {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), 
                url('../imagefond3.webp') center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: white;
    margin-top: 80px;
}

.hero h1 {
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

/* Contenu Hero à gauche avec logo */
.hero-content-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 2rem;
}

.hero-logo-container {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 400px;
}

.hero-logo {
    height: 150px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 400px;
}

/* Contenu Hero à droite */
.hero-content-right {
    text-align: center;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-text-container {
    max-width: 600px;
    padding: 2.5rem;
    flex-direction: column;
    border-radius: var(--border-radius-lg);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    background-color: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: var(--shadow);
    width: 100%;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(58, 125, 63, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-large {
    padding: 1.3rem 2.8rem;
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: var(--spacing-xl) var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

.section-description {
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.2rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--gray-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: var(--spacing-md);
}

.service-content h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

/* Produits */
.produits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.produits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--spacing-lg);
}

.produit-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.produit-image {
    height: 300px;
    overflow: hidden;
}

.produit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.produit-card:hover .produit-image img {
    transform: scale(1.05);
}

.produit-content {
    padding: var(--spacing-md);
}

.produit-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--gray-light);
}

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

.spec-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
}

.spec-label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Comparatif tableau - MODIFIE */
.comparatif-container {
    max-width: 1200px;
    margin: 4rem auto 0;
}

.table-container {
    overflow-x: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.comparatif-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.comparatif-table th {
    background: var(--primary-dark);
    color: var(--white);
    padding: 1.2rem;
    text-align: center;
    font-weight: 600;
}

/* Première colonne colorée */
.comparatif-table thead tr th:first-child {
    background: var(--primary-light);
    border-top-left-radius: var(--border-radius);
}

.comparatif-table th:last-child {
    border-top-right-radius: var(--border-radius);
}

.comparatif-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
}

/* Première colonne des cellules */
.comparatif-table tbody tr td:first-child {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-green) 100%);
    color: var(--white);
    font-weight: 600;
    text-align: left;
    padding-left: 2rem;
    position: relative;
    border-right: 3px solid var(--primary-dark);
}

/* Icône devant chaque élément de la première colonne */
.comparatif-table tbody tr td:first-child::before {
    content: "•";
    color: rgba(255, 255, 255, 0.8);
    position: absolute;
    left: 1rem;
    font-weight: bold;
}

/* Effet au survol */
.comparatif-table tbody tr:hover td:first-child {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
}

/* Pour les lignes impaires */
.comparatif-table tr:nth-child(even) {
    background: var(--light-bg);
}

.comparatif-table tr:nth-child(even) td:first-child {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-light) 100%);
}

.comparatif-table tr:nth-child(even):hover td:first-child {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-green) 100%);
}

.comparatif-table tr:hover {
    background: rgba(58, 125, 63, 0.05);
}

/* Accessoires */
.accessoires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.accessoire-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid var(--gray-light);
}

.accessoire-card:hover {
    transform: translateY(-5px);
}

.accessoire-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
}

/* Avantages */
.avantages {
    background-color: var(--light-bg);
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.avantage-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid var(--gray-light);
}

.avantage-card:hover {
    transform: translateY(-5px);
}

.avantage-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
    display: inline-block;
}

/* Galerie - MODIFIE (sans texte au survol) */
.galerie-filtres {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filtre-btn {
    padding: 0.7rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

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

.galerie-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    position: relative;
    cursor: pointer;
}

.galerie-image {
    width: 100%;
    height: 100%;
}

.galerie-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.galerie-item:hover .galerie-image img {
    transform: scale(1.05);
}

/* SUPPRIME: Pas d'overlay ni texte au survol */
.galerie-overlay,
.overlay-content,
.btn-view {
    display: none !important;
}

/* Lightbox simplifiée - MODIFIE */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    padding: 2rem;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* SUPPRIME: Pas de texte dans la lightbox */
.lightbox-body,
.lightbox-info,
.lightbox-specs,
.spec,
.spec-label {
    display: none !important;
}

/* Style pour l'image dans la lightbox */
.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--border-radius);
}

/* Témoignages */
.temoignages-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.temoignage-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.temoignage-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.temoignage-auteur {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auteur-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.auteur-info h4 {
    margin-bottom: 0.2rem;
}

/* Contact Page */
.contact-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-infos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-info-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: transform 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-icon-large {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.contact-hours {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

.contact-form-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

/* Carte & FAQ */
.carte-faq {
    max-width: 1000px;
    margin: 2rem auto 4rem;
    padding: 0 var(--spacing-md);
}

.carte-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.carte, .faq {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.carte-image {
    height: 300px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.zone-intervention {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.ville {
    padding: 0.5rem 1rem;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
    padding: 1rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

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

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

.faq-reponse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 0.5rem;
}

.faq-reponse.active {
    max-height: 200px;
}

/* Comparaison avant/après avec curseur - MODIFIE (barre transparente) */
.avant-apres-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    border: 1px solid var(--gray-light);
}

.avant-apres-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: var(--spacing-md);
    text-align: center;
}

.avant-apres-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--white);
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--light-bg);
}

.image-avant {
    z-index: 1;
}

.image-apres {
    z-index: 2;
    clip-path: inset(0 0 0 50%);
}

/* MODIFICATION: Barre rendue transparente */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: transparent; /* Changé pour transparence */
    z-index: 3;
    transform: translateX(-50%);
    cursor: col-resize;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3); /* Faible opacité (30%) */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-strong);
    color: var(--white); /* Changé pour blanc pour mieux contraster */
    font-size: 1.5rem;
    cursor: grab;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    backdrop-filter: blur(5px); /* Optionnel: effet de flou derrière */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Optionnel: bordure subtile */
}

.slider-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.4); /* Légèrement plus visible au survol */
}

.slider-button:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(0.95);
    background: rgba(255, 255, 255, 0.5); /* Encore plus visible quand cliqué */
}

.slider-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.slider-button:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(0.95);
}

.image-label {
    position: absolute;
    top: 20px;
    padding: 0.6rem 1.8rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    z-index: 4;
    letter-spacing: 1px;
}

.label-avant {
    left: 20px;
}

.label-apres {
    right: 20px;
}

/* Contact */
.contact {
    background-color: var(--light-bg);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-info {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.contact-details {
    margin-top: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    padding: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--black);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(58, 125, 63, 0.1);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: var(--spacing-lg) var(--spacing-md);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.copyright {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Bouton flottant */
.float-btn {
    position: fixed;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    background-color: var(--primary-green);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-strong);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.float-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* --- AJOUT POUR LA LIGHTBOX NAVIGATION --- */

/* Style général des boutons flèches */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 3rem; /* Taille de la flèche */
    cursor: pointer;
    z-index: 10002;
    padding: 20px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

/* Position gauche */
.lightbox-prev {
    left: 20px;
}

/* Position droite */
.lightbox-next {
    right: 20px;
}

/* Effet au survol */
.lightbox-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.2); /* Grossit légèrement */
    color: var(--primary-green); /* Change de couleur au survol */
}

/* ============================================
   MENU MOBILE - CSS COMPLÉMENTAIRE
   ============================================ */

/* Icône hamburger visible sur mobile */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1002;
        font-size: 1.5rem;
        color: var(--primary-dark);
        transition: color 0.3s;
    }
    
    .mobile-menu-btn:hover {
        color: var(--primary-green);
    }
    
    .mobile-menu-btn i {
        transition: transform 0.3s;
    }
    
    /* Menu mobile */
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 0;
        box-shadow: 0 5px 30px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Animation séquentielle des liens */
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    
    .nav-links a {
        display: block;
        padding: 1.2rem 1rem;
        width: 100%;
        font-size: 1.1rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        transition: all 0.3s;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(58, 125, 63, 0.05);
        color: var(--primary-green);
        padding-left: 2rem;
    }
    
    .nav-links a::after {
        display: none; /* Cacher l'effet hover sur mobile */
    }
    
    /* Empêcher le scroll quand le menu est ouvert */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
    
    /* Header fixe pour mobile */
    header {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        padding: 1rem 0;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Pour les très petits écrans */
@media (max-width: 480px) {
    .nav-links {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    header {
        padding: 0.8rem 0;
    }
    
    .logo img {
        height: 40px;
    }
}

/* VERSION MOBILE (responsive) */
@media (max-width: 768px) {

    /* DANS LE FICHIER style.css, à l'intérieur de @media (max-width: 768px) */
    /* --- PRODUITS CÔTE À CÔTE (2 colonnes) --- */
    .produits-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important; /* Force 2 colonnes */
        gap: 10px; /* Petit espace entre les cartes */
    }

    .produit-card {
        /* Comme pour les services, on force l'affichage immédiat (pas d'animation JS) */
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        
        /* Ajustements de mise en page interne */
        display: flex;
        flex-direction: column;
        height: 100%; /* Pour que les boutons soient alignés */
    }

    /* Réduction de la taille de l'image pour l'adapter aux petites colonnes */
    .produit-image {
        height: 120px; /* Hauteur réduite (était 300px sur desktop) */
    }

    .produit-content {
        padding: 10px; /* Marges internes réduites */
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    /* Titre plus petit */
    .produit-content h3 {
        font-size: 1rem;
        margin-bottom: 5px;
        line-height: 1.2;
    }

    /* Description : on limite le texte à 3 lignes pour éviter que la carte soit immense */
    .produit-content p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 3; /* Coupe le texte après 3 lignes */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Ajustement des spécifications (Hauteur/Garantie) */
    .produit-specs {
        margin-bottom: 10px;
        padding-bottom: 5px;
        gap: 5px;
        flex-wrap: wrap; /* Permet aux specs de passer à la ligne si besoin */
        justify-content: center;
    }

    .spec-item {
        padding: 0 5px;
    }

    .spec-value {
        font-size: 0.9rem; /* Chiffre un peu plus petit */
    }

    .spec-label {
        font-size: 0.7rem; /* Label très petit */
    }

    /* DANS LE FICHIER style.css, section @media (max-width: 768px) */

    .contact-infos {
        display: grid;
        grid-template-columns: 1fr 1fr !important; /* Force 2 colonnes strictes */
        gap: 10px; /* Petit espace entre les cartes */
    }

    /* Le 3ème élément (Zone d'intervention) prend toute la largeur */
    .contact-info-card:nth-child(3) {
        grid-column: 1 / -1; /* S'étend du début à la fin de la ligne */
        width: 100%;
    }

    .contact-info-card {
        padding: 1rem; /* Réduit les marges internes */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 140px; /* Assure une hauteur uniforme */
    }

    /* Réduit la taille des icônes pour que ça rentre mieux */
    .contact-icon-large {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .contact-info-card h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .contact-info-card p {
        font-size: 0.85rem;
        line-height: 1.2;
        /* CRUCIAL : Coupe l'email s'il est trop long pour la colonne */
        word-break: break-word; 
        width: 100%;
    }

    /* Bouton "Demander un échantillon" compact */
    .produit-content .btn {
        padding: 0.6rem 0.5rem;
        font-size: 0.8rem;
        width: 100%;
        margin-top: auto; /* Pousse le bouton vers le bas */
    }
    /* Services en défilement horizontal (Carousel) */
    .services-grid {
        display: flex; /* On passe en Flexbox pour aligner horizontalement */
        grid-template-columns: none; /* On annule la grille */
        overflow-x: auto; /* Active le scroll horizontal */
        scroll-snap-type: x mandatory; /* Force l'arrêt net sur une carte */
        gap: 1.5rem; /* Espace entre les cartes */
        padding: 0.5rem 1rem 2rem 1rem; /* Padding bas large pour ne pas couper l'ombre */
        -webkit-overflow-scrolling: touch; /* Fluidité iOS */
        scrollbar-width: none; /* Cache la barre de scroll (Firefox) */
    }
    
    /* Cache la barre de scroll (Chrome/Safari/Opera) */
    .services-grid::-webkit-scrollbar {
        display: none;
    }

    /* DANS LE FICHIER style.css, à l'intérieur de @media (max-width: 768px) */

    .avantages-grid {
        display: grid;
        /* Force 2 colonnes de taille égale, même sur petit écran */
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 10px; /* Espace réduit entre les cartes pour gagner de la place */
    }

    .avantage-card {
        padding: 10px; /* Marges internes réduites */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    /* Ajustements pour que le texte ne soit pas trop gros en mode 2 colonnes */
    .avantage-card h3 {
        font-size: 0.95rem; /* Titre un peu plus petit */
        margin-bottom: 5px;
        line-height: 1.2;
    }

    .avantage-card p {
        font-size: 0.8rem; /* Texte descriptif plus petit */
        line-height: 1.3;
    }

    .avantage-icon {
        font-size: 2rem; /* Icône ajustée */
        margin-bottom: 0.5rem;
    }

    .service-card {
        min-width: 85%;
        flex: 0 0 85%;
        width: 85%;
        scroll-snap-align: center;
        margin: 0;
        
        /* --- AJOUT POUR FORCER L'AFFICHAGE IMMÉDIAT --- */
        opacity: 1 !important;        /* Force la visibilité à 100% */
        transform: none !important;   /* Annule le décalage vers le bas */
        transition: none !important;  /* Annule l'attente de l'animation */
    }
    /* Réduire le padding global */
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    /* Typographie mobile */
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    /* Header mobile */
    .header-container {
        padding: 0 1rem;
    }

    /* Hero mobile - simplifié */
    .hero {
        min-height: 70vh;
        margin-top: 70px;
        padding: 2rem 1rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content-left,
    .hero-content-right {
        padding: 0;
        align-items: center;
    }

    .hero-logo-container {
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .hero-logo {
        height: 120px;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 100%;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Hero Page mobile */
    .hero-page {
        padding: 8rem 1rem 3rem;
        min-height: 30vh;
    }

    .hero-page-content h1 {
        font-size: 2rem;
    }

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

    /* Sections plus compactes */
    section {
        padding: 2rem 1rem;
    }

    /* Services en carrousel */
    .services-grid {
        grid-template-columns: 1fr;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        gap: 1rem;
    }

    .service-card {
        min-width: 85%;
        scroll-snap-align: start;
    }

    .service-image {
        height: 200px;
    }

    /* Galerie mobile - 2 colonnes */
    .galerie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .galerie-item {
        height: 180px;
    }

    /* Filtres en carrousel horizontal */
    .galerie-filtres {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.5rem;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
    }

    .filtre-btn {
        scroll-snap-align: start;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        flex-shrink: 0;
    }

    /* Produits en vertical */
    .produits-grid {
        grid-template-columns: 1fr;
    }

    .produit-image {
        height: 220px;
    }

    /* Tableau comparatif scrollable */
    .table-container {
        font-size: 0.9rem;
    }

    .comparatif-table th,
    .comparatif-table td {
        padding: 0.7rem 0.5rem;
    }

    /* Avantages 2 colonnes */
    .avantages-grid,
    .accessoires-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .avantage-card,
    .accessoire-card {
        padding: 1rem;
        font-size: 0.9rem;
    }

    /* Contact en vertical */
    .contact-container,
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-container {
        gap: 1rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    /* Slider avant/après plus compact */
    .comparison-slider {
        height: 300px;
    }

    .slider-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .image-label {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
        top: 10px;
    }

    .label-avant {
        left: 10px;
    }

    .label-apres {
        right: 10px;
    }

    /* Témoignages en carrousel */
    .temoignages-slider {
        grid-template-columns: 1fr;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
    }

    .temoignage-card {
        min-width: 85%;
        scroll-snap-align: start;
        padding: 1.5rem;
    }

    /* Contact page mobile */
    .contact-page-container {
        padding: 0;
    }

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

    .contact-form-section {
        padding: 1.5rem;
    }

    /* FAQ compacte */
    .carte-container {
        flex-direction: column;
    }

    .faq-item {
        padding: 0.8rem 0;
    }

    /* Footer empilé */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    /* Bouton flottant plus petit */
    .float-btn {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
    }

    /* Lightbox mobile */
    .lightbox {
        padding: 1rem;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 80%;
    }

    .lightbox-close {
        top: -40px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    /* Pour mobile : réduire la taille et rapprocher du bord */
    .lightbox-btn {
        font-size: 2rem;
        padding: 10px;
    }
    .lightbox-prev { left: 5px; }
    .lightbox-next { right: 5px; }

    /* Empêcher le zoom sur les inputs */
    input, select, textarea {
        font-size: 16px;
    }
}

/* Pour les très petits écrans */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* Galerie 2 colonnes plus compacte */
    .galerie-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
    }

    .galerie-item {
        height: 150px;
    }

    /* Avantages 1 colonne */
    .avantages-grid,
    .accessoires-grid {
        grid-template-columns: 1fr;
    }

    /* Services en plein écran */
    .service-card {
        min-width: 100%;
    }

    /* Réduire les marges */
    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-title {
        margin-bottom: 1rem;
    }
}

/* Empêcher le défilement horizontal */
body {
    overflow-x: hidden;
    width: 100%;
}

/* Optimisation pour iOS */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
}

/* Animation douce pour les transitions */
* {
    scroll-behavior: smooth;
}

/* Optimiser les images */
img {
    max-width: 100%;
    height: auto;
}

/* Améliorer la performance du scroll */
.services-grid,
.temoignages-slider,
.galerie-filtres {
    -webkit-overflow-scrolling: touch;
}

/* Masquer les barres de scroll sur les carrousels */
.services-grid::-webkit-scrollbar,
.temoignages-slider::-webkit-scrollbar,
.galerie-filtres::-webkit-scrollbar {
    display: none;
}

.services-grid,
.temoignages-slider,
.galerie-filtres {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Optimisation pour les vieux appareils */
@media (max-width: 320px) {
    html {
        font-size: 12px;
    }
    
    .galerie-grid {
        grid-template-columns: 1fr;
    }
    
    .galerie-item {
        height: 200px;
    }
}