/* ========================================================== */
/* VARIABLES */
/* ========================================================== */
:root {
    --aubergine: #503A4C;
    --aubergine-dark: #3A2A37;
    --aubergine-light: #DCD1DB;
    --beige: #f7f4ef;
    --white: #ffffff;
    --black: #1A1A1A;
    --font-serif: 'Lora', serif;
    --font-sans: 'Inter', sans-serif;
    --max-width: 1200px;
  }
  
  /* RESET */
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: var(--font-sans);
    background-color: var(--beige);
    color: var(--black);
    line-height: 1.6;
  }
  
  /* ========================================================== */
  /* NAVBAR NEON */
  /* ========================================================== */
  /* Container du header */
.neon-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

/* Logo */
.site-logo {
    height: 150px;   /* ajuste la taille ici si tu veux */
}

.hero-img, .logo-img {
    background-color: #f7f1ec; /* ⭐ Mets ici la couleur EXACTE de ton background */
    padding: 5px;
    border-radius: 12px; /* optionnel : rend le contour plus propre */
}
.accessibility-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.accessibility-panel button {
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    background-color: #503A4C; /* aubergine DA */
    color: #f7f4ef; /* beige clair */
    box-shadow: 0 4px 15px rgba(80, 58, 76, 0.3);
    transition: 0.3s;
}

.accessibility-panel button:hover {
    background-color: #3A2A37; /* aubergine foncé */
}

/* ================== MODE SOMBRE ================== */
body.dark-mode {
    background-color: #1A1A1A; /* fond général sombre */
    color: #E0DCDC; /* texte principal clair */
}

