:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #27ae60;
    --warning: #f39c12;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Navigation */
.zone-navigation {
    background-color: var(--primary);
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.navbar-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.navbar-link:hover, .navbar-link.active {
    background-color: var(--secondary);
}

.zone-bienvenue {
  width: 100%;
  background-color: var(--success);
}

.message-bienvenue {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.message-bienvenue h3 {
  margin: 0 auto; /* centré visuellement */
  text-align: center;
  flex: 1; /* prend l'espace disponible */
}

.btn-deconnexion {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--radius);
    background-color: var(--accent);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.btn-deconnexion:hover {
    background-color: #c0392b;
}

/* Hero Section */
.hero-section {
    background-image: url("../assets/img/hero-bg-2.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    background-image: url("src/assets/img/hero-bg-2.jpg");
    max-width: 1500px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Formulaire de recherche */
.search-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.search-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.search-group {
    flex: 1;
    min-width: 200px;
}

.search-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
}

.search-button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.search-button:hover {
    background-color: #c0392b;
}

/* Cartes de fonctionnalités */
.features-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Pied de page */
.zone-pied {
    background-color: var(--dark);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

#start-tutorial {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #3b6e93;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background 0.3s;
}    
#start-tutorial:hover {
  background: #508bbb;
}


/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .search-row {
        flex-direction: column;
        gap: 1rem;
    }
}