:root {
  --primary-color: #524092;
  --secondary-color: #eb7452;
  --tertiary-color: #6c4ee7;
  --gradient-start: var(--primary-color);
  --gradient-end: var(--secondary-color);
  --text-color: #000;
  --text-color-light: #ffffff;
  --background-color: #ffffff;
  --light-gray: #f8f9fa;
  --font-family: "Montserrat", sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-color);
  font-size: 18px;
  background: linear-gradient(
    110deg,
    var(--gradient-start) 0%,
    var(--gradient-start) 30%,
    var(--gradient-end) 70%,
    var(--gradient-end) 100%
  );
  line-height: 1.6;
  min-height: 100vh;
}

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

/* --- Header --- */
.main-header {
  background-color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  list-style: none;
  flex-grow: 1;
  justify-content: center;
}

.nav-links li {
  margin: 0 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.nav-extras {
  display: flex;
  align-items: center;
  gap: 25px;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.lang-selector img {
  height: 20px;
}

/* --- Buttons --- */
.btn {
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--tertiary-color);
  color: var(--text-color-light);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--text-color-light);
}

.btn-accent:hover {
  background-color: #d96441;
  transform: scale(1.05);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-color-light);
  border-color: var(--text-color-light);
}

.btn-outline:hover {
  background-color: var(--text-color-light);
  color: var(--accent-color);
}

.btn-large {
  padding: 15px 35px;
  font-size: 1.1rem;
}

/* --- Tagline --- */
.tagline {
  color: var(--text-color-light);
  text-align: center;
  padding: 200px 0;
  margin: 0;
}

.tagline h1 {
  font-size: 2rem;
  line-height: 1.2;
  max-width: 1000px;
  margin: 0 auto;
  font-weight: 400;
  white-space: nowrap;
}

/* --- Main Content --- */
main {
  background-color: #fff;
  border-radius: 50px;
  position: relative;
  z-index: 1;
}

/* --- General Section Styling --- */
section {
  padding: 30px 0;
}

section h2 {
  text-align: left;
  font-size: 3rem;
  margin-bottom: 30px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--gradient-start) 0%,
    var(--gradient-end) 100%
  );
}