/* Hero wrapper en sombre */
.hero-wrapper.dark-mode {
    background-color: #2A2A2A; /* bloc sombre */
    border-color: #444; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* Titres et paragraphes dans le hero */
.hero-wrapper.dark-mode h1,
.hero-wrapper.dark-mode h2,
.hero-wrapper.dark-mode h3 {
    color: #F2E6EB; /* titres clairs */
}

.hero-wrapper.dark-mode p {
    color: #DCD1DB; /* paragraphes clairs */
}

/* Boutons en mode sombre */
.hero-wrapper.dark-mode .btn-more,
.hero-wrapper.dark-mode .btn-download {
    background-color: #503A4C; /* aubergine foncé sombre */
    color: #F2E6EB; /* texte clair */
    border: 1px solid #E0DCDC;
}

.hero-wrapper.dark-mode .btn-more:hover,
.hero-wrapper.dark-mode .btn-download:hover {
    background-color: #3A2A37; /* survol plus foncé */
}

/* Cartes passions en sombre */
.passions-section.dark-mode,
.passion-card.dark-mode {
    background-color: #2A2A2A;
    border-color: #444;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.passion-card.dark-mode h3 {
    color: #F2E6EB;
}

.passion-card.dark-mode p {
    color: #DCD1DB;
}

/* Carrousel compétences en sombre */
.skills-carousel.dark-mode {
    background-color: #2A2A2A;
    border-color: #444;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.skills-carousel.dark-mode .skill-item p {
    color: #E0DCDC;
}

.skills-carousel.dark-mode .skill-item img {
    border: 1px solid #E0DCDC; /* bord clair pour contraste */
}

/* Carrousel livres / passions en sombre */
.small-carousel-track.dark-mode .small-carousel-item p {
    color: #DCD1DB;
}

.small-carousel-track.dark-mode .small-carousel-item img {
    border: 1px solid #E0DCDC;
}


/* ================== MODE ACCESSIBILITE ================== */
body.accessibility-mode {
    background-color: #FFF8E7; /* fond clair très doux */
    color: #000000; /* texte noir très lisible */
    font-size: 1.2em; /* texte légèrement plus grand */
    line-height: 1.8; 
}

/* Hero wrapper */
.hero-wrapper.accessibility-mode {
    background-color: #FFF2CC;
    border-color: #E6B800;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-wrapper.accessibility-mode h1,
.hero-wrapper.accessibility-mode h2,
.hero-wrapper.accessibility-mode h3 {
    color: #000000;
    font-weight: 700;
}

.hero-wrapper.accessibility-mode p {
    color: #000000;
}

/* Boutons */
.hero-wrapper.accessibility-mode .btn-more,
.hero-wrapper.accessibility-mode .btn-download {
    background-color: #E6B800; /* jaune vif */
    color: #000000; 
    border: 2px solid #000000;
}

.hero-wrapper.accessibility-mode .btn-more:hover,
.hero-wrapper.accessibility-mode .btn-download:hover {
    background-color: #CC9900; /* survol un peu plus foncé */
}

/* Cartes passions */
.passions-section.accessibility-mode,
.passion-card.accessibility-mode {
    background-color: #FFF2CC;
    border-color: #E6B800;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.passion-card.accessibility-mode h3,
.passion-card.accessibility-mode p {
    color: #000000;
}

/* Carrousel compétences */
.skills-carousel.accessibility-mode {
    background-color: #FFF2CC;
    border-color: #E6B800;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.skills-carousel.accessibility-mode .skill-item p {
    color: #000000;
}

.skills-carousel.accessibility-mode .skill-item img {
    border: 2px solid #000000;
}

/* Carrousel livres / passions */
.small-carousel-track.accessibility-mode .small-carousel-item p {
    color: #000000;
}

.small-carousel-track.accessibility-mode .small-carousel-item img {
    border: 2px solid #000000;
}


/* ========================================================== */
/* HEADER : logo à gauche, nav centrée */
/* ========================================================== */
.neon-header-container {
    display: flex;
    align-items: center;
    justify-content: center; /* centre tout le contenu horizontalement */
    position: relative;      /* permet au logo d’être absolu */
}

.logo-container {
    position: absolute;   /* place le logo en haut à gauche */
    left: 0;
    display: flex;
    align-items: center;
}

.simple-neon-nav {
    margin: 0 auto;       /* nav centrée horizontalement */
}


/* Option : si tu veux que le logo soit collé à gauche */
.logo-container {
    display: flex;
    align-items: center;
}

  .simple-neon-nav {
    display: flex;
    gap: 18px;
    padding: 12px 20px;
    border-radius: 40px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px var(--aubergine-light);
  }
  
  .nav-item {
    font-weight: 600;
    padding: 10px 16px;
    color: var(--black);
    transition: 0.3s;
  }
  
  .nav-item:hover { color: var(--aubergine); }
  
  .nav-button-highlight {
    background-color: var(--aubergine);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 40px;
    box-shadow: 0 0 10px var(--aubergine-light);
  }
  
  /* ========================================================== */
/* NAVIGATION — effet hover + actif plus intense */
/* ========================================================== */

/* hover classique déjà existant, on renforce la couleur */
.nav-item:hover {
    color: #3A1F49; /* aubergine plus foncé que var(--aubergine) */
    transition: color 0.3s ease;
}

/* quand l'item est "actif" (clic ou page actuelle) */
.nav-item.active, .nav-item:active {
    color: #2B1230; /* aubergine encore plus intense */
    font-weight: 700; /* optionnel, pour marquer le focus */
    transition: color 0.2s ease;
}

  .nav-button-highlight:hover { background: var(--aubergine-dark); }
  
  /* ========================================================== */
  /* HERO — PHOTO + TEXTE DANS LE MÊME CADRE */
  /* ========================================================== */
  .page-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 5%;
  }
  
  .hero-wrapper {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 40px;
  
    background-color: #f7f1ec; 
    border: 1px solid #d7c9d2;
    border-radius: 14px;
  
    padding: 40px;
    margin: 60px auto;
    max-width: 1100px;
  
    box-shadow: 0 10px 25px rgba(80, 58, 76, 0.1);
  }
  
  /* ==== PHOTO ==== */
  .hero-photo { flex-shrink: 0; }
  
  .hero-img {
    width: 260px;      /* ←← CHANGE LA TAILLE ICI */
    height: 350px;     /* tu peux mettre "auto" si tu veux */
    object-fit: cover;
    border-radius: 10px;
  
    border: 2px solid var(--aubergine-light);
    box-shadow: 0 0 0 3px var(--aubergine);
  }
  
  /* ==== TEXTE ==== */
  .hero-text { flex: 1; }
  
  .hero-text h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2em, 4vw, 3.4em);
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .hero-text p {
    text-align: justify;
}
  
  .hero-subtitle {
    font-size: 1.1em;
    color: var(--aubergine-dark);
  }
 .hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.hero-buttons .btn-action {
    flex: 1; /* même largeur */
    text-align: center;
    padding: 14px 0; /* même hauteur */
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
    background-color: var(--aubergine);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(80, 58, 76, 0.25);
}

.go-to-projects-banner {
    margin: 30px auto;
    padding: 25px 30px;
    max-width: 800px;
    background-color: #503A4C; /* aubergine DA */
    color: #f7f4ef; /* beige clair */
    font-size: 1.2rem;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(80, 58, 76, 0.4); /* glow léger */
    transition: transform 0.3s, box-shadow 0.3s;
}

.go-to-projects-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(80, 58, 76, 0.5);
}

