/* ============================================
   DEVIS AUCAMVILLE — Styles CSS
   Mobile-first, responsive, pro
   ============================================ */

/* --- Variables CSS --- */
:root {
    --primary: #0077B6;
    --primary-hover: #005f92;
    --primary-light: #e0f2fe;
    --secondary: #90E0EF;
    --secondary-hover: #7cd5e8;
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --success: #16a34a;
    --success-bg: #dcfce7;
    --info-bg: #e0f2fe;
    --info-text: #075985;
    --footer-bg: #0f172a;
    --footer-text: #94a3b8;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --transition: 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.3; color: var(--text-color); }

/* --- Utilities --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 1rem; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.mt-6 { margin-top: 1.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}
.logo {
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    white-space: nowrap;
}
.logo span { color: var(--text-color); }

/* Nav desktop */
.main-nav {
    display: none;
    gap: 1.2rem;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
}
.main-nav a { color: var(--text-color); padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
.main-nav a.btn { border-bottom: none; }
.main-nav a.btn:hover { color: #fff; }

/* Hamburger */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    color: var(--text-color);
}
.mobile-menu-toggle svg { width: 22px; height: 22px; }

/* Nav mobile open */
.main-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--card-bg);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-color);
    z-index: 99;
}
.main-nav.nav-open a {
    padding: 0.75rem 0;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
    width: 100%;
}
.main-nav.nav-open a:last-child { border-bottom: none; }

/* ============================================
   BREADCRUMB
   ============================================ */
nav.breadcrumb {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 0;
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    font-size: 0.83rem;
    color: var(--text-muted);
    list-style: none;
    padding: 0;
    margin: 0;
}
.breadcrumb-list li {
    display: flex;
    align-items: center;
}
.breadcrumb-list li::after {
    content: '/';
    margin: 0 0.45rem;
    color: var(--border-color);
    font-weight: 400;
}
.breadcrumb-list li:last-child::after { display: none; }
.breadcrumb-list a {
    color: var(--primary);
    font-weight: 500;
    transition: color var(--transition);
}
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list li.active {
    color: var(--text-muted);
    font-weight: 400;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.3rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.4;
    text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); color: #fff; }
