/* ------------------------
   GLOBAL
-------------------------*/
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: "Inter", sans-serif;
  background:#f2f2f2;
  color:#1a1a1a;
}
img { display:block; max-width:100%; }

/* ------------------------
   HEADER
-------------------------*/
header {
  background:white;
  padding:15px 30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow:0 2px 5px rgba(0,0,0,0.1);
  position:sticky;
  top:0;
  z-index:50;
}
.logo { width:45px; }
.header-nav a {
  margin:0 15px;
  text-decoration:none;
  font-weight:600;
  font-size:18px;
  color:#3b3bff;
  transition:0.2s;
}
.header-nav a:hover {
  color:#2323ff;
}

/* ------------------------
   HERO
-------------------------*/
.hero {
  background:white;
  padding:50px 20px;
}
.hero-container {
  max-width:1100px;
  margin:auto;
  display:flex;
  gap:30px;
  align-items:center;
  flex-wrap:wrap;
}
.hero-photo {
  width:260px;
  border-radius:15px;
  box-shadow:0 4px 10px rgba(0,0,0,0.15);
}
.hero-text {
  flex:1;
  min-width:260px;
}
.hero-text h1 {
  font-size:36px;
  font-weight:800;
  margin-bottom:10px;
}
.hero-text h1 span {
  color:#3b3bff;
}
.hero-text p {
  margin-top:8px;
  line-height:1.5;
  max-width:600px;
}

.hero-text h1 {
    font-family: 'Momo Trust Display', cursive;
}

/* BUTTONS */
.btn-primary {
  display:inline-block;
  margin-top:22px;
  padding:13px 30px;
  background:#3f2b63;
  color:white;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 4px 10px rgba(0,0,0,0.2);
  transition:0.2s;
}
.btn-primary:hover {
  background:#2d1e49;
}

/* ------------------------
   COMPETENCES
-------------------------*/
.skills-card h2 {
    font-family: 'DynaPuff', cursive;
}

.skills-section {
  padding:50px 20px;
}
.skills-card {
  background:#d9d9d9;
  max-width:1100px;
  margin:auto;
  padding:35px;
  border-radius:25px;
  box-shadow:0 4px 10px rgba(0,0,0,0.12);
}
.skills-card h2 {
  font-size:26px;
  margin-bottom:15px;
}
.skills-card p {
  margin:10px 0;
  line-height:1.6;
}
.skills-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(80px, 1fr));
  gap:20px;
  margin:25px 0;
  place-items:center;
}
.skills-grid img {
  width:60px;
  height:auto;
}
.btn-secondary {
  display:inline-block;
  background:#3f2b63;
  color:white;
  padding:12px 26px;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
}
.btn-secondary:hover {
  background:#2d1e49;
}

.btn-container {
  display: flex;
  justify-content: center;
}

/* ------------------------
   APERÇU FLOU
-------------------------*/
.preview-section {
  position:relative;
  margin-top:40px;
}
.preview-img {
  width:100%;
  height:300px;
  object-fit:cover;
  filter:blur(6px) brightness(0.8);
}
.preview-overlay {
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.25);
}
.btn-preview {
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%, -50%);
}

/* ------------------------
   FOOTER
-------------------------*/
footer {
  background:#222222;
  color:white;
  text-align:center;
  padding:25px 15px;
  margin-top:40px;
}
.footer-logo { width:45px; margin:auto; }
.footer-icons {
  margin-top:15px;
  display:flex;
  justify-content:center;
  gap:15px;
}
.footer-icons img { width:28px; filter:invert(1); }

/* ==== CONTACT PAGE ==== */
.contact-container h1,
.contact-container .subtitle {
    font-family: 'DynaPuff', cursive;
}

.contact-container {
    text-align: center;
    margin-top: 40px;
}

.contact-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row input,
.contact-form input,
.contact-form textarea {
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  width: 100%;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
}

textarea {
  height: 150px;
  resize: none;
}

