/* ================================
   VARIABLES ET RESET
   ================================ */
:root {
  /* Couleurs Vespa/Ciao italiennes */
  --vespa-bleu: #1b3a6b;
  --vespa-vert: #329d5b;
  --vespa-jaune: #ffe066;
  --vespa-rouge: #e63946;
  --vespa-violet: #a259c6;
  
  /* Thème sombre */
  --bg-dark: #191b1d;
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.85);
  
  /* Ombres et effets */
  --shadow-light: 0 4px 24px rgba(44, 44, 44, 0.18);
  --shadow-card: 0 8px 32px rgba(27, 58, 107, 0.10);
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

/* ================================
   STRUCTURE PRINCIPALE
   ================================ */
main {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

main::-webkit-scrollbar {
  width: 8px;
}

main::-webkit-scrollbar-thumb {
  background: var(--vespa-violet);
  border-radius: 4px;
}

.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  padding: 2rem 1rem;
  background: var(--bg-dark);
}

/* ================================
   SECTION ACCUEIL
   ================================ */
.accueil .logo {
  max-width: 320px;
  width: 80vw;
  margin-bottom: 1.5rem;
}

.accueil h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0.5rem 0 0.2rem 0;
  letter-spacing: 1px;
  color: var(--text-light);
  text-align: center;
}

.accueil h1 span {
  color: var(--vespa-rouge);
}

.accueil .slogan {
  font-size: 1.2rem;
  color: var(--vespa-violet);
  opacity: 0.9;
  text-align: center;
}

/* ================================
   STRUCTURE SECTIONS COMMUNES
   ================================ */
.section-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 2rem 1rem;
}

.section-text {
  flex: 1 1 320px;
  max-width: 500px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}

/* Couleurs des titres par section */
.section-title.bleu { color: var(--vespa-bleu); }
.section-title.vert { color: var(--vespa-vert); }
.section-title.jaune { color: var(--vespa-jaune); }
.section-title.rouge { color: var(--vespa-rouge); }
.section-title.violet { color: var(--vespa-violet); }

.section-text p {
  color: var(--text-light);
  font-size: 1.15rem;
  line-height: 1.6;
}

.section-image {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  box-shadow: var(--shadow-light);
}

/* ================================
   SECTION VÉLOMOTEUR (SPLIT SCREEN SIMPLIFIÉ)
   ================================ */
.velomoteur {
  /* Réactiver le scroll-snap mais avec structure adaptée */
  scroll-snap-align: start;
  min-height: 100vh;
  height: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.velomoteur-content {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2rem;
  min-height: 100vh;
  flex: 1;
}

.velomoteur .section-text {
  flex: 1 1 320px;
  max-width: 500px;
  position: sticky;
  top: 20vh;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1rem;
  z-index: 2;
  align-self: flex-start;
}

.velomoteur-images {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 4rem 1rem;
}

.velomoteur-step {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem 1rem;
}

.piaggio-container {
  position: relative;
  width: 400px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.piaggio-container:hover {
  transform: scale(1.05);
}

.piaggio-img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Style clean pour les SVG Piaggio */
  border-radius: 0;
  box-shadow: none;
  background: none;
  transition: filter 0.3s ease;
}

.piaggio-img:hover {
  filter: brightness(1.1);
}

/* ================================
   SECTIONS AGRICULTURE, SYLVICULTURE, JARDIN
   ================================ */
.agriculture, .sylviculture, .jardin {
  scroll-snap-align: start;
  min-height: 100vh;
  height: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.agriculture-content, .sylviculture-content, .jardin-content {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2rem;
  min-height: 100vh;
  flex: 1;
}

.agriculture .section-text, .sylviculture .section-text, .jardin .section-text {
  flex: 1 1 320px;
  max-width: 500px;
  position: sticky;
  top: 20vh;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1rem;
  z-index: 2;
  align-self: flex-start;
}

.agriculture-images, .sylviculture-images, .jardin-images {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 4rem 1rem;
}

.agriculture-step, .sylviculture-step, .jardin-step {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem 1rem;
}

.machine-container {
  position: relative;
  width: 400px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.machine-container:hover {
  transform: scale(1.05);
}

.machine-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
  background: none;
  transition: filter 0.3s ease;
}

.machine-img:hover {
  filter: brightness(1.1);
}

/* ================================
   SECTION CONTACT
   ================================ */
.contact .section-text p {
  margin-bottom: 0.5rem;
}

.contact .section-text a {
  color: var(--vespa-jaune);
  text-decoration: underline;
  transition: color 0.3s;
}

.contact .section-text a:hover {
  color: var(--vespa-rouge);
}

#map {
  width: 320px;
  height: 220px;
  border-radius: 1rem;
  box-shadow: var(--shadow-light);
  border: 2px solid var(--vespa-jaune);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 900px) {
  .section-content {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0.5rem;
  }
  
  .section-image img {
    max-width: 90vw;
  }
  
  .accueil h1 {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  /* Vélomoteur en mobile */
  .velomoteur-content {
    flex-direction: column;
    min-height: auto;
    gap: 1rem;
  }
  
  .velomoteur .section-text {
    position: static;
    top: auto;
    height: auto;
    max-width: 100%;
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .velomoteur-images {
    gap: 2rem;
    padding: 1rem;
  }
  
  .velomoteur-step {
    min-height: 40vh;
    padding: 1rem;
  }
  
  .piaggio-container {
    width: 90vw;
    max-width: 350px;
    height: auto;
  }
  
  #map {
    width: 90vw;
    max-width: 400px;
  }
  
  /* Nouvelles sections en mobile */
  .agriculture-content, .sylviculture-content, .jardin-content {
    flex-direction: column;
    min-height: auto;
    gap: 1rem;
  }
  
  .agriculture .section-text, .sylviculture .section-text, .jardin .section-text {
    position: static;
    top: auto;
    height: auto;
    max-width: 100%;
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .agriculture-images, .sylviculture-images, .jardin-images {
    gap: 2rem;
    padding: 1rem;
  }
  
  .agriculture-step, .sylviculture-step, .jardin-step {
    min-height: 40vh;
    padding: 1rem;
  }
  
  .machine-container {
    width: 90vw;
    max-width: 350px;
    height: auto;
  }
} 