/**
* Template Name: Craftivo
* Template URL: https://bootstrapmade.com/craftivo-bootstrap-portfolio-template/
* Updated: Oct 04 2025 with Bootstrap v5.3.8
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*==============================================================================
# TABLE DES MATIÈRES
==============================================================================
1. VARIABLES DE POLICES & COULEURS
2. STYLES GÉNÉRAUX (body, liens, titres)
3. FORMULAIRES PHP
4. EN-TÊTE (HEADER)
5. MENU DE NAVIGATION (NAVMENU)
6. PIED DE PAGE (FOOTER)
7. PRELOADER
8. BOUTON RETOUR EN HAUT
9. ANIMATIONS AOS
10. TITRES DE PAGES & BREADCRUMBS
11. SECTIONS GLOBALES
12. SECTION ACCUEIL (HERO)
13. SECTION MOI (ABOUT)
14. SECTION MOI2 (RESUME - EXPÉRIENCES)
15. SECTION PORTFOLIO
16. SECTION CONTACT
17. SYSTÈME DE LIKE/AVIS
==============================================================================*/

/*==============================================================================
# 1. VARIABLES DE POLICES & COULEURS
# Aide: https://bootstrapmade.com/color-system/
==============================================================================*/

/* Polices */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Mulish",  sans-serif;
  --nav-font: "Raleway",  sans-serif;
}

/* Couleurs Globales - Utilisées partout sur le site */
:root { 
  --background-color: #141414; /* Couleur de fond du site */
  --default-color: #d9d9d9; /* Couleur du texte par défaut */
  --heading-color: #ededed; /* Couleur des titres */
  --accent-color: #ff4d4f; /* Couleur d'accentuation (marque) */
  --surface-color: #1c1c1c; /* Couleur de surface pour les cartes/blocs */
  --contrast-color: #ffffff; /* Couleur de contraste pour le texte */
  --x: 50%;
  --y: 50%;
}

/* Couleurs du Menu de Navigation */
:root {
  --nav-color: #d9d9d9;
  --nav-hover-color: #ff4d4f;
  --nav-mobile-background-color: #2e2e2e;
  --nav-dropdown-background-color: #2e2e2e;
  --nav-dropdown-color: #d9d9d9;
  --nav-dropdown-hover-color: #ff4d4f;
}