.btn-go-projects {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 28px;
    background-color: #f7f4ef; /* beige clair */
    color: #503A4C; /* aubergine */
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(80, 58, 76, 0.25);
    transition: 0.3s;
}

.btn-go-projects:hover {
    background-color: #e9e5df;
    box-shadow: 0 10px 26px rgba(80, 58, 76, 0.35);
    transform: translateY(-2px);
}

  /* ========================================================== */
  /* RESPONSIVE */
  /* ========================================================== */
  @media (max-width: 900px) {
    .hero-wrapper {
      flex-direction: column;
      text-align: center;
      gap: 25px;
    }
  
    .hero-img {
      width: 200px;    /* taille mobile */
      height: 200px;
    }
  }
  
  .btn-download {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 28px;

    background-color: var(--aubergine);
    color: var(--white);
    font-weight: 600;
    border-radius: 8px;
    font-size: 1rem;

    box-shadow: 0 6px 20px rgba(80, 58, 76, 0.25);
    transition: 0.3s ease;
}

.btn-download:hover {
    background-color: var(--aubergine-dark);
    box-shadow: 0 8px 26px rgba(80, 58, 76, 0.4);
}

.btn-more {
    margin-top: 15px;
    padding: 10px 18px;
    background: var(--aubergine);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .btn-more:hover {
    background: var(--aubergine-dark);
  }
  
  .hidden-more {
    margin-top: 20px;
    display: none;
    text-align: left;
    line-height: 1.6;
  }
  
/* ========================================================== */
/* CARROUSEL DES COMPÉTENCES */
/* ========================================================== */

.skills-carousel {
    margin: 70px auto;
    padding: 40px 20px;
    max-width: 1100px;

    background: #f7f1ec; /* même couleur que ton hero */
    border: 1px solid #d7c9d2;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(80, 58, 76, 0.08);

    text-align: center;
    overflow: hidden; /* IMPORTANT → empêche le carrousel de "déplacer" le cadre */
}

.carousel-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--aubergine);
}

/* ====== CONTENEUR QUI SLIDE ====== */
.carousel-track {
    display: flex;
    gap: 40px;
    align-items: center;
    animation: slide 20s linear infinite;

    /* CENTRAGE PARFAIT */
    width: max-content;
    margin: 0 auto;
}

/* ====== STYLE DES COMPÉTENCES ====== */
.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px; /* agrandi légèrement */
}

.skill-item img {
    width: 80px;   /* TAILLE DES IMAGES AGRANDIE */
    height: 80px;
    object-fit: contain;

    background: white;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #d7c9d2;
    box-shadow: 0 4px 10px rgba(80, 58, 76, 0.15);
}

.skill-item p {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--aubergine-dark);
}

/* ====== ANIMATION ====== */
@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 800px) {
    .skill-item {
        width: 90px;
    }

    .skill-item img {
        width: 60px;
        height: 60px;
    }

    .carousel-track {
        gap: 25px;
    }
}
/* ========================================================== */
/* GRAND BLOC PASSIONS */
/* ========================================================== */

.passions-section {
    margin: 70px auto;
    padding: 40px 25px;

    max-width: 1100px;
    background: #f7f1ec;
    border: 1px solid #d7c9d2;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(80, 58, 76, 0.08);

    text-align: center;
}

.passion-intro {
    font-size: 0.95rem;
    color: var(--aubergine-dark);
    margin-bottom: 30px;
    line-height: 1.5;
    text-align: center;
    text-align: justify;

}

.passion-card {
    font-size: 0.95rem;
    color: var(--aubergine-dark);
    margin-bottom: 30px;
    line-height: 1.5;
    text-align: center;
    text-align: justify;

}

.passions-title {
    font-family: var(--font-serif);
    font-size: 2.3rem;
    margin-bottom: 35px;
    color: var(--aubergine);

}

.passion-text {
    margin-bottom: 20px; /* espace entre le texte et le carrousel */
    color: #5b4a55;
    text-align: justify;
}


/* ========================================================== */
/* DEUX CARTES ALIGNÉES */
/* ========================================================== */

.passions-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.passion-card {
    width: 45%;
    min-width: 300px;

    background-color: #f7f1ec;
    border-radius: 14px;
    border: 1px solid #d7c9d2;
    padding: 20px;

    box-shadow: 0 8px 20px rgba(80, 58, 76, 0.1);
    transition: 0.3s ease;
}

