/* ============================= 1. IMPORTS ET PARAMÈTRES GLOBAUX ============================= */

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;700&display=swap');

@font-face {
  font-family: 'Maneola';
  src: url('../fonts/Maneola-Regular.woff2') format('woff2'),
       url('../fonts/Maneola-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Le site supporte les deux thèmes */
:root {
  color-scheme: light dark;
}

/* --- Thème clair (par défaut) --- */
@media (prefers-color-scheme: light) {
  :root {
    --bg: linear-gradient(135deg, #4AA9A1, #2CA877, #62A78A);
    --text: #111;
    --card: rgba(255, 255, 255, 0.7);
    --border: rgba(0, 0, 0, 0.1);
  }
}

/* --- Thème sombre --- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f13;
    --text: #111;
    --card: rgba(20, 22, 30, 0.7);
    --border: rgba(255, 255, 255, 0.12);
  }
}

/* Application globale */
body {
  background: var(--bg);
  color: var(--text);
  cursor: url('icons/fermer.png') 16 16, auto;
  scrollbar-gutter: stable;
}

.system-font {
  font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 300; /* clé du changement */
  text-transform: none;
  letter-spacing: 0.015em;
  line-height: 1.7;
  color: #222;
  transition: font-weight 0.3s ease, letter-spacing 0.3s ease;
}



/* ============================= 2. STYLES GÉNÉRAUX ============================= */

body {
  font-family: 'Rubik', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: url('../images/fermer.svg'), auto;
}

/* --- Désactive les halos bleus au toucher sur les écrans tactiles --- */
@media (pointer: coarse) {
  a,
  button,
  img,
  label,
  input,
  select,
  .toggle,
  .switch,
  .slider,
  textarea {
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }

@media (pointer: coarse) {
  * {
    -webkit-tap-highlight-color: transparent;
  }
}

  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible {
    outline: none;
  }
}



/* ============================= 3. HEADER ET NAVIGATION ============================= */

header {
  background: rgba(255 255 255 / 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  padding: 20px 30px;
  text-align: center;
  border-radius: 0 0 20px 20px;
  border: 1px solid rgba(255 255 255 / 0.15);
  position: relative;
  z-index: 1000;
  cursor: auto;
  box-shadow:
    inset 0 0 10px rgba(255 255 255 / 0.2),
    0 8px 30px rgba(0, 0, 0, 0.1);
}


header h1 {
  margin: 0;
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: 1.2px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* --- Onglets de navigation --- */
.nav-tabs {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
  cursor: pointer;
  user-select: none;
  align-items: center;
  font-size: 1.05rem;
  flex-wrap: wrap;
  cursor: url('../images/fermer.svg'), auto;
}

/* --- Cacher les onglets de navigation sur mobile --- */
@media (max-width: 800px) {
  header {
    background: rgba(91, 179, 163, 0.70);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: white;
    text-align: center;
    border-radius: 0 0 20px 20px;
    border: 1px solid rgba(255 255 255 / 0.15);
    position: sticky;
    top: 0;
    z-index: 9999;
    cursor: url('../images/fermer.svg'), auto;
    box-shadow:
      inset 0 0 10px rgba(255 255 255 / 0.2),
      0 8px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-tabs {
    display: none !important;
  }

  .mobile-nav {
    display: flex;
  }
}

.nav-tabs .tab {
  padding: 8px 18px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  cursor: url('../images/fermer.svg'), auto;
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.13),
    inset 0 0 10px rgba(255 255 255 / 0.2);
}

.nav-tabs .tab:hover {
  background: rgba(255 255 255 / 0.35);
  text-decoration: none;
}

/* --- MODIF : appliquer l’effet actif à tous les onglets --- */
.nav-tabs .tab.active,
.nav-tabs .tab:focus,
.nav-tabs .tab:active {
  color: #ffffff;
  text-shadow: #0000004b;
  cursor: url('../images/fermer.svg'), auto;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.08),
    inset 0 0 15px rgba(255 255 255 / 0.3);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* --- Structure du header --- */
.header-content {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  justify-content: space-between;
  position: relative;
  gap: 20px;
}

/* --- Logo styling --- */
.logo img {
  height: 130px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* --- Icône burger --- */
.burger-icon {
  display: flex;
  align-items: center;
  padding: 0;
  cursor: auto;
}

.burger-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* --- Adaptation mobile du header --- */
@media (max-width: 768px) {
  .logo img {
    height: 70px;
    margin: 0;
  }

  header {
    text-align: left; /* Alignement à gauche */
    padding: 4px 12px;
    background: rgba(91, 179, 163, 0.70);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: white;
    border-radius: 0 0 20px 20px;
    border: 1px solid rgba(255 255 255 / 0.15);
    position: sticky;
    top: 0;
    z-index: 9999;
    cursor: auto;
    box-shadow:
      inset 0 0 10px rgba(255 255 255 / 0.2),
      0 8px 30px rgba(0, 0, 0, 0.1);
  }

  .header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* logo à gauche, titre centré, hamburger à droite */
    padding: 0 12px; /* un peu de marge horizontale */
    gap: 15px;
  }

  header h1 {
    font-size: 1.6rem;
  }
}



/* ============================= 4. BARRE DE NAVIGATION MOBILE ============================= */

/* Icône burger cliquable avec checkbox pour état ouvert/fermé */
#menuToggle {
  display: none; /* caché, sert juste à capturer le clic */
}

.burger-icon {
  display: flex;
  align-items: center;
  padding: 10px 0;
  cursor: url('../images/fermer.svg'), auto;
  position: relative;
  z-index: 10001; /* au-dessus du menu */
}

.burger-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Menu mobile */
.mobile-menu {
  position: fixed;
  top: 180px;
  right: 15px;
  background: transparent;
  backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 12px;
  flex-direction: column;
  gap: 12px;
  z-index: 10001;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2),
              inset 0 0 10px rgba(255, 255, 255, 0.1);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(-10px);
  opacity: 0;
}

.blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(10px) brightness(1);
  -webkit-backdrop-filter: blur(10px) brightness(1);
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 900; /* en dessous du menu, au-dessus du contenu */
}

body.menu-open main,
body.menu-open footer {
  filter: blur(10px) brightness(1);
  transition: filter 0.2s ease;
}

/* Quand le menu est ouvert */
body.menu-open .blur-overlay {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu ul li a {
  position: relative;
  display: block;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 25px;
  color: white;
  text-decoration: none;
  overflow: hidden;
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 2px 18px rgba(0 0 0 / 0.12),
    inset 0 0 10px rgba(255 255 255 / 0.2);
}

.mobile-menu ul li a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease;
  z-index: -1;
}

.mobile-menu ul li a:hover::before {
  background-color: rgba(255, 255, 255, 0.3);
}

/* --- Afficher le menu quand le checkbox est coché --- */
#menuToggle:checked ~ .mobile-menu {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease; /* plus doux */
}


/* --- Mobile nav bar --- */
.mobile-nav {
  display: none;
}


@media (max-width: 768px) {
  .mobile-menu {
    top: 85px; /* remonte le menu sur mobile */
  }

  .burger-icon {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
  }

  .burger-icon.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }
}

