@font-face {
    font-family: 'Bahnschrift';
    src: url('fonts/bahnschrift.ttf') format('truetype');
}

/* Animation de la fleche sur le menu d'accueil */
.demo a {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 20;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, 25%);
  color: #fff;
  font : normal 400 20px/1 'Josefin Sans', sans-serif;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
}
.demo a:hover {
  opacity: .5;
}

@media (max-width: 850px) { /* pour que ce soit parfaitement centrer sur smartphone */
  .demo a {
    left: 47%;
  }
}

#section07 a {
  padding-top: 80px;
  cursor: pointer;
}
#section07 a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb07 2s infinite;
  animation: sdb07 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}
#section07 a span:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
#section07 a span:nth-of-type(2) {
  top: 16px;
  -webkit-animation-delay: .15s;
  animation-delay: .15s;
}
#section07 a span:nth-of-type(3) {
  top: 32px;
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
}
@-webkit-keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


/* Titre principal */
h1#main_title{
  font-size: xxx-large;
}
/* Sous titre principal */
h1#main_subtitle{
  font-size: 25px;
}

@media (max-width: 400px) {
  h1#main_title{
    font-size: 47px;
  }
  h3#main_subtitle{
    font-size: 20px;
  }
}
.text-center {
  text-align: center !important;
}
.d-flex {
  display: flex !important;
}
.align-items-center {
  align-items: center !important;
}
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

#hero {
  position: relative;
  background-color: #f1f1f1;
}

#hero video{
  height: 100vh;
  width: 100%;
  background-position: absolute;
  z-index: 10;
  object-fit: cover;
}

#hero .content{
  background: rgba(0, 0, 0, 0.2);
  height: 100vh;
  width: 100%;
  z-index: 20;
  position: absolute;
  top: 0;
  left: 0;
}

#hero .content h1{
  color: #fff;
  font-weight: 600;
}

#hero .content h3{
  color: #fff;
  font-weight: 300;
}

.social {
    position: absolute;
    z-index: 9;
    bottom: 20px;
    right: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}
ul{
  list-style: none;
}

.social li a {
    display: inline-block;
    margin-right: 30px;
    filter: invert(1);
    transform: scale(1.5);
    transition: 0.5s;
    color: black;
}

.social li a:hover
{
  transform: scale(2) translateY(-3px);
  outline: none;
  text-decoration: none;
}

*{
  margin: 0;
  padding: 0;
  text-decoration: none;
  font-family: "Ubuntu",sans-serif;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

::selection{
  background-color: #48dbfb60;
}

::-webkit-scrollbar{
  width: 10px;
  background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb{
  background-color: #efa906;
}

.navbar{
  position: fixed;
  background-color: transparent;
  width: 100%;
  padding: 30px 0;
  top: 0;
  z-index: 999;
  transition: .3s linear;
}

.inner-width{
  max-width: 1300px;
  margin: auto;
  padding: 0 40px;
}

.navbar .inner-width{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo{
  width: 84px;
  height: 47px;
  background-image: url(../images/logo-blanc.png);
  background-size: cover;
}

.menu-toggler{
  background: none;
  width: 30px;
  border: none;
  cursor: pointer;
  position: relative;
  outline: none;
  z-index: 999;
  display: none;
}

.menu-toggler span{
  display: block;
  height: 3px;
  background-color: #fff;
  margin: 6px 0;
  position: relative;
  transition: .3s linear;
}

.menu-toggler.active span {
  background-color: #111;
}

.navbar-menu a{
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  margin-left: 30px;
  transition: .2s linear;
}

.navbar-menu a:hover{
  color: rgba(11,71,133,0.99) !important;
}

.sticky{
  background-color: #fff;
  padding: 18px 0;
}

.sticky .logo{
  background-image: url(../images/logo.png);
}

.sticky .navbar-menu a{
  color: #111;
}

.sticky .menu-toggler span{
  background-color: #111;
}

#home{
  height: 100vh;
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-attachment: fixed;
}

#home .inner-width{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

#home .content{
  width: 100%;
  color: #fff;
}

#home .content h1{
  font-size: 60px;
  margin-bottom: 60px;
}

#home .content h1::after{
  content: "Darkcode";
  animation: textanim 10s linear infinite;
}

@keyframes textanim{
  25%{
    content: "A Developer";
  }
  50%{
    content: "A Designer";
  }
  75%{
    content: "A Youtuber";
  }
}