/* Presets de Couleurs (Themes clair/sombre) */
.light-background {
  --background-color: rgba(41, 41, 41, 0.8);
  --surface-color: #484848;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Scroll fluide */
:root {
  scroll-behavior: smooth;
}

/*==============================================================================
# 2. STYLES GÉNÉRAUX DU BODY & CLASSES PARTAGÉES
==============================================================================*/

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*==============================================================================
# 3. FORMULAIRES PHP (Messages d'erreur, succès, chargement)
==============================================================================*/

.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*==============================================================================
# 4. EN-TÊTE GLOBAL (HEADER)
==============================================================================*/

.header {
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo { line-height: 1; }
.header .logo img { max-height: 36px; margin-right: 8px; }

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 400;
  color: var(--heading-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo { order: 1; }
  .header .btn-getstarted { order: 2; margin: 0 15px 0 0; padding: 6px 15px; }
  .header .navmenu { order: 3; }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  --background-color: rgba(20, 20, 20, 0.8);
}

/* Header sur page d'accueil */
.index-page .header { --background-color: rgba(255, 255, 255, 0); }
.index-page.scrolled .header { --background-color: rgba(20, 20, 20, 0.8); }

/*==============================================================================
# 5. MENU DE NAVIGATION (NAVMENU)
==============================================================================*/

/* ========== Navmenu - Desktop ========== */
@media (min-width: 1200px) {
  .navmenu { padding: 0; }
  .navmenu ul { margin: 0; padding: 0; display: flex; list-style: none; align-items: center; }
  .navmenu li { position: relative; }
  
  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a { padding-right: 0; }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li { min-width: 200px; }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i { font-size: 12px; }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul { opacity: 1; top: 100%; visibility: visible; }
  .navmenu .dropdown .dropdown ul { top: 0; left: -90%; visibility: hidden; }
  .navmenu .dropdown .dropdown:hover>ul { opacity: 1; top: 0; left: -100%; visibility: visible; }
}

/* ========== Navmenu - Mobile ========== */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu { padding: 0; z-index: 9997; }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul { background-color: rgba(33, 37, 41, 0.1); }
  .navmenu .dropdown>.dropdown-active { display: block; background-color: rgba(33, 37, 41, 0.03); }

  .mobile-nav-active { overflow: hidden; }
  
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul { display: block; }
}

/*==============================================================================
# 6. PIED DE PAGE GLOBAL (FOOTER)
==============================================================================*/

.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo { line-height: 1; margin-bottom: 25px; }
.footer .footer-about .logo img { max-height: 40px; margin-right: 6px; }
.footer .footer-about .logo span {
  color: var(--heading-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p { font-size: 14px; font-family: var(--heading-font); }

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links { margin-bottom: 30px; }
.footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer .footer-links ul i { padding-right: 2px; font-size: 12px; line-height: 0; }
.footer .footer-links ul li { padding: 10px 0; display: flex; align-items: center; }
.footer .footer-links ul li:first-child { padding-top: 0; }

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover { color: var(--accent-color); }
.footer .footer-contact p { margin-bottom: 5px; }

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p { margin-bottom: 0; }
.footer .credits { margin-top: 6px; font-size: 13px; }

/*==============================================================================
# 7. PRELOADER (Animation de chargement)
==============================================================================*/

#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*==============================================================================
# 8. BOUTON RETOUR EN HAUT (SCROLL TOP)
==============================================================================*/

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i { font-size: 24px; color: var(--contrast-color); line-height: 0; }
.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}
.scroll-top.active { visibility: visible; opacity: 1; }

/*==============================================================================
# 9. DÉSACTIVER DÉLAI ANIMATION AOS SUR MOBILE
==============================================================================*/

@media screen and (max-width: 768px) {
  [data-aos-delay] { transition-delay: 0 !important; }
}

/*==============================================================================
# 10. TITRES DE PAGES & BREADCRUMBS
==============================================================================*/

.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  position: relative;
}

.page-title h1 { font-size: 28px; font-weight: 700; margin: 0; }
.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li { padding-left: 10px; }
.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*==============================================================================
# 11. STYLES DES SECTIONS GLOBALES
==============================================================================*/

section, .section {
  color: var(--default-color);
  background-color: #040404;
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section, .section { scroll-margin-top: 66px; }
}

/* ========== Titres de section ========== */
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .section-title h2 { font-size: 2.5rem; }
}

.section-title .subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title .subtitle::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent-color);
}

.section-title p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 900px;
  margin: 0 auto;
  text-wrap: balance;
}

/*==============================================================================
# 12. SECTION ACCUEIL (HERO SECTION)
==============================================================================*/

.hero {
  padding-top: 80px;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 80px;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 0;
}

.hero .container { position: relative; z-index: 3; }
.hero h2 { margin: 0; font-size: 48px; font-weight: 700; }
.hero p { margin: 10px 0 0 0; font-size: 24px; color: color-mix(in srgb, var(--default-color), transparent 20%); }
.hero p span { color: var(--accent-color); letter-spacing: 1px; border-bottom: 2px solid var(--accent-color); }

.hero .social-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.hero .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  color: var(--default-color);
  font-size: 20px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .hero h2 { font-size: 32px; }
  .hero p { font-size: 20px; }
}

/* ========== Structure ACCUEIL ========== */
.welcome-title { position: relative; z-index: 10; }
.social-links { margin-bottom: 25px; }
.cta-container { display: flex; justify-content: center; gap: 20px; }

/*==============================================================================
# 13. SECTION MOI (ABOUT SECTION)
==============================================================================*/

/* Force la section MOI en transparent pour voir les particules */
#Moi, .about {
    background-color: transparent !important;
    background-image: none !important;
    position: relative;
    z-index: 1;
}

/* Cache les éléments décoratifs s'ils existent */
#Moi::before, #Moi::after,
.about::before, .about::after {
    display: none !important;
    background: none !important;
}

.about {
  overflow: hidden;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-color), transparent 85%) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.about .container { position: relative; z-index: 1; }

/* ========== Carte de profil ========== */
.about .profile-card {
  background: var(--surface-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 100px;
}

.about .profile-card .profile-header {
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .profile-card .profile-header .profile-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  position: relative;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #ff6b9d 50%));
}

.about .profile-card .profile-header .profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--surface-color);
}

