/* ============================================
   ANNUAIRE DÉMÉNAGEURS - CSS PRINCIPAL
   Design inspiré de annuaire-pisciniste.fr
   Palette: Bleu marine, Orange, Cyan, Blanc
   ============================================ */

/* ---- VARIABLES ---- */
:root {
    --primary: #1e3a5f;
    --primary-light: #2a5080;
    --primary-dark: #0f2440;
    --secondary: #e67e22;
    --secondary-light: #f39c4a;
    --accent: #0891b2;
    --accent-light: #22b8cf;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 999px;
    --transition: all .25s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
}

/* ---- RESET / BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--primary-dark); line-height: 1.3; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ---- HEADER ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(30, 58, 95, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 0;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.site-header.scrolled {
    background: rgba(15, 36, 64, 0.98);
    box-shadow: var(--shadow-lg);
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 1.2rem;
}
.logo:hover { color: var(--white); }
.logo-icon { font-size: 1.6rem; }
.logo-text { font-weight: 300; letter-spacing: -0.5px; }
.logo-text strong { font-weight: 700; }
.logo-dot { color: var(--secondary); font-weight: 700; }
.main-nav ul { display: flex; gap: 30px; list-style: none; }
.main-nav a {
    color: rgba(255,255,255,.85);
    font-weight: 500;
    font-size: .95rem;
    padding: 8px 0;
    position: relative;
}
.main-nav a:hover { color: var(--white); }
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}
.main-nav a:hover::after { width: 100%; }
.nav-cta {
    background: var(--secondary) !important;
    color: var(--white) !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
}
.nav-cta:hover { background: var(--secondary-light) !important; }
.nav-cta::after { display: none !important; }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}
.mobile-nav { display: none; background: var(--primary-dark); }
.mobile-nav ul { list-style: none; padding: 15px 20px; }
.mobile-nav a { color: var(--white); display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 500; }

/* ---- HERO ---- */
.hero {
    position: relative;
    background: url('../img/hero-bg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 36, 64, 0.85), rgba(30, 58, 95, 0.4));
    z-index: 0;
}
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-badge {
    display: inline-block;
    background: rgba(8, 145, 178, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-highlight {
    color: var(--secondary-light);
}
.hero-subtitle { 
    color: rgba(255,255,255,0.95); 
    font-size: 1.25rem; 
    margin-bottom: 45px; 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

/* Search bar premium */
.hero-search {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    padding: 6px;
    backdrop-filter: blur(10px);
}
.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 16px;
}
.search-icon { font-size: 1.2rem; margin-right: 10px; }
.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: var(--font);
    padding: 14px 0;
    background: transparent;
    color: var(--gray-800);
}
.hero-search input::placeholder { color: var(--gray-400); }

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-primary:hover { background: var(--secondary-light); border-color: var(--secondary-light); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--gray-50); }
.btn-sm { padding: 6px 14px; font-size: .85rem; }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-block { display: flex; width: 100%; }

/* ---- STATS BAR ---- */
.stats-bar { background: var(--white); padding: 30px 0; border-bottom: 1px solid var(--gray-200); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: .9rem; color: var(--gray-500); font-weight: 500; }

/* ---- SECTIONS ---- */
.services-section, .features-section, .regions-section, .faq-section { padding: 70px 0; }
.services-section { background: var(--gray-50); }
.features-section { background: var(--white); }
.regions-section { background: var(--gray-50); }
.section-title { text-align: center; font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--gray-500); margin-bottom: 45px; font-size: 1.05rem; }

/* Service cards */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--accent); }
.service-icon { 
    height: 100px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 20px; 
}
.service-icon img {
    max-height: 100%;
    width: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 12px; font-weight: 700; color: var(--primary); }
.service-card p { font-size: .92rem; color: var(--gray-600); line-height: 1.6; }

/* Feature cards */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    text-align: center;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-image img {
    max-height: 100%;
    width: auto;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 12px; font-weight: 700; }