@media (max-width: 768px) {
  .mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translate(-50%, 0);
    width: calc(100% - 40px);
    background: rgba(214, 214, 214, 0.05);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 35px;
    padding: 9px 0;
    z-index: 1000;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), 
                opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 
      0 6px 20px rgba(0, 0, 0, 0.25),
      inset 0 0 10px rgba(198, 253, 224, 0.3);
  }

  /* --- Pseudo-élément pour l’effet de flou sous la barre --- */
  .mobile-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateY(10px);
    background: inherit;
    filter: blur(30px);
    opacity: 0.7;
    z-index: -1;
  }

  .mobile-nav .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex: 1;
  }

  .mobile-nav .nav-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.8;
    transition: transform 0.2s ease, opacity 0.2s ease, filter 0.3s ease;
  }

  .mobile-nav .nav-icon.active img {
    opacity: 1;
  }

  .mobile-nav.hide {
    transform: translate(-50%, 100%);
    opacity: 0;
  }

  main {
    padding-bottom: 120px;
  }
}



/* ============================= 5. CONTENU PRINCIPAL (MAIN) ============================= */

main {
  flex: 1;
  padding: 10px 30px 15px 30px;
  max-width: 1100px;
  margin: 20px auto 30px auto;
  background: rgba(255 255 255 / 0.12);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255 255 255 / 0.25);
  color: white;
  user-select: text;
  cursor: url('../images/fermer.svg'), auto;
  box-shadow:
    inset 0 0 10px rgba(255 255 255 / 0.15),
    0 4px 20px rgba(0, 0, 0, 0.05);
}

.tab-content {
  display: none;
  color: white;
}

.tab-content.active {
  display: block;
}

@media (max-width: 768px) {
  main {
    padding: 25px 35px;
    margin-bottom: 20px;
  }
}



/* ============================= 6. ACCUEIL ============================= */

body.home {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

#home {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.home-title {
  display: flex;
  justify-content: center; /* centre horizontalement */
  align-items: center;     /* centre verticalement */
  position: relative;      /* nécessaire si on garde animations absolues */
  height: 600px;
}

.title-img {
  position: absolute;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 0.8s ease-out forwards;
  height: auto;
  width: 550px;
}

/* Décalages d’apparition */
.title-img:nth-child(1) { animation-delay: 0.2s; }
.title-img:nth-child(2) { animation-delay: 0.4s; }
.title-img:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .title-img {
    width: 400px;
  }
}

@media (max-width: 900px) {
  .title-img {
    width: 300px;
  }
}

@media (max-width: 900px) {
  .home-title {
    height: 420px;
  }
}



/* ------ Section CTA ------ */

.cta-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 20px;
  margin-top: 10px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
  box-sizing: border-box;
}

.cta-container {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  padding: 40px 40px;
  max-width: 900px;
  text-align: center;
  box-shadow:
    inset 0 0 10px rgba(255 255 255 / 0.2),
    0 8px 30px rgba(0, 0, 0, 0.1);
}

.cta-container h2 {
  font-family: 'Rubik', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.cta-subtext {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.cta-btn {
  padding: 14px 28px;
  border-radius: 1.5rem;
  text-decoration: none;
  font-weight: 700;
  transition: 0.15s ease;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  box-shadow:
    0 6px 24px rgba(0,0,0,0.12),
    inset 0 0 10px rgba(255 255 255 / 0.2);
}

.cta-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.20),
    inset 0 0 10px rgba(255 255 255 / 0.2);
}

/* Spécifique à chaque bouton */
.cta-btn.whatsapp { background: rgba(255, 255, 255, 0.1); }
.cta-btn.blog { background: rgba(255, 255, 255, 0.1); }
.cta-btn.art-challenge { background: rgba(255, 255, 255, 0.1); }

