/* ============================================================
   BTP SOLUTIONS - Feuille de style principale
   Version: 1.0
   Palette: Navy #1a3a5c | Orange #f5a623 | Green #2d7d46
   ============================================================ */

/* ---- VARIABLES CSS ---- */
:root {
    --primary: #1a3a5c;
    --primary-dark: #0d2238;
    --primary-light: #254e7a;
    --secondary: #f5a623;
    --secondary-dark: #e09315;
    --accent: #2d7d46;
    --accent-light: #3a9957;
    --text-dark: #1e2832;
    --text-body: #4a5568;
    --text-light: #718096;
    --bg-light: #f7f8fa;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(26,58,92,0.08);
    --shadow-md: 0 8px 30px rgba(26,58,92,0.12);
    --shadow-lg: 0 20px 60px rgba(26,58,92,0.18);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-accent: 'Raleway', sans-serif;
    --container-max: 1320px;
    --navbar-h: 80px;
    --topbar-h: 42px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- CONTAINER ---- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.9rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- SECTION HEADER ---- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,166,35,0.12);
    color: var(--secondary-dark);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(245,166,35,0.25);
    margin-bottom: 16px;
}
.section-title {
    color: var(--primary);
    margin-bottom: 16px;
}
.section-title span { color: var(--secondary); }
.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
    margin: 20px auto 0;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid transparent;
}
.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--primary-dark);
    border-color: transparent;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), #c4780e);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245,166,35,0.4);
    color: var(--primary-dark);
}
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}
.btn-white {
    background: var(--bg-white);
    color: var(--primary);
    border-color: var(--bg-white);
}
.btn-white:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    border-color: var(--secondary);
    transform: translateY(-2px);
}
.btn-outline-white {
    background: transparent;
    color: var(--bg-white);
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--bg-white);
}
.btn-lg { padding: 18px 36px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 9px 18px; font-size: 0.8rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---- TOPBAR ---- */
.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.topbar-left a, .topbar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.8);
    transition: color var(--transition);
}
.topbar-left a:hover { color: var(--secondary); }
.topbar-right a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
    font-size: 0.85rem;
}
.topbar-right a:hover { color: var(--secondary); }
.lang-switcher a { font-weight: 600; }
.lang-switcher a.active { color: var(--secondary); }

/* ---- NAVBAR ---- */
.navbar {
    background: var(--bg-white);
    height: var(--navbar-h);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
    height: 70px;
}
.navbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.logo-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.logo-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary);
}
.logo-icon span {
    color: white;
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.4rem;
}
.logo-text strong {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    letter-spacing: 1px;
}
.logo-text small {
    display: block;
    font-size: 0.68rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}
/* Nav list */
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    border-radius: 8px;
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-link:hover, .nav-item.active .nav-link {
    color: var(--primary);
    background: rgba(26,58,92,0.06);
}
.nav-item.active .nav-link { color: var(--secondary-dark); }
.nav-link .fa-chevron-down { font-size: 0.7rem; transition: transform var(--transition); }
.nav-item.has-dropdown:hover .fa-chevron-down { transform: rotate(180deg); }

/* Mega dropdown */
.dropdown-mega {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    min-width: 600px;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    pointer-events: none;
}
.nav-item.has-dropdown:hover .dropdown-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    top: calc(100% + 5px);
}
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-body);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--transition);
}
.dropdown-item:hover {
    background: rgba(26,58,92,0.05);
    color: var(--primary);
}
.dropdown-icon {
    width: 36px;
    height: 36px;
    background: rgba(26,58,92,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: all var(--transition);
}
.dropdown-item:hover .dropdown-icon {
    background: var(--secondary);
    color: white;
}
.dropdown-cta {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    text-align: center;
}
/* Simple dropdown */
.dropdown-simple {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    min-width: 220px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    pointer-events: none;
}
.nav-item.has-dropdown:hover .dropdown-simple {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    top: calc(100% + 5px);
}
.dropdown-simple li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-body);
    transition: all var(--transition);
}
.dropdown-simple li a:hover { background: rgba(26,58,92,0.05); color: var(--primary); }
.dropdown-simple li a i { width: 18px; color: var(--secondary); }

