/* Styles principaux pour le site SnapSpotParis */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #2A3B9A;    /* Couleur principale - Bleu nuit */
  --secondary-color: #F28C35;  /* Couleur secondaire - Or/ambre FFD700*/
  --background-color: #F8F9FA; /* Couleur d'arrière-plan - Blanc crème */
  --text-color: #1A1A1A;       /* Couleur de texte principale - Noir */
  --light-text: #FFFFFF;       /* Couleur de texte claire */
  --dark-text: #1A1A1A;        /* Couleur de texte foncée - Noir */
  --border-radius: 12px;       /* Rayon des bords arrondis */
  --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Ombre portée pour effet premium */
  --transition: all 0.3s ease;  /* Transition douce pour les animations */
}

/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

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

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-text);
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
}

h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(42, 59, 154, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--dark-text);
}

.btn-secondary:hover {
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.2rem;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
}

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

.logo img {
  max-width: 100%;  /* L'image ne dépassera jamais la largeur de son conteneur */
  height: auto;     /* Maintient les proportions */
  width: 200px;     /* Taille par défaut - ajuste selon tes besoins */
}

@media (max-width: 768px) {
  .logo img {
      width: 120px;
  }
}

@media (max-width: 480px) {
  .logo img {
      width: 100px;
  }
}

.logo img {
  transition: transform 0.3s ease; /* Animation fluide */
}

.logo img:hover {
  transform: scale(1.05); /* Légèrement agrandi */
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 1000;
  }
  
  nav.active {
    transform: translateY(0);
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin: 10px 0;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  p {
    font-size: 1rem;
  }
  
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  
  .btn-large {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .header-container {
    padding: 15px 0;
  }
  
  .logo {
    font-size: 1.5rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}
