/* ============================================
   ELEMECH - Clean & Professional Industrial Style
   Palette: Blanc pur, Bleu Ardoise (confiance), Orange Sécurité (action)
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Palette Clean & Pro */
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;       /* Slate 50 - très léger gris-bleu pour les sections alternées */
    --bg-card: #ffffff;
    
    --text-primary: #0f172a; /* Slate 900 - presque noir, très lisible */
    --text-secondary: #475569; /* Slate 600 - gris doux pour les paragraphes */
    --text-muted: #94a3b8;   /* Slate 400 - pour les détails */
    
    --primary: #0f172a;      /* Bleu ardoise profond (confiance, ingénierie) */
    --accent: #f97316;       /* Orange vif (sécurité, action, industrie) */
    --accent-hover: #ea580c;
    
    --border: #e2e8f0;       /* Slate 200 - bordures subtiles */
    --border-focus: #f97316;
    
    /* Typographie */
    --font-display: 'Oswald', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Tailles & Espacements */
    --container: 1200px;
    --radius: 6px;           /* Coins légèrement arrondis, pas trop (reste industriel) */
    --radius-lg: 12px;
    
    /* Ombres douces et professionnelles */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-accent: 0 10px 25px -5px rgba(249, 115, 22, 0.25);
    
    /* Transitions */
    --trans: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: var(--trans); }
a:hover { color: var(--accent-hover); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 100px 0; position: relative; }

/* .skip-link {
    position: absolute; top: -40px; left: 8px;
    background: var(--accent); color: #fff;
    padding: 8px 16px; z-index: 1000;
    transition: top 0.2s; border-radius: var(--radius);
}
.skip-link:focus { top: 8px; } */

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600; /* Plus léger que 700 pour un look plus élégant */
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 600; }

p { color: var(--text-secondary); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-title { margin-top: 12px; }

.section-tag {
    display: inline-block;
    color: var(--accent);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ---------- HEADER ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--trans);
}

.header-top {
    background: var(--primary);
    font-size: 0.8125rem;
    color: #cbd5e1;
    padding: 8px 0;
}
.header-top-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.header-info { display: flex; gap: 16px; flex-wrap: wrap; }
.header-info span { display: inline-flex; align-items: center; gap: 6px; }
.header-lang { display: flex; gap: 4px; align-items: center; }
.header-lang a {
    color: #cbd5e1;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    transition: var(--trans);
}
.header-lang a:hover { color: #fff; }
.header-lang a.active { color: var(--primary); background: #fff; }
.divider { color: #475569; opacity: 0.5; }

.main-nav { padding: 16px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--text-primary); }
.logo-icon { width: 40px; height: 40px; color: var(--primary); transition: var(--trans); }
.logo:hover .logo-icon { transform: rotate(15deg); color: var(--accent); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}
.logo-text small { font-size: 0.625rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }

.nav-menu { display: flex; gap: 8px; list-style: none; align-items: center; }
.nav-link {
    color: var(--text-secondary);
    padding: 10px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    position: relative;
    transition: var(--trans);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; width: 40px; height: 40px; position: relative; }
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--text-primary); margin: 6px auto;
    transition: var(--trans);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--trans);
    text-transform: none; /* Plus moderne que uppercase */
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(249, 115, 22, 0.35);
}

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text-primary);
}
.btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
    background: var(--bg-alt);
}
/* Motif technique subtil (grille de plan) */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
/* Halo lumineux subtil */
.hero::after {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content { position: relative; z-index: 2; max-width: 750px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 100px;
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.badge-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title { margin-bottom: 24px; }
.hero-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    max-width: 600px;
    margin-bottom: 40px;
    color: var(--text-secondary);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
    padding: 120px 0 80px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    text-align: center;
    position: relative;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px; opacity: 0.3;
}
.page-hero > * { position: relative; }
.page-title { margin: 16px 0 16px; }
.page-subtitle { max-width: 640px; margin: 0 auto; font-size: 1.125rem; }

/* ---------- FEATURES ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--trans);
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(249, 115, 22, 0.08);
    color: var(--accent);
    border-radius: var(--radius);
    margin-bottom: 24px;
    transition: var(--trans);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card:hover .feature-icon {
    background: var(--accent);
    color: #ffffff;
}

.feature-card h3 { margin-bottom: 12px; }

/* ---------- STATS ---------- */
.stats {
    padding: 80px 0;
    background: var(--primary);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.03) 20px, rgba(255,255,255,0.03) 40px);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    text-align: center;
}
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.stat-label {
    display: block;
    margin-top: 12px;
    color: #cbd5e1;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ---------- CTA ---------- */
.cta {
    padding: 80px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.cta h2 { margin-bottom: 12px; }
.cta p { font-size: 1.0625rem; max-width: 600px; }

/* ---------- SERVICES ---------- */
.services { padding: 100px 0; }
.service-block {
    margin-bottom: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 100px;
}
.service-block:last-child { border-bottom: none; margin-bottom: 0; }

.service-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
}
.service-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--border); /* Très subtil */
    line-height: 1;
}
.service-header h2 { font-size: 1.5rem; margin-bottom: 8px; }
.service-header p { color: var(--text-muted); font-size: 0.9375rem; }

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.service-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--trans);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
}
.service-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.icon-check {
    flex-shrink: 0;
    width: 22px; height: 22px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700;
    margin-top: 2px;
}

