/* TOUT */
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
  margin: 0;
  border-style: border-box;
}
body {
  background-color: #f7f4ef;
}
.container {
  padding-right: 12vw;
  padding-left: 12vw;
}

/* Article */
.article100 {
  min-height: 100vh;
  max-height: 1000vh;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.article86 {
  min-height: 86vh;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.article91 {
  min-height: 91vh;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.article50 {
  min-height: 50vh;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

/* Textes */
a{
  font-family: 'Poppins', sans-serif;
}
h1{
  font-family: 'Poppins', sans-serif;
  font-size: 2.5em;
  font-weight: 700;
  color: #d96c4a;
}
.titreAccueil{
  color: #a77966;
  text-align: center;
  font-weight: 700;
}
h2{
  font-family: 'Poppins', sans-serif;
  font-size: 2em;
  font-weight: 500;
}
.h2{
  font-family: 'Poppins', sans-serif;
  font-size: 2em;
}
h3{
  font-family: 'Poppins', sans-serif;
  font-size: 1.5em;
}
h4{
  font-family: 'Poppins', sans-serif;
  font-size: 1.5em;
}
p{
  font-family: 'Poppins', sans-serif;
}

/* Mise en page */
.displayFlexRow {
  display: flex;
  flex-direction: row;
}
.displayFlexCol {
  display: flex;
  flex-direction: column;
}
.displayNone {
  display: none;
} 
.displayFlexJustifyContentArround {
    display: flex;
    justify-content: space-around;
}
.displayFlexJustifyContentBetween {
    display: flex;
    justify-content: space-between;
}
.displayFlexJustifyContentStart {
    display: flex;
    justify-content: flex-start;
}
.displayFlexJustifyCenter {
  display: flex;
  justify-content: center;
}
.displayFlexJustifyEnd {
  display: flex;
  justify-content: flex-end;
}
.displayFlexAlignCenter {
  display: flex;
  align-items: center;
}

/* Cookies */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #a77966;
  color: white;
  padding: 1em 1.5em;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  display: none;
  max-width: 300px;
  font-size: 14px;
}
.cookie-banner button {
  margin: 10px 5px 0;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#cookie-accept {
  background-color: #d96c4a;
  color: #e2d4c0;
}
#cookie-decline {
  background-color: #e2d4c0;
  color: white;
}

/* === BOUTON RETOUR HAUT DE PAGE === */
#buttonTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: transparent;
  border: 2px solid #d96c4a;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}
#buttonTop svg {
  transition: all 0.3s ease;
}
#buttonTop:hover {
  background-color: #d96c4a;
}
#buttonTop:hover svg {
  stroke: #fff; /* Flèche devient blanche */
  transform: translateY(-4px); /* Petit effet "jump" */
}

/* Style de base pour un bouton CTA */
.styled {
  display: inline-block;
  padding: 12px 24px; /* Taille du bouton */
  font-size: 16px; /* Taille du texte */
  font-weight: bold; /* Texte bien visible */
  color: #fff; /* Couleur du texte */
  text-decoration: none; /* Pas de soulignement */
  text-align: center;
  background-color: #d96c4a; /* Bleu pour un bouton principal */
  border: none; /* Pas de bordure par défaut */
  border-radius: 30px; /* Coins arrondis pour un effet moderne */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre légère */
  transition: all 0.3s ease; /* Animation fluide sur hover */
}
/* Effet hover (survol) */
.styled:hover {
  background-color: #c4573a; /* Bleu plus foncé au survol */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Ombre plus prononcée */
  transform: translateY(-2px); /* Légère élévation */
}
/* Effet focus (cliqué ou tabulé) */
.styled:focus {
  outline: none; /* Supprimer le contour par défaut */
  background-color: #c4573a; /* Bleu encore plus foncé */
}
/* Effet actif (en cours de clic) */
.styled:active {
  transform: translateY(1px); /* Bouton légèrement enfoncé */
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); /* Ombre plus faible */
}
/* Pour un bouton secondaire */
.styled-secondary {
  background-color: #a77966; /* Gris pour un bouton secondaire */
  color: #fff;
}
.styled-secondary:hover {
  background-color: #7f5347; /* Gris plus foncé */
}
.styled-secondary:focus {
  outline: none; /* Supprimer le contour par défaut */
  background-color: #7f5347; /* Bleu encore plus foncé */
}
/* Pour un bouton Bleu */
.styledXp {
  background-color: #e2d4c0; /* Gris pour un bouton secondaire */
  color: #fff;
}
.styledXp:hover {
  background-color: #bfae99; /* Gris plus foncé */
}
.styledXP:focus {
  outline: none; /* Supprimer le contour par défaut */
  background-color: #bfae99; /* Bleu encore plus foncé */
}
.btnContact {
  width: 140px;
}