.btn-secondary { background: var(--secondary); color: var(--primary); }
.btn-secondary:hover { background: var(--secondary-hover); color: var(--primary); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white { background: transparent; border: 2px solid rgba(255,255,255,0.8); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: #fff; }
.btn-ghost { background: #f1f5f9; color: var(--text-color); border: 1px solid var(--border-color); }
.btn-ghost:hover { background: var(--primary-light); color: var(--primary); }
.btn-large { padding: 1rem 2rem; font-size: 1.1rem; border-radius: var(--radius-md); }
.btn-white { background: #fff; color: var(--primary); font-weight: 700; }
.btn-white:hover { background: var(--primary-light); transform: translateY(-1px); color: var(--primary); }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.85rem; }

/* Nouveau bouton CTA du menu header - BULLETPROOF */
button.btn-nav-cta {
    background: linear-gradient(135deg, #FF9F1C 0%, #F48C06 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    border-radius: 50px !important;
    padding: 0.6rem 1.4rem !important;
    box-shadow: 0 4px 12px rgba(244, 140, 6, 0.4) !important;
    border: 2px solid #ffffff !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    font-family: 'Inter', sans-serif !important;
}
button.btn-nav-cta:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 20px rgba(244, 140, 6, 0.6) !important;
    background: linear-gradient(135deg, #F48C06 0%, #E85D04 100%) !important;
    color: #ffffff !important;
}

/* ============================================
   HERO — HOMEPAGE
   ============================================ */
.hero-home {
    background: linear-gradient(135deg, var(--primary) 0%, #023e8a 60%, #0096c7 100%);
    color: #fff;
    padding: 3rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-home::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(144, 224, 239, 0.1);
    border-radius: 50%;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-home h1 { font-size: 2rem; margin-bottom: 0.75rem; color: #fff; font-weight: 800; }
.hero-home h1 .highlight { color: var(--secondary); }
.hero-subtitle { font-size: 1.05rem; margin-bottom: 1.5rem; opacity: 0.9; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; margin-bottom: 2rem; }
.hero-trust { display: flex; justify-content: center; gap: 1rem; font-size: 0.85rem; opacity: 0.85; flex-wrap: wrap; }
.hero-trust span { display: flex; align-items: center; gap: 0.4rem; }
.hero-trust svg { width: 16px; height: 16px; }

/* ============================================
   HERO — INNER PAGES
   ============================================ */
.hero {
    text-align: center;
    padding: 2.5rem 1rem;
    background: var(--card-bg);
    margin-bottom: 2rem;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.hero p { color: var(--text-light); font-size: 1rem; max-width: 600px; margin: 0 auto; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 3rem 0; }
.section-alt { background-color: var(--card-bg); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.section-title { font-size: 1.6rem; margin-bottom: 0.5rem; text-align: center; font-weight: 800; }
.section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 2rem; font-size: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--text-color); font-weight: 800; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

/* ============================================
   CONTENT SPLIT
   ============================================ */
.content-split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.content-text h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.content-text p { color: var(--text-light); margin-bottom: 1rem; }
.content-image img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); width: 100%; height: auto; object-fit: cover; }

.check-list { list-style: none; margin: 1.5rem 0; padding: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.75rem; color: var(--text-color); }
.check-list li i, .check-list li svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

/* ============================================
   GRID & CARDS
   ============================================ */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    overflow: visible;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

.section,
.section-alt,
.artisans-section,
.metiers-grid-section,
.metiers-lies-section,
.communes-section,
.stats-bar,
.footer-cta {
    overflow: visible;
}

.hover-up {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    isolation: isolate;
}
.hover-up:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    isolation: isolate;
    transition: all var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.card-icon {
    width: 48px; height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    margin-bottom: 1rem;
    flex-shrink: 0;
}
.card-icon svg, .card-icon i { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.4rem; font-size: 1.1rem; color: var(--text-color); }
.card p { color: var(--text-light); font-size: 0.93rem; flex-grow: 1; }

.card-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-top: auto; color: var(--primary); font-weight: 600; font-size: 0.9rem;
    padding-top: 1rem; border-top: 1px solid #f1f5f9;
}
.card-link svg, .card-link i { width: 16px; height: 16px; }

.card-compact {
    padding: 1.25rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: color var(--transition), background var(--transition),
                border-color var(--transition), box-shadow var(--transition),
                transform var(--transition);
    isolation: isolate;
    will-change: transform;
}
.card-compact svg, .card-compact i { width: 28px; height: 28px; color: var(--primary); }
.card-compact:hover {
    color: var(--primary);
    background: var(--primary-light);
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.card-footer { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-color); display: flex; gap: 0.75rem; flex-wrap: wrap; }

.badge { padding: 0.25rem 0.7rem; border-radius: var(--radius-lg); font-size: 0.8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.3rem; }
.badge-success { background: var(--success-bg); color: #166534; }
.badge-info { background: var(--info-bg); color: var(--info-text); }
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-neutral { background: #f1f5f9; color: var(--text-light); }

/* Badges Ouverture Artisan */
.badge-open {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.4);
}
.badge-closed {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
}
.status-dot.green {
    background-color: #4ade80;
}
.status-dot.red {
    background-color: #f87171;
}
.pulse {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: pulse-dot 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
}
@keyframes pulse-dot {
    to {
        box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
    }
}

/* ============================================
   ARTISAN PROFILE
   ============================================ */
.artisan-profile { max-width: 800px; margin: 0 auto; padding: 0 1rem; }
.profile-header { background: var(--card-bg); padding: 2rem 1.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); margin-bottom: 1.5rem; }
.profile-header h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.profile-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.profile-section { background: var(--card-bg); padding: 1.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); margin-bottom: 1.5rem; }
.profile-section h2 { font-size: 1.2rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--primary-light); }
.info-row { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid #f1f5f9; font-size: 0.95rem; }
.info-row:last-child { border-bottom: none; }
.info-label { font-weight: 600; color: var(--text-color); min-width: 120px; flex-shrink: 0; }
.info-value { color: var(--text-light); }

/* ============================================
   CTA BOX
   ============================================ */
.cta-box { background: linear-gradient(135deg, var(--primary) 0%, #023e8a 100%); color: #fff; padding: 2.5rem 1.5rem; border-radius: var(--radius-md); text-align: center; }
.cta-box h2 { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.cta-box p { opacity: 0.9; margin-bottom: 1.5rem; }

.cta-gradient { background: linear-gradient(135deg, var(--primary) 0%, #023e8a 100%); color: #fff; padding: 4rem 1rem; margin: 3rem 0; }
.cta-gradient h2 { color: #fff; font-size: 1.8rem; margin-bottom: 1rem; font-weight: 800; }
.cta-gradient p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.9); }

.cta-box-light { background: var(--primary-light); border: 2px dashed var(--secondary); padding: 2rem 1.5rem; border-radius: var(--radius-md); text-align: center; }
.cta-box-light h3 { color: var(--primary); margin-bottom: 0.5rem; }
.cta-box-light p { color: var(--text-light); margin-bottom: 1rem; }

.pre-footer-cta { background: linear-gradient(135deg, var(--primary) 0%, #023e8a 100%); color: #fff; padding: 3rem 1rem; text-align: center; margin-top: 3rem; }
.pre-footer-cta h2 { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.pre-footer-cta p { opacity: 0.9; margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

.footer-cta { background: var(--primary-light); border-top: 2px solid var(--secondary); border-bottom: 2px solid var(--secondary); padding: 2.5rem 1rem; }
.footer-cta h2 { color: var(--primary); font-size: 1.5rem; margin-bottom: 0.5rem; }

/* ============================================
   STEPS
   ============================================ */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; counter-reset: step; }
.step-card {
    background: var(--card-bg); padding: 1.5rem 1.5rem 1.5rem 4.5rem;
    border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color); position: relative;
    isolation: isolate;
}
.step-card::before { counter-increment: step; content: counter(step); position: absolute; left: 1.25rem; top: 1.5rem; width: 36px; height: 36px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; line-height: 1; }
.step-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--text-color); }
.step-card p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* ============================================
   FAQ
   ============================================ */
.faq-section { padding: 3rem 0; background: var(--bg-color); }
.faq-section h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 2rem; text-align: center; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: 0.75rem; overflow: hidden; }
.faq-question { width: 100%; background: none; border: none; padding: 1.2rem 1.5rem; text-align: left; font-size: 1rem; font-weight: 600; color: var(--text-color); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: background var(--transition); font-family: inherit; }
.faq-question:hover { background: #f8fafc; }
.faq-question i[data-lucide] { transition: transform 0.3s ease; flex-shrink: 0; width: 18px; height: 18px; color: var(--primary); }
.faq-item.open .faq-question { background: var(--primary-light); color: var(--primary); }
.faq-item.open .faq-question i[data-lucide] { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 1.5rem; }
.faq-item.open .faq-answer { max-height: 600px; padding: 0.75rem 1.5rem 1.25rem; }
.faq-answer p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; margin: 0; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar { padding: 2rem 0; background: var(--bg-color); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat-item { text-align: center; padding: 1.5rem 1rem; background: var(--card-bg); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--primary); display: block; line-height: 1.2; }
.stat-label { font-size: 0.82rem; color: var(--text-light); margin-top: 0.4rem; display: block; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 3rem 1rem 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-weight: 700; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.5rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col li { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; }
.footer-col a { color: var(--footer-text); font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--secondary); }
.footer-about { color: var(--footer-text); font-size: 0.88rem; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: 0.8rem; }
.footer-bottom p { margin-bottom: 0.3rem; }
.footer-disclaimer { font-size: 0.75rem; opacity: 0.7; }
.footer-disclaimer a { color: var(--secondary); }

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* ============================================
   VUD MODAL
   ============================================ */
.vud-modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
    pointer-events: none;
}
.vud-modal-overlay.active {
    opacity: 1; visibility: visible;
    pointer-events: auto;
}
.vud-modal-content { background: #fff; width: 92%; max-width: 520px; max-height: 90vh; border-radius: var(--radius-md); padding: 2rem 1.5rem; position: relative; overflow-y: auto; transform: translateY(20px); transition: all 0.3s ease; box-shadow: var(--shadow-lg); text-align: center; }
.vud-modal-overlay.active .vud-modal-content { transform: translateY(0); }
.vud-modal-close { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: #aaa; z-index: 10; transition: color var(--transition); }
.vud-modal-close:hover { color: #000; }
.vud-modal-title { font-size: 1.3rem; margin-bottom: 0.3rem; color: var(--primary); }
.vud-modal-subtitle { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ============================================
   MOBILE STICKY BAR (REDESIGNED)
   ============================================ */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 0.75rem 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 990;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticky-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF9F1C 0%, #F48C06 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: 1rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(244, 140, 6, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    animation: pulseGlow 2s infinite;
    transition: transform 0.2s;
}

.sticky-btn i, .sticky-btn svg {
    animation: bounceRight 1.5s infinite;
}

.sticky-btn:active {
    transform: scale(0.98);
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(244, 140, 6, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(244, 140, 6, 0); }
    100% { box-shadow: 0 0 0 0 rgba(244, 140, 6, 0); }
}

@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

@media (min-width: 768px) {
    .mobile-sticky-bar {
        display: none !important;
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 84px; /* Offset for the sticky bar */
    }
}

/* ============================================
   MISC UTILS
   ============================================ */
.count-badge { background: var(--primary-light); color: var(--primary); font-size: 0.8rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: var(--radius-lg); }
.no-results { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.no-results p { font-size: 1.1rem; margin-bottom: 1rem; }
.loading { text-align: center; padding: 2rem; color: var(--text-muted); }
.error-box { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 1rem; border-radius: var(--radius-md); text-align: center; }
.list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.5rem; }
.list-header h2 { font-size: 1.3rem; }
.seo-text { max-width: 800px; margin: 0 auto; line-height: 1.8; }
.seo-text h2 { font-size: 1.8rem; margin-bottom: 0.75rem; margin-top: 2rem; color: var(--text-color); font-weight: 800; }
.seo-text h2:first-child { margin-top: 0; }
.seo-text h3 { font-size: 1.3rem; margin-bottom: 0.5rem; margin-top: 1.5rem; color: var(--text-color); }
.seo-text p { color: var(--text-light); margin-bottom: 1rem; font-size: 0.95rem; }
.seo-text ul { margin-bottom: 1rem; padding-left: 1.5rem; }
.seo-text li { color: var(--text-light); margin-bottom: 0.4rem; font-size: 0.95rem; list-style: disc; }
.seo-text a { color: var(--primary); text-decoration: underline; }

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
.links-grid a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--primary);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    isolation: isolate;
}
.links-grid a:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    z-index: 10;
}

/* ============================================
   PAGE METIERS — Hero
   ============================================ */
.metiers-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #023e8a 100%);
    color: #fff;
    padding: 3rem 1rem;
}
.metiers-hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.metiers-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.metiers-hero-badge i { width: 16px; height: 16px; }
.metiers-hero-content h1 { font-size: 2rem; color: #fff; margin-bottom: 1rem; font-weight: 800; }
.metiers-hero-content > p { opacity: 0.9; margin-bottom: 1.5rem; font-size: 1.05rem; }
.metiers-hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--secondary); }
.hero-stat span { font-size: 0.82rem; opacity: 0.8; }
.metiers-hero-img { display: none; }
.metiers-hero-img img { border-radius: var(--radius-md); width: 100%; height: 300px; object-fit: cover; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }

/* PAGE METIERS — Filter bar */
.metiers-filter-bar {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 64px;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
    font-family: inherit;
}
.filter-tab i { width: 14px; height: 14px; }
.filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.filter-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* PAGE METIERS — Grid section */
.metiers-grid-section { padding: 2rem 0 4rem; overflow: visible; }
.metier-category { margin-bottom: 3rem; }
.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}
.category-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.category-icon i { width: 22px; height: 22px; }
.category-header h2 { font-size: 1.3rem; font-weight: 800; flex: 1; margin: 0; }
.category-count {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-lg);
    white-space: nowrap;
}

.metiers-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    overflow: visible;
}

.metier-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--text-color);
    transition: all var(--transition);
    border-left: 4px solid var(--card-color, var(--primary));
    isolation: isolate;
}
.metier-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--primary-light);
    z-index: 10;
}
.metier-card-icon {
    width: 44px; height: 44px;
    background: rgba(0,119,182,0.1);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--card-color, var(--primary));
}
.metier-card-icon i { width: 22px; height: 22px; }
.metier-card-body { flex: 1; min-width: 0; }
.metier-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--text-color); }
.metier-card-body p { font-size: 0.85rem; color: var(--text-light); margin: 0; line-height: 1.5; }
.metier-card-cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--card-color, var(--primary));
    white-space: nowrap;
    flex-shrink: 0;
}
.metier-card-cta i { width: 14px; height: 14px; transition: transform 0.2s ease; }
.metier-card:hover .metier-card-cta i { transform: translateX(4px); }

