/* ... (Existing CSS preserved, appending/modifying key parts) ... */

/* [PREVIOUS CSS CONTENT HERE - I will assume standard structure and append/override as needed for safety, but since I am overwriting, I must include EVERYTHING. I will use the previously read CSS file content and add the new features] */

:root {
    /* Premium Masculine Palette */
    --primary: #1B262C;
    /* Dark Charcoal */
    --primary-light: #2C3E50;
    --accent: #C5A065;
    /* Artisan Gold */
    --accent-dark: #A68450;
    --success: #27ae60;
    --bg-body: #F7F7F7;
    --bg-white: #FFFFFF;
    --bg-dark: #111111;
    --text-main: #222222;
    --text-muted: #666666;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --nav-height: 80px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* GRAIN TEXTURE OVERALAY */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Simple noise SVG data URI */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

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

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

.text-white {
    color: white !important;
}

.bg-dark {
    background: var(--bg-dark);
    color: white;
}

.bg-gray {
    background: #E9ECEF;
}

.hidden {
    display: none !important;
}

/* Utilities */
.mt-4 {
    margin-top: 2rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

/* Header & Nav */
.top-bar {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2000;
}

.top-bar .flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-mini a {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.contact-mini i {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

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

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

.logo img {
    height: 45px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.tagline {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
}

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

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
    position: relative;
}

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

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

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

.nav-cta {
    padding: 10px 25px;
    font-size: 0.85rem;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    letter-spacing: 1px;
}

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

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
}

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

.btn-text {
    background: none;
    border: none;
    text-decoration: underline;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
}

/* Hero w/ Parallax Ready */
.hero {
    height: calc(100vh - var(--nav-height) - 35px);
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 110%;
    /* Extra height for parallax */
    object-fit: cover;
    will-change: transform;
}

.hero-bg .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(27, 38, 44, 0.95) 0%, rgba(27, 38, 44, 0.3) 100%);
}

.hero-content {
    color: white;
    width: 100%;
    max-width: 700px;
    padding-left: 20px;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

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

.icon-btn i {
    width: 18px;
    height: 18px;
}

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

.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About */
.section {
    padding: 6rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sub-heading {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 5px;
}

.separator {
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 20px 0;
}

.features-grid {
    margin-top: 30px;
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.icon-box {
    background: rgba(197, 160, 101, 0.1);
    color: var(--accent);
    padding: 12px;
    border-radius: 4px;
}

.icon-box i {
    width: 24px;
    height: 24px;
}

.feature-item h5 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.about-img-wrapper {
    position: relative;
}

.about-img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.exp-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.exp-badge .years {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.exp-badge .txt {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Comparison Slider */
.comparison-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    border: 4px solid white;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.comparison-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    border-right: 3px solid white;
}

.before-image img {
    width: 1000px;
    max-width: none;
}

.label-badge {
    position: absolute;
    top: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 15px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    z-index: 3;
}

.before {
    left: 20px;
}

.after {
    right: 20px;
}

.scroller-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: ew-resize;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    position: relative;
    border-top: 4px solid var(--accent);
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

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

.client-avatar {
    width: 50px;
    height: 50px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
    font-family: var(--font-heading);
}

.stars {
    color: #f1c40f;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Services */
.section-title {
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    position: relative;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--accent);
}

/* Correction pour les cartes qui disparaissent : suppression des transformations CSS qui pourraient entrer en conflit si non gérées par la classe reveal. Note : reveal-item gère l'entrée. hover gère le survol. */
.card-img {
    height: 220px;
    overflow: hidden;
}

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

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

.card-body {
    padding: 30px 25px;
    position: relative;
}

.service-icon-float {
    position: absolute;
    top: -30px;
    right: 25px;
    background: var(--accent);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: white;
    box-shadow: 0 5px 15px rgba(197, 160, 101, 0.4);
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.service-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-list i {
    width: 16px;
    height: 16px;
    color: var(--success);
}

/* Contact Form */
.contact-layout {
    align-items: flex-start;
}

.info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-row i {
    width: 24px;
    height: 24px;
    color: var(--accent);
    margin-top: 5px;
}

.contact-form-wrapper {
    padding: 40px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.form-step {
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
    display: none;
}

.form-step.active {
    opacity: 1;
    transform: translateX(0);
    display: block;
}

.radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.radio-card {
    cursor: pointer;
    position: relative;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 6px;
    color: var(--text-muted);
    transition: var(--transition);
    text-align: center;
}

.radio-card input:checked+.radio-content {
    border-color: var(--accent);
    color: var(--primary);
    background: rgba(197, 160, 101, 0.05);
}

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

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.input-modern {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
    background: #fcfcfc;
}

.input-modern:focus {
    border-color: var(--accent);
    outline: none;
    background: white;
}

.full-width {
    width: 100%;
}

/* Footer */
.footer-dark {
    background: #1a1a1a;
    color: #888;
    padding-top: 80px;
    font-size: 0.9rem;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo-img {
    filter: brightness(0) invert(1);
    width: 160px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #888;
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 25px 0;
    font-size: 0.8rem;
}

/* Mobile */
@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

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

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

    .about-img-wrapper {
        order: -1;
    }

    .exp-badge {
        position: relative;
        bottom: auto;
        left: auto;
        display: inline-block;
        margin-top: -30px;
        margin-left: 20px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .before-image img {
        width: 600px;
    }

    .comparison-slider {
        height: 300px;
    }
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 2000;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
    opacity: 0;
    transition: 0.4s;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.close-nav {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-links li {
    margin-bottom: 15px;
}

.mobile-links a:hover {
    color: var(--accent);
    background: #f9f9f9;
}

/* Scroll To Top */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
}

#scrollToTop:hover {
    transform: translateY(-5px);
    background: var(--primary);
}

.spin {
    animation: spin 2s linear infinite;
}

#form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Mobile Overflow Protection Global */
body,
html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}