/* Navbar actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.btn-devis { font-size: 0.88rem; padding: 11px 22px; }

/* Burger */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 6px;
}
.burger-menu span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
}
.burger-menu.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger-menu.open span:nth-child(2) { opacity: 0; }
.burger-menu.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- HERO SECTION ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.15;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,34,56,0.9) 0%, rgba(26,58,92,0.7) 100%);
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(245,166,35,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(45,125,70,0.1) 0%, transparent 50%);
    z-index: 1;
}
.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}
.hero-content { color: white; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,166,35,0.2);
    border: 1px solid rgba(245,166,35,0.4);
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease both;
}
.hero-title {
    color: white;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s 0.2s ease both;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title .highlight { color: var(--secondary); }
.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s 0.4s ease both;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s 0.6s ease both;
}
.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 0.8s ease both;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { text-align: center; }
.hero-stat-number {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero visual */
.hero-visual {
    animation: fadeInRight 1s 0.3s ease both;
}
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    color: white;
    transition: all var(--transition);
}
.hero-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}
.hero-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(245,166,35,0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 14px;
}
.hero-card h4 { font-size: 0.9rem; color: white; margin-bottom: 6px; }
.hero-card p { font-size: 0.78rem; color: rgba(255,255,255,0.7); margin: 0; }
.hero-card.featured {
    grid-column: span 2;
    background: rgba(245,166,35,0.15);
    border-color: rgba(245,166,35,0.3);
}

/* ---- SCROLL INDICATOR ---- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}
.scroll-indicator span {
    display: block;
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

/* ---- SECTIONS GÉNÉRALES ---- */
.section { padding: 100px 0; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--primary-dark); color: white; }
.section-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; }

/* ---- CARD SERVICES ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,34,56,0.7) 0%, transparent 60%);
}
.service-card-icon {
    position: absolute;
    bottom: -20px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(245,166,35,0.4);
    z-index: 1;
}
.service-card-body {
    padding: 32px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card-body h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.service-card-body p {
    font-size: 0.9rem;
    color: var(--text-body);
    flex: 1;
}
.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}
.service-card-link {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}
.service-card-link:hover { gap: 10px; color: var(--secondary-dark); }

/* ---- CHIFFRES CLÉS ---- */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero/hero-bg.jpg') center/cover;
    opacity: 0.05;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
    color: white;
    padding: 30px 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(245,166,35,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--secondary);
    font-size: 1.5rem;
}
.stat-number {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* ---- PROJETS / GALERIE ---- */
.projets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.projet-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.projet-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.projet-card:hover img { transform: scale(1.1); }
.projet-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,34,56,0.9) 0%, rgba(13,34,56,0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}
.projet-card:hover .projet-card-overlay { opacity: 1; }
.projet-card-cat {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.projet-card h4 { color: white; font-size: 1rem; }
.projet-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
}

/* ---- TIMELINE EXPERTISE ---- */
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
    transform: translateX(-50%);
}
.timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 50px;
}
.timeline-content {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.timeline-content:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.timeline-item:nth-child(even) .timeline-content:first-child { order: 3; }
.timeline-item:nth-child(even) .timeline-dot { order: 2; }
.timeline-dot {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.1rem;
    margin: 0 auto;
    z-index: 1;
    border: 4px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--secondary);
}
.timeline-year {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.timeline-content h4 { color: var(--primary); margin-bottom: 8px; }

/* ---- TÉMOIGNAGES ---- */
.temoignages-slider .swiper-slide {
    padding: 10px;
}
.temoignage-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    transition: all var(--transition);
}
.temoignage-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.temoignage-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 5rem;
    color: rgba(26,58,92,0.08);
    font-family: Georgia, serif;
    line-height: 1;
}
.temoignage-stars {
    display: flex;
    gap: 3px;
    color: var(--secondary);
    margin-bottom: 16px;
}
.temoignage-text {
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}
.temoignage-author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.temoignage-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
}
.temoignage-avatar-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.temoignage-author-info strong { display: block; color: var(--text-dark); font-size: 0.95rem; }
.temoignage-author-info span { font-size: 0.82rem; color: var(--text-light); }