/* PAGE METIERS — CTA section */
.metiers-cta-section { padding: 2rem 0; background: var(--bg-color); }
.metiers-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--card-bg);
    border: 2px dashed var(--secondary);
    border-radius: var(--radius-md);
    padding: 2rem;
    flex-wrap: wrap;
}
.metiers-cta-left { display: flex; align-items: flex-start; gap: 1rem; }
.metiers-cta-left > i { width: 36px; height: 36px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.metiers-cta-left h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.metiers-cta-left p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* PAGE METIERS — Réassurance */
.metiers-reassurance { padding: 3rem 0; background: var(--card-bg); border-top: 1px solid var(--border-color); }
.metiers-reassurance h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 2rem; }
.reassurance-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.reassurance-item { text-align: center; padding: 1.5rem; }
.reassurance-item > i { width: 40px; height: 40px; color: var(--primary); margin: 0 auto 1rem; display: block; }
.reassurance-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.reassurance-item p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* ============================================
   PAGE METIER — Hero individuel
   ============================================ */
.metier-hero {
    background: linear-gradient(135deg, #0077B6 0%, #023e8a 100%);
    color: #fff;
    padding: 3rem 1rem;
    text-align: center;
}
.metier-hero-icon {
    width: 72px; height: 72px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.metier-hero-icon i { width: 36px; height: 36px; color: var(--secondary); }
.metier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-lg);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.metier-badge i { width: 14px; height: 14px; }
.metier-hero h1 { font-size: 2rem; color: #fff; margin-bottom: 0.75rem; font-weight: 800; }
.metier-hero-desc { opacity: 0.9; font-size: 1.05rem; max-width: 600px; margin: 0 auto 1.5rem; }
.metier-hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.mh-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--secondary); }
.mh-stat span { font-size: 0.8rem; opacity: 0.8; }
.metier-hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