.sm a{
  color: #fff;
  font-size: 22px;
  margin: 0 10px;
  transition: .2s linear;
}

.sm a:hover{
  color: #efa906;
}

#home .buttons{
  margin-top: 60px;
}

#home .buttons a{
  display: inline-block;
  margin: 15px 30px;
  color: #0D4584;
  font-size: 15px;
  font-weight: 500;
  width: 180px;
  border: 1px solid #0D4584;
  padding: 14px 0;
  border-radius: 6px;
  transition: .2s linear;
}

#home .buttons a:hover,
#home .buttons a:nth-child(2)
{
  background-color: #0D4584;
  color: #fff;
}

section{
  padding: 100px 0;
  background-color: #f1f1f1;
}

.section-title{
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  font-size: 26px;
  padding-bottom: 20px;
  color: #111;
}

.section-title::before{
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: #111;
  bottom: 0;
  left: calc(50% - 40px);
}

.section-title::after{
  content: "";
  position: absolute;
  width: 16px;
  height: 10px;
  background-color: #efa906;
  border: 4px solid #f1f1f1;
  left: calc(50% - 12px);
  bottom: -7px;
}

.about-content{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: white;
  padding: 35px;
  border-radius: 10px;
  box-shadow: -6px 10px 8px rgba(0, 0, 0, 0.17);
}

.about-pic{
  width: 260px;
  margin-right: 40px;
}

.about-text{
  flex: 1;
}

.about-text h3{
  margin: 10px 0;
  color: #444;
  font-size: 16px;
}

.about-text h3 span:nth-child(1):after,
.about-text h3 span:nth-child(2):after{
  content: "";
  width: 6px;
  height: 6px;
  background-color: #444;
  display: inline-block;
  border-radius: 50%;
  margin: 0 14px;
}

.about-text p{
  font-size: 17px;
  text-align: justify;
  line-height: 26px;
  margin-top: 20px;
}

.objectifs {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.objectif {
  background-color: #0D4584;
  border-radius: 5px;
  flex: 1 1 calc(25% - 2rem);
  padding: 1rem;
  min-width: 200px;

  display: flex;              /* Ajouté */
  align-items: center;        /* Pour centrer verticalement */
  gap: 1rem;                  /* Pour espacer numéro et texte */
  text-align: left;           /* Texte aligné à gauche */
}

.icon-objectif {
  width: 50px;
  height: 50px;
  background-color: #efa906;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin: 0; /* enlever le margin centré */
  flex-shrink: 0; /* éviter que l'icône rétrécisse */
}


.objectif h3 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.objectif p {
  font-size: 0.95rem;
  color: #f1f1f1;
}


.skills{
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.skill{
  width: calc(50% - 20px);
  margin: 15px 0;
}

.skill-info{
  display: flex;
  justify-content: space-between;
}

.skill-bar{
  height: 3px;
  background-color: #ddd;
  margin-top: 14px;
  position: relative;
}

.skill-bar::after{
  content: "";
  position: absolute;
  height: 6px;
  background-color: #0D4584;
  bottom: 0;
}

.html:after{
  width: 90%;
}

.css:after{
  width: 80%;
}

.js:after{
  width: 70%;
}

.php:after{
  width: 60%;
}

.mysql:after{
  width: 90%;
}

.cs:after{
  width: 80%;
}

.team-section {
  padding: 2rem 1rem;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}


.team-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  flex-direction: column; /* ordre normal sur mobile */
  align-items: center;
  gap: 2rem;
}

@media (min-width: 769px) {
  .team-content {
    flex-direction: row; /* image à gauche, texte à droite sur desktop */
    align-items: center;
  }
}

.text-column,
.card-solo {
  flex: 1 1 45%;
}

.team-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.text-column,
.cards-column,
.section-title-team,
.section-text,
.talents-text {
  order: initial;
}

/* Version mobile */
@media (max-width: 768px) {
  .team-content {
    flex-direction: column;
  }

  .section-title-team {
    order: 0;
    text-align: center;
  }

  .section-text {
    order: 2;
    text-align: center;
  }

  .cards-column {
    order: 3;
  }

  .section-lead{
  text-align: center;
  }

  .talents-text {
    order: 4;
    text-align: center;
    margin-top: 1rem;
  }

  .text-column {
    display: contents; /* Pour que chaque bloc s’aligne directement dans le flux */
  }
}


/* Ordre inversé sur mobile */
.cards-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.5rem;
  order: 2;
  flex: 1 1 100%;
}