.feature-card p { font-size: .92rem; color: var(--gray-600); margin-bottom: 20px; line-height: 1.6; }
.blog-section { padding: 80px 0; background: var(--gray-50); }

/* Blog RSS Cards */
.blog-rss-grid { align-items: stretch; }
.blog-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-align: left; }
.blog-card-body {
    flex: 1;
    padding: 28px 26px 26px;
    display: flex;
    flex-direction: column;
}
.blog-card-date {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 12px; line-height: 1.4; }
.blog-card-body h3 a { color: var(--primary-dark); }
.blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-body p { font-size: .9rem; color: var(--gray-500); flex: 1; margin-bottom: 20px; line-height: 1.6; }


/* Region cards */
.regions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.region-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    color: var(--gray-800);
}
.region-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    color: var(--primary);
    transform: translateX(3px);
}
.region-card h3 { font-size: 1rem; font-weight: 600; color: inherit; }
.region-count { font-size: .82rem; color: var(--gray-500); display: block; margin-top: 2px; }
.region-arrow { font-size: 1.2rem; color: var(--gray-400); transition: var(--transition); }
.region-card:hover .region-arrow { color: var(--accent); transform: translateX(4px); }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}
.cta-section h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.8); max-width: 700px; margin: 0 auto 30px; font-size: 1.05rem; }
.cta-badges { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.cta-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    padding: 12px 22px;
    border-radius: var(--radius-full);
    font-weight: 600;
    backdrop-filter: blur(5px);
}
.cta-badge-icon { font-size: 1.3rem; }

/* FAQ */
.faq-section { background: var(--white); padding: 70px 0; }
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--gray-300); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 22px;
    background: var(--white);
    border: none;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}
.faq-question:hover { background: var(--gray-50); }
.faq-toggle { font-size: 1.4rem; color: var(--accent); transition: var(--transition); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-answer p { padding: 0 22px 18px; color: var(--gray-600); line-height: 1.7; font-size: .95rem; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-item.active { border-color: var(--accent); box-shadow: var(--shadow); }

/* ---- PAGE HERO (intérieur) ---- */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 100px 0 40px;
    color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 8px; }
.page-hero h1 small { font-weight: 400; opacity: .7; font-size: .6em; }
.page-hero .highlight { color: var(--secondary-light); }
.page-hero-subtitle { color: rgba(255,255,255,.7); font-size: 1.1rem; }

/* Breadcrumb */
.breadcrumb { margin-bottom: 20px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; }
.breadcrumb li { display: flex; align-items: center; font-size: .88rem; }
.breadcrumb li:not(:last-child)::after { content: '›'; margin: 0 8px; color: rgba(255,255,255,.4); }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li:last-child span { color: rgba(255,255,255,.5); }

/* ---- CONTENT LAYOUT ---- */
.content-section { padding: 50px 0 70px; }
.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.content-main h2 { font-size: 1.5rem; margin-bottom: 10px; }
.content-main > p { color: var(--gray-500); margin-bottom: 25px; }

/* Sidebar */
.content-sidebar { position: sticky; top: 90px; align-self: start; }
.sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.sidebar-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.sidebar-card p { font-size: .9rem; color: var(--gray-500); margin-bottom: 16px; }
.sidebar-cta { background: linear-gradient(135deg, var(--primary), var(--accent)); border: none; }
.sidebar-cta h3, .sidebar-cta p { color: var(--white); }
.sidebar-cta p { opacity: .85; }



/* Lead gen list */
.cta-list {
    list-style: none;
    margin: 18px 0;
    padding: 0;
}
.cta-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 0.92rem;
    margin-bottom: 10px;
    font-weight: 500;
}
.cta-list li span {
    font-size: 1.1rem;
    color: var(--secondary-light);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border: none;
}
.btn-secondary:hover {
    background: var(--secondary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    color: var(--white);
}

/* ---- DÉPARTEMENT GRID ---- */
.dept-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px; }
.dept-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
    color: var(--gray-800);
    min-height: 100px;
}
.dept-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--gray-800); }
.dept-card-header { display: flex; align-items: center; gap: 12px; }
.dept-code {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: .85rem;
    color: var(--primary);
}
.dept-card:hover .dept-code { background: var(--accent); color: var(--white); }
.dept-card h3 { font-size: 1rem; font-weight: 600; }
.dept-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.dept-count { font-size: .82rem; color: var(--gray-500); }
.dept-arrow { color: var(--gray-400); transition: var(--transition); }
.dept-card:hover .dept-arrow { color: var(--accent); transform: translateX(3px); }