/* Badge de preuve sociale GMB (Metier Hero) - REDESIGN PREMIUM GLASSMORPHISM */
.metier-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 24px;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 10px auto 24px auto;
    transition: all 0.3s ease;
}

.metier-rating-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.metier-rating-badge i {
    width: 20px;
    height: 20px;
    color: #FBBF24;
    fill: #FBBF24;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
}

.metier-rating-badge span {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.9rem;
    margin-left: 4px;
}

/* PAGE METIER — Artisans section */
.artisans-section { padding: 3rem 0; overflow: visible; }
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.section-header-row h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.25rem; }
.section-header-row p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

.artisans-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.artisans-count { font-size: 0.9rem; color: var(--text-muted); }
.artisans-count strong { color: var(--primary); font-weight: 700; }
.artisans-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    flex: 1;
    max-width: 320px;
}
.artisans-search i { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }
.artisans-search input { border: none; outline: none; background: transparent; font-size: 0.9rem; width: 100%; color: var(--text-color); font-family: inherit; }

/* ----------------------------------------------------
   NOUVEAU DIRECTORY LIST VIEW (Page Métier)
------------------------------------------------------- */
.artisans-list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: visible;
}

.artisan-card-list-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    isolation: isolate;
    padding: 1.25rem;
    gap: 1rem;
}