.text-column {
  flex: 1 1 100%;
  order: 1;
  max-width: 600px;
  text-align: left;
}

.section-label {
  display: inline-block;
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title-team {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0b4785;
  margin-bottom: 1.5rem;
}

.section-title-objectifs {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: #0D4584; /* ou autre couleur si besoin */
}

.separation-b {
  width: 50px; /* longueur de la ligne */
  height: 5px; /* épaisseur de la ligne */
  background-color: rgba(11, 71, 133, 0.99); 
  border-radius: 1px;
  margin-bottom: 20px; /* espace sous la ligne (facultatif) */
  margin-top: -10px; /* espace sous la ligne (facultatif) */
}

.separation-o {
  width: 50px; /* longueur de la ligne */
  height: 5px; /* épaisseur de la ligne */
  background-color: #efa906; 
  border-radius: 1px;
  margin-bottom: 20px; /* espace sous la ligne (facultatif) */
  margin-top: -10px; /* espace sous la ligne (facultatif) */
}


.section-lead {
  font-size: 1.1rem;
  color: #495057;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Card styles */
.card {
  background-color: #fefefe;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  text-align: center;
  padding: 2rem 1rem;
  transition: transform 0.2s;
  cursor: default;
}

.card:hover {
  transform: translateY(-6px);
}

.card-body {
  padding: 0;
}

.profile-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.prestations-img {
    display: block;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    width: -webkit-fill-available;
    border-radius: 4px 4px 0px 0px;
}
.service:hover .prestations-img {
}


.card-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0b4785;
  margin-bottom: 0.25rem;
}

.card-subtitle {
  color: #6c757d;
  font-size: 0.9rem;
}

/* Responsive - grands écrans */
@media (min-width: 992px) {
  .team-content {
    flex-wrap: nowrap;
  }

  .cards-column {
    order: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 480px;
    flex: 0 0 50%;
  }

  .text-column {
    order: 2;
    flex: 0 0 50%;
    max-width: none;
    padding-left: 2rem;
  }
}



section.dark{
  background-color: #0D4584;
}

section.dark .section-title{
  color: #f1f1f1;
}

section.dark .section-title::before{
  background-color: #f1f1f1;
}

section.dark .section-title::after{
  border: 4px solid #0D4584;
}

.services{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.service{
  width: calc(25% - 20px);
  text-align: center;
  border: 1px solid #fff;
  border-radius: 6px;
  margin: 20px 0;
  padding: 0px 0px 40px;
  color: #fff;
  cursor: pointer;
  transition: .3s linear;
}

.service .icon{
  color: #efa906;
  font-size: 40px;
  margin-bottom: 20px;
  transition: .3s linear;
}

.service h4{
  font-size: 16px;
  margin-bottom: 6px;
}

.service:hover{
  background-color: #efa906;
  border: 1px solid #efa906;
}


.service:hover .icon{
  color: #fff;
}

.service:hover h4{
  color: #fff;
}

.service:hover p{
  color: #fff;
}

.works {
display: flex;
    gap: 20px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.work {
  flex: 0 0 calc((100% - 60px) / 4); /* 4 éléments par ligne avec gap de 20px entre */
  max-width: calc((100% - 60px) / 4);
  box-sizing: border-box;
  position: relative;
}

.time-line,.works{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.mobile-break {
  display: none;
}

@media (max-width: 768px) {
  .mobile-break {
    display: inline;
  }
}

.block{
  width: calc(50% - 20px);
  background-color: #fff;
  border: 1px solid #ddd;
  margin: 10px 0;
  padding: 30px;
  position: relative;
}

.block::before{
  content: "";
  position: absolute;
  width: 1px;
  height: 120%;
  background-color: #ddd;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
}

.block::after{
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: #0D4584;
  left: -28px;
  top: 30px;
  border-radius: 50%;
}

.block h3{
  font-size: 16px;
  margin: 10px 0;
}

.block p{
  font-size: 15px;
  color: #444;
}

.work{
  width: calc(33% - 10px);
  overflow: hidden;
  border-radius: 6px;
  margin: 10px 0;
  cursor: pointer;
  position: relative;
  flex: 1 1 calc(25% - 20px);
   min-width: 275px;
   display: block;
}

.work .date {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #efa906;
  color: white;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 0.9em;
  border-bottom-right-radius: 8px;
  z-index: 2;
}

.work img {
  width: 100%;
  height: 100%;
  transition: .4s linear;
  transform-origin: center center;
  will-change: transform;
}


.work::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
background-color: rgba(0, 0, 0, 0.3);
    transition: .2s linear;
  opacity: 0;
}

.work .info{
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 30px;
  color: #fff;
  transition: .4s linear;
}


.work:hover::before,
.work:hover .info
{
  opacity: 1;
  transform: scale(1);
}

.contact-info{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.contact-info .item{
  width: calc(50% - 20px);
  height: 160px;
  background-color: #efa906;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: .3s linear;
}

.contact-info i{
  display: block;
  font-size: 40px;
  line-height: 120px;
  height: 100px;
}

.contact-info .item:hover{
  background-color: #c27f08;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: black; 
  opacity: 0.5; 
}

.contact-form-recrutement input::placeholder,
.contact-form-recrutement textarea::placeholder {
  color: white; 
  opacity: 0.5;
}

.contact-form, .contact-form-recrutement{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact-form input, .contact-form textarea{
  width: 100%;
  height: 50px;
  margin: 10px 0;
  background-color: white;
  border: none;
  outline: none;
  padding: 20px;
  border-radius: 4px;
  color: black;
}

.contact-form-recrutement input, .contact-form-recrutement textarea{
  width: 100%;
  height: 50px;
  margin: 10px 0;
  background-color: #0D4584;
  border: none;
  outline: none;
  padding: 20px;
  border-radius: 4px;
  color: #fff;
}

.contact-form-recrutement input, .contact-form-recrutement textarea{

}

.nameZone, .emailZone{
  max-width: calc(50% - 10px);
}

.messageZone{
  min-height: 200px;
  resize: vertical;
}

.file-row {
  display: flex;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
  margin: 10px 0;
}

.file-group {
  flex: 1;
  min-width: 200px;
}

.file-input {
  background-color: transparent;
  color: #fff;
  padding: 10px 0;
}

.contact-form-recrutement .btn{
  width: 180px;
  background-color: transparent;
  color: #0D4584;
  font-size: 16px;
  border: 2px solid #0D4584;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
  transition: .3s linear;
}

.contact-form .btn{
  width: 180px;
  background-color: transparent;
  color: white;
  font-size: 16px;
  border: 2px solid white;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
  transition: .3s linear;
}

.contact-form .btn:hover {
  background-color: white;
  color: #0D4584;
}

.contact-form-recrutement .btn:hover{
  background-color: #0D4584;
  color: #fff;
}


footer{
  background: rgba(10, 60, 120, 0.99);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.copyright{
  margin-bottom: 20px;
  font-size: 15px;
}

.copyright a{
  font-size: 16px;
  color: #fff;
  font-weight: 500;
}

.goTop{
  position: fixed;
  z-index: 999;
  bottom: 40px;
  right: 40px;
  width: 40px;
  height: 40px;
  background-color: #efa906;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  outline: none;
  display: none;
}

@media screen and (max-width: 980px){
  .menu-toggler{
    display: block;
  }

  .navbar-menu{
    position: fixed;
    height: 100vh;
    width: 100%;
    background-color: #f1f1f1;
    top: 0;
    right: -100%;
    max-width: 400px;
    padding: 80px 50px;
    transition: .3s linear;
  }

  .navbar-menu a{
    display: block;
    font-size: 30px;
    margin: 30px 0;
    color: #111;
  }

  .sticky .navbar-menu{
    background-color: #f1f1f1;
  }
  
  .navbar-menu.active{
    right: 0;
  }

  .menu-toggler.active span:nth-child(1){
    transform: rotate(-45deg);
    top: 4px;
  }

  .menu-toggler.active span:nth-child(2){
    opacity: 0;
  }

  .menu-toggler.active span:nth-child(3){
    transform: rotate(45deg);
    bottom: 14px;
  }

  .inner-width{
    max-width: 800px;
  }

  .about-pic{
    margin: 0 auto 60px;
  }

  .about-text{
    flex: 100%;
    text-align: center;
  }

  .service{
    width: calc(50% - 20px);
  }

  .block{
    width: calc(100% - 20px);
    margin-left: auto;
  }

  .work{
    width: calc(50% - 10px);
  }

  .contact-info .item{
    width: 100%;
    margin: 10px 0;
  }
}

@media screen and (max-width: 600px){
  .inner-width{
    padding: 0 20px;
  }

  .skill{
    width: 100%;
  }

  .service{
    width: 100%;
  }

  .work{
    width: 100%;
  }

  .nameZone, .emailZone{
    max-width: 100%;
  }
}

