/* === Reset === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === Variables === */
:root {
  --font-base: "Inter", sans-serif;
  --font-heading: "Playfair Display", serif;

  --color-bg: #f5f5f5;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-primary: #048040;
  --color-secondary: #eeff00;
  font-size: 16px;
  --line-height: 1.6;
  --max-width: 1200px;
  --radius: 0.5em;
}

/* === Global === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: var(--line-height);
  /* max-width: 100%; */
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.drop-shadow {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1), 1px 3px 1px rgba(0, 0, 0, 0.1);
}

/* === Headings === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

/* Titres (h1 à h6) */
h1,
.h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}
h2,
.h2 {
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
}
h3,
.h3 {
  font-size: clamp(1.5rem, 4vw, 3rem);
}
h4,
.h4 {
  font-size: clamp(1.25rem, 3.5vw, 2.5rem);
}
h5,
.h5 {
  font-size: clamp(1.125rem, 3vw, 2rem);
}
h6,
.h6 {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

/* === Text === */
p,
.p {
  margin-bottom: 1em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* === Buttons === */
button,
.btn {
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
}

p,
.p,
span,
li,
a {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  line-height: 1.6;
}

/* === Hero Section === */
.hero {
  width: 100%;
  height: 100vh;
  position: relative;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-container {
  position: relative;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  display: flex;
  flex-direction: column;
}

/* === Header === */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  gap: 10px;
  width: 100%;
}

.header a {
  color: var(--color-white);
  text-decoration: none;
}

.navbar {
  display: flex;
  gap: 2rem;
}

.navbar ul {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  list-style: none;
  width: min-content;
}

.navbar .item {
  cursor: pointer;
  color: var(--color-white);
  min-width: max-content;
  transition: 0.3s;
}

.navbar .item:hover {
  font-weight: bold;
  border-top: 4px solid var(--color-white);
}

.navbar .item.active {
  font-weight: bold;
  border-top: 4px solid var(--color-white);

  /* border-bottom: 4px solid var(--color-white); */
}

.header .cta {
  background-color: var(--color-secondary);
  color: var(--color-text);
}

/* === Hero Content === */
.hero-content-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  text-align: center;
  color: var(--color-white);
  gap: 1rem;
  padding: 4rem;
  position: relative;
  top: 50vh;
  transform: translateY(-50%);
}

.cta-container {
  display: flex;
  gap: 1rem;
}

.hero-content .cta {
  background-color: var(--color-primary);
  border-radius: 100px;
  color: var(--color-white);
  padding: 1rem 1.5rem;
  text-decoration: none;
}

.hero-content .cta-secondary {
  /* background-color: var(--color-primary); */
  border: 1px solid var(--color-white);
  border-radius: 100px;
  color: var(--color-white);
  padding: 1rem 1.5rem;
  text-decoration: none;
}

.hero-content .title {
  color: var(--color-white);
}

.hero-content .sub-title {
  max-width: 600px;
}

/* === Burger (mobile uniquement) === */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-white);
  cursor: pointer;
  z-index: 1001;
}

.burger.active i::before {
  content: "\f62a"; /* icône bootstrap "x-lg" quand actif */
}

/* main */
main {
  width: 100%;
}

/* === Values Section === */
.values {
  width: 100%;
  height: 100vh;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem;
  gap: 2rem;
}

.values .sub-title {
  max-width: 600px;
}

.values .items {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
  gap: 2rem; /* espace entre les éléments */
  width: 100%;
  justify-items: center; /* centre horizontalement chaque élément dans sa cellule */
  align-items: center; /* centre verticalement chaque élément */
}

.values .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.values .item img {
  max-width: 100px;
  height: auto;
}

.values .item .label {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text);
}

/* === Our Vision Section === */
.our-vision {
  width: 100%;
  height: min-content;
  background: url("./../imgs/our-vision-bg.jpg") center/cover no-repeat;
  color: var(--color-white);
}

.our-vision .overlay {
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 16rem 4rem;
  height: 100%;
}

