:root {
    --primary: #0077B6;
    --primary-hover: #005f92;
    --primary-light: #e0f2fe;
    --secondary: #90E0EF;
    --secondary-hover: #ade8f4;
    --accent: #caf0f8;
    --dark: #023e8a;
    --text: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body { font-family: var(--font-main); background-color: var(--gray-50); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--dark); }

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

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

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

.text-primary { color: var(--primary); }
.highlight { color: var(--secondary); }

/* ===== HEADER ===== */
header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
}

nav { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { font-weight: 600; color: var(--text-muted); font-size: 0.9rem; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 8px 18px;
    border-radius: var(--radius);
    font-size: 0.85rem !important;
}
.nav-cta:hover { background: var(--primary-hover) !important; color: white !important; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; cursor: pointer; transition: var(--transition); border: none; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }

.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 14px 0 rgba(0,119,182,0.39); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); color: white; }

.btn-secondary { background: var(--white); color: var(--text); border: 1px solid var(--gray-200); }
.btn-secondary:hover { background: var(--gray-100); }

.btn-ghost { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-ghost:hover { background: var(--primary-light); }

/* PRO HERO PAGES */
.pro-hero {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
}

.pro-hero-bg { position: absolute; inset: 0; pointer-events: none; }

.pro-hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}
.shape-1 { width: 400px; height: 400px; background: rgba(0,119,182,0.12); top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; background: rgba(144,224,239,0.15); bottom: -50px; left: 20%; }
.shape-3 { width: 200px; height: 200px; background: rgba(202,240,248,0.2); top: 50%; left: -50px; }

.pro-hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }

.pro-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,119,182,0.08);
    color: var(--primary);
    border: 1px solid rgba(0,119,182,0.2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.pro-hero h1 { font-size: 2.8rem; margin-bottom: 20px; line-height: 1.15; }
.pro-hero-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 32px; max-width: 500px; }

.pro-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 16px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 4px 20px rgba(0,119,182,0.4);
    transition: var(--transition);
}
.btn-primary-lg:hover { background: var(--primary-hover); transform: translateY(-2px); color: white; }

.btn-outline-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 16px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid var(--primary);
    transition: var(--transition);
}
.btn-outline-lg:hover { background: var(--primary-light); }

.btn-urgence-lg {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 18px 32px;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(220,38,38,0.4);
    transition: var(--transition);
    animation: pulse-red 2s infinite;
}
.btn-urgence-lg:hover { transform: translateY(-2px); color: white; }

@keyframes pulse-red {
    0%,100% { box-shadow: 0 4px 20px rgba(220,38,38,0.4); }
    50% { box-shadow: 0 4px 30px rgba(220,38,38,0.7); }
}

.btn-urgence {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #dc2626;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 1rem;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-urgence:hover { background: #fee2e2; }

.btn-white-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 16px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.btn-white-lg:hover { transform: translateY(-2px); }

.btn-outline-white-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 16px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid rgba(255,255,255,0.5);
    transition: var(--transition);
}
.btn-outline-white-lg:hover { background: rgba(255,255,255,0.1); color: white; }

.btn-pulse {
    animation: pulse-btn 2s infinite;
}
@keyframes pulse-btn {
    0%,100% { box-shadow: 0 4px 20px rgba(255,255,255,0.3); }
    50% { box-shadow: 0 4px 30px rgba(255,255,255,0.6); }
}

