/* Reset et base */
:root {
    --primary-color: #8B5A2B; /* Brun chaud */
    --secondary-color: #D2B48C; /* Tan */
    --accent-color: #A67C52; /* Brun moyen */
    --light-color: #fffff8; /* Beige clair */
    --dark-color: #3E2723; /* Brun foncé */
    --text-color: #333;
    --white: #fff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --font-main: Arial, sans-serif;
    --font-heading: 'Montserrat', serif;
    --header-height: 80px;
    --nav-spacing: 1.5rem;
    --transition-speed: 0.3s;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===================== */
/* HEADER REDESIGN */
/* ===================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-speed) ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

/* Navigation principale */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    position: relative;
    margin-left: var(--nav-spacing);
}

nav a {
    position: relative;
    display: block;
    padding: 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary-color);
}

/* Menu déroulant */
.dropdown > a::after {
    /* content: '⌄'; */
    margin-left: 5px;
    font-size: 0.9em;
    display: inline-block;
    transition: transform var(--transition-speed);
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 0.5rem 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-speed) ease;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    color: var(--dark-color);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(139, 90, 43, 0.05);
}

/* Bouton contact spécial */
.contact-btn {
    margin-left: var(--nav-spacing);
    padding: 0.7rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed);
    box-shadow: 0 2px 10px rgba(139, 90, 43, 0.2);
}

.contact-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 90, 43, 0.3);
    color: white;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 0.5rem;
}

/* ===================== */
/* MOBILE DROPDOWN FIX */
/* ===================== */

/* ===================== */
/* HEADER MOBILE FIX */
/* ===================== */

@media (max-width: 992px) {
    #test {
        display: flex;
        flex-direction: row;
        /* border: 1px solid red; */
        /* width: 100vw; */
        margin: auto;
        /* justify-content: space-around; */
        gap: 20px;
    }
    #test button {
        font-size: 2.2rem;
    }
    header {
        position: fixed;
        /* border: 1px solid red; */
        width: 100%;
        /* height: calc(var(--header-height) * 2); */
        z-index: 1000;
    }

    .header-container {
        padding: 0 1rem;
    }

    /* Menu toggle button */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.8rem;
        color: var(--dark-color);
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001;
    }

    /* Navigation principale */
    #main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: white;
        display: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        max-height: 0;
        /* overflow-y: scroll; */
        transition: max-height 0.5s ease-out;
        z-index: 999;
    }

    #main-nav.active {
        max-height: 100vh;
        overflow-y: auto;
        display: block;
    }
    

    nav ul {
        flex-direction: column;
        padding: 1rem 2rem;
    }

    nav li {
        margin: 0;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        padding: 0.8rem 0;
        font-size: 1.1rem;
    }
    #main-nav.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Dropdown mobile */
    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown > a::after {
        font-size: 1.3rem;
        transition: transform 0.3s ease;
    }

    .dropdown.active > a::after {
        content: '-';
    }

    .dropdown-menu {
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .dropdown.active .dropdown-menu {
        /* max-height: 500px; */
        
        padding: 0.5rem 0 0.5rem 1rem;
    }

    .dropdown-menu li {
        border-bottom: none;
        padding: 0.3rem 0;
    }

    .dropdown-menu a {
        font-size: 1rem;
        color: var(--gray);
    }

    .dropdown-menu a:hover {
        color: var(--primary-color);
    }

    /* Bouton contact */
    .contact-btn {
        margin: 1rem 0 0;
        display: block;
        text-align: center;
        width: 100%;
    }
}


/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero.webp') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    /* border: 1px solid red; */
    text-align: center;
    margin-top: 80px;

}

.hero-content {
    max-width: 800px;
    /* margin: 0 auto; */
    /* border: 1px solid red; */
    /* padding: 2rem; */
    /* max-height: 80vh; */
    vertical-align: middle;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--white);
    /* margin-bottom: 1.5rem; */
}

.hero p {
    font-size: 1.2rem;
    /* margin-bottom: 2rem; */
}

/* Services */
.services-overview {
    padding: 4rem 0;
    background-color: var(--white);
}

.services-overview h2 {
    text-align: center;
    /* margin-top: 25rem; */
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 1rem !important;
}

.service-card {
    background: var(--gray-light);
    border-radius: 8px;
    overflow: hidden;
    padding: 0 !important;
    transition: transform 0.3s;
}