.about .profile-card .profile-header .profile-avatar .status-indicator {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: #10b981;
  border: 4px solid var(--surface-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.about .profile-card .profile-header h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.about .profile-card .profile-header .role {
  display: inline-block;
  font-size: 15px;
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 16px;
}

.about .profile-card .profile-header .rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 12px;
}

.about .profile-card .profile-header .rating i { color: #fbbf24; font-size: 16px; }

.about .profile-card .profile-header .rating span {
  margin-left: 8px;
  font-weight: 600;
  color: var(--default-color);
  font-size: 15px;
}

/* ========== Statistiques du profil ========== */
.about .profile-card .profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .profile-card .profile-stats .stat-item { text-align: center; }

.about .profile-card .profile-stats .stat-item h4 {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.about .profile-card .profile-stats .stat-item p {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ========== Actions du profil ========== */
.about .profile-card .profile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.about .profile-card .profile-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about .profile-card .profile-actions a.btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .profile-card .profile-actions a.btn-primary:hover {
background: color-mix(in srgb, var(--accent-color), #000 15%);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.about .profile-card .profile-actions a.btn-secondary {
background: color-mix(in srgb, var(--accent-color), transparent 90%);
color: var(--accent-color);
}
.about .profile-card .profile-actions a.btn-secondary:hover {
background: color-mix(in srgb, var(--accent-color), transparent 85%);
}
.about .profile-card .profile-actions a i { font-size: 18px; }
/* ========== Réseaux sociaux ========== */
.about .profile-card .social-connect {
display: flex;
justify-content: center;
gap: 12px;
padding-top: 30px;
}
.about .profile-card .social-connect a {
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
background: color-mix(in srgb, var(--default-color), transparent 94%);
border-radius: 12px;
color: var(--default-color);
font-size: 18px;
transition: all 0.3s ease;
}
.about .profile-card .social-connect a:hover {
background: var(--accent-color);
color: var(--contrast-color);
transform: translateY(-3px);
}
/* ========== Biographie ========== */
.about .content-wrapper .bio-section { margin-bottom: 50px; }
.about .content-wrapper .bio-section .section-tag {
display: inline-block;
padding: 6px 16px;
background: color-mix(in srgb, var(--accent-color), transparent 90%);
color: var(--accent-color);
border-radius: 20px;
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 16px;
}
.about .content-wrapper .bio-section h2 {
font-size: 36px;
font-weight: 700;
color: var(--heading-color);
margin-bottom: 24px;
line-height: 1.2;
}
.about .content-wrapper .bio-section p {
font-size: 16px;
line-height: 1.8;
color: var(--default-color);
margin-bottom: 16px;
}
.about .content-wrapper .bio-section p:last-child { margin-bottom: 0; }
/* ========== Détails personnels ========== */
.about .content-wrapper .details-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
margin-bottom: 50px;
}
.about .content-wrapper .details-grid .detail-item {
display: flex;
align-items: center;
gap: 16px;
padding: 24px;
background: var(--surface-color);
border-radius: 16px;
border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
transition: all 0.3s ease;
}
.about .content-wrapper .details-grid .detail-item:hover {
border-color: var(--accent-color);
transform: translateY(-3px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.about .content-wrapper .details-grid .detail-item i {
font-size: 28px;
color: var(--accent-color);
flex-shrink: 0;
}
.about .content-wrapper .details-grid .detail-item .detail-content span {
display: block;
font-size: 13px;
color: color-mix(in srgb, var(--default-color), transparent 40%);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 4px;
}
.about .content-wrapper .details-grid .detail-item .detail-content strong {
display: block;
font-size: 16px;
color: var(--heading-color);
font-weight: 600;
}
/* ========== Compétences ========== */
.about .content-wrapper .skills-showcase .section-tag {
display: inline-block;
padding: 6px 16px;
background: color-mix(in srgb, var(--accent-color), transparent 90%);
color: var(--accent-color);
border-radius: 20px;
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 16px;
}
.about .content-wrapper .skills-showcase h3 {
font-size: 28px;
font-weight: 700;
color: var(--heading-color);
margin-bottom: 32px;
}
.about .content-wrapper .skills-showcase .skills-list .skill-item { margin-bottom: 28px; }
.about .content-wrapper .skills-showcase .skills-list .skill-item .skill-info {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.about .content-wrapper .skills-showcase .skills-list .skill-item .skill-info .skill-name {
font-size: 15px;
font-weight: 600;
color: var(--heading-color);
}
.about .content-wrapper .skills-showcase .skills-list .skill-item .skill-info .skill-percent {
font-size: 15px;
font-weight: 700;
color: var(--accent-color);
}
.about .content-wrapper .skills-showcase .skills-list .skill-item .progress {
height: 10px;
border-radius: 10px;
background: color-mix(in srgb, var(--default-color), transparent 94%);
overflow: hidden;
}
.about .content-wrapper .skills-showcase .skills-list .skill-item .progress .progress-bar {
width: 0;
height: 100%;
background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #ff6b9d 50%));
border-radius: 10px;
transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
position: relative;
}
.about .content-wrapper .skills-showcase .skills-list .skill-item .progress .progress-bar::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
animation: shimmer 2s infinite;
}
/* ========================================
   ICÔNES D'AMPOULE - COMPÉTENCES CLIQUABLES
   ======================================== */

.skill-name a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.skill-name a .bi-lightbulb-fill {
  color: #ffd700;
  font-size: 1em;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

.skill-name a:hover .bi-lightbulb-fill {
  color: #ffed4e;
  animation: none;
  transform: scale(1.2);
  transition: all 0.3s ease;
}
/* ========== Animations ========== */
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.6; }
}
@keyframes shimmer {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}
/* ========== Responsive About ========== */
@media (max-width: 992px) {
.about .profile-card { position: static; margin-bottom: 40px; }
.about .content-wrapper .bio-section h2 { font-size: 30px; }
.about .content-wrapper .details-grid { grid-template-columns: 1fr; }
.about .content-wrapper .skills-showcase h3 { font-size: 24px; }
}
@media (max-width: 576px) {
.about .profile-card { padding: 30px 20px; }
.about .profile-card .profile-header .profile-avatar { width: 120px; height: 120px; }
.about .profile-card .profile-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about .profile-card .profile-stats .stat-item h4 { font-size: 24px; }
.about .content-wrapper .bio-section h2 { font-size: 26px; }
.about .content-wrapper .details-grid .detail-item { padding: 18px; }
.about .content-wrapper .details-grid .detail-item i { font-size: 24px; }
}
/*==============================================================================
14. SECTION MOI2 (RESUME - EXPÉRIENCES & PARCOURS)
==============================================================================*/
.resume .section-header { margin-bottom: 2.5rem; }
/* ========== En-tête de section ========== */
.resume .section-header .header-content .section-badge {
display: inline-block;
background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6c5ce7 20%));
color: var(--contrast-color);
padding: 0.5rem 1.2rem;
border-radius: 25px;
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.1em;
margin-bottom: 1rem;
}
.resume .section-header .header-content h2 {
font-size: 2.2rem;
font-weight: 700;
color: var(--heading-color);
margin-bottom: 1rem;
line-height: 1.2;
letter-spacing: -0.02em;
}
.resume .section-header .header-content p {
font-size: 1rem;
line-height: 1.7;
color: color-mix(in srgb, var(--default-color), transparent 35%);
margin: 0;
}
/* ========== Cartes d'expérience ========== */
.resume .experience-section .experience-cards {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.resume .experience-section .experience-cards .exp-card {
background: var(--surface-color);
border-radius: 16px;
padding: 2rem;
border: 2px solid color-mix(in srgb, var(--default-color), transparent 95%);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.resume .experience-section .experience-cards .exp-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
transform: translateX(-100%);
transition: transform 0.3s ease;
}
.resume .experience-section .experience-cards .exp-card:hover {
transform: translateY(-5px);
border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
box-shadow: 0 15px 45px color-mix(in srgb, var(--default-color), transparent 85%);
}
.resume .experience-section .experience-cards .exp-card:hover::before { transform: translateX(0); }
.resume .experience-section .experience-cards .exp-card.featured {
border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
background: linear-gradient(135deg, var(--surface-color), color-mix(in srgb, var(--accent-color), transparent 95%));
}
.resume .experience-section .experience-cards .exp-card.featured::before {
background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6c5ce7 20%), var(--accent-color));
}
.resume .experience-section .experience-cards .exp-card .card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
}
.resume .experience-section .experience-cards .exp-card .card-header .company-logo {
width: 50px;
height: 50px;
background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6c5ce7 20%));
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
}
.resume .experience-section .experience-cards .exp-card .card-header .company-logo i {
font-size: 1.3rem;
color: var(--contrast-color);
}
.resume .experience-section .experience-cards .exp-card .card-header .period-badge {
background: color-mix(in srgb, var(--accent-color), transparent 85%);
color: var(--accent-color);
padding: 0.4rem 1rem;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.resume .experience-section .experience-cards .exp-card .card-body h3 {
font-size: 1.4rem;
font-weight: 600;
color: var(--heading-color);
margin-bottom: 0.5rem;
letter-spacing: -0.01em;
}
.resume .experience-section .experience-cards .exp-card .card-body .company-name {
font-size: 1rem;
color: color-mix(in srgb, var(--default-color), transparent 25%);
font-weight: 500;
margin-bottom: 0.3rem;
}
.resume .experience-section .experience-cards .exp-card .card-body .duration {
display: inline-block;
font-size: 0.9rem;
color: var(--accent-color);
font-weight: 600;
background: color-mix(in srgb, var(--accent-color), transparent 90%);
padding: 0.2rem 0.8rem;
border-radius: 12px;
margin-bottom: 1rem;
}
.resume .experience-section .experience-cards .exp-card .card-body .description {
font-size: 0.95rem;
line-height: 1.6;
color: color-mix(in srgb, var(--default-color), transparent 35%);
margin-bottom: 1.5rem;
}
.resume .experience-section .experience-cards .exp-card .card-body .skills-tags {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.resume .experience-section .experience-cards .exp-card .card-body .skills-tags .skill-tag {
background: color-mix(in srgb, var(--accent-color), transparent 92%);
color: var(--accent-color);
padding: 0.3rem 0.8rem;
border-radius: 15px;
font-size: 0.8rem;
font-weight: 500;
border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}
/* ========== Timeline d'éducation ========== */
.resume .education-section .education-timeline .timeline-track {
position: relative;
padding-left: 2.5rem;
}
.resume .education-section .education-timeline .timeline-track::before {
content: "";
position: absolute;
left: 10px;
top: 0;
bottom: 0;
width: 2px;
background: linear-gradient(180deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 50%));
}
.resume .education-section .education-timeline .timeline-track .timeline-item {
position: relative;
margin-bottom: 3rem;
}
.resume .education-section .education-timeline .timeline-track .timeline-item:last-child { margin-bottom: 0; }
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-marker {
position: absolute;
left: -3.5rem;
top: 0;
width: 50px;
height: 50px;
background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #6c5ce7 20%));
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
border: 4px solid var(--background-color);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 80%);
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-marker i {
font-size: 1.2rem;
color: var(--contrast-color);
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content {
background: var(--surface-color);
padding: 1.8rem;
border-radius: 12px;
border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
transition: all 0.3s ease;
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content:hover {
transform: translateX(5px);
border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 90%);
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .education-meta {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .education-meta .year-range {
font-size: 0.9rem;
color: var(--accent-color);
font-weight: 600;
background: color-mix(in srgb, var(--accent-color), transparent 90%);
padding: 0.3rem 0.8rem;
border-radius: 15px;
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .education-meta .degree-level {
font-size: 0.8rem;
color: color-mix(in srgb, var(--default-color), transparent 40%);
text-transform: uppercase;
font-weight: 600;
letter-spacing: 0.1em;
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content h4 {
font-size: 1.3rem;
font-weight: 600;
color: var(--heading-color);
margin-bottom: 0.5rem;
letter-spacing: -0.01em;
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .institution {
font-size: 1rem;
color: color-mix(in srgb, var(--default-color), transparent 25%);
font-weight: 500;
margin-bottom: 1rem;
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .description {
font-size: 0.95rem;
line-height: 1.6;
color: color-mix(in srgb, var(--default-color), transparent 35%);
margin-bottom: 1.2rem;
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .achievement {
display: flex;
align-items: center;
gap: 0.5rem;
background: color-mix(in srgb, var(--accent-color), transparent 92%);
padding: 0.6rem 1rem;
border-radius: 8px;
border-left: 3px solid var(--accent-color);
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .achievement i {
color: var(--accent-color);
font-size: 1rem;
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .achievement span {
font-size: 0.9rem;
font-weight: 600;
color: var(--accent-color);
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .certifications-list .cert-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.8rem 0;
border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .certifications-list .cert-item:last-child {
border-bottom: none;
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .certifications-list .cert-item .cert-name {
font-size: 0.9rem;
color: var(--heading-color);
font-weight: 500;
}
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .certifications-list .cert-item .cert-year {
font-size: 0.8rem;
color: var(--accent-color);
font-weight: 600;
background: color-mix(in srgb, var(--accent-color), transparent 90%);
padding: 0.2rem 0.6rem;
border-radius: 10px;
}
/* ========== Responsive Resume ========== */
@media (max-width: 992px) {
.resume .section-header { margin-bottom: 2rem; }
.resume .section-header .header-content h2 { font-size: 2rem; }
.resume .experience-section { margin-bottom: 3rem; }
.resume .education-timeline .timeline-track .timeline-item .timeline-marker { width: 45px; height: 45px; }
}
@media (max-width: 768px) {
.resume .section-header .header-content { text-align: center; }
.resume .section-header .header-content h2 { font-size: 1.8rem; }
.resume .experience-section .experience-cards .exp-card { padding: 1.5rem; }
.resume .experience-section .experience-cards .exp-card .card-header .company-logo { width: 45px; height: 45px; }
.resume .experience-section .experience-cards .exp-card .card-header .company-logo i { font-size: 1.2rem; }
.resume .education-section .education-timeline .timeline-track { padding-left: 2rem; }
.resume .education-section .education-timeline .timeline-track::before { left: 20px; }
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-marker { left: -2.3rem; width: 40px; height: 40px; }
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-marker i { font-size: 1rem; }
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content { padding: 1.5rem; }
}
@media (max-width: 576px) {
.resume .section-header .header-content .section-badge { font-size: 0.8rem; padding: 0.4rem 1rem; }
.resume .section-header .header-content h2 { font-size: 1.6rem; }
.resume .experience-section .experience-cards .exp-card { padding: 1.2rem; }
.resume .experience-section .experience-cards .exp-card .card-header { flex-direction: column; gap: 1rem; text-align: center; }
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content { padding: 1.2rem; }
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .education-meta { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.resume .education-section .education-timeline .timeline-track .timeline-item .timeline-content .certifications-list .cert-item { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
}
/*==============================================================================
15. SECTION PORTFOLIO
==============================================================================*/
/* ========== Filtres Portfolio ========== */
.portfolio .portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
  padding: 0;
  list-style: none;
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters { gap: 8px; margin-bottom: 35px; }
}

.portfolio .portfolio-filters li {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: transparent;
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters li { padding: 8px 16px; font-size: 13px; }
}

.portfolio .portfolio-filters li:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.portfolio .portfolio-filters li.filter-active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

/* ========== Cartes Portfolio ========== */
.portfolio .portfolio-card {
  position: relative;
  margin-bottom: 30px;
}

.portfolio .portfolio-card .portfolio-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
  background-color: #000;
}

.portfolio .portfolio-card .portfolio-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75); 
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Espace le titre en haut et les boutons en bas */
  padding: 20px;
  z-index: 2;
}

/* Positionnement du titre au centre */
.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-info {
  text-align: center;
  margin-top: auto;   /* Pousse le contenu vers le centre vertical */
  margin-bottom: auto; 
}

.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-info .project-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* Texte blanc corrigé */
.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-info h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

/* Boutons positionnés en bas à droite */
.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-actions {
  display: flex;
  gap: 10px;
  align-self: flex-end; /* Aligne le bloc d'actions à droite */
}

.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-actions a {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.portfolio .portfolio-card .portfolio-image-container .portfolio-overlay .portfolio-actions a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

/* ========== Métadonnées Portfolio ========== */
.portfolio .portfolio-card .portfolio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.portfolio .portfolio-card .portfolio-meta .project-tags {
  display: flex;
  gap: 8px;
}

.portfolio .portfolio-card .portfolio-meta .project-tags .tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 12px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

.portfolio .portfolio-card .portfolio-meta .project-year {
  font-size: 12px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/* EFFETS AU SURVOL */
.portfolio .portfolio-card:hover .portfolio-image-container img {
  transform: scale(1.1);
  opacity: 0.2;
}

.portfolio .portfolio-card:hover .portfolio-image-container .portfolio-overlay {
  opacity: 1;
}
/*==============================================================================
16. SECTION CONTACT
==============================================================================*/
/* ========== Cartes d'information ========== */
.contact .info-item {
background:var(--surface-color);
padding: 30px;
border-radius: 10px;
border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
margin-bottom: 20px;
display: flex;
align-items: flex-start;
transition: 0.3s;
}
.contact .info-item:hover {
border-color: var(--accent-color);
box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}
.contact .info-item .icon-wrapper {
width: 50px;
height: 50px;
background: color-mix(in srgb, var(--accent-color), transparent 90%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 20px;
flex-shrink: 0;
transition: 0.3s;
}
.contact .info-item .icon-wrapper i {
color: var(--accent-color);
font-size: 24px;
transition: 0.3s;
}
.contact .info-item:hover .icon-wrapper { background: var(--accent-color); }
.contact .info-item:hover .icon-wrapper i { color: var(--contrast-color); }
.contact .info-item h3 {
font-size: 18px;
font-weight: 700;
margin-bottom: 5px;
color: var(--heading-color);
}
.contact .info-item p {
margin: 0;
font-size: 14px;
color: var(--default-color);
}
/* ========== Formulaire de contact ========== */
.contact .php-email-form {
background: var(--surface-color);
padding: 40px;
border-radius: 10px;
border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.contact .php-email-form .form-control {
color: var(--default-color);
background-color: var(--surface-color);
border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
padding: 12px 15px;
font-size: 14px;
border-radius: 5px;
transition: 0.3s;
}
.contact .php-email-form .form-control:focus {
border-color: var(--accent-color);
box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
}
.contact .php-email-form .form-control::placeholder {
color: color-mix(in srgb, var(--default-color), transparent 70%);
}
.contact .php-email-form textarea.form-control { min-height: 120px; }
.contact .php-email-form button[type=submit] {
background: var(--accent-color);
color: var(--contrast-color);
border: none;
padding: 12px 40px;
font-size: 16px;
font-weight: 600;
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
.contact .php-email-form button[type=submit]:hover {
background: color-mix(in srgb, var(--accent-color), transparent 20%);
transform: translateY(-2px);
}
/* ========== Responsive Contact ========== */
@media (max-width: 768px) {
.contact .info-item { padding: 20px; }
.contact .info-item .icon-wrapper { width: 40px; height: 40px; margin-right: 15px; }
.contact .info-item .icon-wrapper i { font-size: 20px; }
.contact .info-item h3 { font-size: 16px; }
.contact .php-email-form { padding: 30px 20px; }
}
/*==============================================================================
# 17. SYSTÈME DE LIKE/AVIS (BOUTON + MODALE)
==============================================================================*/

/* ========== Bouton Like ========== */
.custom-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    color: white;
}

.custom-btn:hover {
    background: #ff4b2b !important;
    border-color: #ff4b2b !important;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 75, 43, 0.5);
}

.custom-btn:hover #h-icon { 
    transform: scale(1.2); 
}

.custom-btn.is-liked {
    background: rgba(255, 75, 43, 0.15) !important;
    border-color: #ff4b2b !important;
    cursor: default !important;
    transform: none !important;
    box-shadow: none !important;
}

.custom-btn.is-liked #h-icon { 
    color: #ff4b2b; 
}

/* ========== Gestion du texte du bouton Like via CSS ========== */

/* Quand le bouton est liké, on cache le texte original (span) */
.custom-btn.is-liked #btn-text {
    display: none;
}

/* On injecte le nouveau texte via ::after */
.custom-btn.is-liked::after {
    content: "Avis enregistré !"; /* Texte par défaut (Français) */
    font-weight: 600;
}

/* Si la page est en ANGLAIS (html lang="en"), on change le texte */
html[lang="en"] .custom-btn.is-liked::after {
    content: "Review saved!";
}

/* Gestion des états du bouton de soumission dans la modale */
html[lang="en"] .feedback-form .loading-text {
    display: none;
}

/* ========== Modale Like ========== */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #ff4b2b;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-content h4 { 
    color: white; 
    margin-bottom: 5px; 
    font-weight: 700; 
}

.modal-subtitle { 
    color: #bbb; 
    font-size: 14px; 
    margin-bottom: 20px; 
}

/* ========== Formulaire de feedback ========== */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feedback-form input, 
.feedback-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #222;
    color: white;
}

.feedback-form label { 
    color: white; 
    font-size: 13px; 
    margin-bottom: -8px; 
}

#submit-btn {
    background: #ff4b2b;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: 0.3s;
}

.modal-footer { 
    text-align: center; 
    margin-top: 15px; 
}

#close-modal { 
    color: #888; 
    font-size: 13px; 
    cursor: pointer; 
    text-decoration: underline; 
}

/*==============================================================================
# FIN DU FICHIER CSS
==============================================================================*/

/*==============================================================================
# NOUVEAU SYSTEME AC PORTFOLIO
==============================================================================*/

/* --- Niveau 1 : Boutons Compétences --- */
.portfolio-competences {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .portfolio-competences {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-competences {
    grid-template-columns: 1fr;
  }
}

.btn-competence {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-competence::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--comp-color, var(--accent-color));
  opacity: 0.8;
  transition: all 0.3s ease;
}

.btn-competence:hover, .btn-competence.active {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--comp-color, var(--accent-color)), transparent 60%);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--comp-color, var(--accent-color)), transparent 85%);
}

.btn-competence:hover::before, .btn-competence.active::before {
  opacity: 1;
  box-shadow: 0 0 10px var(--comp-color, var(--accent-color));
}

.btn-competence.active {
  background: linear-gradient(180deg, color-mix(in srgb, var(--comp-color, var(--accent-color)), var(--surface-color) 95%), var(--surface-color));
}

.btn-competence h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-competence h4 i {
  color: var(--comp-color, var(--accent-color));
}

.btn-competence p {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

/* --- Niveau 2 : Grille ACs --- */
.ac-grid-container {
  display: none;
  animation: slideDown 0.4s ease-out forwards;
}

.ac-grid-container.active {
  display: flex;
  flex-direction: column;
}

.ac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .ac-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .ac-grid { grid-template-columns: 1fr; }
}

.ac-card {
  background: color-mix(in srgb, var(--surface-color), transparent 20%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-left: 3px solid var(--comp-color, var(--accent-color));
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ac-card:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--surface-color), transparent 0%);
  border-color: color-mix(in srgb, var(--comp-color, var(--accent-color)), transparent 70%);
  box-shadow: 0 4px 15px color-mix(in srgb, var(--default-color), transparent 95%);
}

.ac-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ac-id {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--comp-color, var(--accent-color));
}

.ac-status {
  font-size: 0.9rem;
}

.ac-status.valid {
  color: #2ecc71;
}

.ac-status.en-cours {
  color: #95a5a6;
}

.ac-title {
  font-size: 0.95rem;
  color: var(--heading-color);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* --- Niveau 3 : Modale Détail AC --- */
.ac-modal-content {
  background-color: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 12px;
}

.ac-modal-header {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.ac-modal-header h4 {
  margin: 0;
  color: var(--heading-color);
  font-size: 1.25rem;
  font-weight: 600;
}

.ac-modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.5;
}

.ac-modal-body {
  padding: 24px;
}

.ac-section {
  margin-bottom: 24px;
}

.ac-section:last-child {
  margin-bottom: 0;
}

.ac-section h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ac-section h5 i {
  color: var(--accent-color);
}

.ac-section p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  font-size: 0.95rem;
  line-height: 1.6;
  background: var(--surface-color);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
  margin: 0;
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Trace Card (Projets / Portefolio) --- */
.trace-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background-color: var(--surface-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.trace-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}
.trace-card:hover img {
  transform: scale(1.05); /* Slight zoom on hover */
}
.trace-card-info {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 16, 18, 0.85); /* Dark background covering the image */
  padding: 20px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.trace-card:hover .trace-card-info {
  opacity: 1;
}
.trace-card-info h6 {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 5px;
}
.trace-card-info small {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}
.trace-card-info .btn {
  z-index: 2;
  font-size: 1.2rem;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}




/* --- Interactive Background Particles (THE STACKING FIX) --- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: -1 !important; /* Behind text, in front of background images */
  background-color: transparent !important;
  pointer-events: none;
}

/* Dim the Hero background with correctly ordered negative z-index */
.hero img {
  z-index: -3 !important; /* Deepest layer */
}

.hero:before {
  z-index: -2 !important; /* Overlay layer to dim the red image */
  /* Gradient to blend perfectly with the body background at the bottom */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 70%, #050505 100%) !important;
}

/* Ensure sections are transparent to show the particles behind them */
section, .section, .main, #Accueil, #Moi, #Portfolio, #Contact, #Moi2, #Competences {
  background-color: transparent !important;
  background-image: none !important;
}

/* Cards are solid and stay in front naturally (z-index: auto or higher) */
.profile-card, .exp-card, .detail-item, .timeline-content, .achievement, .certification-item, .portfolio-card, .info-item {
  position: relative;
  background-color: #121212 !important; /* Solid opaque color */
  background-image: none !important;
  z-index: 1; /* Ensure they are in front of the fixed background */
}

/* General Typography for absolute contrast */
h1, h2, h3, h4, h5, h6, p, span, a, i, .btn {
  position: relative;
  z-index: 2;
}

body {
  background-color: #050505 !important;
}