:root {
    --swiss-red: #da291c;
    --swiss-white: #ffffff;
    --swiss-dark: #1a1a1a;
    --swiss-gray: #f5f5f5;
    --swiss-gray-dark: #333333;
    --swiss-blue: #0055a4;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--swiss-gray);
    color: var(--swiss-dark);
    line-height: 1.6;
}

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

/* Header Premium */
.header {
    background: var(--swiss-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--swiss-red), var(--swiss-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo span {
    color: var(--swiss-red);
    background: none;
    -webkit-background-clip: unset;
}

/* Navigation */
.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-list a {
    text-decoration: none;
    color: var(--swiss-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--swiss-red);
}

/* Search Bar */
.search-container {
    max-width: 600px;
    margin: 40px auto;
}

.search-form {
    display: flex;
    gap: 12px;
    background: white;
    padding: 8px;
    border-radius: 60px;
    box-shadow: var(--shadow-md);
}

.search-input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 60px;
    font-size: 16px;
    outline: none;
}

.search-btn {
    background: var(--swiss-red);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

.search-btn:hover {
    background: #b81c10;
    transform: scale(1.02);
}

/* Cards Entreprises */
.entreprise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin: 48px 0;
}

.entreprise-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-sm);
}

.entreprise-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-title a {
    text-decoration: none;
    color: var(--swiss-dark);
}

.card-category {
    color: var(--swiss-red);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.card-address {
    color: #666;
    font-size: 14px;
    margin: 12px 0;
}

.card-phone {
    color: var(--swiss-blue);
    font-weight: 600;
    text-decoration: none;
}

/* Footer */
.prefooter {
    background: var(--swiss-dark);
    color: white;
    padding: 60px 0 40px;
    margin-top: 80px;
}

.footer {
    background: #111;
    color: #888;
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--swiss-red);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-list {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: 20px;
    }
    
    .search-btn {
        border-radius: 40px;
    }
    
    .entreprise-grid {
        grid-template-columns: 1fr;
    }
}