.service-card-description {
    padding: 0rem 1.5rem 1rem 1.5rem;
    display: flex; 
    flex-direction: column;
    /* border: 1px solid red; */
    /* height: 100%; */
}
.service-card h3 {
    margin-top: 1rem;
}

.service-card a {
    /* border: 2px solid red !important; */
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    min-height: 250px;
    max-height: 350px;
    object-fit: cover;
}

.service-card-content {
    padding: 1.5rem;
}

/* Why Us */
.why-us {
    padding: 4rem 0;
    background-color: var(--light-color);
    text-align: center;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage {
    padding: 1.5rem;
}

.advantage .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Testimonials */
.testimonials-preview {
    padding: 4rem 0;
    background-color: var(--white);
    text-align: center;
}

.testimonials {
    max-width: 800px;
    margin: 0 auto;
}

blockquote {
    font-style: italic;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-color);
    border-left: 4px solid var(--primary-color);
}

cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: bold;
}

/* CTA */
.cta-section {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}


.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
    
}

.cta-button.secondary {
    background-color: var(--accent-color);
    color: var(--white);
}
.cta-button.secondary:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.cta-section .cta-button {
    background-color: var(--accent-color);
    color: var(--white);
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--white);
}


.secondary-button {
    display: inline-block;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 0 0;
}

footer .container {
    padding: 0 2rem;
}

footer p {
    margin-bottom : 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    /* border: 1px solid red; */
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem 0 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        height: 60vh;
    }
}

/* ===================== */
/* SERVICE PAGE HEADER */
/* ===================== */

.page-header {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                var(--header-image) center/cover no-repeat;
    color: white;
    text-align: center;
    overflow: hidden;
    margin-top:80px;
    margin-bottom: 3rem;
}

.page-header .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    color: white;
}

.page-header p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}



/* Animation d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Version mobile */
@media (max-width: 768px) {
    .page-header {
        height: 50vh;
        min-height: 300px;
    }
    
    .page-header h1 {
        margin-bottom: 1rem;
    }
    
    .page-header p {
        margin-bottom: 1.5rem;
    }
}

/* Service Detail Page - Pose de Parquet */
.service-detail {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
}

/* .container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
} */

.service-content {
    flex: 2;
    min-width: 300px;
    padding: 0 1rem;
    animation: fadeIn 0.8s ease-out;
}

.service-sidebar {
    flex: 1;
    min-width: 280px;
    position: sticky;
    top: 2rem;
}

.service-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    position: relative;
    padding-bottom: 1rem;
}

.service-content h2::after {
    /* content: ''; */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
}

.service-content h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem 0;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

.service-content p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
}

.service-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.service-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}