/* ---------- ABOUT ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-text h2 { margin: 12px 0 24px; }
.about-intro { font-size: 1.125rem; color: var(--text-primary); margin-bottom: 16px; }

.about-visual { position: relative; }
.about-image {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.about-image svg { width: 60%; height: 60%; opacity: 0.8; }

.values { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.value-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--trans);
}
.value-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.value-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--border);
    display: block;
    margin-bottom: 16px;
}
.value-card h3 { font-size: 1.25rem; margin-bottom: 12px; }

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}
.contact-info {
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px;
}
.contact-info h3 { color: #ffffff; margin-bottom: 32px; }
.info-item {
    display: flex; gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.info-item:last-child { border-bottom: none; }
.info-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1);
    color: var(--accent);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 22px; height: 22px; }
.info-item h4 { font-size: 0.8125rem; margin-bottom: 4px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }
.info-item p { color: #ffffff; font-size: 1rem; }

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.contact-form-wrapper h3 { margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: var(--trans);
}
.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(249, 115, 22, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-main); }

.form-message {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9375rem;
    font-weight: 500;
}
.form-message.success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); color: #15803d; }
.form-message.error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #b91c1c; }

.spinner { width: 20px; height: 20px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); }
.footer-main { padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }

.footer-brand p { margin-top: 16px; font-size: 0.9375rem; max-width: 320px; color: var(--text-secondary); }
.logo-footer .logo-text strong { font-size: 1.25rem; }

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--text-secondary); font-size: 0.9375rem; }
.footer-col ul a:hover { color: var(--accent); padding-left: 4px; }

.contact-list li {
    display: flex; gap: 10px; align-items: flex-start;
    color: var(--text-secondary); font-size: 0.9375rem; margin-bottom: 12px;
}
.contact-list i { color: var(--accent); width: 16px; text-align: center; margin-top: 4px; }

.footer-bottom { padding: 24px 0; border-top: 1px solid var(--border); }
.footer-bottom-inner {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap;
    font-size: 0.875rem; color: var(--text-muted);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--accent); }

/* ---------- ANIMATIONS ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 968px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .hero { min-height: 70vh; padding: 60px 0; }
    
    .header-info { display: none; }
    
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed; top: 0; right: -100%;
        width: 85%; max-width: 320px; height: 100vh;
        background: var(--bg-main);
        flex-direction: column; padding: 80px 24px 24px;
        gap: 0; transition: right 0.4s;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        align-items: stretch; border-left: 1px solid var(--border);
    }
    .nav-menu.open { right: 0; }
    .nav-link { padding: 16px; border-bottom: 1px solid var(--border); }
    .nav-cta { margin-top: 16px; }
    .nav-cta .btn { width: 100%; }
    
    .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .cta-inner { text-align: center; justify-content: center; }
    .service-header { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
    .contact-info, .contact-form-wrapper { padding: 24px; }
}

/* ---------- ICONS FALLBACK ---------- */
.icon-phone::before { content: '📞'; }
.icon-mail::before { content: '✉️'; }
.icon-marker::before { content: '📍'; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 80px;
    background: var(--bg-alt);
}

/* Motif technique subtil (grille de plan) */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    pointer-events: none;
}

