/* =========================================
   NATDETAILING - STYLESHEET PRINCIPALE
   ========================================= */

/* --- 1. RESET & BASES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00f9f9;
    --primary-dark: #00b3b3;
    --primary-bg: #0d2e2e;
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1c1c1c;
    --border-color: #2a2a2a;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --font-heading: 'Catamaran', sans-serif;
    --font-body: 'Merriweather Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    padding-top: 70px;
    overflow-x: hidden;
}

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

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

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 2. BARRE DE NAVIGATION (NAVBAR) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 56px;
    width: auto;
    max-height: 62px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.logo a:hover img {
    transform: scale(1.05);
}

.logo-brand {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: #d1f7f7;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

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

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

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

.btn-nav-contact {
    border: 1px solid var(--primary) !important;
    padding: 8px 22px !important;
    border-radius: 6px;
    color: var(--primary) !important;
    font-weight: 700;
    margin-left: 10px;
    transition: all 0.3s ease !important;
}

.btn-nav-contact::after { display: none !important; }

.btn-nav-contact:hover {
    background-color: var(--primary) !important;
    color: #000 !important;
    box-shadow: 0 0 15px rgba(0, 249, 249, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* --- 3. HERO SLIDER --- */
.hero {
    position: relative;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    min-height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-color: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.8s ease-in-out, transform 6s ease;
    will-change: opacity, transform;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.85) 100%);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 950px;
}

.hero h1 {
    font-size: 4.2rem;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
    letter-spacing: 2px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.6rem;
    font-weight: 300;
    color: #e0e0e0;
    margin-bottom: 35px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* --- 4. BOUTONS --- */
.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: #003333;
    padding: 14px 35px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 249, 249, 0.3);
}

.btn-primary:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 249, 249, 0.5);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary);
    padding: 12px 32px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: #003333;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 249, 249, 0.4);
}

/* --- 5. TITRES ET SECTIONS --- */
section {
    padding: 90px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-header h4 {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.separator-small {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 12px auto 20px auto;
    border-radius: 2px;
}


/* --- 6. SECTION À PROPOS (AUTO & AGRICOLE) --- */
.about-section {
    background-color: #0d0d0d;
}

.about-block {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 70px auto;
}

.about-block.reverse {
    flex-direction: row-reverse;
    margin-bottom: 0;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-content {
    flex: 1.2;
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}



.about-content p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content h4 {
    font-size: 1.15rem;
    color: #fff;
    margin: 20px 0 10px 0;
    border-left: 3px solid var(--primary);
    padding-left: 12px;
}



.services-list, .check-list {
    margin-bottom: 20px;
}

.check-list li {
    padding: 6px 0 6px 28px;
    color: #ddd;
    font-size: 15px;
    position: relative;
    line-height: 1.6;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f9f9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
}



.about-image {
    flex: 0.9;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    width: 100%;
    height: auto;
}



@media (max-width: 992px) {
    .about-block, .about-block.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }
}


/* --- 7. SECTION SERVICES (GRILLE 5 CARTES) --- */
.services-section {
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 18px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 249, 249, 0.15);
    background-color: var(--bg-card-hover);
}

.img-circle-container {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #222;
    transition: all 0.3s ease;
}

.service-card:hover .img-circle-container {
    border-color: var(--primary);
    transform: scale(1.05);
}

.img-circle-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 18px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card .btn-more {
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover .btn-more {
    background-color: var(--primary);
    color: #000;
}

/* --- 8. SECTION RÉALISATIONS (ACCUEIL) --- */
.portfolio-home-section {
    background-color: #0e0e0e;
}

.portfolio-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.portfolio-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 35px rgba(0, 249, 249, 0.2);
}

.portfolio-card-img {
    height: 260px;
    width: 100%;
    overflow: hidden;
}

.portfolio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-img img {
    transform: scale(1.08);
}

.portfolio-card-body {
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(20,20,20,0.9) 0%, rgba(10,10,10,1) 100%);
}

.portfolio-card-body h3 {
    font-size: 1.2rem;
    color: #fff;
}