.our-vision .icon {
  width: 48px;
  height: auto;
}

.our-vision .title,
.our-vision .sub-title {
  color: inherit;
  width: 75%;
}

.our-vision .title {
  font-weight: 200;
}

/* Section Objectifs */
.objective {
  width: 100%;
  height: 100vh;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem;
  gap: 2rem;
}

.objective .icon {
  width: 48px;
  height: auto;
}

.objective .item-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  height: 400px;
}

.objective .item {
  position: relative;
  /* aspect-ratio: 9 / 16; */
  border-radius: var(--radius);
  overflow: hidden;
  background: center/cover no-repeat;
  height: 100%;
}

.objective .item[data-bg] {
  background-image: var(--bg-img);
}

.objective .item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 50%
  );
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  color: var(--color-white);
  padding: 1rem;
}

.objective .number {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: bold;
  opacity: 0.5;
  margin: 0 0 0.5rem;
  position: relative;
  left: 65%;
  margin: 0;
  width: min-content;
  color: var(--color-white);
}

.objective .label {
  font-weight: bold;
  margin: 0;
  position: relative;
  top: 55%;
}

/* our solution */
.our-solution {
  width: 100%;
  /* height: 100vh; */
  background: var(--bg-img) center/cover no-repeat;
  text-align: center;
}

.our-solution .overlay {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 2rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 4rem;
  width: 100%;
  height: 100%;
  color: var(--color-white);
}

.our-solution .title,
.our-solution .sub-title {
  color: var(--color-white);
}

.our-solution .title > .sub-title {
  max-width: 300px;
}

.our-solution .features-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.our-solution .feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 500px;
}

.our-solution .icon {
  width: 64px;
}

/* Soil Analysis Section */
.soil-analysis {
  width: 100%;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--color-bg);
}

.soil-analysis .title {
  text-align: left;
}

.soil-analysis .description {
  width: 75%;
  text-align: left;
}

.soil-analysis .steper-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.soil-analysis .step {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.soil-analysis .left-container {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 50%;
}

.soil-analysis .content-container {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
  width: 50%;
}

.soil-analysis .number {
  font-weight: bold;
  color: var(--color-primary);
}

.soil-analysis .illustration {
  width: 50%;
  border-radius: var(--radius);
  object-fit: cover;
  height: 30rem;
}

/* Anomaly Detection Section */
.anomaly-detection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  height: 100vh;
  padding: 4rem;
  background: var(--color-white);
}

.anomaly-detection .content-container {
  /* flex: 1 1 60%; */
  width: 65%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
  padding: 1rem;
}

.anomaly-detection .title {
  color: var(--color-primary);
}

.anomaly-detection .sub-title {
  font-weight: 500;
  color: var(--color-text);
}