.btn-envoyer {
  background: #4d3aff;
  color: white;
  padding: 12px 30px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  width: fit-content;
  margin: 0 auto;
  transition: 0.2s;
}

.btn-envoyer:hover {
  background: #6b5cff;
}

/* ==== MESSAGE ENVOYÉ PAGE ==== */
.message-envoye-page {
height: 100vh;
background: linear-gradient(to bottom, #e6e6e6, #7d81ff);
display: flex;
justify-content: center;
align-items: center;
}


.message-envoye-container {
text-align: center;
color: #3c2cff;
}


.message-envoye-container h1 {
font-size: 46px;
font-weight: 700;
line-height: 1.3;
}


.message-info {
margin-top: 10px;
font-size: 15px;
opacity: 0.8;
}


.btn-retour {
display: inline-block;
margin-top: 25px;
padding: 12px 30px;
background: white;
border-radius: 20px;
text-decoration: none;
color: #4d3aff;
font-weight: 600;
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
transition: 0.2s;
}


.btn-retour:hover {
transform: scale(1.05);
}

/* ------------------------
   RESPONSIVE
-------------------------*/
@media (max-width:700px) {
  .hero-con
}

/* ------------------------
   PAGE PROJETS
-------------------------*/

.projects-page {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
}

/* Titre */
.projects-page h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 50px;
  color:#1a1a1a;
  font-family: 'Inter', sans-serif;
}

/* Conteneur des projets */
.projects-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* Carte projet */
.project-card {
  width: 200px;
  text-align: center;
}

.project-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 20px;
  border: 6px solid #5b48ff;
  padding: 10px;
  background:white;
  box-shadow: 0 10px 18px rgba(0,0,0,0.1);
}

.project-card-title {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
  color:#1a1a1a;
}

/* Footer spécifique si utilisé dans la maquette */
.projects-footer {
  margin-top:50px;
  background:white;
  padding:20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow:0 -4px 8px rgba(0,0,0,0.1);
}

.projects-footer img {
  width:45px;
}

.projects-footer .footer-center {
  text-align:center;
  color:#777;
}

.projects-footer .footer-icons a {
  margin-left:10px;
  font-size:20px;
  text-decoration:none;
  color:#222;
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .projects-grid {
    gap: 30px;
  }

  .project-card img {
    width: 140px;
    height: 140px;
  }

  .projects-page h1 {
    font-size: 32px;
  }
}

/* Rendre les cartes cliquables sans soulignement */
.project-card {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: transform 0.25s ease;
}

/* Effet néon au hover */
.project-card:hover img {
  box-shadow: 0 0 12px #7f66ff, 
              0 0 26px #7f66ff, 
              0 0 40px #7f66ff;
  transform: scale(1.05);
}

/* Option : petit zoom global de la carte */
.project-card:hover {
  transform: translateY(-6px);
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #e3e3e3;
    color: #222;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: white;
    border-bottom: 2px solid #dcdcdc;
}

.nav a {
    margin-left: 25px;
    text-decoration: none;
    font-weight: 600;
    color: #4a4a4a;
}

.intro-section {
    text-align: center;
    margin-top: 40px;
}

.intro-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
}

.intro-image {
    width: 60px;
    border-radius: 10px;
}

.info-block {
    max-width: 900px;
    margin: 25px auto;
    padding: 20px 25px;
    border-radius: 20px;
    font-size: 18px;
}

.grey {
    background: #bfbfbf;
    color: #222;
}

.blue {
    background: #4c73ff;
    color: white;
}

.images-scroll {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 40px auto;
}

.images-scroll img {
    width: 100%;
    border-radius: 20px;
}

.footer {
    margin-top: 60px;
    padding: 30px;
    background: white;
    text-align: center;
}

.footer-icons img {
    width: 26px;
    margin: 0 8px;
}

.behance-link {
  text-align: center;
  margin: 40px 0;
}

.behance-link p {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.behance-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #1769ff; /* couleur bleu Behance */
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.behance-button:hover {
  background-color: #0057d1;
  transform: translateY(-3px);
}