.artisan-card-list-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-2px);
    z-index: 10;
}

.artisan-list-left {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.artisan-list-middle {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.artisan-list-right {
    display: flex;
    gap: 0.75rem;
}
.artisan-list-right .btn {
    flex: 1;
}

/* Ancienne grid conservée pour la homepage ou autres endroits */
.artisans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    overflow: visible;
}

.artisan-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all var(--transition);
    isolation: isolate;
}
.artisan-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateY(-2px);
    z-index: 10;
}
.artisan-card-header { display: flex; align-items: flex-start; gap: 1rem; }
.artisan-avatar {
    width: 48px; height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}
.artisan-avatar i { width: 24px; height: 24px; }

/* Note GMB miniature liste artisan */
.artisan-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}
.artisan-card-rating .star-icon {
    width: 14px;
    height: 14px;
    color: #EAB308;
    fill: #EAB308;
}
.artisan-card-rating strong {
    font-weight: 700;
}
.artisan-card-rating span {
    color: var(--text-light);
}

.artisan-info h3 { font-size: 1rem; font-weight: 700; color: var(--text-color); margin-bottom: 0.2rem; }
.artisan-dirigeant { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.artisan-dirigeant i { width: 14px; height: 14px; }
.artisan-card-body { display: flex; flex-direction: column; gap: 0.4rem; }
.artisan-address { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.87rem; color: var(--text-light); margin: 0; }
.artisan-address i { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--text-muted); }
.artisan-siren { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.artisan-siren i { width: 14px; height: 14px; }
.artisan-card-actions { display: flex; gap: 0.75rem; margin-top: auto; }
.artisan-card-actions .btn { flex: 1; font-size: 0.88rem; padding: 0.6rem 0.8rem; }

.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state i { width: 48px; height: 48px; color: var(--text-muted); margin: 0 auto 1rem; display: block; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-light); margin-bottom: 1.5rem; }