/* === NAVBAR - TAILLE LOGO & ESPACE === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #a77966; /* par défaut */
}
.logoNav {
  height: 8vh;
}
.navSpace {
  height: 7.5vh;
}
nav {
  transition: background-color 0.3s ease;
  background-color: #a77966;
}
nav li {
  color: #fff;
}
nav.scrolled {
  background-color: #fff; /* ou n’importe quelle couleur */
}
nav.scrolled li {
  color: #000; /* ou n’importe quelle couleur */
}

/* ACCUEIL */
/* background */
 .accueilBackground {
    margin-top: 0vh; 
    background-color: #e2d4c0 ;
  }
.txtColor {
  color: #d96c4a;
}
/* typing effect */
/* .typer {
  display: flex;
} */
.typer h2 {
  padding: 0.5rem;
  overflow: hidden;
}
.typer h2 span.typed-text {
  font-weight: 500;
  color: #d96c4a;
}
.typer h2 span.cursor {
  display: inline-block;
  background-color: #d96c4a;
  margin-left: 0.1rem;
  width: 3px;
  animation: blink 1s infinite;
}
.typer h2 span.cursor.typing {
  animation: none;
}
@keyframes blink {
  0%  { background-color: #d96c4a; }
  49% { background-color: #d96c4a; }
  50% { background-color: transparent; }
  99% { background-color: transparent; }
  100%  { background-color: #d96c4a; }
}
/* Animation scroll down */
#mouse-scroll {
  position: absolute; /* Changer en absolute */
  left: 50%;
  top: 66vh; /* Ajuste la hauteur par rapport au bas */
  transform: translateX(-50%); /* Centrage parfait */
  z-index: 9999;
}

#mouse-scroll .mouse {
  height: 21px;
  width: 14px;
  border-radius: 10px;
  border: 2px solid #ffffff;
  position: relative;
  margin: 0 auto;
}

#mouse-scroll .mouse-in {
  height: 5px;
  width: 2px;
  display: block; 
  margin: 5px auto;
  background: #ffffff;
  position: relative;
  -webkit-animation: animated-mouse 1.2s ease infinite;
  animation: animated-mouse 1.2s ease infinite;
}

#mouse-scroll span {
  display: block;
  width: 5px;
  height: 5px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin: 5px auto;
  animation: mouse-scroll 1s infinite;
}

#mouse-scroll .down-arrow-1 {
  margin-top: 10px;
  animation-delay: 0s;
}

#mouse-scroll .down-arrow-2 {
  margin-top: 5px;
  animation-delay: 0.2s;
}

#mouse-scroll .down-arrow-3 {
  margin-top: 5px;
  animation-delay: 0.4s;
}