/* ---- VILLES GRID ---- */
.villes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 40px; }
.ville-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    transition: var(--transition);
    color: var(--gray-800);
}
.ville-card:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--gray-800); }
.ville-info h3 { font-size: .95rem; font-weight: 600; }
.ville-cp { font-size: .82rem; color: var(--gray-400); }
.ville-meta { display: flex; align-items: center; gap: 12px; }
.ville-count { font-size: .82rem; color: var(--gray-500); background: var(--gray-100); padding: 3px 10px; border-radius: var(--radius-full); }
.ville-arrow { color: var(--gray-400); transition: var(--transition); }
.ville-card:hover .ville-arrow { color: var(--accent); }

/* ---- ENTREPRISE CARDS ---- */
.entreprises-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.entreprise-card {
    display: flex;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 22px;
    transition: var(--transition);
}
.entreprise-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.entreprise-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: var(--radius);
}
.entreprise-card-body { flex: 1; min-width: 0; }
.entreprise-card-header { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.entreprise-card-header h3 { font-size: 1.1rem; }
.entreprise-card-header h3 a { color: var(--gray-800); }
.entreprise-card-header h3 a:hover { color: var(--accent); }
.entreprise-card-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: var(--gray-500); }
.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: .8rem;
}
.meta-badge-category { background: #e0f7fa; color: var(--accent); }
.meta-item { display: flex; align-items: center; gap: 4px; }
.entreprise-card-contact { margin-top: 6px; font-size: .9rem; }
.entreprise-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    min-width: 130px;
}

/* Star rating */
.star-rating { display: inline-flex; align-items: center; gap: 2px; }
.star { font-size: 1rem; }
.star.full { color: var(--warning); }
.star.half { color: var(--warning); opacity: .6; }
.star.empty { color: var(--gray-300); }
.rating-value { margin-left: 4px; font-weight: 700; font-size: .85rem; color: var(--gray-700); }
.review-count { font-size: .82rem; color: var(--gray-400); }
.no-rating { font-size: .82rem; color: var(--gray-400); font-style: italic; }

/* ---- ENTREPRISE DETAIL HERO ---- */
.entreprise-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent));
    padding: 100px 0 40px;
    color: var(--white);
}
.entreprise-hero-content { display: flex; align-items: center; gap: 24px; margin-top: 10px; }
.entreprise-hero-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px; height: 80px;
    min-width: 80px;
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.3);
    border-radius: var(--radius-lg);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    backdrop-filter: blur(5px);
}
.entreprise-hero-info h1 { font-size: 2rem; margin-bottom: 4px; color:#ffffff;}
.entreprise-hero-category { color: rgba(255,255,255,.7); font-size: .95rem; margin-bottom: 6px; }
.entreprise-hero-rating { margin-bottom: 6px; }
.entreprise-hero-rating .star { color: var(--warning); }
.entreprise-hero-rating .review-count { color: rgba(255,255,255,.6); }
.entreprise-hero-location { color: rgba(255,255,255,.65); font-size: .95rem; }

/* Detail cards */
.detail-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 24px;
}
.detail-card h2 { font-size: 1.3rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-100); }
.detail-card p { color: var(--gray-600); line-height: 1.7; }

/* Strengths */
.strengths-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.strength-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: .92rem;
}
.strength-icon { font-size: 1.3rem; }