.portfolio-card-body .btn-view {
    padding: 7px 20px;
    background-color: var(--primary);
    color: #003333;
    font-weight: 700;
    border-radius: 4px;
    font-size: 13px;
    text-transform: uppercase;
}

/* --- 9. SECTION TARIFS (5 CARTES) --- */
.pricing-section {
    background-color: var(--bg-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 35px 18px 25px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 249, 249, 0.15);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, rgba(0, 249, 249, 0.08) 0%, var(--bg-card) 100%);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #003333;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 12px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card .price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin: 8px 0;
    font-family: var(--font-heading);
}

.pricing-card .price.price-devis {
    font-size: 1.85rem;
    line-height: 1.3;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card .price span {
    font-size: 1.6rem;
    vertical-align: super;
}

.pricing-card .pricing-info {
    color: #aaa;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 22px;
    min-height: 40px;
}

.pricing-card .btn-primary {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
    margin: 0;
}

/* --- 10. SECTION CONTACT & FORMULAIRE --- */
.contact-section {
    background-color: #0d0d0d;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 12px;
}

.contact-info-box h3 {
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    color: #ddd;
    font-size: 16px;
}

.contact-item .icon {
    font-size: 22px;
    color: var(--primary);
}

.contact-item .contact-picto {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
    filter: drop-shadow(0 0 6px rgba(0, 249, 249, 0.45));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-item .contact-picto svg {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-item .contact-picto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.contact-item:hover .contact-picto {
    transform: scale(1.15);
    filter: drop-shadow(0 0 12px rgba(0, 249, 249, 0.85));
}

.contact-item a {
    color: #ddd;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-form {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f9f9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 42px;
}

.contact-form select option {
    background-color: #141414;
    color: #fff;
    padding: 10px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 249, 249, 0.2);
}

.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

.form-group-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.form-group-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 15px;
}

/* --- 11. FOOTER --- */
footer {
    background-color: #050505;
    border-top: 1px solid var(--border-color);
    padding: 40px 20px 30px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #aaa;
    font-size: 14px;
    font-weight: 600;
}

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

footer p {
    color: #666;
    font-size: 13px;
    margin-top: 10px;
}

/* --- 12. PAGE GALERIE COMPLETE (REALISATIONS.HTML) --- */
.gallery-filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #ccc;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #003333;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 249, 249, 0.3);
}

.dossiers-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.client-dossier {
    background: #0d1219;
    border: 1px solid #1c2635;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.client-dossier:hover {
    border-color: rgba(0, 249, 249, 0.4);
    box-shadow: 0 15px 40px rgba(0, 249, 249, 0.08);
}

.dossier-header {
    border-bottom: 1px solid #1e293b;
    padding-bottom: 22px;
    margin-bottom: 28px;
}

.dossier-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.dossier-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.dossier-badge.badge-agri {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.dossier-badge.badge-lustrage {
    background: rgba(0, 249, 249, 0.15);
    color: var(--primary);
    border: 1px solid rgba(0, 249, 249, 0.3);
}

.dossier-badge.badge-interieur {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.dossier-badge.badge-service {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dossier-badge.badge-count {
    background: #1e293b;
    color: #94a3b8;
    margin-left: auto;
}

.dossier-title {
    font-size: 1.65rem;
    color: #fff;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.dossier-desc {
    color: #94a3b8;
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 850px;
    margin: 0;
}

.dossier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
    gap: 25px;
}

.dossier-grid-single {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.dossiers-upcoming {
    background: linear-gradient(135deg, #0d1219 0%, #131b26 100%);
    border: 1px dashed rgba(0, 249, 249, 0.35);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
}

.upcoming-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(0, 249, 249, 0.12);
    color: var(--primary);
    border: 1px solid rgba(0, 249, 249, 0.3);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.upcoming-content h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.upcoming-content p {
    color: #94a3b8;
    font-size: 14px;
    max-width: 650px;
    margin: 0 auto 20px;
}

.upcoming-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.upcoming-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .client-dossier {
        padding: 24px 18px;
    }
    .dossier-title {
        font-size: 1.3rem;
    }
    .dossier-badge.badge-count {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    .dossier-grid {
        grid-template-columns: 1fr;
    }
}

.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.gallery-photo-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-photo-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 249, 249, 0.2);
}

.gallery-photo-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-photo-card:hover img {
    transform: scale(1.06);
}

/* LIGHTBOX MODAL */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 249, 249, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover { color: var(--primary); }

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.lightbox-btn:hover {
    background: var(--primary);
    color: #000;
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* --- 13. PAGES DETAILS SERVICES (NETTOYAGE-*.HTML) --- */
.service-detail-section {
    padding: 60px 20px 80px;
    background-color: var(--bg-dark);
    min-height: calc(100vh - 70px);
}

.service-detail-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 45px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    max-width: 1100px;
    margin: 0 auto;
}

.service-detail-image-wrap img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--primary);
    box-shadow: 0 8px 25px rgba(0, 249, 249, 0.2);
}