.mission-section h2,
.technologie-section h2,
.produits-section h2,
.confidentialite-section h2,
.equipe-section h2,
.contact-section h2 {
  background: linear-gradient(
    to right,
    var(--gradient-start) 0%,
    var(--gradient-end) 50%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* --- Mission Section --- */
.mission-section {
  padding: 30px 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  margin-top: 60px;
  width: 100%;
}

.mission-card {
  text-align: center;
}

.mission-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 30px;
}

.mission-card p {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.1rem;
}

.mission-section strong {
  color: var(--secondary-color);
}

/* --- Technology Section --- */
.technologie-section {
  background-color: var(--light-gray);
  padding: 30px 0;
  border-radius: 50px;
}

.technologie-section ul {
  list-style: none;
  margin: 20px 0;
}

.technologie-section li {
  margin: 12px 0;
  padding-left: 20px;
  position: relative;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.technologie-section li::before {
  content: "•";
  color: var(--secondary-color);
  position: absolute;
  left: 0;
}

.technologie-section strong {
  color: var(--secondary-color);
}

.tech-applications {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-top: 40px;
}

.tech-image {
  flex: 0 0 50%;
}

.tech-image img {
  width: 100%;
  height: auto;
}

/* --- Products Section --- */
.produits-section {
  padding: 30px 0;
}

.product-showcase {
  display: flex;
  align-items: stretch;
  gap: 80px;
  margin-top: 40px;
  min-height: 600px;
}

.product-image {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.product-image img {
  width: 110%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin-left: -10%;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.product-logo {
  width: 300px;
  margin: 40px auto 60px;
  display: block;
}

.product-info ul {
  list-style: none;
  margin: 0 0 40px;
  width: 100%;
}

.product-info li {
  margin: 10px 0;
  padding-left: 20px;
  position: relative;
}

.product-info li::before {
  content: "•";
  color: var(--secondary-color);
  position: absolute;
  left: 0;
}

/* --- Confidentiality Section --- */
.confidentialite-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.confidentialite-content p {
  flex: 1;
  font-size: 1.2rem;
  margin: 0;
}

.shield-image {
  flex: 0 0 auto;
}

.shield-image img {
  width: 150px;
  height: auto;
}

.accent-text {
  color: var(--secondary-color);
}

/* --- Contact Section --- */
.contact-section {
  background-color: var(--light-gray);
  padding: 30px 0;
  border-radius: 50px;
}

.contact-form {
  width: 100%;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 15px 25px;
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 1.1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.contact-form button[type="submit"] {
  display: block;
  margin-left: auto;
}

/* --- Footer --- */
.main-footer {
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.footer-logo {
  height: 30px;
}

/* --- Team Section --- */
.team-layout {
  display: flex;
  gap: 60px;
  margin-top: 40px;
}

.team-founders-column {
  flex: 1;
  max-width: 50%;
}

.founders-images {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
  width: 100%;
  justify-content: center;
}

.founders-images img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
}

.team-founders-column p {
  margin: 0;
  font-weight: 500;
  font-size: 1.1rem;
  text-align: center;
}

.team-info-column {
  flex: 1;
}

.equipe-section ul {
  list-style: none;
  margin: 20px 0 40px;
}

.equipe-section li {
  margin: 10px 0;
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}

.equipe-section li::before {
  content: "•";
  color: var(--secondary-color);
  position: absolute;
  left: 0;
}

.ceo-recruitment {
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.ceo-recruitment .recruitment-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.ceo-recruitment img {
  width: 80px;
  height: 80px;
}

.ceo-recruitment p {
  flex: 1;
  margin: 0;
}

.ceo-recruitment .btn {
  display: block;
  margin-left: auto;
  width: fit-content;
}

/* --- Modal --- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  color: black;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 700px;
  border-radius: 10px;
  position: relative;
  overflow-y: auto;
}

#personal-data-modal .modal-content {
  height: 90vh;
  margin: 5vh auto;
  width: 90%;
  max-width: 900px;
  padding: 40px;
}

#personal-data-modal .modal-content ul {
  padding-left: 20px;
}

#personal-data-modal .modal-content ul ul {
  margin-left: 20px;
}

.close-btn {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .main-header {
    position: relative;
    z-index: 2;
  }

  section h2 {
    font-size: 2.5rem;
  }

  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .tech-applications {
    flex-direction: column;
  }

  .tech-image {
    flex: 0 0 100%;
  }

  .product-showcase {
    flex-direction: column;
    min-height: auto;
    gap: 40px;
  }

  .product-image {
    flex: 0 0 auto;
    width: 100%;
  }

  .product-image img {
    width: 100%;
    margin-left: 0;
  }

  .product-info {
    width: 100%;
    text-align: center;
  }

  .team-layout {
    flex-direction: column;
    gap: 40px;
  }

  .team-founders-column {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .main-header {
    padding: 10px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-extras {
    gap: 15px;
  }

  .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .tagline {
    padding: 100px 0;
  }

  .tagline h1 {
    font-size: 1.8rem;
    white-space: normal;
  }

  section {
    padding: 20px 0;
  }

  section h2 {
    font-size: 2rem;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mission-card img {
    width: 80%;
    margin: 0 auto 20px;
  }

  .product-logo {
    width: 80%;
    max-width: 250px;
  }

  .confidentialite-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }

  .shield-image img {
    width: 100px;
  }

  .founders-images {
    gap: 20px;
  }

  .founders-images img {
    width: 140px;
    height: 140px;
  }

  .ceo-recruitment .recruitment-header {
    flex-direction: column;
    text-align: center;
  }

  .ceo-recruitment img {
    width: 60px;
    height: 60px;
  }

  .ceo-recruitment .btn {
    margin: 20px auto 0;
  }

  .contact-form {
    padding: 0 10px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .tagline h1 {
    font-size: 1.5rem;
  }

  .nav-extras .btn {
    display: none;
  }

  section h2 {
    font-size: 1.8rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 20px;
  }
}