/* Responsive */
@media (max-width: 700px) {
  .cta-container {
    padding: 40px 20px;
    width: 100%;
    max-width: 420px; /* garde un format harmonieux sur petits écrans */
    margin: 0 auto;   /* recentrage en cas de flex bug */
  }

  }

  .cta-container h2 {
    font-size: 1.6rem;
  }

  .cta-subtext {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-section {
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 10px; /* un peu moins de padding latéral pour éviter le débord */
  }

.short {
  display: block;
  margin: 40px auto 60px auto; /* centre + margin-bottom */
  max-width: 360px;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  border: none;
  align-items: center;
}

/* Mobile */
@media (max-width: 800px) {
  .short {
    width: calc(100% - 40px); /* crée des marges latérales */
    height: 25rem;
  }
}



/* ============================= 7. PORTFOLIO ============================= */

#portfolio {
  text-align: center;
  padding: 10px 30px 15px 30px;
}

#portfolio h2 {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #fff;
}

/* --- Cartes du portfolio --- */
.portfolio-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;           /* espace entre cartes */
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.portfolio-card {
  position: relative;
  width: 320px;
  height: 220px;
  border-radius: 25px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow:
    inset 0 0 10px rgba(255 255 255 / 0.2),
    0 6px 20px rgba(0,0,0,0.2);
}

.portfolio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1);
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* --- Bouton glassmorphism au bas de la carte --- */
.portfolio-card span {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  padding: 8px 24px;
  border-radius: 50px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transition: background-color 0.4s ease, transform 0.4s ease;
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.2);
    inset 0 0 10px rgba(255 255 255 / 0.2);
}

/* --- Hover --- */
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 17px rgba(0,0,0,0.22);
}

.portfolio-card:hover img {
  filter: brightness(0.8);
  transform: scale(1.03);
}

.portfolio-card:hover span {
  background: rgba(255,255,255,0.35);
  transform: translateX(-50%) translateY(-4px);
}

/* --- Responsive --- */

@media (max-width: 900px) {
  .portfolio-buttons {
    padding: 0 10px;    /* marges plus petites pour laisser plus de place */
    gap: 15px;          /* espace réduit entre les cartes */
  }

  .portfolio-card {
    width: 100%;        /* carte prend toute la largeur disponible */
    aspect-ratio: 12 / 10;
    max-width: none;    /* supprime les restrictions */
    height: 180px;      /* hauteur adaptée */
    margin: 0 auto;
    border-radius: 20px;
  }

  .portfolio-card span {
    font-size: 1rem;
    padding: 8px 20px;
  }

  main.portfolio-page {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0px;
    padding-bottom: 0px;
  }
}

@media (max-width: 700px) {
  .portfolio-buttons {
    padding: 0px;    /* marges plus petites pour laisser plus de place */
    gap: 15px;          /* espace réduit entre les cartes */
  }

  .portfolio-card {
    width: 100%;        /* carte prend toute la largeur disponible */
    aspect-ratio: 12 / 10;
    max-width: none;    /* supprime les restrictions */
    height: 160px;      /* hauteur adaptée */
    margin: 0 auto;
  }

  .portfolio-card span {
    font-size: 1rem;
    padding: 6px 16px;
  }

  main.portfolio-page {
    padding-left: 0px !important;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
  }
}



/* ============================= 8. CREATIONS ============================= */

main.creations h2 {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 35px;
  color: #fff;
  letter-spacing: -1px;
  text-align: center;
}



/* --------- Layout responsive --------- */

.layout-3colonnes {
  display: flex !important;
}
.layout-2colonnes {
  display: none !important;
}

@media (max-width: 1024px) {
  .layout-3colonnes {
    display: none !important;
  }
  .layout-2colonnes {
    display: flex !important;
  }
}

@media (max-width: 300px) {
  .layout-2colonnes {
    flex-direction: column;
  }
  .layout-2colonnes .col {
    width: 100%;
  }
}



/* ===================== VERSION MOBILE LÉGÈRE ===================== */
@media (max-width: 300px) { /* plus réaliste pour mobile */
  /* Layout principal */
  .layout-3colonnes {
    display: none !important;
    margin: none !important;
  }
  .layout-2colonnes {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important; /* espace réduit entre les colonnes */
    margin: none !important;
  }

  /* Colonnes */
  .layout-2colonnes .col {
    width: 100% !important;
    gap: 0.5rem !important;
    margin: none !important;
  }

  /* Images */
  .layout img {
    width: 100% !important;
    height: auto !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    margin: none !important;
  }
}


@media (max-width: 480px) {
  main {
    padding-left: 50px !important;
    padding-right: 50px !important;
  }

  .creations {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
  }

  .layout-2colonnes {
    gap: 0.5rem !important;
  }

  .layout-2colonnes img {
    border-radius: 6px !important;
  }
}

