@import url('https://fonts.googleapis.com/css2?family=Satoshi&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Sora:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap");

* { 
    margin: 0; padding: 0; box-sizing: border-box; }
    body {
      
      background-color: #0d0d0d;
      color: #f4f4f4;
      line-height: 1.6;
    }

    a { color: inherit; text-decoration: none; }

    h1{
      font-family: 'Sora', sans-serif;
      color: white;
    }
    h2 { 
      background: linear-gradient(to bottom, #FBE79E, #FFFFFF);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-family: 'Sora', sans-serif;
     }
     h3{
      font-size: large;
      font-family: 'Sora', sans-serif;
      background: linear-gradient(to bottom,  #F2CCA2, #CBEAFA);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
     }
    

    h1 span, h2 span { 
      background: linear-gradient(to bottom, #C49B3F, #FBE79E);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-family: 'Sora', sans-serif;
      font-style: italic;
      
     }

    .logo img {
      height: 50px;
      margin-top: 10px;
      margin-bottom: 5px;
    }

    /* Header */
    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 25px 40px;
      z-index: 10;
      position: fixed;
      width: 95%;
      height: 13%;
      top: 0;
      background-color: #18181868;
      backdrop-filter: blur(20px);
      background: linear-gradient(to bottom, rgb(24, 24, 24), rgba(24, 24, 24, 0.604));
      background-image: url("../images/bg header2.png");
      background-size: contain;
      background-blend-mode: multiply;
      margin-top: 1%;
      margin-left: 2%;
      border-radius: 20px;
      
    }
    
    .nav-item {
      color: white;
      text-decoration: none;
      font-family: 'Inter', sans-serif;
      margin: 0 12px;
      font-size: 16px;
      position: relative;
      padding: 6px 12px;
    }
    
    /* Hover = juste doré */
    .nav-item:hover {
      color: #f5b841;
    }

    /* Scroll actif = doré + encadré */
    .nav-item.active {
      background-image: url("../images/cadre.png");
      display: inline-block;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      min-width: 100px;
      min-height: 40px;
      padding: 10px 16px;
      color: #FBE79E;
      font-weight: bolder;
      font-size: 18px;
      text-align: center;
    }
    
        /* Cacher le bouton burger sur PC */
        .burger {
          display: none;
          font-size: 1.5rem;
          background: none;
          border: none;
          cursor: pointer;
          color: white;
          display: none;
          align-items: center;
          gap: 8px;
        }

        #burger-label {
          color: white;
      text-decoration: none;
      font-family: 'Inter', sans-serif;
      margin: 0 12px;
      font-size: 16px;
      position: relative;
      padding: 6px 12px;
        }



      
    /* Hero */
    .hero {
      padding: 80px 40px 40px;
      margin-top: 10%;
      text-align: center;
    }
    .hero h1 {
      font-size: 55px;
      margin-bottom: 10px;
      font-family: 'Sora', sans-serif;
      color: white;
    }
    
    .hero p {
      font-size: 30px;
      color: #ccc;
      font-family: 'Roboto', sans-serif;
    }
    
    /* Intro */
    .intro {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 3% 8%;
      padding-bottom: 3%;
      background-image: url("../images/blur.png");
      background-size: 100% 100% ;
    }

    .intro-mobile {
      display: none;
    }
    .intro-desktop {
      display: flex;
    }
    .intro-text {
      flex: 0 0 61%;
    }
    
    .intro-image {
      flex: 0 0 40%;
    }

    .intro h2{
      font-size: 32px;
      padding-bottom: 5%;
      
    }
    .intro p {
      font-family: 'Roboto', sans-serif;
      font-weight: lighter;
      font-size: 17px;
      padding-bottom: 4%;
      max-width: 50%;
      line-height: 1.1;
    }
    .intro img {
      max-width: 400px;
    }
    .intro a {
      display: inline-block;
      background-image: url("../images/cadre.png");
      background-repeat: no-repeat;
      background-position: center;
      background-size: 100% 100%;
      padding: 10px 28px;
      color: #fbe79e;
      margin-top: 3%;
      font-weight: bolder;
      font-size: 22px;
      font-family: 'Orbitron', sans-serif;
      text-decoration: none;
      position: relative;
      overflow: hidden;
      z-index: 1;
      transition: color 0.3s ease;
    }

    
    /* glow invisible au repos */
    .intro a::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 200%;
      height: 100%;
      background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 222, 100, 0.25),
        transparent
      );
      opacity: 0;
      transition: all 1.0s ease;
      z-index: 0;
    }
    
    /* glow visible et animé au hover */
    .intro a:hover::before {
      left: 100%;
      opacity: 1;
    }
    
    /* pour que le texte passe au-dessus du glow */
    .intro a span {
      position: relative;
      z-index: 1;
    }
    
    /* Section|title */
    .section-title {
      text-align: center;
      margin-bottom: 6%;
    }
    
    .subtitle {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      margin-bottom: 2%;
      font-family: 'Orbitron', sans-serif;
      font-size: 20px;
      color: #cccccc;
    }
    
    .section-title h2 {
      font-size: 32px;
      font-weight: 700;
      font-family: 'Sora', sans-serif;
      margin: 0;
    }
    
    .section-title .white {
      color: white;
      font-style: normal;
      font-size: 45px;
      background: none;
      background-color: white;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    
    .section-title .gold {
      background: linear-gradient(to right, #B49159, #FBE79E);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-style: normal;
      font-size: 45px;
    }
    
    .section-desc {
      color: #B0B0B0;
      font-family: 'Roboto', sans-serif;
      font-size: 20px;
      margin-top: 1%;
      text-align: center;
    }

    /* Valeur ajoutée */
    .valeurs {
      position: relative;
      background-color: #0c0c0c;
      padding: 120px 40px 60px;
      z-index: 1;
      margin-top: 2%;
      margin-top: -0.5;
    }
    .valeurs::before {
      content: "";
      position: absolute;
      top: -70px;
      left: 0;
      width: 100%;
      height: 80px;
      background: linear-gradient(to bottom, rgba(12,12,12,0), #0c0c0c);
      z-index: -1;
    }
    .valeurs::after {
      content: "";
      position: absolute;
      bottom: -70px;
      left: 0;
      width: 100%;
      height: 80px;
      background: linear-gradient(to top, rgba(12, 12, 12, 0), #0c0c0c);
      z-index: -1;
    }

    .values-desktop {
      display: block;
    }
    .values-mobile {
      display: none;
    }

    .valeurs h2 {
      text-align: center;
      margin-bottom: 20px;
    }
    .valeurs p {
      margin-bottom: 40px;
      color: #d5d5d5;
    }
   
    .valeurs-carousel {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
      flex-wrap: wrap;
    }
    
    .valeurs-illustration {
      flex: 1 1 55%;
      min-width: 300px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .valeurs-slider {
      flex: 1 1 40%;
      min-width: 280px;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .carousel-card {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      pointer-events: none;
    }
    
    .carousel-card.active {
      opacity: 1;
      pointer-events: auto;
      flex: 0 0 40%;
    }
    
    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.1);
      border: none;
      color: #FBE79E;
      font-size: 24px;
      padding: 8px 12px;
      cursor: pointer;
      z-index: 2;
      border-radius: 6px;
    }
    
    .carousel-btn:hover {
      background: rgba(255, 255, 255, 0.3);
    }
    
    .carousel-btn.prev {
      left: 10px;
    }
    
    .carousel-btn.next {
      right: 10px;
    }
  
    .logo_cercle {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 25%;
      background: url("../images/logo_in_cercle.png") no-repeat center/contain;
      z-index: 10;
    }
     
    .values-section {
      display: grid;
      grid-template-columns: 1fr 200px 200px 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 20px;
      width: 100%;
      height: auto;
      padding: 60px 0;
      position: relative;
      align-items: center;
      justify-items: center;
    }

    .petal {
      transform: scale(0);
      opacity: 0;
      clip-path: inset(50% 50% 50% 50%);
      transition: clip-path 0.9s ease-out, opacity 0.6s ease-out;
      width: 100%;
      max-width: 160px;
      text-align: center;
    }

    .petal.animate {
      transform: scale(1);
      opacity: 1;
      clip-path: inset(0% 0% 0% 0%);
    }

    .petal img {
      width: 100%;
      display: block;
      margin: 0 auto;
    }

    .petal-top { grid-column: 2; grid-row: 1; }
    .petal-bottom { grid-column: 2; grid-row: 2; }
    .petal-right { grid-column: 3; grid-row: 1; }
    .petal-left { grid-column: 3; grid-row: 2; }

    .side-text-left-securite {
      grid-column: 1;
      grid-row: 1;
      text-align: right;
      color: #FBE79E;
      padding-right: 20px;
    }

    .side-text-left-securite h3,
    .side-text-left-plateforme h3,
    .side-text-right-tech h3,
    .side-text-right-data h3 {
      font-size: 20px;
      font-family: 'Sora', serif;
      margin-bottom: 5%;
      background: none;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent; /* couleur par défaut, remplacée ensuite */
    }

    /* Couleurs spécifiques */
    .side-text-left-securite h3 {
      -webkit-text-fill-color: #FBE79E;
    }
    .side-text-left-plateforme h3 {
      -webkit-text-fill-color: #B49159;
    }
    .side-text-right-tech h3 {
      -webkit-text-fill-color: #FFD279;
    }
    .side-text-right-data h3 {
      -webkit-text-fill-color: #BB832A;
    }

    .side-text-left p {
      text-align: right;
    }

    .side-text-right p {
      text-align: left;
    }

    .side-text-left-plateforme {
      grid-column: 1;
      grid-row: 2;
      text-align: right;
      color: #FFD279;
      padding-right: 20px;
      margin-top: 40px;
    }


    .side-text-right-tech {
      grid-column: 4;
      grid-row: 1;
      text-align: left;
      color: #B49159;
      padding-left: 20px;
    }

    .side-text-right-data {
      grid-column: 4;
      grid-row: 2;
      text-align: left;
      color: #BB832A;
      padding-left: 20px;
      margin-top: 40px;
    }


    .center-logo {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 250px;
      height: 250px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10; /* Très important pour être au-dessus */
      
    }

    .center-logo img {
      width: 80%;
      height: 80%;
      object-fit: contain;
      border-radius: 50%;
    }
    .center-logo.pulsing {
      animation: pulse-scale 2.2s ease-out infinite;
    }
    @keyframes pulse-scale {
      0% {
        transform: translate(-50%, -50%) scale(1);
      }
      50% {
        transform: translate(-50%, -50%) scale(1.08);
      }
      100% {
        transform: translate(-50%, -50%) scale(1);
      }
    }
    
    
    /* Mission */
    .missions {
      padding: 60px 40px;
      background-color: #00000084;
    }
    .mission-wrapper {
      display: flex;
      gap: 3%;
      flex-wrap: wrap;
      margin-top: 2%;
    }
    .left-block {
      flex: 1;
      display: flex;
      flex-direction: column;           /* Alignement vertical */
      justify-content: center;         /* Centrage vertical */
      align-items: flex-start;         /* Texte aligné à gauche */
      color: #fff;
      padding: 2% 5%;              /* Espacement plus généreux */
      border-radius: 16px;
      background-image: url('../images/mission-bg.png');
      background-repeat: no-repeat;
      background-size: cover;        /* Affiche l’image dans sa taille sans la couper */
      background-position: right center;
      min-height: 500px;               /* Hauteur suffisante pour montrer le visuel */
      box-sizing: border-box;
      text-shadow: 0 0 6px rgba(0,0,0,0.5); /* Améliore la lisibilité */
    }
    
    .left-block h3 {
      font-family: "Sora" , serif;
      color: white;
      font-size: 28px;
      background: none;
      -webkit-background-clip: text;
      -webkit-text-fill-color: white;
      font-weight: 700;
      line-height: 1.4;
      margin-bottom: 5%;
    }
    
    .left-block p {
      font-size: 16px;
      margin-bottom: 3%;
      color: white;
    }
    
    .left-block a {
      display: inline-block;
      background: #fff;
      color: #000;
      padding: 12px 24px;
      border-radius: 30px;
      margin-top: 15%;
      font-weight: bold;
      text-decoration: none;
      transition: all 0.3s ease;
    }
    .left-block a:hover {
      background: #110f0777;
      color: white;
      text-decoration: solid;
      text-shadow: #666;
      transform: translateY(-2px);
    }
    
    .right-block {
      flex: 2;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10%;
    }
    .mission-item h4 {
      font-size: 35px;
      font-family: 'Sora', serif;
      color: #e1b060;
      margin-bottom: 2%;
    }
    .mission-item h5 {
      font-size: 20px;
      font-family: 'Sora', serif;
      color: #FBE79E;
      margin-bottom: 1%;
    }
    .mission-item p {
      margin: 0;
      font-size: 15px;
      font-family: "Robot" , sans-serif;
      color: #ccc;
      line-height: 1.5;
    }

    /* Projets */
    .projets {
      padding: 60px 40px;
      background-color: #0c0c0c;
    }
    .projets h3 {
      margin-top: 5%;
      text-align: center;
      font-size: 30px ;
      margin-bottom: 3%;
    }



    .tin-content {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 60px;
      flex-wrap: wrap;
    }
    
    .tin-text {
      max-width: 30%;
      text-align: left;
      font-size: 17px;
      font-family: 'Inter', sans-serif;
      line-height: 1.6;
      color: #ddd;
    }
    
    .tin-image img {
      max-width: 85%;
      max-height: 110%;
      display: block;
      margin: 0 auto;
    }
    

    .projets-cards {
      margin-top: 7%;
      display: flex;
      justify-content: center;
      gap: 30px;
      flex-wrap: wrap;
      margin-bottom: 10%;
    }
    
    .projets-cards .card {
      background: #1e1e1e;
      border-radius: 8px;
      max-width: 25%;
      min-width: 260px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease;
    }
    
    .projets-cards .card:hover {
      transform: translateY(-5px);
    }
    
    /* Zone image */
    .card-img {
      height: 180px; /* fixe */
      overflow: hidden;
    }
    
    .card-img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
    }
    
    /* Zone texte */
    .card-body {
      padding: 20px;
    }
    
    .card-body h4 {
      margin: 0 0 10px;
      color: #fbe79e;
      font-size: 18px;
    }
    
    .card-body p {
      margin: 0;
      font-size: 15px;
      color: #ccc;
      line-height: 1.5;
    }
    

    .btn-default {
      font-family: 'Orbitron', sans-serif;
      font-size: 16px;
      padding: 12px 24px;
      color: #fceab7;
      background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
      border: 1px solid #fceab7;
      border-radius: 12px;
      box-shadow: 0 0 4px rgba(252, 234, 183, 0.2);
      text-decoration: none;
      transition: all 0.3s ease-in-out;
      display: inline-block;
      position: relative;
      overflow: hidden;
    }
    .btn-container {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 40px; /* optionnel : pour espacer */
    }
    /* Effet hover */
    .btn-default:hover {
      color: #0c0c0c;
      background-color: #fceab7;
      box-shadow: 0 0 18px rgba(252, 234, 183, 0.6);
      transform: translateY(-2px);
    }

    /* Contact */
    .contact-section {
      background: #000000dd;
      padding: 100px 40px 80px;
      text-align: center;
      position: relative;
      z-index: 1;
    }
    
    .contact-section::after {
      content: "";
      position: absolute;
      bottom: -60px;
      left: 0;
      width: 100%;
      height: 60px;
      background: linear-gradient(to top, rgba(12, 12, 12, 0), #0c0c0c);
      z-index: -1;
    }
    
    .contact-container {
      max-width: 700px;
      margin: 0 auto;
    }
    
    .contact-section h2 {
      font-size: 36px;
      margin-bottom: 10px;
    }
    
    .contact-desc {
      color: #ccc;
      margin-bottom: 40px;
      font-size: 16px;
    }
    
    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    
    .form-group {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }
    
    .form-group input {
      flex: 1;
      padding: 15px;
      background: #1e1e1e;
      border: 1px solid #555;
      color: white;
      border-radius: 8px;
      font-family: 'Orbitron', sans-serif;
    }
    
    textarea {
      padding: 15px;
      background: #1e1e1e;
      border: 1px solid #555;
      color: white;
      border-radius: 8px;
      resize: vertical;
      font-family: 'Orbitron', sans-serif;
    }
    
    .contact-form input:focus,
    .contact-form textarea:focus {
      outline: none;
      border-color: #f5c54c;
      box-shadow: 0 0 8px #f5c54c33;
    }
    
    .btn-default {
      background: none;
      color: #f5c54c;
      font-family: 'Orbitron', sans-serif;
      border: 1px solid #f5c54c;
      padding: 12px 24px;
      border-radius: 8px;
      font-weight: bold;
      font-size: 16px;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
    }
    
    .btn-default:hover {
      background: #f5c54c;
      color: #000;
      box-shadow: 0 0 15px #f5c54c77;
      transform: translateY(-2px);
    }
    
    /* Footer */
    .footer {
      background: #000000;
      padding: 5%;
    }
    .footer-logo {
      margin-bottom: 10%;
    }

    .footer-columns {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 30px;
      margin-bottom: 20px;
      margin-top: 5%;
    }

    .footer-columns strong,
    .footer-columns h4 {
      color: #fbe79e;
      margin-bottom: 10px;
      font-size: 20px;
    }
    
    .footer-copy {
      text-align: center;
      font-size: 14px;
      color: #666;
    }

    .footer-icon {
      width: 30px;
      height: 30px;
      object-fit: contain; /* évite la déformation */
      vertical-align: middle; /* aligne avec le texte */
      margin-right: 8px; /* espace avec le texte */
    }
    
    .background-video {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.5; /* facultatif : règle la transparence */
  }