/* ---- PARTENAIRES ---- */
.partenaires-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 80px;
}
.partenaires-slider .swiper-slide img {
    max-height: 50px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all var(--transition);
}
.partenaires-slider .swiper-slide:hover img { filter: none; opacity: 1; }

/* ---- POURQUOI NOUS ---- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.why-list { list-style: none; }
.why-item {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.why-item:last-child { border-bottom: none; }
.why-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.why-item h4 { color: var(--primary); margin-bottom: 6px; }
.why-item p { font-size: 0.9rem; margin: 0; }
.why-image-block { position: relative; }
.why-image-block img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}
.why-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--secondary);
    color: var(--primary-dark);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
}
.why-badge strong { display: block; font-size: 2rem; font-family: var(--font-head); font-weight: 900; }
.why-badge span { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* ---- CTA SECTION ---- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
}
.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
}
.cta-content { color: white; }
.cta-content h2 { color: white; margin-bottom: 12px; }
.cta-content p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- FORMULAIRE DEVIS ---- */
.form-section {
    max-width: 800px;
    margin: 0 auto;
}
.form-group {
    margin-bottom: 24px;
}
.form-label {
    display: block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.form-label .required { color: #e53e3e; }
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}
.form-control::placeholder { color: var(--text-light); }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 140px; }
.honeypot-field { display: none !important; }
.form-error { color: #e53e3e; font-size: 0.82rem; margin-top: 5px; }
.form-success-msg {
    background: rgba(45,125,70,0.1);
    border: 1px solid rgba(45,125,70,0.3);
    color: var(--accent);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

/* ---- ALERT ---- */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    margin-bottom: 20px;
    position: fixed;
    top: calc(var(--topbar-h) + var(--navbar-h) + 16px);
    right: 16px;
    z-index: 9999;
    min-width: 300px;
    max-width: 450px;
    box-shadow: var(--shadow-md);
    animation: slideInRight 0.4s ease;
}
.alert-success { background: #f0fff4; border: 1px solid #9ae6b4; color: #276749; }
.alert-error { background: #fff5f5; border: 1px solid #feb2b2; color: #9b2c2c; }
.alert-warning { background: #fffbf0; border: 1px solid #fbd38d; color: #744210; }
.alert-info { background: #ebf8ff; border: 1px solid #90cdf4; color: #2a69ac; }
.alert-close { margin-left: auto; font-size: 1.2rem; line-height: 1; padding: 2px 6px; border-radius: 4px; }
.alert-close:hover { background: rgba(0,0,0,0.1); }

/* ---- PAGE BANNER ---- */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    color: white;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero/hero-bg.jpg') center/cover;
    opacity: 0.08;
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}
.page-banner-inner {
    position: relative;
    z-index: 1;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb i { font-size: 0.7rem; }
.breadcrumb .active { color: var(--secondary); font-weight: 600; }
.page-banner h1 { color: white; }
.page-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 600px; margin-top: 12px; }

/* ---- CERTIFICATIONS ---- */
.certif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.certif-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
}
.certif-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.certif-card img { max-height: 60px; margin: 0 auto 14px; }
.certif-card h5 { color: var(--primary); font-size: 0.9rem; margin-bottom: 4px; }
.certif-card p { font-size: 0.8rem; color: var(--text-light); margin: 0; }

/* ---- BACK TO TOP ---- */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    z-index: 1000;
    transition: all var(--transition);
    animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--text-dark);
    color: white;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ---- FOOTER ---- */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 80px 0 50px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}
.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.footer-about .logo-text strong { color: white; }
.footer-about .logo-text small { color: rgba(255,255,255,0.5); }
.footer-about p { font-size: 0.88rem; line-height: 1.8; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.footer-certif { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.certif-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(245,166,35,0.15);
    border: 1px solid rgba(245,166,35,0.3);
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--secondary); color: var(--primary-dark); }
.footer-title {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(245,166,35,0.3);
    position: relative;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    transition: all var(--transition);
}
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.footer-links a i { color: var(--secondary); font-size: 0.7rem; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
}
.footer-contact-list i { color: var(--secondary); margin-top: 3px; width: 16px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,0.65); }
.footer-contact-list a:hover { color: var(--secondary); }
.footer-newsletter h5 { color: white; font-size: 0.9rem; margin-bottom: 12px; }
.newsletter-input-group {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}
.newsletter-input-group input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border: none;
    color: white;
    font-size: 0.88rem;
    outline: none;
}
.newsletter-input-group input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input-group button {
    padding: 12px 18px;
    background: var(--secondary);
    color: var(--primary-dark);
    font-size: 0.9rem;
    transition: background var(--transition);
}
.newsletter-input-group button:hover { background: var(--secondary-dark); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--secondary); }

