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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  color: #2E7D32;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: #2E7D32;
  transition: color 0.3s ease;
}

a:hover {
  color: #1B5E20;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2E7D32;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #2E7D32;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #E8F5E9;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 2;
  padding: 0 2rem;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #1B5E20;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #424242;
}

.hero-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  opacity: 0.15;
  z-index: 1;
}

/* Section Styles */
.section {
  padding: 5rem 2rem;
  background-color: #fff;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #2E7D32;
}

.section-subtitle2 {
  font-size: 1.1rem;
  color: black;
  max-width: 800px;
  margin: 0 auto;
}

.section-subtitle2 {
  font-size: 1.2rem;
  color: green;
  max-width: 800px;
  margin: 0 auto;
  display: block;
}

.content-container {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.icon-container {
  flex-shrink: 0;
}

.section-icon {
  width: 64px;
  height: 64px;
}

.text-content {
  flex-grow: 1;
}

.section-text {
  font-size: 1.05rem;
  color: #424242;
  margin-bottom: 1.5rem;
}

.subsection-title {
  font-size: 1.8rem;
  color: #388E3C;
  margin-bottom: 1.2rem;
}

/* Green Cross Info */
.green-cross-info {
  background-color: #E8F5E9;
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.sectioncroix-image {
  width: 100%; /* Ajuste la largeur selon ton besoin */
  max-width: 600px; /* Empêche l'image d'être trop grande */
  display: block;
  margin: 10px auto; /* Centre l'image */
  border-radius: 10px; /* Arrondi les bords */
}

/* Team Section */
/* Style de la section équipe */
#team {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #f4f4f4;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  position: relative;
  display: inline-block;
  font-weight: bold;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #c30e2e; /* Couleur rouge INSA */
}

.team-container {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.team-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #f8f8f8;
}

.team-logo {
  width: 200px;
  height: 200px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.team-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
}

.team-section {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 1.5rem;
}

.team-subtitle {
  color: green;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  border-bottom: 2px solid green;
  padding-bottom: 0.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

.team-member {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.member-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.member-firstname {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 0.3rem;
}

.member-lastname {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .team-container {
      flex-direction: column;
  }

  .team-logo-wrapper {
      padding: 1.5rem;
  }

  .team-logo {
      width: 150px;
      height: 150px;
  }

  .team-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

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


.member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto 1rem;
  border: 3px solid #2E7D32;
}

.member-name {
  font-size: 1.2rem;
  color: #333;
}

.partners-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  position: relative;
  display: inline-block;
  font-weight: bold;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #c30e2e;
}

.partners-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  position: relative;
  display: inline-block;
  font-weight: bold;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #c30e2e;
}

.partners-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.partner-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
  /* Suppression du grayscale et de l'opacity */
  filter: brightness(100%);
}

.partner-logo:hover {
  transform: scale(1.1);
  /* Léger effet de brillance au survol */
  filter: brightness(110%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .partners-logos {
      gap: 2rem;
  }
  .partner-logo {
      width: 120px;
      height: 120px;
  }
}

@media (max-width: 480px) {
  .partners-logos {
      gap: 1.5rem;
  }
  .partner-logo {
      width: 100px;
      height: 100px;
  }
}

/* Sensors Section */
.sensors-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.architecture-diagram {
  flex: 1;
  min-width: 300px;
}

.diagram-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.architecture-description {
  flex: 1;
  min-width: 300px;
}

.components-section {
  margin-top: 3rem;
}

.component-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.component-card {
  background-color: #f5f5f5;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.component-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.component-icon {
  margin-bottom: 1rem;
}

.component-icon svg {
  width: 48px;
  height: 48px;
}

.component-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.component-desc {
  color: #616161;
}

/* Scenarios Section */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.scenario-card {
  background-color: #f5f5f5;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scenario-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.scenario-icon {
  margin-bottom: 1.5rem;
}

.scenario-icon svg {
  width: 64px;
  height: 64px;
}

.scenario-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.scenario-desc {
  color: #616161;
}

/* Features Section */
.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: #E8F5E9;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 56px;
  height: 56px;
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-desc {
  color: #424242;
}

/* Footer */
.footer {
  background-color: #2E7D32;
  color: #fff;
  padding: 3rem 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: #fff;
}

.footer-link:hover {
  color: #C8E6C9;
}

.footer-contact {
  text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    height: auto;
    padding: 5rem 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .content-container {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-contact {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .team-grid, 
  .partners-grid, 
  .scenarios-grid, 
  .features-container,
  .component-cards {
    grid-template-columns: 1fr;
  }
}

/* styles.css */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

.components-section {
  text-align: center;
  padding: 40px 20px;
}

.subsection-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.component-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  padding: 20px 0;
}

.component-cards {
  display: flex;
  gap: 20px;
  padding: 0 20px;
}

.component-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  width: 250px;
  flex: 0 0 auto;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.component-icon svg {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.component-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.component-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}


:root {
  --primary: #2E7D32;
  --primary-light: #4caf50;
  --dark: #263238;
  --light: #f5f5f5;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  background-color: #f8f9fa;
  padding: 20px;
  color: var(--dark);
}

.components-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.subsection-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
}

.subsection-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 4px;
}

.component-cards {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding: 1rem 0.5rem;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) transparent;
}

.component-cards::-webkit-scrollbar {
  height: 8px;
}

.component-cards::-webkit-scrollbar-track {
  background: transparent;
}

.component-cards::-webkit-scrollbar-thumb {
  background-color: var(--primary-light);
  border-radius: 20px;
}

.component-card {
  flex: 0 0 300px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.component-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.component-image {
  height: 200px;
  overflow: hidden;
  background-color: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.component-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.component-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  padding: 20px;
  background-color: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.component-icon svg {
  width: 100%;
  height: 100%;
}

.component-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.component-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.component-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #546e7a;
}

@media (max-width: 768px) {
  .component-card {
    flex: 0 0 260px;
  }
  
  .component-image {
    height: 140px;
  }
}