.passion-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(80, 58, 76, 0.18);
}

.passion-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--aubergine-dark);
    margin-bottom: 20px;
}

/* ========================================================== */
/* PETIT CARROUSEL À L’INTÉRIEUR DES CARTES */
/* ========================================================== */

.small-carousel {
    overflow: hidden;
    width: 100%;
}

.small-carousel-track {
    display: flex;
    gap: 20px;
    animation: slide-books 12s linear infinite;
}

.small-carousel-item {
    text-align: center;
}

.small-carousel-item img {
    width: 90px;
    height: 120px;
    object-fit: cover;

    border-radius: 10px;
    border: 1px solid #d7c9d2;
    box-shadow: 0 4px 10px rgba(80, 58, 76, 0.15);
}

.small-carousel-item p {
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--aubergine-dark);
}

/* Animation */
@keyframes slide-books {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------- */
/* RESPONSIVE */
/* ---------------------------------------------------------- */

@media (max-width: 750px) {
    .passion-card {
        width: 100%;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



.projects-container {
    display: grid;
    grid-template-columns: 1fr; /* 1 colonne pour les cartes */
    gap: 30px; /* Espace entre les cartes */
    width: 80%; /* Laisse 20% de marge de chaque côté */
    max-width: 1200px; /* Limite la largeur */
    margin-top: 40px;
}

.project-card {
    height: 500px; /* Une grande hauteur pour chaque carte */
    border-radius: 20px;
    border: 1px solid #d7c9d2;
    background-color: #f7f1ec;
    box-shadow: 0 8px 20px rgba(80, 58, 76, 0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    text-align: center;
    margin-bottom: 20px; /* Un peu d'espace sous chaque carte */
}

.project-card img {
    width: 100%;          /* L'image prend toute la largeur de la carte */
    height: 60%;          /* L'image occupe 60% de la hauteur de la carte */
    object-fit: cover;    /* L'image couvre l'espace sans déformation */
}

.project-card h3 {
    margin: 15px 0 10px;
    color: var(--aubergine-dark);
}

.project-card p {
    padding: 0 15px 15px;
    color: #5b4a55;
    font-size: 0.95rem;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #5b4a55;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.project-card a:hover {
    background-color: #d7c9d2;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 26px rgba(80, 58, 76, 0.18);
}

/* Si tu veux que les cartes prennent plus de place, tu peux faire une mise en page plus large avec un max-width */
@media (max-width: 768px) {
    .project-card {
        height: 450px; /* Plus petite hauteur sur les écrans moyens */
    }
}

@media (max-width: 480px) {
    .project-card {
        height: 400px; /* Hauteur encore plus petite sur les petits écrans */
    }
}

/* ================== MODAL ================== */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #f7f1ec;
    padding: 30px;
    border-radius: 14px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--aubergine-dark);
}

.modal-content h2 {
    margin-bottom: 15px;
    color: var(--aubergine-dark);
}

.modal-content p {
    margin-bottom: 20px;
    color: #5b4a55;
}

.modal-content a {
    display: inline-block;
    background-color: var(--aubergine);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
}

.modal-content a:hover {
    background-color: var(--aubergine-dark);
}

/* ================== MODE SOMBRE ================== */
body.dark-mode .project-card,
body.dark-mode .modal-content {
    background-color: #3A2A37;
    color: #fff;
}

body.dark-mode .project-card h3,
body.dark-mode .modal-content h2 {
    color: #fff;
}

body.dark-mode .project-card p,
body.dark-mode .modal-content p {
    color: #DDD;
}

body.dark-mode .modal-content a {
    background-color: #503A4C;
}

body.dark-mode .modal-content a:hover {
    background-color: #3A2A37;
}

/* ================== ACCESSIBILITE ================== */
body.accessibility-mode .project-card,
body.accessibility-mode .modal-content {
    background-color: #FFF2CC;
    color: #000;
}

body.accessibility-mode .project-card h3,
body.accessibility-mode .modal-content h2 {
    color: #000;
}

body.accessibility-mode .project-card p,
body.accessibility-mode .modal-content p {
    color: #000;
}

body.accessibility-mode .modal-content a {
    background-color: #E6B800;
    color: #000;
}

body.accessibility-mode .modal-content a:hover {
    background-color: #CC9900;
}
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 25px;             /* plus d'espace entre les boutons */
    margin-bottom: 40px;    /* plus d'espace sous la barre */
    flex-wrap: wrap;
}

.filter-btn {
    padding: 14px 28px;         /* boutons plus grands */
    border-radius: 12px;        /* coins plus arrondis */
    border: none;
    cursor: pointer;
    font-weight: 700;            /* texte plus visible */
    font-size: 1.1rem;           /* texte plus grand */
    background-color: var(--aubergine-light);  /* couleur claire pour le mode clair */
    color: var(--aubergine-dark);
    box-shadow: 0 6px 15px rgba(80, 58, 76, 0.2);  /* effet léger de profondeur */
    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--aubergine);  /* couleur plus intense */
    color: var(--white);                  /* texte blanc pour contraste */
    transform: translateY(-3px);          /* léger effet hover pour attirer l’œil */
    box-shadow: 0 10px 20px rgba(80, 58, 76, 0.3);
}