@media (max-width: 480px) {
  main.creations,
  main.creations .layout-2colonnes,
  main.creations .layout-3colonnes {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}



/* --------- Layout style --------- */

.layout {
  display: flex;
  gap: 1rem; /* espace entre colonnes */
  margin: 2rem 0;
}

/* Chaque colonne */
.layout .col {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* espace entre images */
  flex: 1;
}

/* Images */
.layout img {
  width: 100%; /* s'adapte à la colonne */
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

/* Effet au survol */
.layout img:hover {
  box-shadow: 0 10px 16px rgba(0,0,0,0.25);
}



/* --------- Lightbox popup --------- */

.lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  z-index: 9999;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-window {
  background: rgba(255, 255, 255, 0.15); /* fond translucide */
  color: #fff;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 900px;
  width: 90%;
  display: flex;
  flex-direction: row;
  gap: 20px;
  overflow: hidden;
  padding: 20px;
  animation: fadeIn 0.3s ease;
  box-shadow: inset 0 0 12px rgba(210, 210, 210, 0.05),
    0 8px 30px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
  from { transform: scale(0.90); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-left img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.lightbox-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.lightbox-right h3 {
  font-family: 'Maneola', 'Rubik';
  margin-top: 10px;
  margin-bottom: 0%;
  font-size: 3.5rem;
  font-weight: 550;
  letter-spacing: 0.05rem;
  line-height: 1;
}

.lightbox-right p {
  font-family: "Rubik", sans-serif;
  font-weight: 100;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 3px;
}

.lightbox-right p strong {
  font-weight: 700;
}

.lightbox-date {
  font-family: 'Rubik', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #fff;
  opacity: 0.8;
  margin: 0;
  margin-bottom: 15px;
}

.lightbox-close {
  position: fixed;
  top: 30px; 
  right: 40px;
  color: #fff;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000; /* pour être sûr qu’elle passe au-dessus */
}

.lightbox-close img {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 700px) {
  .lightbox-window {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 10px 15px; /* padding plus adapté pour mobile */
    gap: 8px; /* espace entre image et texte */
    max-height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0px;
  }

  .lightbox-left img {
    max-width: 100%; /* image plus large mais pas full */
    height: auto;
    object-fit: contain;
    display: block;
  }

  .lightbox-right {
    overflow-y: visible;
    padding-bottom: 10px;
  }

  .lightbox-right h3 {
    font-size: 2.2rem;
    text-align: center;
  }

  .lightbox-right p {
    font-size: 0.9rem;
  }

  .lightbox-close {
    top: 20px;
    right: 25px;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 2.2rem;
  }
}


.blog-title {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 35px;
  color: #fff;
  letter-spacing: -1px;
  text-align: center;
}



/* ============================= 9. RECHERCHER ============================= */

/* --- Boutons flottant Rechercher sur Desktop --- */

.search-float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 9999;
  box-shadow:
    0 4px 20px rgba(0 0 0 / 0.14),
    inset 0 0 10px rgba(255 255 255 / 0.2);
}

.search-float-btn img {
  width: 31px;
  height: 31px;
}

.search-float-btn:hover {
  transform: scale(1.08);
  box-shadow:
    0 6px 26px rgba(0 0 0 / 0.16),
    inset 0 0 10px rgba(255 255 255 / 0.2);
}

@media (max-width: 899px) {
  .search-float-btn {
    display: none;
  }
}

/* Conteneur principal qui centre tout */
.search-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 70vh;
  padding-top: 20px;
}

/* Enveloppe de la zone de recherche (limite la largeur) */
.search-box-wrapper {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* La bulle (Input) */
.search-bubble {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 24px 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-sizing: border-box;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 0 8px rgba(255, 255, 255, 0.2);
}

.search-bubble:focus-within {
  background: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 5px 21px rgba(0, 0, 0, 0.2),
    inset 0 0 12px rgba(255, 255, 255, 0.3);
}

.search-logo {
  width: 25px;
  height: 25px;
  opacity: 0.8;
  margin-right: 10px;
  flex-shrink: 0;
}

/* Le champ texte */
.search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 1.1rem;
  color: #fff;
  width: 100%;
  font-family: 'Rubik', sans-serif;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

/* Zone des résultats */
#searchResults {
  width: 100%;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-bottom: 0px;
}

/* --- Cartes de résultat --- */

.result-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  animation: fadeInUp 0.4s ease;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.result-item:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.2);
}

/* Image miniature du résultat */
.result-thumb {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  object-fit: cover;
  margin-right: 15px;
  background: rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* Texte du résultat */
.result-info {
  display: flex;
  flex-direction: column;
}

.result-info h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.result-info p {
  margin: 4px 0 0 0;
  color: #ffffff;
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.2;
}

/* Badge (Catégorie) */
.badge-cat {
  display: inline-block;
  font-size: 0.7rem;
  background: rgba(44, 168, 119, 0.6);
  color: white;
  padding: 2px 8px;
  border-radius: 8px;
  margin-left: 8px;
  vertical-align: middle;
  font-weight: normal;
  text-shadow: none;
}

/* --- Adaptation Mobile pour la recherche --- */
@media (max-width: 600px) {
  .search-page-container {
    padding-top: 10px;
  }
  
  .search-bubble {
    padding: 9px 10px 9px 15px
  }
  
  .search-input {
    font-size: 1rem;
  }
  
  .search-logo {
    width: 22px;
    height: 22px;
    margin-right: 10px;
  }

  .result-thumb {
    width: 55px;
    height: 55px;
  }
}



/* ============================= 10. ACTUS ============================= */

.blog-main {
  padding: 20px 40px 60px 40px;
}

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* Card */
.blog-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: visible; /* IMPORTANT : on enlève le masque global */
  box-shadow:
    inset 0 0 10px rgba(255,255,255,0.15),
    0 8px 25px rgba(0,0,0,0.05);
  opacity: 0;
  animation: blogFadeUp 0.8s ease forwards;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* Stagger animation */
.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.5s; }
.blog-card:nth-child(3) { animation-delay: 1s; }

