:root {
    --primary: #0077B6;
    --primary-dark: #023E8A;
    --secondary: #90E0EF;
    --light: #F8F9FA;
    --dark: #212529;
    --gray: #6C757D;
    --white: #FFFFFF;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 2001; /* Doit être au dessus du widget VUD */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--gray);
}

.nav-links a:hover {
    color: var(--primary);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
}

.dropdown-content a:hover {
    background: var(--light);
}

/* Hero Section */
.hero-home, .hero-category {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f7fa 0%, #ffffff 100%);
    position: relative;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.lead {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: left;
}

/* Cards & Grid */
.card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

@media (max-width: 992px) {
    .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
    h1 { font-size: 2rem; }
}

.cat-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
}

.cat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Utils */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.gray-bg { background: var(--light); padding: 60px 0; }

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Geo Sitemap Links */
.geo-link {
    display: block;
    padding: 10px;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid #eee;
    font-size: 0.9rem;
    font-weight: 500;
}

.geo-link:hover {
    background: var(--primary);
    color: var(--white);
}

.city-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.city-link {
    padding: 8px 15px;
    background: #e9ecef;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.city-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* VUD Widget Fixes */
.vud-container {
    width: 100% !important;
    overflow: hidden;
}

.vud-wrapper {
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #adb5bd;
}

.footer-col ul a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #343a40;
    color: #6c757d;
    font-size: 0.8rem;
}