/* GRID PROJETS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.project-card {
  background-color: var(--beige);
  border: 1px solid var(--aubergine-light);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(80, 58, 76, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--aubergine-dark);
  margin: 12px;
}

.project-card p {
  margin: 0 12px 12px;
  color: var(--aubergine);
  font-weight: 600;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(80, 58, 76, 0.2);
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: var(--beige);
  padding: 25px;
  border-radius: 14px;
  max-width: 600px;
  width: 90%;
  text-align: center;
}

.modal-content img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.modal-content a {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  background: var(--aubergine);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
}
/* Style spécifique pour le projet à venir */
.stage-coming {
  background-color: #e3d6e0; /* couleur légèrement différente, reste cohérente avec DA */
  border: 2px dashed var(--aubergine);
  color: var(--aubergine-dark);
  position: relative;
}

.stage-coming .coming-text {
  display: block;
  margin: 10px 12px;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--aubergine-dark);
}
.page-title {
    text-align: center;          /* centre horizontalement */
    margin-top: 80px;            /* espace sous la nav */
    margin-bottom: 50px;         /* espace avant la grille de projets */
    font-family: var(--font-serif);
    font-size: 2.5rem;           /* taille cohérente avec DA */
    color: var(--aubergine);     /* couleur DA */
}
.contact-section-wrapper {
    display: flex;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 40px;
    background-color: var(--beige);
    border: 1px solid #d7c9d2;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(80, 58, 76, 0.1);
    align-items: flex-start;
}

.contact-photo {
    flex-shrink: 0;
}

.contact-img {
    width: 250px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--aubergine-light);
    box-shadow: 0 0 10px var(--aubergine);
}

.contact-form-container {
    flex: 1;
}

@media (max-width: 900px) {
    .contact-section-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .contact-img {
        width: 200px;
        height: 280px;
        margin: 0 auto 20px;
    }
}
.page-title {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 40px;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--aubergine);
}

.contact-section {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 40px;
    background-color: var(--beige);
    border: 1px solid #d7c9d2;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(80, 58, 76, 0.1);
    text-align: center;
}

.contact-section p {
    font-size: 1.1rem;
    color: var(--aubergine-dark);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    font-weight: 600;
    color: var(--aubergine-dark);
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #d7c9d2;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--aubergine);
    box-shadow: 0 0 10px rgba(80, 58, 76, 0.2);
}

.btn-send {
    background-color: var(--aubergine);
    color: var(--white);
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-send:hover {
    background-color: var(--aubergine-dark);
}

/* === Mode sombre === */
body.dark-mode .contact-section {
    background-color: #3A2A37;
    border-color: #503A4C;
}

body.dark-mode .contact-section p,
body.dark-mode .contact-form label,
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    color: #F7F4EF;
    background-color: #503A4C;
    border-color: #503A4C;
}

body.dark-mode .btn-send {
    background-color: #DCD1DB;
    color: #3A2A37;
}

body.dark-mode .btn-send:hover {
    background-color: #F7F4EF;
}
/* Container contact */
.contact-section-wrapper {
    display: flex;
    gap: 40px;
    background-color: #f7f1ec;
    border-radius: 14px;
    padding: 40px;
    max-width: 1100px;
    margin: 40px auto;
    box-shadow: 0 10px 25px rgba(80, 58, 76, 0.1);
    align-items: center;
}

/* Photo à gauche */
.contact-photo {
    flex-shrink: 0;
}
.contact-img {
    width: 260px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #503A4C;
}

/* Formulaire à droite */
.contact-form-container {
    flex: 1;
}
.contact-intro {
    margin-bottom: 20px;
    color: #503A4C;
    font-weight: 500;
}