/* Image wrapper = MASQUE */
.blog-image {
  position: relative;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border-radius: 22px;
}

/* Image */
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  transform: scale(1);
  transition: transform 0.3s ease;
  will-change: transform;
}

/* Tag */
.blog-tag {
  position: absolute;
  top: 12px;
  left: 14px;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 999px;
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Content */
.blog-content {
  padding: 0 16px 20px 16px;
  border-radius: 0 0 22px 22px;
}

.blog-content h2 {
  font-family: 'Maneola', sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: 600;
  line-height: 1.5rem;
  letter-spacing: 1px;
}

.blog-content p {
  font-size: 1.05rem;
  line-height: 1.1rem;
  opacity: 0.85;
}

/* Link */
.blog-link {
  text-decoration: none;
  color: inherit;
}

/* Hover effects */
.blog-link:hover .blog-card {
  box-shadow:
    inset 0 0 12px rgba(255,255,255,0.2),
    0 10px 30px rgba(0,0,0,0.2);
}

.blog-link:hover .blog-image img {
  transform: scale(1.03);
}

/* Animation */
@keyframes blogFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1000px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive */
@media (max-width: 800px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-content h2 {
    font-size: 1.7rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 1.5rem;
    letter-spacing: 1.2px;
  }
  
  .blog-content p {
    font-size: 1.05rem;
  }

  .blog-main {
    padding-top: 40px;
  }

  .blog-image {
    aspect-ratio: 5 / 3;
  }
}

@media (max-width: 480px) {
  main.blog-main {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}



/* ============================= 11. CONTACT ============================= */

/* Reset / base — page Contact uniquement */
.contact-container,
.contact-container * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Rubik', system-ui, sans-serif;
}

/* Container principale */
.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 46px 0px;
  max-width: 600px;
  width: 100%;
}

/* Image ronde */
.profile-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Titre */
.profile-title {
  font-size: 2.2rem;
  color: #fff;
  margin-top: -10px;
  text-align: center;
}

/* Logos horizontaux */
.social-logos {
  display: flex;
  gap: 8px;
  margin-top: -15px;
}

.social-logos img {
  width: 31px;
  height: 31px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  opacity: 0.8;
}

.social-logos img:hover {
  opacity: 1;
}

/* Mail */
.contact-mail {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1rem;
}

.contact-mail img {
  width: 20px;
  height: 20px;
}

/* Boutons glassmorphism */
.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.social-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: box-shadow 0.2s ease;
  box-shadow:
    inset 0 0 10px rgba(255,255,255,0.3),
    0 4px 15px rgba(0,0,0,0.1);
}

.social-button:hover {
  box-shadow:
    inset 0 0 10px rgba(255,255,255,0.3),
    0 8px 16px rgba(0,0,0,0.15);
}

.social-button img {
  width: 39px;
  height: 39px;
  background-color: #4AA9A1;
  border-radius: 50%;
  padding: 3px;
}

a {
  text-decoration: none;
  color: inherit;
}

.contact-mail a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 20px;
  color: #ffffff;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.25s ease;
}

.contact-mail a:hover {
  opacity: 1;
}

.contact-mail img {
  width: 22px;
  height: 22px;
  transform: translateY(1.5px);
}

.social-button span {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.25s ease;
}

/* Responsive */
@media (max-width: 700px) {
  .contact-container {
    padding: 32px 16px;
  }

  .social-logos {
    gap: 12px;
  }

  .social-button {
    padding: 4px 4px;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding: 20px 5px;
  }

  .social-logos {
    gap: 12px;
  }

  .social-button {
    padding: 4px 4px;
  }
}



/* ============================= 12. FAQ ============================= */

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  letter-spacing: -2px;
}

.faq-header p {
  font-size: 1.2rem;
  opacity: 0.75;
}



.faq-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

/* Capsule boutons */
.faq-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0px 0px;
  border-radius: 50px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, background 0.2s ease;
  box-shadow: 0 3px 7px rgba(0,0,0,0.1),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.faq-card:hover {
  transform: translateY(-1.5px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}

/* Icon circle */
.faq-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.faq-icon img {
  width: 30px;
  height: 30px;
  opacity: 1;
}

/* Texte catégorie */
.faq-card span {
  font-size: 1.1rem;
  font-weight: 500;
}

@media (max-width: 700px) {
  .faq-header {
    margin-bottom: 30px;
  }

  .faq-categories {
    grid-template-columns: 1fr;
  }

  .faq-card {
    padding: 0px 0px;
  }
}



/* ============================= 13. ART CHALLENGE ============================= */

.art-challenge .logo-section h1 {
  font-family: "Maneola", sans-serif;
  font-weight: 400;
  font-size: 2.2rem;
}

.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 9rem;
  margin: 1rem 0;
  box-shadow:
    inset 0 0 10px rgba(255,255,255,0.2),
    0 8px 30px rgba(0,0,0,0.25);
}

.logo-section {
  text-align: center;
  margin-bottom: 0rem;
}