.anomaly-detection .description {
  /* font-size: clamp(1rem, 2vw, 1.125rem); */
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.anomaly-detection img {
  /* flex: 1 1 35%; */
  /* max-width: 500px; */
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

/* Stores Section */
.stores {
  display: flex;
  flex-wrap: wrap; /* permet responsive sur petits écrans */
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100vh;
  background: var(--color-bg);
}

.stores .content-container {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
  padding: 4rem;
}

.stores p {
  width: 75%;
  text-align: center;
  color: var(--color-text-secondary);
}

.stores .stores-container {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.stores .stores-container img {
  height: auto;
  width: 40%;
  object-fit: contain;
}

.stores .app-container {
  position: relative;
  height: 100%;
  flex: 1 1 50%;
  overflow: hidden;
  border-radius: var(--radius);
}

.stores img.app-image {
  transform: scale(1.5);
  position: absolute;
  bottom: 10%;
  right: 0;
  left: 1%;
  transition: transform 0.3s ease;
}

.stores img.app-image:hover {
  transform: scale(1.5);
}

/* ==================== Base existante ==================== */
.sensor {
  width: 100%;
  background-color: var(--color-white);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.sensor .sensor-header {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 25%;
}

.sensor .sensor-subtitle {
  width: 75%;
}

.sensor .sensor-body {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}

.sensor .sensor-features {
  width: 60%;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
}

.sensor .sensor-illustration {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sensor .sensor-illustration img {
  aspect-ratio: 9/16;
}

.sensor .sensor-feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: rgba(0, 0, 0, 0.2) solid 1px;
  width: 50%;
  height: 100%;
  font-size: 16px;
  padding: 0.5rem;
}

.sensor .sensor-feature img {
  width: 5rem;
  height: auto;
  margin-bottom: 1rem;
}

.sensor .sensor-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.sensor .price-label {
  margin: 1rem 0;
}

.sensor .price-value {
  font-size: 4rem;
  margin: 0;
  font-weight: bold;
}

.sensor .price-action {
  font-size: 2rem;
  text-decoration: underline;
}

/* plans (forfaits) */

section.plans {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  width: 100%;
  gap: 2rem;
  padding: 4rem;
  background-color: var(--color-white);
  overflow: hidden;
}

section.plans .plans-title {
  margin: 0;
}

section.plans .plans-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background-color: var(--color-bg);
  border-radius: 2rem;
  padding: 0.5rem 1;
}

section.plans .plans-tabs .tab-btn {
  background-color: var(--color-bg);
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
}

section.plans .plans-tabs .tab-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: bold;
}

section.plans .plans-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
}

section.plans .plan-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 0.5rem;
  padding: 1rem;
  background-color: var(--color-bg);
  border-radius: var(--radius);
  max-width: 400px;
}

section.plans .plan-card * {
  margin: 0;
}

section.plans .plan-card.active {
  background-color: var(--color-primary);
  color: var(--color-white);
}

section.plans .plan-card .plan-name,
section.plans .plan-card .plan-tagline {
  color: var(--color-text);
  font-weight: 500;
}

section.plans .plan-card.active .plan-name,
section.plans .plan-card.active .plan-tagline {
  color: var(--color-white);
  width: 100%;
}

section.plans .plan-card.active .plan-bonus {
  display: inline-block;
  margin-left: 15%;
  font-size: 1rem;
  width: max-content;
}

section.plans .plan-card .plan-price {
  font-size: 2rem;
  font-weight: bold;
}

section.plans .plan-card li {
  list-style: none;
}

section.plans .plan-divider {
  color: var(--color-text);
  width: 100%;
}

section.plans .plan-feature-missing {
  text-decoration: line-through;
}

section.plans .plan-btn {
  width: 100%;
  border-radius: 50rem;
  background-color: var(--color-primary);
  color: var(--color-white);
}

section.plans .plan-btn.active {
  background-color: var(--color-secondary);
  color: var(--color-text);
}

/* team section */
section.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 2rem;
  padding: 4rem;
  overflow: hidden;
}

/* subtitle */
.team-subtitle {
  width: 40rem;
  text-align: center;
}

/* grid des membres */
.team-members {
  /* display: grid;
  grid-template-columns: repeat(3, 1fr); */
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  justify-content: space-evenly;
}

/* carte membre */
.team-member {
  position: relative;
  width: 100%;
  max-width: 25rem;
  height: 30rem;
  border-radius: var(--radius);
  overflow: hidden;
  justify-self: center;
}

/* image membre */
.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* object-fit: contain; */
  display: block;
}

/* overlay du membre */
.member-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  transition: background 0.3s ease;
  /* background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(4, 128, 64, 1) 100%
  ); */
}

/* effet hover */
.member-overlay:hover {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(4, 128, 64, 1) 100%
  );
}

/* info du membre */
.member-info {
  margin-left: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: start;
  color: var(--color-white);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.member-info .member-name {
  color: var(--color-white);
}

/* hover pour afficher info */
.member-overlay:hover .member-info {
  opacity: 1;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background-color: var(--color-white);
}

.contact .container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 3rem;
  padding: 4rem;
  height: auto;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}

/* Colonnes */
.contact-left,
.contact-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* === Formulaire === */
.contact-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form .form-label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #444;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #d0d7de;
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: #fff;
  transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.25rem rgba(4, 128, 64, 0.25); /* vert transparent */
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