/* Formulaire */
.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #503A4C;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #d7c9d2;
    font-family: var(--font-sans);
}
.btn-send {
    padding: 14px 28px;
    background-color: #503A4C;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}
.btn-send:hover {
    background-color: #3A2A37;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-section-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .contact-img {
        width: 200px;
        height: 200px;
        margin-bottom: 20px;
    }
}
/* Footer simple minimaliste */
.main-footer {
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--aubergine-dark);
    padding: 10px 0;
    background: var(--beige);
}

.main-footer a {
    color: var(--aubergine-dark);
    text-decoration: none;
    margin: 0 8px;
    font-weight: 500;
}

.main-footer a:hover {
    text-decoration: underline;
}
/* Bouton CV flottant */
.btn-cta-floating {
    position: fixed;
    bottom: 20px;   /* distance depuis le bas */
    right: 20px;    /* distance depuis la droite */
    background-color: var(--aubergine);
    color: var(--white);
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(80, 58, 76, 0.3);
    transition: background 0.3s, transform 0.2s;
    z-index: 999;  /* toujours au-dessus du reste */
}

.btn-cta-floating:hover {
    background-color: var(--aubergine-dark);
    transform: translateY(-2px);
}
.timeline-section {
    padding: 80px 0;
}

.timeline-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background-color: var(--aubergine-light);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 70px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 14px;
    height: 14px;
    background-color: var(--aubergine);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item.left::before {
    right: -7px;
}

.timeline-item.right::before {
    left: -7px;
}

.timeline-content {
    background-color: var(--card-bg);
    padding: 16px 18px;
    border-radius: 12px;
    max-width: 360px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.timeline-content h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.timeline-content.highlight {
    background-color: var(--highlight-bg);
    border: 1.5px solid var(--aubergine);
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
        margin-bottom: 60px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item::before {
        left: 13px;
    }

    .timeline-content {
        max-width: 100%;
    }
}
/* Conteneur principal des compétences */
.competence-section {
    padding: 40px;
    background: linear-gradient(135deg, rgba(100, 100, 255, 0.2), rgba(100, 200, 255, 0.3)); /* Dégradé dynamique */
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;  /* Bord arrondi pour un effet plus moderne */
    transition: background 0.5s ease-in-out;  /* Transition de couleur fluide */
}

/* Titre des catégories de compétences */
.competence-category h3 {
    font-size: 1.8rem;  /* Augmente la taille du texte */
    font-weight: 600; /* Ajout de la valeur manquante pour le font-weight */
}

.competence-section:hover {
    background: linear-gradient(135deg, rgba(255, 100, 100, 0.2), rgba(255, 200, 100, 0.3)); /* Change de couleur au survol */
}

/* Titre de la section */
.competence-section h2 {
    color: #5b4a55;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    transition: color 0.3s ease; /* Effet de couleur pour le titre */
}

/* Lors du survol, changement de couleur du titre */
.competence-section:hover h2 {
    color: #ff6347;
}

/* Carrousel et animation */
.small-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.small-carousel-track {
    display: flex;
    gap: 20px; /* Ajoute de l'espace entre chaque élément du carrousel */
    animation: slide-compete 12s linear infinite;
}

/* Pas de doublon d'animation ici : on conserve cette définition uniquement */

.small-carousel-item {
    text-align: center;
    flex: 0 0 auto; /* Pas d'élargissement ou de réduction */
    width: 250px; /* Largeur plus petite pour chaque élément */
}

.small-carousel-item img {
    width: 100%;
    height: auto; /* Hauteur automatique pour préserver les proportions */
    max-height: 130px; /* Hauteur maximale pour empêcher que l'image soit trop grande */
    object-fit: contain; /* Assure que l'image est contenue sans être coupée */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(80, 58, 76, 0.15); /* Optionnel, peut être supprimé si tu veux un look plus épuré */
}

.small-carousel-item p {
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5b4a55;
}

/* Animation pour le carrousel défilant */
@keyframes slide-compete {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* Défilement de tous les éléments */
    }
}

/* Pour les petits écrans, ajuster la taille du texte */
@media (max-width: 768px) {
    .small-carousel-item {
        width: 200px; /* Ajuste la largeur des éléments pour les petits écrans */
    }
    .small-carousel-item img {
        height: 100px; /* Ajuste la hauteur des images sur mobile */
    }
}
.construction-banner {
    background-color: #ff0000; /* Jaune pour attirer l'attention */
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: bold;
}

.construction-banner p {
    margin: 0;
}