.logo-animated {
  width: 300px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.5s forwards; /* forwards pour rester à la fin */
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-section h1 {
  font-size: 1.8rem;
  margin-top: 0rem;
  line-height: 30px;
}

/* ------ Intro ------ */
.intro {
  text-align: center;
  margin-bottom: 4rem;
}

.intro p {
  margin: 0.1rem 0;
  font-size: 1.05rem;
}



/* ------ Thème du moment ------ */
.section-separator {
  width: 70%;
  height: 3px;
  margin: 0 auto 30px auto;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* --- Lien externe --- */
.art-challenge-more {
  opacity: 0.85;
}

.art-challenge-more a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
  cursor: pointer;
}

.art-challenge-more a:hover {
  opacity: 1;
  text-decoration-color: currentColor;
}

.left, .right {
  flex: 1 1 250px;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  margin-bottom: 4rem;
}


.deadline {
  text-align: center;
  font-weight: 500;
}

.countdown {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.count-item .label {
  font-family: "Rubik", sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  text-align: center;
  letter-spacing: 0.5px;     /* joli avec cette police */
  margin-bottom: 5px;        /* espace entre texte et la bulle */
  display: block;
}

.count-bubble {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: none;                 /* pas de flou à l’intérieur */
  -webkit-backdrop-filter: none;
  border-radius: 15px;
  padding: 0.3rem 0.8rem;
  min-width: 60px;
  text-align: center;
  font-weight: bold;
  font-size: 2.8rem;
  background-clip: padding-box;
  box-shadow: inset 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 600px) {
  section.art-challenge {
    gap: 0px;
    padding: 0px;
  }
}

@media (max-width: 480px) {
  main.art-challenge {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .count-bubble {
    min-width: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .count-bubble {
    min-width: 45px;
    font-size: 1.7rem;
    border-radius: 10px;
    padding: 0.2rem 0.4rem;
  }

  .theme-bubble {
    font-size: 1.1rem;
  }

  .theme-bubble span {
    font-size: 1.3rem;
  }

  .countdown {
    gap: 0.4rem;
  }
}

/* ------ Responsive ------ */
@media (max-width: 768px) {
  main {
    padding: 1rem;
  }

  .logo-animated {
    width: 200px;
  }

  .logo-section h1 {
    font-size: 1.5rem;
  }

  .section-separator {
    width: 70%;
    height: 3px;

    margin: 0px auto 20px auto;
  }

  .intro {
    margin-bottom: 3rem;
  }
}




/* ============================= 14. PARAMETRES ============================= */

.settings-note {
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.8;
  text-align: center;
  color: white;
}

.settings-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 500px;
}

.setting {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

main.settings-section {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 50px;
    padding-bottom: 0px;
  }



/* ============================= 15. MENTIONS LEGALES ============================= */

.mentions-content h1 {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 5px;
  text-align: center;
}

.mentions-content h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

/* Si tu utilises des <h3> dans les mentions, reprendre #about h3 */
.mentions-content h3 {
  font-weight: 600;
  font-size: 1.6rem;
  margin-top: 20px;
  margin-bottom: 12px;
  color: #A4EBCD;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Paragraphe principal — reproduit #about p.system-font
   (s'applique à tous les <p> dans .mentions-content, et aussi aux p.system-font pour rétro-compatibilité) */
.mentions-content p,
.mentions-content p.system-font {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
  color: #fff;
  max-width: 800px;
}

/* Date et retour */
.mentions-date {
  text-align: center;
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  margin-top: 0;
  opacity: 0.8;
}

/* --- Responsive --- */

@media (max-width: 992px) {
  .mentions-content {
    padding: 32px;
  }

  .mentions-content h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    text-align: center;
  }

  .mentions-content h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .mentions-content p,
  .mentions-content p.system-font {
    font-size: 1rem;
  }

  .mentions-date {
    font-size: 0.95rem;
    margin-bottom: 3rem;
    margin-top: 0;
    opacity: 0.8;
  }
}

@media (max-width: 600px) {
  .mentions-content {
    padding: 10px;
    border-radius: 14px;
  }

  .mentions-content h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    text-align: center;
  }

  .mentions-content h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .mentions-content h3 {
    font-size: 1.1rem;
  }
  .mentions-content p,
  .mentions-content p.system-font {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 600px;
    margin: 0;
    margin-bottom: 5px;
  }

  .mentions-date {
    font-size: 0.95rem;
    margin-bottom: 25px;
    margin-top: 0;
    opacity: 0.8;
  }
}

.mentions-content .back-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  text-decoration: none;
  background: rgba(255,255,255,0.12);
  padding: 10px 10px;
  border-radius: 50%;
  border: 1px solid rgba(255 255 255 / 0.2);
  transition: background-color 0.3s;
  box-shadow: 
    inset 0 0 10px rgba(255, 255, 255, 0.2),
    0 4px 10px rgba(0,0,0,0.1);
}

.mentions-content .back-home:hover {
  background: rgba(255,255,255,0.25);
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.2),
    0 5px 13px rgba(0,0,0,0.15);
}

.mentions-content .back-home img {
  width: 30px;   /* taille de ton icône */
  height: 30px;
  display: block;  /* évite les micro-espaces sous l’image */
}

@media (max-width: 900px) {
  .mentions-content .back-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    text-decoration: none;
    background: rgba(255,255,255,0.12);
    padding: 9px 9px;
    box-shadow:
      inset 0 0 10px rgba(255, 255, 255, 0.2),
      0 4px 10px rgba(0,0,0,0.1);
    border-radius: 50%;
    border: 1px solid rgba(255 255 255 / 0.2);
    transition: background-color 0.3s;
  }

    .mentions-content .back-home img {
    width: 28px;   /* taille de ton icône */
    height: 28px;
    display: block;  /* évite les micro-espaces sous l’image */
  }
}

@media (max-width: 480px) {
  main.mentions-wrapper {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

.mentions-icon {
  display: none;
  align-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .mentions-icon {
    display: block;
    width: 44px;
    margin: 0 auto 12px;
    opacity: 0.85;
  }
}



/* ----- Lien hébergeur (style Perspikative) ----- */
.host-link {
  position: relative;
  color: #9EF0C2;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.host-link:hover {
  color: #ffffff;
}



/* ============================= 16. FOOTER ============================= */

footer {
  background: rgba(255 255 255 / 0.12);
  color: white;
  text-align: center;
  padding: 15px;
  padding-top: 0px;
  font-size: 0.95rem;
  border-radius: 20px 20px 0 0;
  border: 1px solid rgba(255 255 255 / 0.25);
  font-family: "Rubik", Arial, sans-serif;
  font-weight: 500;
  cursor: url('../images/fermer.svg'), auto;
  box-shadow:
    inset 0 0 10px rgba(255 255 255 / 0.2),
    0 8px 30px rgba(0, 0, 0, 0.1);
}

footer p {
  line-height: 1.3;
  margin: 0; 
  font-family: "Rubik", Arial, sans-serif;
  font-weight: 120 !important;
}

footer a.footer-link {
  position: relative;
  font-family: "Rubik", Arial, sans-serif; /* Même police que les paragraphes */
  font-weight: 510;
  color: #a9e8bf; /* Couleur douce pour contraster */
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 10px;
  transition: color 0.3s ease;
}

footer a.footer-link:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 0;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

/* Effet doux au survol */
.social-icons a:hover img {
  opacity: 1;
}

@media (max-width: 900px) {
  footer {
    font-size: 0.9rem;
    padding: 12px;
  }

  .social-icons {
    gap: 0.9rem;
    padding: 1rem 0;
  }

  .social-icons a img {
    width: 28px;
    height: 28px;
  }
}






/* --- Mode sombre forcé (toggle utilisateur) --- */
html[data-theme="dark"] {
  --bg: #0e0f13;
  --text: #f2f2f2;
  --card: rgba(20, 22, 30, 0.7);
  --border: rgba(255, 255, 255, 0.12);
  color-scheme: dark;
}

/* ===== Force le mode sombre partout (desktop + mobile) ===== */
html[data-theme="dark"] {
  --bg: #0e0f13;
  --text: #f2f2f2;
  --card: rgba(20, 22, 30, 0.7);
  --border: rgba(255, 255, 255, 0.12);
  color-scheme: dark;
}

/* Empêche prefers-color-scheme d’écraser le choix utilisateur */
@media (prefers-color-scheme: dark) {
  html[data-theme="dark"] {
    --bg: #0e0f13;
    --text: #f2f2f2;
    --card: rgba(20, 22, 30, 0.7);
    --border: rgba(255, 255, 255, 0.12);
  }
}











/* --- SECTION CTA PORTFOLIO --- */
.portfolio-cta {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: transparent;
}

.portfolio-cta-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-card-cta {
  position: relative;
  width: 500px;
  height: 350px;
  border-radius: 25px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow:
    inset 0 0 10px rgba(255 255 255 / 0.2),
    0 6px 20px rgba(0,0,0,0.2);
}

.portfolio-card-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1);
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* --- Bouton glassmorphism au bas de la carte --- */
.portfolio-card-cta span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  padding: 0px 24px;
  border-radius: 25px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transition: background-color 0.4s ease, transform 0.4s ease;
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.2);
    inset 0 0 10px rgba(255 255 255 / 0.2);
}