.service-content li::before {
    /* content: ''; */
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Essences Grid */
.essences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.essence {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.essence:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.essence h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.essence p {
    font-size: 0.95rem;
    margin: 0;
    color: #666;
}

/* Conseils Box */
/* .conseils {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
    border-left: 4px solid var(--secondary-color);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.conseils h3 {
    margin-top: 0;
    color: var(--secondary-color);
} */

/* Sidebar Styles */
.sidebar-block {
    background: white;
    padding: 2rem;
    margin-bottom: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.sidebar-block:hover {
    transform: translateY(-3px);
}

.sidebar-block h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.sidebar-block h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.sidebar-block p {
    margin-bottom: 1.5rem;
    color: #555;
}

.sidebar-block ul {
    padding-left: 1.2rem;
}

.sidebar-block li {
    margin-bottom: 0.6rem;
    color: #555;
}

.sidebar-block a:not(.cta-button) {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.sidebar-block blockquote {
    font-style: italic;
    color: #555;
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.sidebar-block cite {
    display: block;
    font-style: normal;
    font-weight: 500;
    color: var(--secondary-color);
    margin-top: 0.5rem;
}


/* Responsive Design */
@media (max-width: 992px) {
    .service-content, .service-sidebar {
        flex: 100%;
    }
    
    .service-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .sidebar-block {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .service-detail {
        padding: 3rem 0;
    }
    
    .service-content h2 {
        font-size: 1.8rem;
    }
    
    .service-content h3 {
        font-size: 1.4rem;
    }
    
    .essences-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Grille des services */
.services-grid, .terrasses-types, .repairs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-card, .type-card, .repair-card {
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
}
/* Tableaux */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    overflow-x: auto;
    /* border: 2px solid red; */
    min-width: 600px;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--primary-color);
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Étude de cas */
.case-study {
    background: var(--light-color);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}



/* Responsive */
@media (min-width: 768px) {
    .service-detail .container {
        display: flex;
        gap: 2rem;
    }
}

/* FAQ Styles */
.faq-section {
    padding: 4rem 0;
}

.faq-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f9f9f9;
    padding: 0 1rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 1.5rem;
}

.faq-answer h4 {
    color: var(--primary-color);
    margin-top: 1rem;
}

.faq-answer ul, .faq-answer ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer p {
    margin-bottom: 1rem;
}

/* Animation pour l'ouverture des questions */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-item.active .faq-answer-content {
    animation: fadeIn 0.3s ease-in-out;
}
/* Zone d'intervention */
.intervention-section {
    padding: 4rem 0;
}

.intervention-content {
    flex: 2;
}

.intervention-sidebar {
    flex: 1;
}

#intervention-map {
    height: 500px;
    width: 100%;
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.map-fallback {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.cities-list {
    margin: 3rem 0;
}

.cities-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.city-column {
    flex: 1;
    min-width: 250px;
}

.city-column h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.city-column ul {
    list-style: none;
}

.city-column ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.city-column ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}



.intervention-info {
    margin: 3rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Styles pour la popup Google Maps */
.map-infowindow {
    padding: 0.5rem;
}

.map-infowindow h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.map-infowindow p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.map-link {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    #intervention-map {
        height: 350px;
    }
    
    .cities-columns {
        flex-direction: column;
    }
}

/* ===================== */
/* ABOUT PAGE STYLES */
/* ===================== */
.about-section {
    padding: 4rem 0;
}

.about-content {
    flex: 2;
    padding-right: 2rem;
}

.about-sidebar {
    flex: 1;
}

.about-block {
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.timeline-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0.3rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--primary-color);
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.values-list li {
    background: rgba(139, 90, 43, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
}

.values-list h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.certification {
    text-align: center;
    padding: 1rem;
}

.certification img {
    max-height: 80px;
    margin-bottom: 1rem;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.certification:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.workshop-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.workshop-gallery img {
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.workshop-gallery img:hover {
    transform: scale(1.02);
}

.artisan-portrait {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.commitments li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.8rem;
}

.commitments li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.press-mentions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.press-logo img {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.press-logo:hover img {
    opacity: 1;
}

/* ===================== */
/* REALISATIONS PAGE STYLES */
/* ===================== */
.projects-section {
    padding: 4rem 0;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.filter-btn {
    padding: 0.5rem 1.2rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    }
}

.project-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .project-card {
        flex-direction: row;
        min-height: 300px;
    }
}

.project-slider {
    position: relative;
    flex: 1;
    min-height: 250px;
}

@media (min-width: 768px) {
    .project-slider {
        min-width: 300px;
    }
}

.before-after {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.before-after img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after img:last-child {
    clip-path: inset(0 0 0 var(--position, 50%));
}

.project-details {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.project-specs {
    margin: 1rem 0;
}

.project-specs li {
    margin-bottom: 0.5rem;
    display: flex;
}

.project-specs li strong {
    min-width: 80px;
    display: inline-block;
}

.client-testimonial {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(139, 90, 43, 0.05);
    border-left: 3px solid var(--primary-color);
    font-style: italic;
}

.client-testimonial cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 500;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===================== */
/* AVIS PAGE STYLES */
/* ===================== */
.reviews-section {
    padding: 4rem 0;
}

.reviews-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.average-rating {
    text-align: center;
}

.stars {
    color: #FFD700;
    font-size: 1.8rem;
    display: block;
}

.score {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.based-on {
    font-size: 0.9rem;
    color: var(--gray);
}

.rating-details {
    min-width: 200px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin: 0.3rem 0;
}

.rating-bar span:first-child {
    width: 70px;
}

.rating-bar progress {
    flex: 1;
    height: 8px;
    margin: 0 0.5rem;
}

.rating-bar progress::-webkit-progress-bar {
    background: #f0f0f0;
    border-radius: 4px;
}

.rating-bar progress::-webkit-progress-value {
    background: var(--primary-color);
    border-radius: 4px;
}

.verification-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(139, 90, 43, 0.05);
    padding: 1rem;
    border-radius: 8px;
}

.verification-badge img {
    height: 50px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.reviewer-info h3 {
    margin-bottom: 0.2rem;
}

.location {
    font-size: 0.9rem;
    color: var(--gray);
}

.review-meta {
    text-align: right;
}

.date {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
}

.rating {
    color: #FFD700;
    font-size: 1.1rem;
}

.review-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.review-images {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.review-images img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.review-images img:hover {
    transform: scale(1.1);
}

.review-response {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #ddd;
    font-size: 0.9rem;
}

.review-cta {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(139, 90, 43, 0.05);
    border-radius: 8px;
}

.trustpilot-widget {
    text-align: center;
    margin-top: 3rem;
}

.trustpilot-widget a {
    display: inline-flex;
    align-items: center;
    margin: 0.5rem 1rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.trustpilot-widget img {
    height: 20px;
    margin-right: 0.5rem;
}



/* ===================== */
/* CONTACT PAGE STYLES */
/* ===================== */

.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 2fr;
    }
}

.contact-info {
    background: rgba(139, 90, 43, 0.05);
    padding: 2rem;
    border-radius: 8px;
    align-self: start;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.info-block svg {
    color: var(--primary-color);
}

.info-block a {
    color: var(--dark-color);
    transition: color 0.3s;
}

.info-block a:hover {
    color: var(--primary-color);
}

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-intro {
    margin-bottom: 2rem;
    color: #666;
}

.contact_form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.required {
    color: #e74c3c;
    margin-left: 3px;
}

.success-message {
    padding: 1rem;
    background: rgba(46, 204, 113, 0.2);
    color: #27ae60;
    border-radius: 4px;
    margin-bottom: 2rem;
    text-align: center;
    border-left: 4px solid #27ae60;
}
.success-message.error {
    background: #e74d3c2f !important; 
    color: #e74c3c !important;
    border-left: 4px solid #e74c3c !important;
}

.form-submit {
    margin-top: 2rem;
    text-align: center;
}

.map-section {
    padding: 3rem 0;
    background: #f9f9f7;
}

#map {
    height: 400px;
    width: 100%;
    border-radius: 8px;
    margin-top: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

/* Bouton CTA amélioré */
.contact-section .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 90, 43, 0.2);
}

.contact-section  .cta-button:hover {
    background: #7a4d24;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 90, 43, 0.3);
}

.contact-section  .cta-button svg {
    transition: transform 0.3s ease;
}

.contact-section  .cta-button:hover svg {
    transform: translateX(3px);
}


* Story Section */
.about-story {
    padding: 4rem 0;
}

.about-story .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.story-content {
    flex: 1;
    min-width: 300px;
}

.story-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.story-content p {
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.story-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.story-image:hover img {
    transform: scale(1.03);
}

/* Values Section */
.about-values {
    background-color: #f9f9f9;
    padding: 4rem 0;
}

.about-values h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-card p {
    line-height: 1.6;
}

/* Expertise Section */
.about-expertise {
    padding: 4rem 0;
}

.about-expertise h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-expertise > p {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
    line-height: 1.6;
}

.expertise-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expertise-item {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background-color: #f9f9f9;
}

.expertise-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Local Section */
.about-local {
    padding: 4rem 0;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('../images/yvelines-map.webp') center/cover no-repeat;
}

.about-local h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.about-local p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 800px;
}

.local-badge {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 400px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.local-badge img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.local-badge p {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

/* Team Section */
.about-team {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.about-team h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.team-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.team-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: auto;
    display: block;
}

.team-bio {
    flex: 2;
    min-width: 300px;
}

.team-bio p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .story-content, .team-bio {
        min-width: 100%;
    }
    
    .local-badge {
        flex-direction: column;
        text-align: center;
    }
    
    /* .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 100%;
        max-width: 300px;
    } */
}

@media (max-width: 480px) {
    .about-hero {
        padding: 3rem 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-details {
        grid-template-columns: 1fr;
    }
}



.patine-explication {
    background: #f8f9fa;
    padding: 2.5rem 0;
    margin: 3rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}


.patine-visuel {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    max-width: 600px;
}

.bois-fresh, .bois-patine {
    width: 200px;
    height: 100px;
    border-radius: 4px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.bois-fresh {
    background: linear-gradient(135deg, #8B5A2B 0%, #6B4226 100%);
}

.bois-patine {
    background: linear-gradient(135deg, #E0E0E0 0%, #BDBDBD 100%);
}

.fleche {
    margin: 0 1.5rem;
    font-size: 1.5rem;
    color: #8B5A2B;
    animation: pulse 2s infinite;
}

.patine-avantages {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 2rem auto;
}

.patine-avantages li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.patine-avantages .icon {
    font-size: 1.3rem;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}


@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@media (max-width: 600px) {
    .patine-visuel {
        flex-direction: column;
    }
    .fleche {
        margin: 1rem 0;
        transform: rotate(90deg);
    }
}