/* KEYFRAMES */
@keyframes animated-mouse {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes mouse-scroll {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
/* PROPOS */

/* EXP */
.timeline{
  position:relative;
  margin:50px auto;
  padding:40px 0;
  width:1000px;
  box-sizing:border-box;
}
.timeline:before{
  content:'';
  position:absolute;
  left:50%;
  width:2px;
  height:100%;
  background:#c5c5c5;
}
.timeline ul{
  padding:0;
  margin:0;
}
.timeline ul li{
  list-style:none;
  position:relative;
  width:50%;
  padding:20px 40px;
  box-sizing:border-box;
}
.timeline ul li:nth-child(odd){
  float:left;
  text-align:right;
  clear:both;
}
.timeline ul li:nth-child(even){
  float:right;
  text-align:left;
  clear:both;
}
.content{
  padding-bottom:20px;
}
.timeline ul li:nth-child(odd):before
{
  content:'';
  position:absolute;
  width:10px;
  height:10px;
  top:24px;
  right:-6px;
  background: #e2d4c0;
  border-radius:50%;
  box-shadow:0 0 0 2px;
}
.timeline ul li:nth-child(even):before
{
  content:'';
  position:absolute;
  width:10px;
  height:10px;
  top:24px;
  left:-4px;
  background:#e2d4c0;
  border-radius:50%;
  box-shadow:0 0 0 2px #e2d4c0;
}
.timeline ul li h3{
  padding:0;
  margin:0;
  color: #e2d4c0;
}
.timeline ul li .h3experience{
  padding:0;
  margin:0;
  color: #a77966;
}
.timeline ul li p{
  margin:10px 0 0;
  padding:0;
}
.timeline ul li .time h4{
  margin:0;
  padding:0;
  font-size:14px;
}
.content {
  padding: 2vw 2vw;
  border-radius: 10px 10px 10px 10px;
}
.experience {
  background: #e2d4c0;
}
.formation {
  background: #b88b79; 
}
/* CONTACT */
.txtContact{
  color: #a77966;
  text-decoration: none;
}
.pContact {
  font-size: larger;
}
.form{
  width:40vw;
  border-radius:8px;
  padding:1vh;
  max-width:calc(100vw - 40px);
  position:relative
}
input{
  width:100%;
  padding:10px;
  box-sizing:border-box;
  background:none;
  outline:none;
  resize:none;
  border:0;
  transition:all .3s;
  border-bottom:2px solid #bebed2
}
input:focus{
  border-bottom:2px solid #78788c
}
textarea {
  width:100%;
  padding:15px;
  box-sizing:border-box;
  background:none;
  outline:none;
  resize:none;
  border:0;
  transition:all .3s;
  border-bottom:2px solid #bebed2
}
/* FOOTER */
.footerHaut {
  background-color: #886F68;
}
.txtFooter {
  color: #f7f4ef;
  text-decoration: none;
  text-align: center;
  text-decoration: none;
}
.imageFooter {
  height: 14vh;
  width: auto;
}
.footerBas {
  background-color: #e2d4c0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}
.logoFooter {
  height: 5vh;
  margin-right: 1vh;
}
.icons {
  display: flex;
  justify-content: space-evenly;
  columns: 25px;
  padding: 1vh;
}
.icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 26px;
  color: #fff;
  border-radius: 50%;
  outline: 2px solid #fff;
  transition-property: outline offset, outline-color, background-color;
  transition-duration: .25s;
}
.iconContact {
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 40px;
  color: #fff;
  border-radius: 40%;
  transition-property: outline offset, outline-color, background-color;
  transition-duration: .25s;
}
.icon:hover {
  outline-offset: 4px;
  color: #fff;
  animation: shake .25s;
}
.iconContact:hover {
  outline-offset: 4px;
  color: #fff;
  animation: shake .25s;
}
@keyframes shake{
  10%{transform: rotate(15deg);}
  20%{transform: rotate(-15deg);}
  30%{transform: rotate(15deg);}
  40%{transform: rotate(-15deg);}
}
.icon--instagram:hover {
  background-image: 
  radial-gradient(circle at 30% 107%,#fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  outline-color: #a02d76;
}
.icon--linkedin:hover {
  background-color: #0077b5; 
  outline-color: #0077b5;
}

/* Realisation */
.cartes-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 20px;
  margin-bottom: 20px;
}
.card-option {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}
.image-option img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.content-option {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.content-option h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
}
.description-option {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}
.prix-option {
  font-weight: bold;
  font-size: 1.1rem;
  color: #222;
}

/* Page projet */
/* MJA */