.service-detail-info h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

.service-detail-info h3 {
    color: #fff;
    font-size: 1.3rem;
    margin: 25px 0 12px;
}

.service-detail-info p {
    color: #ddd;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-detail-info ul {
    margin-bottom: 25px;
}

.service-detail-info ul li {
    padding: 8px 0 8px 28px;
    color: #ccc;
    font-size: 15px;
    position: relative;
    line-height: 1.6;
}

.service-detail-info ul li strong {
    color: #fff;
}

.service-detail-info ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f9f9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
}

.btn-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.btn-back-link:hover {
    color: var(--primary);
    transform: translateX(-4px);
}

/* --- 14. ANIMATIONS REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 15. RESPONSIVE MOBILE --- */
@media (max-width: 992px) {
    .contact-wrapper,
    .service-detail-box,
    .about-container {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .logo img {
        height: 48px;
        max-height: 52px;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.98);
        padding: 30px 20px;
        border-bottom: 1px solid var(--border-color);
        gap: 20px;
    }
    
    .nav-links.active { display: flex; }
    
    .hero h1 { font-size: 2.6rem; }
    .hero p { font-size: 1.2rem; }
    
    .lightbox-btn { padding: 10px 14px; font-size: 20px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    
    .service-detail-box { padding: 25px; }
}


/* --- CARTES COMPARATIVES AVANT / APRÈS --- */
.agri-pair-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.agri-pair-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 12px 35px rgba(0, 249, 249, 0.18);
}

.pair-images-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: #080c11;
    padding: 6px;
    align-items: stretch;
}

.pair-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 280px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.pair-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.pair-img-wrap:hover img {
    transform: scale(1.05);
}

.badge-pair {
    position: absolute;
    top: 12px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.badge-pair.badge-before {
    left: 12px;
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-pair.badge-after {
    right: 12px;
    background: rgba(0, 249, 249, 0.95);
    color: #003333;
    border: 1px solid rgba(0, 249, 249, 0.4);
}

.pair-caption {
    padding: 14px 18px;
    text-align: center;
    background: linear-gradient(180deg, rgba(20,20,20,0.95) 0%, rgba(10,10,10,1) 100%);
    border-top: 1px solid var(--border-color);
}

.pair-caption h4 {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

@media (max-width: 576px) {
    .pair-images-row {
        gap: 4px;
        padding: 4px;
    }
    .pair-img-wrap {
        aspect-ratio: 3 / 4;
        min-height: 200px;
    }
    .badge-pair {
        top: 8px;
        padding: 3px 8px;
        font-size: 10px;
    }
    .badge-pair.badge-before { left: 8px; }
    .badge-pair.badge-after { right: 8px; }
}


/* --- SLIDER / CARROUSEL AGRICOLE (FORMAT PORTRAIT) --- */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-color);
    background: #000;
}

.slider-track {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 480px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    transform: scale(1.02);
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    border: none;
    box-shadow: none;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.75);
    color: #fff;
    border: 1px solid var(--border-color);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary);
    color: #003333;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 14px; }
.slider-next { right: 14px; }

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

@media (max-width: 576px) {
    .slider-track {
        min-height: 400px;
    }
}



