:root {
    --gradient-start: #5286cb;
    --gradient-end: #59d4a9;
    --font-sans: 'Poppins';
    --text-dark: #222;
    --bg-light: #f9f9fb;
    --color1:#235279;
    --color2:#93c432;
    --color3:#5286cb;
    --color4:#6ebfbf;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
}

/*HEADER*/
.logo {
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.soluce{
  background: rgba(233, 243, 243, 0.681);
}
.header-tel{display: none;}
header {
  z-index: 100;
  position: fixed;
  top: 10px;
  left: 10rem;
  right: 10rem;
  background: rgba(255, 255, 255, 0.681);
  backdrop-filter: blur(70px);
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 16px;
  box-shadow: 0 12px 12px rgba(0,0,0,0.2);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-menu {
  flex: 1 1 auto;  
  display: flex;
  justify-content: center; 
  gap: 10px;
}

.header-menu a {
  color: black;
  padding: 6px 15px;
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.2s;
}
.header-menu a:hover {
  background-color: rgba(7, 47, 96, 0.1);
  transform: translateY(-2px);
}

.header-menu a.active {
  color: var(--gradient-start);             
}

.header-menu a.active:hover {
  background: none;         
  transform: none;
}
.header-right a:last-child {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  color: white;
  padding: 7px 17px;
}

.header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switcher {
    display: flex;
    gap: 5px;
}
.language-switcher button {
    cursor: pointer;
    border:none;
    position: relative;
    background: none;
    font-size: 14px;
    padding: 6px 14px;
    color: #5286cb;
    transition: transform 0.2s;
}
.language-switcher button:hover {
    transform: translateY(-2px);
    color:black;
}
.language-switcher button.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background-color: var(--gradient-start);
    border-radius: 2px;
}
.language-switcher button.active:hover{
    transform: none;
    color:#5286cb;
    cursor:default;
}

.contact-btn {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  padding: 7px 17px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s;
}
.contact-btn:hover {
  transform: translateY(-2px);
}

.titre{
  padding : 10rem 10rem 5rem;
  text-align: center;

}
.titre h1{
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.titre p{
font-size: 1rem;
}

.pillars-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.pillar-card {
  color: black;
  padding: 1.5rem;
  border: solid 1px #222;
  border-radius: 16px;
  width: 220px;
  text-align: center;
}

.pillar-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.access{
  color:var(--color1);
}
.secu{
  color:var(--color2);
}
.precis{
  color:var(--color3);
}
.transp{
  color:var(--color4);
}

.pillar-text {
  font-size: 1rem;
  line-height: 1.4;
}

/*SOLUTION*/
.features {
  padding: 0rem 10rem 5rem 10rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.intro{
  margin-bottom: 2rem;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-img {
  flex: 1;
}
.feature-img img{
  width: 600px;
}
.feature-content {
  flex: 1;
}

.feature-tag {
  background:var(--gradient-start);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.feature-content h3 {
  font-size: 2rem;
  margin: 1rem 0rem;
  line-height:1;
}

.feature-content p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #444;
}

.feature-content ul {
  padding-left: 0;
  font-size: 1rem;
  color: #333;
}

.feature-content li {
  display: flex;
  align-items: center;
  gap:10px;
}

.feature-content li::before{
    content: '✔';
    color: var(--gradient-end);
    font-size: 1.3rem;
}
/*ABOUT US*/
.team-section {
  background: url("images/background.webp");
  padding: 10rem 10rem;
  text-align: center;
}

.team-section h1 {
  font-size: 3rem;
  color:#fff;
  margin-bottom: 0.5rem;
}

.team-section p{
  color:#fff;
}
.team-intro {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #555;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  padding: 1.1rem 0rem;
  padding-top:1.5rem;
  width: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s;
}
.team-card:hover{
  transform: scale(1.1);
}
.team-photo {
  width: 150px;
  height: 200px;
  border-radius: 10%;
  object-fit: cover;
  margin-bottom: 1rem;
}
.team-name {
  font-size: 1.25rem;
  margin: 0;
}

.team-role {
  margin: 0.5rem 0 0rem;
  padding: 0.25rem 0.75rem;
  border: 2px solid var(--gradient-start);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--gradient-start);
}

.mission{
    margin: 4rem 10rem;    
}

.mission h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: left;
}

.mission-content{
  margin-bottom: 2rem;
}
.mission-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.mission-card {
  background: white;
  border: 1px solid #dbe7f5;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  max-width: 300px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(82, 134, 203, 0.2);
}

.mission-card h3 {
  color: #5286cb;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.flex{
    display: flex;
}

.flex-column{
    flex-direction: column;
}
.center{
    justify-content: center
}
.gap{
    gap:50px;
}

.espace{
    margin-top:5rem;
}

/*CONTACT*/
.contact-banner {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    text-align: center;
    padding: 1rem 1rem;
}

.contact-banner h2{
    margin-bottom:1rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.material-symbols-outlined {
  font-size: 1.2rem;
}
footer {
    font-size: 0.875rem;
    padding: 0.2rem;
    text-align: center;
    color: #666;
}

@media (max-width: 968px) {
  * {
    box-sizing: border-box;
  }

  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .logo {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }

  header{display: none;backdrop-filter: blur(40px);}

  #mobile-menu{
    right: 25px;
    align-items:end;
    overflow: hidden;
    max-height: 0;
    gap:10px;
    transition: max-height 0.4s ease;
    display: flex;
    flex-direction: column;
  }

  #mobile-menu a{
    font-size: 0.8rem;
    padding:0.3rem;
    text-align: center;
    text-decoration: none;
    color:#5286cb;
  }

  #mobile-menu.menu-open{
    max-height: 300px;
  }
  #mobile-menu .contact-btn {
    color:white;
  }
  #sommaire-icon{
    position: fixed;
    right: 25px;
    border-color: none;
    border: none;
    color: rgb(0, 130, 252);
    cursor: pointer;
    z-index: 1000;
  }
  .header-tel{
    z-index: 100;
    position:fixed;
    top:10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 10px); 
    background: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem;
    border-radius: 16px;
    box-shadow: 0 12px 12px rgba(0,0,0,0.1);
  }
  
  .header-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .titre{
    padding :6rem 1rem 0rem;
    text-align: center;

  }
  .titre h1 {
    font-size: 2rem;
    text-align: center;
  }

  .titre p {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  section{
    padding:1rem;
  }

  .pillars-container {
    gap: 1rem;
    margin-top: 1rem;
  }
  .pillar-text{
    font-size: 0.9rem;
  }
  .pillar-title {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }
  .pillar-card {
    padding:0.5rem;
    width: 160px;
  }
  .intro{
    margin-bottom:1rem ;
  }
  .features {
    padding: 1rem 0rem;
    display: flex;
    gap: 0rem;
  }
  .feature-tag{
    margin-bottom: 0rem;
  }
  .feature-row {
    display:flex;
    flex-direction: column-reverse;
    align-items: center;
  }
  .feature-content h3{
    font-size: 1.5rem;
  }
  .feature-content p{
    font-size: 1rem;
  }
  .feature-row.reverse {
    flex-direction: column-reverse;
    gap:0.5rem;
  }

  .feature-row{
    gap:0.5rem;
  }

  .feature-img img {
    width: 100%;
  }

  .team-section {
    background: url("images/background.webp");
    background-size: cover;
    background-repeat: no-repeat;
    padding: 3rem 1rem;
    padding-top: 8rem;
    text-align: center;
  }

  .team-section h1 {
    font-size: 1.8rem;
  }

  .team-section p{
    color:#fff;
    font-size: 1rem;
  }
  .team-intro {
    margin-bottom: 2rem;
  }

  .team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .team-card {
    border-radius: 16px;
    padding: 1rem;
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s;
  }
  .team-card:hover{
    transform:none;
  }
  .team-photo {
    width: 120px;
    height: 160px;
    object-fit: cover;
    margin-bottom: 0rem;
  }

  .team-photo img{
    border-radius: 20px;
  }
  .team-name {
    font-size: 1rem;
    margin: 0;
  }

  .team-role {
    margin: 0.5rem 0 0rem;
    padding: 0.1rem 0.8rem;
    border: 1px solid var(--gradient-start);
    border-radius: 999px;
    font-size: 0.6rem;
    color: var(--gradient-start);
  }

  .mission{
      margin: 2rem 1rem;    
  }

  .mission h2 {
      font-size: 2rem;
      font-weight: 600;
      margin-bottom: 1rem;
      text-align: left;
  }

  .mission-content{
    margin-bottom: 1rem;
  }
  .mission-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 1rem;
  }

  .mission-card {
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .mission-card h3 {
    color: #5286cb;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    }

  .contact-banner h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .social-text{
    display:none;
  }

  footer {
    font-size: 0.7rem;
  }
}