/* Halo lumineux subtil */
.hero::after {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ---------- HERO GRID (2 colonnes : texte + logo) ---------- */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 100px;
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title { margin-bottom: 24px; }

.hero-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    max-width: 550px;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- HERO VISUAL (logo à droite) ---------- */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-logo-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* Cercle décoratif derrière le logo */
.hero-logo-wrapper::before {
    content: '';
    position: absolute;
    inset: 10%;
    border: 2px dashed rgba(249, 115, 22, 0.2);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.hero-logo-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-logo {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(15, 23, 42, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ---------- HERO SCROLL INDICATOR ---------- */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator {
    width: 2px;
    height: 40px;
    background: linear-gradient(var(--accent), transparent);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 968px) {
    /* Hero : passage en 1 colonne, logo EN HAUT */
    .hero {
        min-height: auto;
        padding: 80px 0 60px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    /* Logo passe en premier (en haut) */
    .hero-visual {
        order: -1;
    }
    
    .hero-logo-wrapper {
        max-width: 320px;
        margin: 0 auto;
        padding: 20px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-scroll {
        display: none; /* Masqué sur tablette/mobile */
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-logo-wrapper {
        max-width: 240px;
        padding: 10px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}

/* ---------- ABOUT VISUAL (Galerie d'images) ---------- */
.about-visual {
    position: relative;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
    aspect-ratio: 1;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    cursor: pointer;
    transition: var(--trans);
}

/* Images de grande taille (occupent plus d'espace) */
.gallery-item-large {
    grid-row: span 2; /* Prend 2 rangées */
}

/* Images de petite taille */
.gallery-item-small {
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Overlay au survol */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-label {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

/* Effets au survol */
.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-label {
    transform: translateY(0);
}

/* Bordure orange subtile au survol */
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 968px) {
    .about-gallery {
        gap: 12px;
    }
    
    .gallery-overlay {
        padding: 16px;
    }
    
    .gallery-label {
        font-size: 0.9375rem;
    }
}

@media (max-width: 768px) {
    /* Sur mobile : grille 2x2 plus compacte */
    .about-gallery {
        gap: 8px;
        aspect-ratio: auto;
    }
    
    .gallery-item-large,
    .gallery-item-small {
        grid-row: span 1;
        aspect-ratio: 1;
    }
    
    .gallery-overlay {
        padding: 12px;
    }
    
    .gallery-label {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    /* Sur très petit écran : 1 colonne */
    .about-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gallery-item {
        aspect-ratio: 16/9;
    }
    
    .gallery-item-large,
    .gallery-item-small {
        grid-row: span 1;
    }
}


/* ---------- CONTACT PAGE ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

/* Colonne Info (Gauche) */
.contact-info {
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px;
}
.contact-info h3 { color: #ffffff; margin-bottom: 32px; }
.info-item {
    display: flex; gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.info-item:last-child { border-bottom: none; }
.info-icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1);
    color: var(--accent);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
}
.info-icon svg { width: 22px; height: 22px; }
.info-item h4 { font-size: 0.8125rem; margin-bottom: 4px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }
.info-item p { color: #ffffff; font-size: 1rem; }

/* Colonne Action Directe (Droite) */
.contact-direct-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--trans);
}
.contact-direct-wrapper:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    transform: translateY(-4px);
}
.contact-direct-icon {
    width: 72px; height: 72px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}
.contact-direct-icon svg { width: 36px; height: 36px; }
.contact-direct-wrapper h3 { margin-bottom: 16px; }
.contact-direct-wrapper > p { margin-bottom: 32px; max-width: 380px; line-height: 1.6; }
.contact-direct-note {
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-direct-wrapper {
        padding: 32px 24px;
    }
}

/* ---------- CONTACT ACTIONS (Email + WhatsApp) ---------- */
.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 360px;
    margin-bottom: 24px;
}

.action-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}
.action-divider::before,
.action-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}
.action-divider span {
    padding: 0 12px;
}

/* Style spécifique du bouton WhatsApp */
.btn-whatsapp {
    background: #ffffff;
    color: #25D366; /* Vert WhatsApp officiel */
    border: 2px solid #25D366;
    font-weight: 600;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp svg {
    transition: transform 0.3s ease;
}

.btn-whatsapp:hover svg {
    transform: scale(1.1);
}