/* --- Hover --- */
.portfolio-card-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 17px rgba(0,0,0,0.22);
}

.portfolio-card-cta:hover img {
  filter: brightness(0.8);
  transform: scale(1.03);
}

.portfolio-card-cta:hover span {
  background: rgba(255,255,255,0.35);
  transform: translateX(-50%) translateY(-4px);
}

.portfolio-collage {
  width: 100%;
  display: block;
}

/* Bouton glassmorphism */
.portfolio-btn {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.portfolio-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #f0f0f0;
}

/* Images flottantes autour */
.floating-img {
  position: absolute;
  width: 140px;
  max-width: 15vw;
  animation: float 12s ease-in-out infinite;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-radius: 10px;
}

.floating-left {
  top: -40px;
  left: -40px;
}

.floating-right {
  bottom: -40px;
  right: -40px;
  animation-delay: 3s;
}

/* Animation flottante */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(-3deg); }
  50% { transform: translateY(7px) rotate(3deg); }
  75% { transform: translateY(-7px) rotate(-2deg); }
}

/* Responsive mobile */
@media (max-width: 700px) {
  .portfolio-card-cta {
    width: 300px;
    height: 200px;
  }

  .portfolio-card-cta span {
    padding: 6px 20px;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: 700;
  }
  
  .portfolio-btn {
    top: 75%;
    padding: 10px 16px;
    border-radius: 15px;
    font-size: 1.1rem;
    letter-spacing: 0.4px;
    line-height: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }

  .floating-img {
    width: 300px;
    border-radius: 6px;
  }

  .floating-left {
    top: -40px;
    left: 20px;
  }

  .floating-right {
    bottom: -40px;
    right: 10px;
   animation-delay: 2s;
  }
}