.artisans-cta-inline {
    margin-top: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, #023e8a 100%);
    color: #fff;
    padding: 2rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}
.artisans-cta-content { display: flex; align-items: flex-start; gap: 1rem; }
.artisans-cta-content > i { width: 32px; height: 32px; color: var(--secondary); flex-shrink: 0; }
.artisans-cta-content h3 { color: #fff; margin-bottom: 0.25rem; font-size: 1.15rem; }
.artisans-cta-content p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin: 0; }

/* ============================================
   COMMUNES VOISINES SECTION
   ============================================ */
.communes-section {
    padding: 3rem 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}
.communes-section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.communes-intro { color: var(--text-light); margin-bottom: 2rem; font-size: 0.95rem; }
.communes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.commune-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid rgba(0,119,182,0.2);
}
.commune-chip i { width: 14px; height: 14px; }
.commune-chip small { color: var(--text-muted); font-weight: 400; font-size: 0.78rem; }
.communes-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: #f8fafc; padding: 1.25rem 1.5rem; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.communes-cta p { color: var(--text-light); margin: 0; font-size: 0.9rem; }

/* ============================================
   MÉTIERS LIÉS
   ============================================ */
.metiers-lies-section { padding: 3rem 0; overflow: visible; }
.metiers-lies-section h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.5rem; }
.metiers-lies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    overflow: visible;
}

.metier-lie-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all var(--transition);
    text-decoration: none;
    isolation: isolate;
}
.metier-lie-card i { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.metier-lie-card span { flex: 1; }
.metier-lie-card .arrow { width: 16px; height: 16px; color: var(--text-muted); transition: transform 0.2s ease; }
.metier-lie-card:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(4px);
    z-index: 10;
}
.metier-lie-card:hover .arrow { transform: translateX(4px); color: var(--primary); }

/* ============================================
   FICHE ARTISAN — artisan.php
   ============================================ */

/* Hero artisan */
.artisan-hero {
    background: linear-gradient(135deg, #0077B6 0%, #023e8a 100%);
    color: #fff;
    padding: 3rem 1rem 2.5rem;
}
.artisan-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}
.artisan-hero-avatar {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.4);
    letter-spacing: -1px;
}
.artisan-hero-content { flex: 1; }
.artisan-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.badge-active {
    background: rgba(22,163,74,0.25);
    color: #bbf7d0;
    border: 1px solid rgba(22,163,74,0.4);
}
.badge-metier {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.badge-zone {
    background: rgba(144,224,239,0.2);
    color: var(--secondary);
    border: 1px solid rgba(144,224,239,0.3);
}
.artisan-hero-content h1 {
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 0.25rem;
    font-weight: 800;
}
.artisan-hero-naf {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.artisan-hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

/* Layout principal artisan */
.artisan-main { padding: 3rem 0 1.5rem; }
.artisan-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

/* Colonne infos */
.artisan-info-col { display: flex; flex-direction: column; gap: 1.5rem; }

.artisan-card-block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}
.artisan-card-block h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}
.artisan-card-block h2 i { width: 20px; height: 20px; color: var(--primary); }