/* Info table */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--gray-100); font-size: .92rem; }
.info-table th { width: 160px; color: var(--gray-500); font-weight: 500; }
.info-table td { color: var(--gray-800); }
.info-table a { color: var(--accent); }

/* Nearby */
.nearby-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.nearby-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    color: var(--gray-800);
}
.nearby-card:hover { border-color: var(--accent); color: var(--gray-800); }
.nearby-avatar {
    width: 38px; height: 38px; min-width: 38px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-100); border-radius: var(--radius-sm);
    font-weight: 800; font-size: .85rem; color: var(--primary);
}
.nearby-info strong { display: block; font-size: .88rem; }
.nearby-info span { font-size: .8rem; color: var(--gray-400); }

/* ---- PAGINATION ---- */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 30px 0; flex-wrap: wrap; }
.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .9rem;
    color: var(--gray-700);
    transition: var(--transition);
}
.pagination-link:hover { border-color: var(--accent); color: var(--accent); }
.pagination-link.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.pagination-dots { display: flex; align-items: center; padding: 0 4px; color: var(--gray-400); }

/* SEO text */
.seo-text { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--gray-200); }
.seo-text h2 { font-size: 1.3rem; margin-bottom: 12px; }
.seo-text p { color: var(--gray-500); line-height: 1.7; margin-bottom: 10px; }

/* ---- SEARCH PAGE ---- */
.page-hero-search { text-align: center; padding-bottom: 50px; }
.page-hero-search .hero-search { margin-top: 20px; }
.search-results-title { font-size: 1.3rem; margin-bottom: 25px; color: var(--gray-700); }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 10px; }
.empty-state p { color: var(--gray-500); margin-bottom: 20px; }

/* ---- ERROR PAGE ---- */
.error-page { padding: 140px 0 100px; text-align: center; }
.error-code { font-size: 8rem; font-weight: 900; color: var(--gray-200); line-height: 1; }
.error-content h1 { font-size: 1.8rem; margin-bottom: 10px; }
.error-content p { color: var(--gray-500); margin-bottom: 25px; }
.error-actions { display: flex; gap: 12px; justify-content: center; }

/* ---- STATIC PAGES ---- */
.static-page { max-width: 1000px; margin: 0 auto; }
.static-page h1 { font-size: 2rem; margin-bottom: 25px; }
.static-page h2 { font-size: 1.3rem; margin-top: 30px; margin-bottom: 10px; }
.static-page p { color: var(--gray-600); line-height: 1.7; margin-bottom: 12px; }

/* Contact form */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--gray-700); font-size: .92rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: .95rem;
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, .12);
}

/* ---- FOOTER ---- */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,.8);
    padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 1.1rem; margin-bottom: 14px; }
.footer-logo:hover { color: var(--white); }
.footer-desc { font-size: .9rem; line-height: 1.6; opacity: .7; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .9rem; transition: var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    opacity: .6;
}
.footer-source { font-size: .8rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .regions-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .content-layout { grid-template-columns: 1fr; }
    .content-sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .mobile-nav.active { display: block; position: fixed; top: 68px; left: 0; right: 0; z-index: 999; }
    .hero h1 { font-size: 2rem; }
    .hero { min-height: 420px; padding: 100px 0 50px; }
    .hero-search { flex-direction: column; border-radius: var(--radius-lg); }
    .hero-search .btn { border-radius: var(--radius); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .regions-grid { grid-template-columns: 1fr; }
    .dept-grid { grid-template-columns: 1fr; }
    .villes-grid { grid-template-columns: 1fr; }
    .entreprise-card { flex-direction: column; }
    .entreprise-card-actions { flex-direction: row; flex-wrap: wrap; }
    .entreprise-hero-content { flex-direction: column; text-align: center; }
    .strengths-grid { grid-template-columns: 1fr; }
    .nearby-grid { grid-template-columns: 1fr; }
    .info-table th { width: auto; display: block; padding-bottom: 0; border: none; }
    .info-table td { display: block; padding-top: 2px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
    .content-sidebar { grid-template-columns: 1fr; }
    .cta-badges { flex-direction: column; align-items: center; }
    .error-code { font-size: 5rem; }
    .page-hero h1 { font-size: 1.6rem; }
    .section-title { font-size: 1.4rem; }
}

/* ---- CALCULATOR SECTION ---- */
.calc-section { 
    background: var(--white); 
    padding: 80px 0; 
    border-bottom: 1px solid var(--gray-100); 
}
.calc-container { 
    background: var(--gray-50); 
    border-radius: var(--radius-xl); 
    padding: 40px; 
    box-shadow: var(--shadow-xl); 
    border: 1px solid var(--gray-200);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    position: relative;
    overflow: hidden;
}
.calc-header-side {
    text-align: left;
}
.calc-icon-large {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}
.calc-info h2 { font-size: 1.8rem; margin-bottom: 15px; }
.calc-info p { color: var(--gray-600); font-size: .95rem; margin-bottom: 25px; }

/* Tabs */
.calc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 5px;
}
.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius) var(--radius) 0 0;
}
.tab-btn:hover { color: var(--accent); }
.tab-btn.active { 
    color: var(--primary); 
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-bottom: 2px solid var(--white);
    margin-bottom: -2px;
}