/* Bouton */
.contact-btn {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: 50rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-btn:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  color: var(--color-text);
}

.contact-btn:active {
  transform: scale(0.97);
}

/* === Infos === */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background-color: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-info p {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-medias {
  display: flex;
  gap: 1rem;
}

.social-medias img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
}

.social-medias img:hover {
  transform: scale(1.1);
}

/* === Illustration === */
.contact-illustration {
  /* flex: 1; */
  border-radius: var(--radius);
  height: min-content;
}

.contact-illustration img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  border-radius: var(--radius);
}

/* === Responsive === */
@media (max-width: 992px) {
  .contact {
    flex-direction: column;
    padding: 2rem;
  }

  .contact-left,
  .contact-right {
    width: 100%;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: #111; /* couleur de fond */
  color: #fff; /* couleur texte */
  padding: 2rem 4rem;
  font-family: sans-serif;
}

/* Bloc du haut */
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-slogan {
  font-size: 1.5rem;
  font-weight: 500;
}

/* Nouveau conteneur pour adresse + contact */
.footer-info {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.footer-contact a {
  color: var(--color-white);
}

.footer-title {
  /* font-size: 1rem; */
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.footer-text {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

/* Bloc du bas */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* pour passer en colonne sur mobile */
  gap: 1rem;
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Réseaux sociaux */
.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer .social-icon {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer .social-link:hover .social-icon {
  transform: scale(1.1);
}

/* media query */
/* Extra extra large (xxl : ≥1400px) → pas besoin de query, styles par défaut */

/* Extra large (xl : <1400px) */
@media (max-width: 1399.98px) {
  /* body * {
    color: red;
  } */

  /* team */

  .team-member {
    max-width: 20rem;
    height: 25rem;
    justify-self: center;
  }
}

/* Large (lg : <1200px) */
@media (max-width: 1199.98px) {
  /* styles ici */
  /* body * {
    color: blue;
  } */

  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
  }

  .navbar.open {
    right: 0;
  }

  .navbar ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .header .cta {
    align-self: stretch;
  }

  .burger {
    display: block;
  }

  .burger.active {
    position: fixed;
    right: 1rem;
  }
}

/* Medium (md : <992px) */
@media (max-width: 991.98px) {
  /* styles ici */
  /* body * {
    color: yellow;
  } */

  /* objective */
  .objective {
    height: min-content;
    padding: 8rem 1rem;
  }

  .our-vision .title,
  .our-vision .sub-title {
    color: inherit;
    width: 100%;
  }
  .objective .item-container {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .objective .item {
    height: 25rem;
    aspect-ratio: 10/16;
    justify-self: center;
    align-self: center;
  }

  /* our solution */
  .our-solution {
    height: min-content;
  }

  .our-solution .overlay {
    padding: 4rem 2rem;
  }

  .our-solution .features-container {
    display: grid;
    grid-template-columns: 1fr;
  }

  .our-solution .feature {
    flex: 0 1 calc(50% - 2rem);
  }

  /* soil analysis */
  .soil-analysis {
    padding: 4rem 2rem;
    gap: 1rem;
  }

  .soil-analysis .description {
    width: 100%;
  }

  /* anomaly detection */
  .anomaly-detection {
    flex-direction: column-reverse;
    height: min-content;
    padding: 4rem 2rem;
  }

  .anomaly-detection img {
    height: 25rem;
    width: 50%;
    object-fit: fill;
  }

  .anomaly-detection .content-container {
    gap: 0rem;
  }

  /* Stores Section */
  .stores {
    flex-direction: column-reverse;
    height: min-content;
    padding: 2rem;
  }

  .stores .content-container {
    flex: none;
  }

  .stores .app-container {
    flex: none;
    width: 75%;
    height: 30rem;
  }

  .stores img.app-image {
    transform: scale(1);
    left: 0%;
    bottom: 0%;
  }

  .stores img.app-image:hover {
    transform: scale(1.1);
  }

  /* sensor */
  .sensor {
    padding: 4rem 2rem;
    gap: 1rem;
  }
  .sensor .sensor-body {
    height: min-content;
    flex-direction: column;
    gap: 0rem;
  }

  .sensor .sensor-illustration {
    padding-top: 2rem;
    order: 1;
  }
  .sensor .sensor-price {
    height: min-content;
  }

  /* plan forfait */

  section.plans {
    gap: 1rem;
    padding: 4rem 2rem;
  }

  section.plans .plans-list {
    flex-direction: column;
  }

  section.plans .plans-tabs .tab-btn {
    font-size: 0.75rem;
  }

  /* contact */
  .contact .container {
    flex-direction: column;
    gap: 1rem;
    padding: 4rem 2rem;
    overflow: hidden;
    height: min-content;
  }

  .contact-illustration {
    flex: none;
    height: 25rem;
  }
}

/* Small (sm : <768px) */
@media (max-width: 767.98px) {
  /* styles ici */
  /* body * {
    color: brown;
  } */
}

/* Extra small (xs : <576px) */
@media (max-width: 575.98px) {
  /* body * {
    color: blueviolet;
  } */
  /* heror section */
  .hero-content {
    padding: 0 1rem;
  }

  .cta-container {
    flex-direction: column;
    gap: 1rem;
  }

  .header {
    padding: 0 1rem;
  }

  /* values section */
  .values {
    height: min-content;
  }
  .values .items {
    grid-template-columns: 1fr; /* 3 colonnes égales */
    gap: 2rem; /* espace entre les éléments */
  }

  /* objective */
  .objective .item-container {
    grid-template-columns: repeat(1, 1fr);
  }

  /* soil-analysis  */
  .soil-analysis .step {
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .soil-analysis .left-container {
    width: 100%;
  }

  .soil-analysis .content-container {
    gap: 0.5rem;
    width: 100%;
  }

  .soil-analysis .illustration {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }

  /* anomaly detection */
  .anomaly-detection img {
    height: 25rem;
    width: 100%;
    object-fit: fill;
  }
  .anomaly-detection .content-container {
    width: 100%;
  }

  /* Stores Section */

  .stores .content-container {
    flex: none;
    padding: 0;
    margin-top: 1rem;
  }

  .stores .content-container p {
    width: 100%;
  }

  .stores .app-container {
    width: 100%;
    height: 15rem;
  }
  .stores img.app-image {
    transform: scale(0.75);
    left: 0%;
    bottom: -20%;
  }

  /* sensor */
  .sensor .sensor-features {
    flex-direction: column;
    width: 100%;
  }

  .sensor .sensor-subtitle {
    width: 100%;
  }

  .sensor .price-value {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .sensor .price-action {
    font-size: 1.5rem;
  }

  /* plan */
  section.plans {
    padding: 2rem 1rem;
    gap: 1rem;
  }
  section.plans .plans-tabs {
    flex-wrap: wrap;
    /* gap: 0.5rem; */
    padding: 0.5rem 0.5rem;
    border-radius: 8px;
  }

  section.plans .plans-tabs .tab-btn {
    border: #33333321 solid 0.5px;
  }

  section.plans .plans-tabs .tab-btn.active {
    border: none;
  }

  section.plans .plans-list {
    gap: 0.5rem;
    padding: 0;
  }
  /* team */
  section.team {
    padding: 2rem 1rem;
    gap: 1rem;
    overflow-x: hidden;
  }

  .team .team-members {
    overflow-x: hidden;
  }

  .team-subtitle {
    width: 100%;
  }
  .team-members {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }

  /* contact */
  .contact-form {
    padding: 1rem;
  }

  section.contact {
    padding: 0;
  }

  .contact .container {
    padding: 2rem 1rem;
  }

  /* footer */
  .footer {
    padding: 2rem 1rem;
  }
  .footer-top {
    grid-template-columns: 1fr; /* une seule colonne */
    text-align: center;
  }

  .footer-info {
    align-items: center; /* centrer adresse et contact */
    justify-content: space-around;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