.pro-hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.stat-label { display: block; font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

/* Hero Visual Card */
.pro-hero-card-visual {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    text-align: center;
    position: relative;
}

.visual-icon-big { margin-bottom: 16px; display: flex; justify-content: center; color: var(--primary); }
.visual-label { font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; color: var(--dark); margin-bottom: 4px; }
.visual-sublabel { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.visual-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.vtag { padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 600; background: var(--primary-light); color: var(--primary); }

/* Urgence banner */
.urgence-banner {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.02em;
}

.urgence-badge-big {
    background: #dc2626;
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    display: inline-block;
}

/* Contact Strip */
.pro-contact-strip {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
}

.contact-strip-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.contact-strip-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.contact-strip-info a { color: var(--text-muted); font-weight: 600; }
.contact-strip-info a:hover { color: var(--primary); }
.contact-strip-cta { margin-left: auto; }

/* Urgence Strip */
.urgence-strip {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    padding: 20px 0;
}
.urgence-strip-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.urgence-icon {
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.urgence-text { flex: 1; color: white; }
.urgence-text strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.urgence-text span { font-size: 0.88rem; opacity: 0.9; }

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}
.section-header h2 { font-size: 2.2rem; margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1rem; }

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

/* Services Grid Pro */
.pro-services { padding: 80px 0; background: var(--gray-50); }

.services-grid-pro {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card-pro {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    position: relative;
}
.service-card-pro:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.service-card-pro h3 { font-size: 1.1rem; margin: 16px 0 10px; }
.service-card-pro p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }

.service-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}

.service-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-list li { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }

.urgent-card {
    border-color: rgba(220,38,38,0.2);
    background: linear-gradient(to bottom right, white, #fff5f5);
}
.urgent-card:hover { border-color: #dc2626; }
.urgent-tag {
    position: absolute;
    top: -10px;
    left: 20px;
    background: #dc2626;
    color: white;
    padding: 2px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

/* Aides Section */
.aides-section { padding: 80px 0; background: white; }
.aides-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.aides-content h2 { font-size: 2rem; margin-bottom: 16px; }
.aides-content p { color: var(--text-muted); margin-bottom: 28px; }
.aides-grid { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.aide-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px; background: var(--gray-50); border-radius: var(--radius); }
.aide-icon { font-size: 1.5rem; flex-shrink: 0; }
.aide-item strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.aide-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.aides-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.atag { padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 600; background: var(--primary-light); color: var(--primary); }

.aides-card-visual {
    background: linear-gradient(135deg, var(--primary), #0369a1);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
    text-align: center;
}
.aides-percent { margin-bottom: 20px; }
.aides-big { font-size: 3.5rem; font-weight: 800; display: block; }
.aides-small { font-size: 0.9rem; opacity: 0.8; }
.aides-divider { height: 1px; background: rgba(255,255,255,0.2); margin: 20px 0; }
.aides-fact { font-size: 0.9rem; opacity: 0.85; line-height: 1.5; }

/* Simulateur */
.simulateur-section { padding: 80px 0; background: var(--gray-50); }
.simulateur-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.sim-form { display: flex; flex-direction: column; gap: 24px; }
.sim-field { display: flex; flex-direction: column; gap: 8px; }
.sim-field label { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.sim-field select, .sim-field input[type=range] { padding: 10px; border-radius: var(--radius); border: 1px solid var(--gray-300); font-family: var(--font-main); font-size: 0.95rem; cursor: pointer; }
.sim-field input[type=range] { padding: 0; border: none; accent-color: var(--primary); }
.sim-val { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

.sim-result {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 32px;
    min-height: 200px;
}
.sim-result p { color: var(--text-muted); margin-top: 12px; }
.sim-result-header { font-weight: 600; color: var(--text-muted); margin-bottom: 8px; font-size: 0.9rem; }
.sim-result-price { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.sim-result-detail { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.sim-result-note { font-size: 0.82rem; color: var(--text-muted); background: var(--primary-light); padding: 8px 12px; border-radius: var(--radius); }

/* FAQ */
.faq-section { padding: 80px 0; background: white; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary); }
.faq-question {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    gap: 16px;
}
.faq-answer { display: none; padding: 0 24px 20px; }
.faq-answer p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* Villes Chips */
.villes-section { padding: 60px 0; background: var(--gray-50); }
.villes-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ville-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}
.ville-chip:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); }

/* CTA Final */
.cta-final { padding: 60px 0; }
.cta-final-inner {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    color: white;
}
.cta-final-content h2 { font-size: 2.2rem; color: white; margin-bottom: 16px; }
.cta-final-content p { opacity: 0.85; margin-bottom: 32px; font-size: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-final-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.urgence-flag { background: rgba(255,255,255,0.2); padding: 6px 18px; border-radius: var(--radius-full); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.05em; display: inline-block; margin-bottom: 16px; }

/* Rating */
.rating-display { display: flex; align-items: center; gap: 8px; margin: 12px 0; justify-content: center; }
.stars { color: #f59e0b; font-size: 1.1rem; }
.rating-num { font-weight: 800; color: var(--dark); }
.rating-count { font-size: 0.82rem; color: var(--text-muted); }

/* Avis Grid */
.avis-section { padding: 80px 0; background: var(--gray-50); }
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.avis-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}
.avis-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 12px; }
.avis-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; font-style: italic; margin-bottom: 16px; }
.avis-author { font-size: 0.82rem; font-weight: 600; color: var(--text); }

.avis-global { text-align: center; padding: 32px; background: white; border-radius: var(--radius-lg); max-width: 280px; margin: 0 auto; box-shadow: var(--shadow-md); }
.avis-score { font-size: 3rem; font-weight: 800; color: var(--dark); }
.avis-stars-big { color: #f59e0b; font-size: 1.5rem; margin: 4px 0; }
.avis-count { font-size: 0.85rem; color: var(--text-muted); }

/* Process Steps */
.process-section { padding: 80px 0; background: white; }
.process-steps { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.process-step {
    flex: 1;
    min-width: 180px;
    max-width: 240px;
    text-align: center;
    padding: 28px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    position: relative;
}
.step-num {
    width: 36px; height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    margin: 0 auto 12px;
}
.step-icon { margin-bottom: 12px; display: flex; justify-content: center; }
.process-step h3 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.82rem; color: var(--text-muted); }
.process-arrow { font-size: 1.5rem; color: var(--primary); opacity: 0.4; padding: 0 8px; flex-shrink: 0; }

/* ===== HERO HOMEPAGE ===== */
.hero {
    padding: 100px 0 120px;
    background: radial-gradient(circle at top right, var(--accent), transparent),
                radial-gradient(circle at bottom left, var(--primary-light), transparent);
    overflow: hidden;
    position: relative;
}

.hero-eyebrow {
    background: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero h1 { font-size: 4rem; margin-bottom: 24px; max-width: 800px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 600px; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 48px; margin-top: 60px; }
.hero-stat strong { display: block; font-size: 2rem; color: var(--dark); }
.hero-stat span { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

/* ===== ARTISAN CARDS ===== */
.artisan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    gap: 32px;
    align-items: center;
    position: relative;
    border: 1px solid var(--gray-100);
}
.artisan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.artisan-card.premium { border: 2px solid var(--primary); background: linear-gradient(to bottom right, var(--white), var(--accent)); }

.premium-badge {
    position: absolute; top: -12px; left: 32px;
    background: var(--primary); color: var(--white);
    padding: 4px 16px; border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 800; box-shadow: var(--shadow-md);
}

.metier-picto {
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px; color: var(--white); box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.picto-menuiserie { background: #0ea5e9; }
.picto-electricite { background: #f59e0b; }
.picto-couverture, .picto-toiture { background: #ef4444; }
.picto-maconnerie { background: #64748b; }
.picto-plomberie { background: #3b82f6; }
.picto-renovation { background: #8b5cf6; }
.picto-plaquiste { background: #14b8a6; }
.picto-peinture { background: #ec4899; }
.picto-serrurerie { background: #475569; }
.picto-default { background: #0077B6; }

/* Recommended Grid */
.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.rec-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex; flex-direction: column; height: 100%;
    position: relative;
    overflow: hidden;
}
.rec-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
}
.rec-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.rec-card:hover::before { opacity: 1; }

.rec-card-header { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.rec-card-name h4 { font-size: 1rem; margin-bottom: 4px; }
.rec-metier-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; }

.tag-menuiserie { background: #e0f2fe; color: #0369a1; }
.tag-electricite { background: #fef3c7; color: #92400e; }
.tag-plomberie { background: #dbeafe; color: #1e40af; }
.tag-couverture { background: #fee2e2; color: #991b1b; }
.tag-renovation { background: #f3e8ff; color: #6b21a8; }
.tag-plaquiste { background: #ccfbf1; color: #0f766e; }
.tag-maconnerie { background: #f1f5f9; color: #475569; }
.tag-peinture { background: #fdf2f8; color: #9d174d; }
.tag-default { background: var(--primary-light); color: var(--primary); }

.rec-card-meta { flex-grow: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.rec-meta-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.rec-card-footer { padding-top: 16px; border-top: 1px solid var(--gray-100); }
.rec-card-footer a { font-size: 0.88rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }

/* Articles */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 32px; }

.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.article-img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.article-card:hover .article-img { transform: scale(1.05); }
.article-content { padding: 24px; }
.article-tag { color: var(--primary); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; margin-bottom: 12px; display: block; }
.article-content h3 { font-size: 1.3rem; margin-bottom: 12px; }
.article-content p { color: var(--text-muted); font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Footer */
footer { background: var(--dark); color: var(--white); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 20px; display: block; }
.footer-desc { color: var(--accent); font-size: 0.95rem; opacity: 0.8; }
.footer-title { font-size: 1rem; margin-bottom: 20px; color: var(--white); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--accent); opacity: 0.7; font-size: 0.88rem; }
.footer-links a:hover { opacity: 1; color: var(--secondary); }
.footer-bottom { padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.88rem; color: var(--accent); opacity: 0.6; }

/* Animations */
.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); }

/* Section utils */
.section { padding: 80px 0; }
.section-bg-light { background-color: var(--gray-100); }
.section-bg-white { background-color: var(--white); }

/* Annuaire page */
.annuaire-grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.sidebar { position: sticky; top: 80px; height: fit-content; }
.sidebar-card { background: white; border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--gray-200); margin-bottom: 24px; }
.sidebar-card h3 { font-size: 1rem; margin-bottom: 16px; }
.filter-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.filter-list li a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--radius); font-size: 0.88rem; color: var(--text-muted); transition: var(--transition); }
.filter-list li a:hover, .filter-list li a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.filter-count { margin-left: auto; background: var(--gray-100); padding: 1px 7px; border-radius: var(--radius-full); font-size: 0.75rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .pro-hero .container { grid-template-columns: 1fr; }
    .pro-hero-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .services-grid-pro { grid-template-columns: repeat(2, 1fr); }
    .aides-inner { grid-template-columns: 1fr; }
    .avis-grid { grid-template-columns: 1fr; }
    .simulateur-card { grid-template-columns: 1fr; }
    .annuaire-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section-header { text-align: left; }
    .artisan-card { flex-direction: column; text-align: center; }
    .nav-links { display: none; }
    .hero { text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero-stats { justify-content: center; gap: 24px; }
    .pro-hero h1 { font-size: 2rem; }
    .services-grid-pro { grid-template-columns: 1fr; }
    .process-steps { flex-direction: column; }
    .process-arrow { transform: rotate(90deg); }
    .contact-strip-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
    .contact-strip-cta { width: 100%; }
    .urgence-strip-inner { flex-direction: column; text-align: center; }
    .cta-final-inner { padding: 40px 24px; }
    .cta-final-content h2 { font-size: 1.8rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .recommended-grid { grid-template-columns: 1fr; }
    .pro-hero-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .pro-hero h1 { font-size: 1.8rem; }
    .btn-primary-lg, .btn-outline-lg, .btn-urgence-lg { width: 100%; justify-content: center; }
}