/* Tab Content */
.tab-content { display: none; }
.tab-content.active { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    gap: 15px; 
    animation: fadeIn .3s ease;
}

.calc-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}
.calc-item:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.item-info { flex: 1; }
.item-name { display: block; font-size: .92rem; font-weight: 600; color: var(--gray-800); }
.item-vol { font-size: .75rem; color: var(--gray-400); }

.item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-qty {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--gray-300);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-600);
    transition: var(--transition);
}
.btn-qty:hover { background: var(--gray-100); border-color: var(--gray-500); }
.qty-val { 
    font-weight: 700; 
    color: var(--primary); 
    min-width: 20px; 
    text-align: center; 
    font-size: 1rem;
}

/* Summary Bar */
.calc-summary {
    position: sticky;
    bottom: 20px;
    margin-top: 40px;
    background: var(--primary-dark);
    color: var(--white);
    padding: 24px 35px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-xl);
    z-index: 10;
}
.summary-text { display: flex; flex-direction: column; }
.summary-label { font-size: .85rem; opacity: .7; }
.summary-val { font-size: 1.8rem; font-weight: 800; color: var(--secondary-light); }
.summary-val span { font-size: 1rem; font-weight: 400; margin-left: 5px; color: var(--white); opacity: .8; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .calc-container { grid-template-columns: 1fr; }
    .calc-header-side { text-align: center; }
    .calc-icon-large { margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
    .calc-summary { flex-direction: column; gap: 20px; text-align: center; }
    .calc-tabs { justify-content: center; }
    .tab-btn { padding: 8px 12px; font-size: .85rem; }
}

/* ---- DEVIS BLOCK ---- */
.devis-section {
    max-width: 1000px;
    margin: 0 auto;
}
.devis-block {
    background: #31307d;
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    color: var(--white);
    margin: 50px 0;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.devis-block h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.devis-grid {
    display: grid;
    grid-template-columns: 1fr 600px;
    gap: 60px;
    align-items: center;
}

.devis-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.devis-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.devis-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--success);
    border-radius: 4px;
    font-size: 0.9rem;
    color: white;
}

.devis-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f39c12;
    color: var(--white) !important;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.devis-btn-large:hover {
    transform: translateY(-3px);
    background: #e67e22;
    color: var(--white) !important;
}

.devis-widget-box {
    background: white;
    padding: 10px;
    border-radius: 12px;
    color: var(--gray-800) !important;
}

.devis-widget-box iframe {
    width: 100%;
}

/* Mobile adaptation */
@media (max-width: 900px) {
    .devis-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .devis-block {
        padding: 40px 20px;
    }

    .devis-block h2 {
        font-size: 1.6rem;
    }

    .devis-btn-large {
        width: 100%;
        font-size: 0.95rem;
    }
}