.artisan-infos-grid { display: flex; flex-direction: column; gap: 0; }
.artisan-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--bg-color);
}
.artisan-info-item:last-child { border-bottom: none; }
.artisan-info-item > i {
    width: 18px; height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.artisan-info-item div { display: flex; flex-direction: column; gap: 0.15rem; }
.info-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); font-weight: 600; }
.info-value { font-size: 0.93rem; color: var(--text-color); font-weight: 500; }
.info-value small { color: var(--text-muted); font-weight: 400; font-size: 0.8rem; }

.artisan-source-mention {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: var(--info-bg);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--info-text);
}
.artisan-source-mention i { width: 14px; height: 14px; flex-shrink: 0; }
.artisan-source-mention a { color: var(--primary); font-weight: 600; }

/* ============================================
   GOOGLE REVIEWS
   ============================================ */
.artisan-reviews-block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    margin-top: 1.5rem;
}
.artisan-reviews-block h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}
.artisan-reviews-block h2 i { width: 20px; height: 20px; color: #EAB308; } /* Yellow for star */

.gmb-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: var(--radius-sm);
}
.gmb-score {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
}
.gmb-stars {
    display: flex;
    color: #EAB308;
    gap: 0.15rem;
    margin-bottom: 0.25rem;
}
.gmb-stars svg { width: 18px; height: 18px; fill: currentColor; }
.gmb-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.gmb-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.gmb-review-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
}
.gmb-review-item:last-child { border-bottom: none; padding-bottom: 0; }
.gmb-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.gmb-reviewer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}
.gmb-reviewer img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.gmb-review-time {
    font-size: 0.8rem;
    color: var(--text-light);
}
.gmb-review-text {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   FORMULAIRE VUD — PLEINE LARGEUR
   ============================================ */
.artisan-form-fullwidth {
    width: 100%;
    margin-top: 2rem;
    background: var(--card-bg);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
    .artisan-form-fullwidth {
        padding: 2.5rem 3rem;
    }
}

.form-block-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--primary-light);
}
.form-block-header > i {
    width: 28px; height: 28px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.form-block-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}
.form-block-header p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.vud-inline-wrapper {
    min-height: 80px;
    width: 100%;
}

.vud-inline-wrapper > div,
.vud-inline-wrapper iframe,
.vud-inline-wrapper form {
    width: 100% !important;
    max-width: 100% !important;
}

.form-disclaimer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-color);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}
.form-disclaimer i { width: 14px; height: 14px; color: var(--success); flex-shrink: 0; }

/* Bloc réassurance artisan */
.artisan-reassurance-block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.reassurance-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-color);
}
.reassurance-row:last-child { border-bottom: none; padding-bottom: 0; }
.reassurance-row > i {
    width: 22px; height: 22px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.reassurance-row strong { display: block; font-size: 0.93rem; font-weight: 700; color: var(--text-color); margin-bottom: 0.15rem; }
.reassurance-row p { font-size: 0.83rem; color: var(--text-light); margin: 0; }

/* ============================================
   SIDEBAR ARTISAN (colonne droite sticky)
   ============================================ */
.artisan-sidebar {
    display: none;
}

.sidebar-cta-block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 80px;
    margin-bottom: 1.5rem;
}
.sidebar-cta-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
}
.sidebar-cta-header > i {
    width: 24px; height: 24px;
    color: var(--primary);
}
.sidebar-cta-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0;
}
.sidebar-cta-block > p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}
.sidebar-reassurance {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.sidebar-reassurance li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}
.sidebar-reassurance li i {
    width: 14px; height: 14px;
    color: var(--success);
    flex-shrink: 0;
}

.sidebar-metier-block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(80px + 280px + 1.5rem);
}
.sidebar-metier-block h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

