/* ============================================
   MINESAFE DEVELOPMENT - STYLE CENTRALISÉ COMPLET
   Version: 3.0
   Thème: Industriel Premium | Or & Bleu profond
   Dernière mise à jour: 2025
   ============================================ */

/* ========== VARIABLES ========== */
:root {
    /* Couleurs principales */
    --gold: #D4AF37;
    --gold-dark: #B4942C;
    --gold-light: #F3E5AB;
    --dark: #0F1A1F;
    --dark-blue: #1A2A2F;
    --steel: #2C3E42;
    --light-steel: #EFF3F0;
    
    /* Couleurs neutres */
    --white: #FFFFFF;
    --off-white: #FAF9F7;
    --gray: #4A5B66;
    --gray-light: #8A9AAA;
    --border: #E8E2D4;
    
    /* Ombres */
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 12px 28px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-gold: 0 4px 15px rgba(212,175,55,0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Typographie */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--off-white);
    color: var(--dark-blue);
    line-height: 1.5;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* ========== UTILITAIRES ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 2rem;
}

.section-white {
    background: var(--white);
}

.section-light {
    background: var(--light-steel);
}

.section-dark {
    background: var(--dark-blue);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 1.5rem auto 0;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

/* ========== BOUTONS ========== */
.btn-primary {
    background: var(--gold);
    color: var(--dark-blue);
    padding: 1rem 2rem;
    border-radius: 48px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--gold);
    background: transparent;
    padding: 0.9rem 1.8rem;
    border-radius: 48px;
    text-decoration: none;
    font-weight: 600;
    color: var(--dark-blue);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--dark-blue);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--gold);
    background: transparent;
    padding: 0.8rem 1.8rem;
    border-radius: 48px;
    text-decoration: none;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-light:hover {
    background: var(--gold);
    color: var(--dark-blue);
    transform: translateY(-2px);
}

.btn-sm {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    background: var(--gold-light);
    color: var(--dark-blue);
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-sm:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

/* ========== HEADER & NAVIGATION ========== */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.15rem 0;
    text-decoration: none;
    background: transparent;
}

.logo-image {
    height: 3rem;
    width: auto;
    display: block;
    object-fit: contain;
    background-color: transparent;
}

.logo-icon {
    font-size: 2rem;
    color: var(--gold);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--dark-blue);
    letter-spacing: -0.3px;
}

.logo-text span {
    color: var(--gold);
}

.logo-sub {
    font-size: 0.72rem;
    letter-spacing: 1.8px;
    color: var(--gray);
    margin-left: 0;
}

/* Menu de navigation */
.nav-menu {
    display: flex;
    gap: 2.2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    color: var(--steel);
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
}

/* Bouton Devis */
.btn-devis {
    background: var(--gold);
    color: var(--dark-blue) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-weight: 600 !important;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-devis:hover {
    background: var(--gold-dark);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-devis::after {
    display: none !important;
}

/* Sélecteur de langue */
.lang-selector {
    cursor: pointer;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    background: var(--gold-light);
    color: var(--dark-blue);
    transition: var(--transition);
    font-size: 0.85rem;
    margin-left: 0.5rem;
    border: 1px solid transparent;
}

.lang-selector:hover {
    background: var(--gold);
    transform: translateY(-2px);
    border-color: var(--gold-dark);
}

/* Menu mobile */
.mobile-menu-btn {
    display: none;
    background: var(--gold);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-blue);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--gold-dark);
    color: var(--white);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15,26,31,0.88) 0%, rgba(26,42,47,0.82) 100%), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-small {
    min-height: 50vh;
}

.hero-content {
    width: 100%;
    padding: 8rem 2rem 4rem;
    color: var(--white);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    align-items: center;
}

.hero-copy {
    max-width: 620px;
}

.hero-panel {
    max-width: 560px;
    margin-left: auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(4px);
    color: var(--gold);
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-content h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: left;
}

.hero-content h1 span {
    color: var(--gold);
    display: block;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-panel p {
    max-width: 100%;
    font-size: 1.15rem;
}

.homepage .hero-panel p,
.homepage .section-title p,
.homepage .services-grid .service-card p,
.homepage .featured-products-grid .service-card p,
.homepage .cta-banner p {
    text-align: justify;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
}

.hero-panel .hero-stats {
    margin-top: 2rem;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    font-family: var(--font-heading);
}

.hero-stats .stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ========== PAGE HEADER (pages intérieures) ========== */
.page-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--steel) 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: var(--white);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header h1 span {
    color: var(--gold);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    background: var(--light-steel);
    padding: 0.8rem 2rem;
    font-size: 0.8rem;
}

.breadcrumb a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb span {
    color: var(--gold);
}