/* ---- PAGINATION ---- */
.pagination-nav { display: flex; justify-content: center; margin-top: 50px; }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.btn-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-body);
    transition: all var(--transition);
}
.btn-page:hover, .btn-page.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ---- SWIPER CUSTOM ---- */
.swiper-pagination-bullet { background: var(--primary); opacity: 0.3; }
.swiper-pagination-bullet-active { background: var(--secondary); opacity: 1; }
.swiper-button-next, .swiper-button-prev {
    width: 46px !important;
    height: 46px !important;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    color: var(--primary) !important;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 14px !important; font-weight: 900; }

/* ---- MAP ---- */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.map-container iframe { display: block; width: 100%; }

/* ---- LOADER ---- */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; color: white; }
.loader-logo { font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--secondary); margin-bottom: 20px; }
.loader-bar { width: 200px; height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.loader-bar-fill { height: 100%; background: linear-gradient(90deg, var(--secondary), var(--accent)); animation: loadingBar 1.5s ease-in-out infinite; }

/* ---- ANIMATIONS ---- */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); } 50% { box-shadow: 0 4px 40px rgba(37,211,102,0.8); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes loadingBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }

/* ---- UTILITAIRES ---- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; }
.d-flex { display: flex; } .align-center { align-items: center; } .justify-center { justify-content: center; }
.gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(26,58,92,0.08);
    color: var(--primary);
}
.tag.success { background: rgba(45,125,70,0.1); color: var(--accent); }
.tag.warning { background: rgba(245,166,35,0.12); color: var(--secondary-dark); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
}

@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .projets-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .why-image-block { display: none; }
    .cta-inner { grid-template-columns: 1fr; text-align: center; }
    .cta-actions { justify-content: center; }
    .navbar-nav { display: none; }
    .burger-menu { display: flex; }
    .navbar-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: calc(var(--topbar-h) + var(--navbar-h));
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-white);
        padding: 24px;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    .nav-list { flex-direction: column; gap: 0; width: 100%; }
    .nav-link { padding: 14px 16px; border-radius: 8px; font-size: 1rem; }
    .dropdown-mega, .dropdown-simple {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--border);
        border-radius: 0;
        padding: 8px 0 8px 16px;
        margin-left: 16px;
        pointer-events: auto;
        display: none;
    }
    .nav-item.has-dropdown.open .dropdown-mega,
    .nav-item.has-dropdown.open .dropdown-simple { display: block; }
    .dropdown-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 24px; }
    .timeline-item { grid-template-columns: 50px 1fr; }
    .timeline-item:nth-child(even) .timeline-content:first-child { order: unset; }
    .timeline-dot { margin: 0; }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .navbar { top: 0; }
    :root { --topbar-h: 0px; }
    .section { padding: 70px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .projets-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .hero-container { padding: 80px 24px 60px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .btn-devis span { display: none; }
}