/* ============================================
   RESPONSIVE — TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
    .container { padding: 0 2rem; }
    .mt-6 { margin-top: 2.5rem; }
    .mb-6 { margin-bottom: 2.5rem; }

    /* Modale VUD plus large sur PC */
    .vud-modal-content {
        width: 80%;
        max-width: 900px;
    }

    /* Header */
    .main-nav {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: transparent;
        padding: 0;
        box-shadow: none;
        border-top: none;
    }
    .main-nav a { width: auto; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
    .mobile-menu-toggle { display: none !important; }

    /* Hero Home */
    .hero-home { padding: 5rem 2rem; }
    .hero-home h1 { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.15rem; }
    .hero-actions { flex-direction: row; justify-content: center; }

    /* Hero inner */
    .hero { padding: 3rem 2rem; }
    .hero h1 { font-size: 2.2rem; }

    /* Sections */
    .section { padding: 4rem 0; }
    .section-title { font-size: 2rem; }
    .section-header h2 { font-size: 2.2rem; }

    /* Content Split */
    .content-split { grid-template-columns: 1fr 1fr; gap: 3rem; }

    /* Grids */
    .grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .links-grid { grid-template-columns: repeat(3, 1fr); }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(4, 1fr); }

    /* Footer */
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    /* CTA */
    .cta-box { padding: 3rem 2rem; }
    .pre-footer-cta { padding: 4rem 2rem; }
    .pre-footer-cta h2 { font-size: 1.8rem; }
    .cta-gradient { padding: 5rem 2rem; }
    .cta-gradient h2 { font-size: 2.2rem; }

    /* Artisan profile */
    .profile-header { padding: 2.5rem 2rem; }
    .profile-header h1 { font-size: 1.8rem; }
    .profile-section { padding: 2rem; }

    /* PAGE METIERS */
    .metiers-hero .container { grid-template-columns: 1fr 1fr; }
    .metiers-hero-content h1 { font-size: 2.5rem; }
    .metiers-hero-img { display: block; }
    .metiers-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .reassurance-grid { grid-template-columns: repeat(4, 1fr); }

    /* PAGE METIER */
    .metier-hero h1 { font-size: 2.5rem; }
    .metier-hero-ctas { flex-direction: row; }
    
    /* Le nouveau list-view horizontal */
    .artisan-card-list-item {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.5rem;
    }
    .artisan-list-left {
        flex: 1.2;
        min-width: 0;
    }
    .artisan-list-middle {
        flex: 1;
        border-left: 1px solid var(--border-color);
        padding-left: 1.5rem;
        margin-left: 0.5rem;
    }
    .artisan-list-right {
        flex-direction: column;
        width: 140px;
        flex-shrink: 0;
    }
    
    .artisans-grid { grid-template-columns: repeat(2, 1fr); }
    
    .artisans-cta-inline { flex-direction: row; align-items: center; }
    .metiers-lies-grid { grid-template-columns: repeat(2, 1fr); }

    /* FICHE ARTISAN */
    .artisan-hero-inner { flex-direction: row; align-items: center; }
    .artisan-hero-avatar { width: 88px; height: 88px; font-size: 2rem; }
    .artisan-hero-content h1 { font-size: 2.2rem; }
    .artisan-hero-ctas { flex-direction: row; }

    .artisan-layout { grid-template-columns: 1fr 300px; gap: 2rem; }
    .artisan-sidebar { display: block; }
}

/* ============================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .hero-home { padding: 6rem 2rem; }
    .hero-home h1 { font-size: 3.2rem; }
    .hero-subtitle { font-size: 1.2rem; }

    .grid { grid-template-columns: repeat(3, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .links-grid { grid-template-columns: repeat(4, 1fr); }

    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
    .section-title { font-size: 2.2rem; }

    /* PAGE METIERS */
    .metiers-cards-grid { grid-template-columns: repeat(3, 1fr); }
    .reassurance-grid { grid-template-columns: repeat(4, 1fr); }

    /* PAGE METIER */
    .artisans-grid { grid-template-columns: repeat(3, 1fr); }
    .metiers-lies-grid { grid-template-columns: repeat(3, 1fr); }

    /* FICHE ARTISAN */
    .artisan-layout { grid-template-columns: 1fr 380px; gap: 2.5rem; }
}

/* ============================================
   RESPONSIVE — LARGE DESKTOP (1200px+)
   ============================================ */
@media (min-width: 1200px) {
    .hero-home h1 { font-size: 3.5rem; }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    
    .artisan-list-right {
        flex-direction: row;
        width: auto;
    }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    .site-header, .site-footer, .pre-footer-cta, .vud-modal-overlay, .btn, .mobile-sticky-bar { display: none !important; }
    body { background: #fff; color: #000; padding-bottom: 0 !important; }
    .card { box-shadow: none; border: 1px solid #ccc; }
}