/* ========== GRILLES & CARTES ========== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Cartes services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.corporate-step-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,249,253,0.96));
    border: 1px solid rgba(19, 39, 66, 0.08);
    box-shadow: 0 18px 45px rgba(15, 32, 58, 0.08);
    padding-top: 1.5rem;
}

.corporate-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), #d4af37, rgba(212,175,55,0.3));
    transform: scaleX(1);
}

.corporate-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(15, 32, 58, 0.12);
    border-color: rgba(212,175,55,0.45);
}

.service-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.service-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(212,175,55,0.12);
    border: 1px solid rgba(212,175,55,0.35);
    color: var(--gold-dark);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.service-card .service-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--dark-blue), #1c3d66);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.service-card h3 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(15, 32, 58, 0.08);
    width: 100%;
    transition: var(--transition);
}

.service-link:hover {
    gap: 0.8rem;
    color: var(--gold);
}

/* Images dans les cartes services */
.service-image {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    background-color: var(--light-steel);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
    filter: brightness(0.95);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212,175,55,0) 0%, rgba(212,175,55,0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover .service-image::after {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 0.8rem;
    color: var(--gold-dark);
}

/* Cartes produits */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.featured-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-product-card .service-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark-blue);
    box-shadow: var(--shadow-gold);
}

.featured-product-card .product-specs {
    list-style: none;
    margin: 1rem 0 1.5rem;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}

.featured-product-card .product-specs li {
    font-size: 0.82rem;
    padding: 0.35rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    border-bottom: 1px dashed var(--border);
}

.featured-product-card .product-specs li i {
    color: var(--gold);
    margin-top: 0.2rem;
}

.featured-product-card .service-link {
    margin-top: auto;
}

.product-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-icon {
    height: 200px;
    background: var(--light-steel);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon img {
    transform: scale(1.05);
}

.product-icon i {
    font-size: 4rem;
    color: var(--gold);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.product-ref {
    font-size: 0.7rem;
    color: var(--gold-dark);
    font-family: monospace;
    margin-bottom: 0.8rem;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-specs {
    list-style: none;
    margin: 1rem 0;
}

.product-specs li {
    font-size: 0.8rem;
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px dashed var(--border);
}

.product-specs li i {
    color: var(--gold);
}

.badge {
    display: inline-block;
    background: var(--gold-light);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Catégorie banner */
.category-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
}

.category-banner i {
    font-size: 2rem;
    color: var(--gold);
}

.category-banner h2 {
    font-size: 1.8rem;
    margin: 0;
}

/* ========== STATISTIQUES ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item .number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gold);
    font-family: var(--font-heading);
}

.stat-item .label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========== TIMELINE (About) ========== */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    background: var(--white);
    padding: 1.8rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--gold);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    min-width: 100px;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

/* ========== VALEURS (About) ========== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--gold-dark);
}

/* ========== ÉQUIPE (About) ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 24px;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 140px;
    height: 140px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 3rem;
    color: var(--gold-dark);
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    margin-bottom: 0.3rem;
}

.team-title {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

/* ========== PROCESSUS (Steps) ========== */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.step-card {
    flex: 1;
    min-width: 220px;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--dark-blue);
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* ========== CLIENTS ========== */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.client-logo {
    background: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--steel);
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.client-logo:hover {
    background: var(--gold-light);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

/* ========== CERTIFICATIONS ========== */
.certifications {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cert-badge {
    background: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.cert-badge i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 1.2rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--steel) 100%);
    border-radius: 28px;
    padding: 3rem;
    text-align: center;
    color: var(--white);
}

.cta-banner h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cta-banner p {
    margin-bottom: 1.5rem;
}

/* ========== PARTNER BANNER ========== */
.partner-banner {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--steel) 100%);
    border-radius: 28px;
    padding: 3rem;
    text-align: center;
    color: var(--white);
}

.partner-banner h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: #BDCFD8;
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.footer h4 {
    color: var(--gold);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer a {
    color: #BDCFD8;
    text-decoration: none;
    line-height: 2;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark);
    padding-left: 0;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
}

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--dark-blue);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-3px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* ========== RESPONSIVE ========== */
/* Grand écran (desktop) */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablette (paysage) */
@media (max-width: 992px) {
    .section {
        padding: 4rem 1.5rem;
    }

    .featured-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-panel {
        margin-left: 0;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Tablette (portrait) et mobile */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .featured-products-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-top: 7rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timeline-year {
        min-width: auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .category-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .clients-grid {
        gap: 1rem;
    }
    
    .client-logo {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .certifications {
        gap: 1rem;
    }
    
    .cert-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    .lang-selector {
        margin: 0;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .logo {
        gap: 0.6rem;
        padding: 0.12rem 0;
    }

    .logo-image {
        height: 2.4rem;
    }

    .logo-text {
        font-size: 1.35rem;
    }

    .logo-sub {
        letter-spacing: 1.5px;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .service-image {
        height: 160px;
    }
}

/* ========== IMPRESSION ========== */
@media print {
    .main-header,
    .footer,
    .btn-devis,
    .hero-actions,
    .back-to-top,
    .lang-selector,
    .mobile-menu-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .hero {
        background: white;
        color: black;
        min-height: auto;
    }
    
    .hero-content h1 span {
        color: black;
    }
}