/* --- TÉLÉPHONE NAVBAR ÉPURÉ & HAUT DE GAMME --- */
.nav-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.6px;
    text-decoration: none;
    padding: 6px 10px !important;
    margin-right: 15px;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: color 0.3s ease;
}

.nav-phone-link svg {
    color: var(--primary);
    stroke-width: 1.8;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.nav-phone-link:hover {
    color: #ffffff !important;
}

.nav-phone-link:hover svg {
    transform: scale(1.15);
}

.mobile-phone-link {
    display: none;
}

@media (max-width: 992px) {
    .nav-phone-link {
        display: none;
    }
    .mobile-phone-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: var(--primary);
        text-decoration: none;
        margin-right: 12px;
        transition: all 0.3s ease;
    }
    .mobile-phone-link img,
    .mobile-phone-link svg {
        width: 17px;
        height: 17px;
        object-fit: contain;
        display: block;
        fill: currentColor;
    }
}

/* --- LIENS RÉSEAUX SOCIAUX (INSTAGRAM & FACEBOOK) --- */
.nav-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--primary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0 !important;
    margin-right: 6px;
}

.nav-social-link img,
.nav-social-link svg {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.nav-phone-link img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 7px;
    display: inline-block;
}

.nav-phone-link svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 7px;
    display: inline-block;
    fill: currentColor;
}

.nav-social-link::after { display: none !important; }

.nav-social-link:hover {
    background: rgba(0, 249, 249, 0.2);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 249, 249, 0.3);
}

.nav-social-link:hover img,
.nav-social-link:hover svg {
    transform: scale(1.15);
}

.mobile-social-link {
    display: none;
}

@media (max-width: 992px) {
    .navbar .logo {
        margin-right: auto;
    }
    .nav-social-link {
        display: none;
    }
    .mobile-social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: var(--primary);
        text-decoration: none;
        margin-right: 8px;
        transition: all 0.3s ease;
    }
    .mobile-social-link img,
    .mobile-social-link svg {
        width: 18px;
        height: 18px;
        object-fit: contain;
        display: block;
        fill: currentColor;
    }
    .mobile-social-link:hover {
        background: rgba(0, 249, 249, 0.15);
        border-color: var(--primary);
    }
}

/* FOOTER SOCIAL */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 18px 0 12px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.footer-social-link svg,
.footer-social-link img {
    color: var(--primary);
    vertical-align: middle;
    width: 18px;
    height: 18px;
    object-fit: contain;
    fill: currentColor;
}

.footer-social-link:hover {
    background: rgba(0, 249, 249, 0.15);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 249, 249, 0.2);
}

/* --- BOUTON RETOUR EN HAUT (BACK TO TOP) --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    color: var(--primary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    display: block;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: #003333;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 249, 249, 0.4);
}

/* --- 16. PAGE MENTIONS LÉGALES & RGPD --- */
.legal-section {
    padding: 130px 20px 80px;
    min-height: 80vh;
    background-color: var(--bg-dark);
}

.legal-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 45px 50px;
    max-width: 900px;
    margin: 25px auto 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.legal-box h1 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.legal-intro {
    font-size: 15px;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 25px;
}

.legal-separator {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 30px 0;
}

.legal-item {
    margin-bottom: 35px;
}

.legal-item h2 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 14px;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.legal-item h3 {
    font-size: 1.05rem;
    color: #fff;
    margin: 18px 0 10px;
    font-weight: 700;
}

.legal-item p {
    font-size: 14px;
    line-height: 1.75;
    color: #94a3b8;
    margin-bottom: 12px;
}

.legal-item ul {
    list-style: none;
    padding-left: 0;
    margin: 12px 0;
}

.legal-item ul li {
    font-size: 14px;
    line-height: 1.8;
    color: #94a3b8;
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
}

.legal-item ul li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 4px;
    font-weight: bold;
    font-size: 16px;
}

.legal-item a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-item a:hover {
    color: #fff;
}

.legal-date {
    margin-top: 25px;
    font-size: 13px !important;
    color: #64748b !important;
}

@media (max-width: 768px) {
    .legal-box {
        padding: 25px 20px;
    }
    .legal-box h1 {
        font-size: 1.7rem;
    }
}