.art-gallery {
  margin: 2rem auto;
  max-width: 700px;
  text-align: center;
}

.art-gallery-title {
  font-size: 2.3rem;
  margin-bottom: -1.2rem;
}

.art-gallery-subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 1.6rem;
}

/* wrapper avec flèches */
.art-gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* piste scrollable */
.art-gallery-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem;
  scrollbar-width: none;
}

.art-gallery-track::-webkit-scrollbar {
  display: none;
}

/* cartes */
.art-card {
  flex: 0 0 calc(100% / 3 - 1rem); /* desktop = 3 */
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.art-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  transition: filter 0.2s ease;
}

.art-card:hover img {
  filter: brightness(0.4);
}

/* flèches */
.gallery-arrow {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  color: inherit;
  font-size: 2.5rem;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  cursor: pointer;
  border-radius: 50px;
  box-shadow:
    inset 0 0 10px rgba(255,255,255,0.2),
    0 4px 12px rgba(0,0,0,0.15);
}

.gallery-arrow.left {
  margin-right: 0.3rem;
}

.gallery-arrow.right {
  margin-left: 0.3rem;
}

/* mobile */
@media (max-width: 768px) {
  .art-gallery-title {
    font-size: 2.2rem;
    line-height: 30px;
    margin-bottom: 0.5rem;
  }

  .art-gallery-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.6rem;
  }

  .art-card {
    flex: 0 0 103%;
    border-radius: 8px;
  }

  .art-card img {
    border-radius: 8px;
  }

  .gallery-arrow {
    font-size: 2.7rem;
  }
}

















.easter-egg {
  text-align: center;
  margin-top: 30px;
  opacity: 0.8;
}

.easter-egg img {
  max-width: 160px;
}

.easter-egg p {
  margin-top: 15px;
  font-weight: 400;
  font-size: 1.1rem;
  color: #ffffff;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .easter-egg img {
    max-width: 120px;
  }

  .easter-egg p {
    font-size: 1rem;
  }
}






.nav-tabs .tab {
  display: flex;
  align-items: center;
  gap: 7px; /* reste le même */
}

/* conteneur fixe pour l'icône */
.nav-tabs .tab-icon {
  display: inline-block;
  width: 25px;   /* largeur fixe du conteneur */
  height: 25px;  /* hauteur fixe du conteneur */
  transform: scale(1.26); /* agrandit sans affecter le gap */
}










/* Titre */
#creations h2 {
  font-size: 2.3rem;
  letter-spacing: 0em;
  margin-bottom: 3px;
  text-align: center;
}

/* Texte */
#creations p {
  opacity: 0.7;
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: center;
}

/* Bloc mascotte */
.illu-coming {
  margin-top: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  opacity: 0.90;
}

/* Image SVG */
.illu-coming img {
  width: 220px;
  max-width: 55vw;
  filter: drop-shadow(0 8px 25px rgba(23, 23, 23, 0.25));
  animation: float 4s ease-in-out infinite;
}

/* Animation flottante */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media screen and (max-width: 768px) {
  .illu-coming img {
    width: 200px;
  }
  #creations h2 {
      font-size: 1.7rem;
      margin-bottom: 3px;
  }
  #creations p {
      font-size: 1rem;
      margin-bottom: 20px;
  }
}




/* =============================== PERSPIKATIVE — SITE LOADER =============================== */

#site-loader {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 22, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  z-index: 99999;

  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#site-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.loader-logo {
  width: 115px;
}

.loader-bar {
  width: 160px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.15),
    rgba(255,255,255,0.9),
    rgba(255,255,255,0.15)
  );
  background-size: 200% 100%;
  animation: loaderBar 1.4s linear infinite;
}

.loader-footer {
  position: absolute;
  font-family: "Rubik", sans-serif;
  bottom: 26px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  opacity: 0.6;
  color: #ffffff;
}

/* Animations */

@keyframes loaderPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes loaderBar {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* Mobile */

@media (max-width: 600px) {
  .loader-logo {
    width: 90px;
  }

  .loader-bar {
    width: 130px;
  }
}







/* === VOS SUGGESTIONS PAGE === */

.suggestions-hero {
  text-align: center;
}

.suggestions-hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  margin-bottom: 8px;
}

.suggestions-hero p {
  opacity: .8;
  line-height: 1.4;
}

/* COMMENTS SLIDER */

.suggestions-comments {
  padding: 26px;
  overflow: hidden;
}

.suggestions-comments h2 {
  margin-bottom: 16px;
}

.comments-slider {
  position: relative;
  height: 90px;
}

.comment {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateX(70px);
  transition: all .65s cubic-bezier(.4,0,.2,1);
}

.comment.active {
  opacity: 1;
  transform: translateX(0);
}

.comment.exit {
  opacity: 0;
  transform: translateX(-70px);
}

.comment p {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.comment span {
  opacity: .8;
  font-size: .85rem;
}




/* ============================= 8. CREATIONS ============================= */

main.creations h2 {…}

/* --------- MASONRY RESPONSIVE UNIQUE --------- */

.masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur desktop */
  gap: 1.2rem;
  margin: 2rem 0;
  padding: 0 1rem;
}

.masonry img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
}

.masonry img:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}

/* Tablet : 2 colonnes */
@media (max-width: 1024px) {
  .masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Mobile : 2 colonnes également */
@media (max-width: 768px) {
  .masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}








