:root {
  --main-bg: #111827;
  --main-accent: #4F8FFF;  /* (remplace par ta couleur préférée) */
  --main-dark: #181f2b;
  --main-white: #fff;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--main-bg);
  color: var(--main-white);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--main-dark);
  padding: 12px 24px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--main-white);
  font-weight: bold;
  font-size: 1.2em;
}

.logo img { margin-right: 10px; }

nav a {
  color: var(--main-white);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: color .2s;
}
nav a:hover, nav .btn {
  color: var(--main-accent);
}
nav .btn {
  border: 1px solid var(--main-accent);
  border-radius: 24px;
  padding: 8px 16px;
  margin-left: 24px;
}

main { min-height: 70vh; }

/* NAVIGATION DESKTOP : affichée uniquement sur desktop */
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}

.burger {
  display: none;
}

/* NAVIGATION MOBILE */
@media (max-width: 800px) {
  .main-nav {
    display: none;              /* CACHÉ par défaut sur mobile ! */
    position: fixed;
    top: 0; right: -100vw;
    width: 74vw;
    max-width: 320px;
    height: 100vh;
    background: #181F2B;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 90px 22px 24px 22px;
    box-shadow: -8px 0 32px #0004;
    transition: right 0.32s cubic-bezier(.7,.2,.2,1);
    z-index: 200;
  }
  .main-nav.open {
    display: flex;               /* ...visible en mode menu burger ouvert */
    right: 0;
  }
  .main-nav a {
    display: block;
    width: 100%;
    margin: 0 0 24px 0;
    font-size: 1.18em;
    color: #e1ecff;
    padding: 10px 0;
    border-bottom: 1px solid #25304c55;
  }
  .main-nav a:last-child {
    border-bottom: none;
  }
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    width: 38px;
    height: 38px;
    z-index: 201;
    cursor: pointer;
  }
  .burger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #4F8FFF;
    border-radius: 2px;
    transition: all 0.28s cubic-bezier(.4,0,.2,1);
  }
  body.menu-open {
    overflow: hidden;
  }
}
/* Animation Burger (croix au clic) */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
}

@media (max-width: 800px) {
  .main-nav {
    position: fixed;
    top: 0; right: -100vw;
    width: 74vw;
    max-width: 320px;
    height: auto;
    min-height: 0;
    background: #181F2B;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 38px 22px 32px 22px;
    box-shadow: -8px 0 32px #0004;
    transition: right 0.32s cubic-bezier(.7,.2,.2,1);
    z-index: 200;
    border-radius: 0 0 24px 0;
  }
  .main-nav.open {
    right: 0;
  }

  .close-menu {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2.5em;
    color: #4F8FFF;
    z-index: 300;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    display: block;
  }
}




h1, h2, h3 { color: var(--main-white); margin-bottom: 10px; }
.highlight { color: var(--main-accent); }
.btn-primary {
  background: var(--main-accent);
  color: var(--main-bg);
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1em;
  text-decoration: none;
  margin-top: 24px;
  display: inline-block;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.btn-primary:hover { background: var(--main-white); color: var(--main-accent); }

footer {
  text-align: center;
  padding: 24px 0;
  background: var(--main-dark);
  color: #aaa;
  font-size: .95em;
  margin-top: 40px;
}

.footer-contact-link {
  color: #4F8FFF;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.18s;
}
.footer-contact-link:hover,
.footer-contact-link:focus {
  color: #2ca9fa;
  text-decoration: none;
}

.hero {
  padding: 80px 0 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}
.hero-content {
  max-width: 600px;
  text-align: center;
}
.hero-animate {
  animation: heroFadeIn 1.3s cubic-bezier(.68,-0.55,.27,1.55) both;
}
@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(30px);}
  100% { opacity: 1; transform: translateY(0);}
}

.hero-portrait-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
  position: relative;
}
.hero-portrait-wrapper::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--main-accent) 0%, transparent 70%);
  opacity: 0.25;
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
  animation: haloGlow 2.5s infinite alternate;
}
@keyframes haloGlow {
  0%   { opacity: 0.15; filter: blur(10px);}
  100% { opacity: 0.32; filter: blur(20px);}
}
.hero-portrait {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top; /* Affiche le haut de la photo */
  display: block;
  border: 4px solid var(--main-accent);
  box-shadow: 
    0 0 36px 8px var(--main-accent),
    0 8px 32px #181f2b88;
  position: relative;
  z-index: 1;
}


/* ------------------ PAGE ABOUT ------------------ */

.about-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  align-items: center;
  justify-content: center;
  padding: 48px 12px 18px 12px;
  background: linear-gradient(120deg, #111827 80%, #181f2b 100%);
  border-radius: 32px;
  margin-bottom: 38px;
}
.about-photo-wrapper {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-portrait {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 5px solid var(--main-accent);
  box-shadow: 0 0 40px 5px var(--main-accent), 0 4px 32px #181f2b88;
  background: #161e29;
}
.about-intro {
  max-width: 480px;
  min-width: 260px;
}
.about-intro h1 {
  margin-bottom: 0;
  font-size: 2.2em;
  color: var(--main-accent);
}
.about-intro h2 {
  margin-top: 6px;
  font-size: 1.4em;
  color: #b6dcff;
  font-weight: 400;
  margin-bottom: 22px;
}
.about-infos ul {
  list-style: none;
  margin: 0; padding: 0;
  margin-top: 14px;
}
.about-infos li {
  margin-bottom: 7px;
  color: #8fadc6;
  font-size: 1em;
}
.about-infos a { color: var(--main-accent); text-decoration: none;}
.about-infos a:hover { text-decoration: underline; }

/* --------- CARROUSEL EXPERTISES --------- */

.about-skills {
  margin: 48px auto 24px auto;
  max-width: 900px;
  text-align: center;
}
.skills-carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 18px;
}

.skills-carousel {
  width: 380px;
  min-height: 230px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: visible;
  position: relative;
}

.skill-slide {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transform: scale(0.98) translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(.4,0,.2,1),
    transform 0.8s cubic-bezier(.4,0,.2,1),
    box-shadow 0.6s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Nouveau glassmorphism sans bordure visible */
  background: rgba(30, 38, 54, 0.61);
  box-shadow:
    0 12px 36px 0 #141c2820,
    0 2px 32px 0 #4f8fff22,
    0 0.5px 2px #11182710;
  border-radius: 32px;
  backdrop-filter: blur(15px) saturate(120%);
  border: none;
  outline: none;
  /* Glow border subtile */
}
.skill-slide.active {
  opacity: 1;
  transform: scale(1.035) translateY(0);
  z-index: 2;
  pointer-events: auto;
  box-shadow:
    0 18px 60px 0 #4f8fff2c,
    0 4px 16px #20253a55;
}
.skill-slide .icon {
  font-size: 2.7em;
  color: var(--main-accent);
  margin-bottom: 15px;
  text-shadow: 0 2px 12px #4f8fff44;
  filter: drop-shadow(0 4px 12px #4f8fff33);
}
.skill-slide b {
  color: #fff;
  font-weight: 800;
  font-size: 1.18em;
  letter-spacing: .6px;
  margin-bottom: 6px;
}
.skill-slide p {
  color: #d5e7ff;
  font-size: 1.08em;
  margin-top: 8px;
  margin-bottom: 0;
  font-weight: 500;
}

.carousel-arrow {
  background: transparent;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 0 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .19s, box-shadow .19s;
  z-index: 3;
  opacity: .7;
  box-shadow: 0 2px 8px #2a314455;
}
.carousel-arrow:hover,
.carousel-arrow:focus {
  background: rgba(79,143,255,0.14);
  opacity: 1;
  box-shadow: 0 2px 12px #4f8fff33;
}
.carousel-arrow svg { transition: stroke .18s; }
.carousel-arrow:hover svg { stroke: var(--main-accent); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 13px;
  margin-top: 26px;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #344157;
  border: none;
  opacity: .26;
  cursor: pointer;
  transition: background .22s, opacity .16s, box-shadow .22s;
  box-shadow: 0 2px 6px #181f2b10;
}
.carousel-dot.active {
  background: linear-gradient(100deg, #4F8FFF 70%, #67c3fa 100%);
  opacity: .98;
  box-shadow: 0 0 12px #4F8FFF55;
}

@media (max-width: 600px) {
  .skills-carousel { width: 97vw; min-width: 0; }
  .skill-slide { min-width: 97vw; }
  .carousel-arrow { width: 30px; height: 30px; margin: 0 2px; }
  .carousel-dots { gap: 7px; }
}


/* ------------- FUNFACTS ---------------- */

.about-funfacts {
  margin: 34px auto 0 auto;
  max-width: 800px;
  text-align: center;
}
.funfacts-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-top: 18px;
}
.funfact-card {
  background: var(--main-dark);
  border-radius: 16px;
  box-shadow: 0 4px 18px #141b2866;
  min-width: 130px;
  max-width: 170px;
  flex: 1 1 140px;
  padding: 18px 8px 18px 8px;
  text-align: center;
  margin-bottom: 8px;
}
.funfact-number {
  color: var(--main-accent);
  font-size: 2em;
  font-weight: bold;
  display: block;
}
.funfact-label {
  color: #d5e7ff;
  font-size: .96em;
  margin-top: 2px;
}

.about-gallery {
  margin: 54px auto 28px auto;
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.about-gallery h3 {
  color: var(--main-accent);
  margin-bottom: 36px;
  font-size: 1.27em;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.gallery-carousel-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 36px;
  min-height: 270px;
}

.gallery-carousel {
  position: relative;
  width: 620px;
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  perspective: 1200px;
  overflow: visible;
  z-index: 1;
  margin: 0 18px;
}
.gallery-slide-3d {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform-origin: 50% 90%;
  width: 410px;
  height: 285px;
  opacity: 0;
  filter: blur(2.5px) grayscale(0.18) brightness(.8);
  box-shadow: 0 10px 40px #20253a22, 0 1px 8px #4f8fff13;
  transition:
    opacity 0.6s cubic-bezier(.4,0,.2,1),
    filter 0.5s,
    box-shadow 0.6s,
    transform 0.7s cubic-bezier(.4,0,.2,1),
    z-index 0.2s;
  border-radius: 18px;
  cursor: pointer;
  background: #181f2b;
  z-index: 1;
  /* AJOUTE : pour centrage parfait */
  transform: translateX(-50%) scale(0.97) translateY(24px);
}

.gallery-slide-3d.active {
  opacity: 1;
  filter: blur(0) grayscale(0) brightness(1);
  box-shadow: 0 20px 54px 0 #4f8fff32, 0 2px 16px #20253a55;
  z-index: 5;
}
.gallery-slide-3d.left, .gallery-slide-3d.right {
  opacity: .89;
  filter: blur(1.2px) grayscale(.11) brightness(.91);
  z-index: 2;
}
.gallery-slide-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* <-- CENTRAGE obligatoire */
  border-radius: 18px;
  transition: transform .24s;
  box-shadow: 0 6px 18px #4f8fff14;
  display: block;
  background: #181f2b;
}

.gallery-slide-3d.active img:hover {
  transform: scale(1.045) rotate(-1deg);
}
.gallery-slide-3d .gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, #181f2bcc 80%, transparent 100%);
  color: #fff;
  font-size: 1em;
  font-weight: 500;
  padding: 12px 15px 9px 15px;
  border-radius: 0 0 18px 18px;
  text-align: center;      /* Centrage horizontal */
  opacity: .97;
  pointer-events: none;
}


.gallery-arrow {
  background: transparent;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  margin: 0 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, box-shadow .18s;
  z-index: 3;
  opacity: .68;
  box-shadow: 0 2px 8px #2a314444;
}
.gallery-arrow:hover,
.gallery-arrow:focus {
  background: rgba(79,143,255,0.18);
  opacity: 1;
  box-shadow: 0 2px 12px #4f8fff33;
}
.gallery-arrow svg { transition: stroke .18s; }
.gallery-arrow:hover svg { stroke: var(--main-accent); }

.gallery-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}
.gallery-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #344157;
  border: none;
  opacity: .29;
  cursor: pointer;
  transition: background .22s, opacity .16s, box-shadow .22s;
}
.gallery-carousel-dot.active {
  background: linear-gradient(100deg, #4F8FFF 70%, #67c3fa 100%);
  opacity: .98;
  box-shadow: 0 0 10px #4F8FFF44;
}

/* Lightbox styles (identique) */
.gallery-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(24,31,43,0.98);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  animation: fadeIn .3s;
}
.gallery-lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 20px;
  box-shadow: 0 8px 48px #4F8FFF33, 0 2px 14px #181f2b55;
}
.gallery-lightbox-caption {
  margin-top: 20px;
  color: #b6dcff;
  font-size: 1.08em;
  text-align: center;
}
.gallery-lightbox-close {
  position: absolute;
  top: 40px;
  right: 50px;
  color: #fff;
  font-size: 2.4em;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  opacity: .7;
  transition: opacity .18s;
}
.gallery-lightbox-close:hover { opacity: 1; }
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (max-width: 700px) {
  .gallery-carousel { width: 99vw; min-width: 0; }
  .gallery-slide-3d { width: 95vw; height: 140px; }
  .gallery-lightbox img { max-width: 99vw; }
  .gallery-lightbox-close { right: 14px; top: 8px;}
}

@media (max-width: 700px) {
  .about-gallery { max-width: 100vw;}
  .gallery-carousel-wrapper { max-width: 97vw; }
}


.about-cta {
  margin: 54px auto 28px auto;
  max-width: 600px;
  text-align: center;
  background: #181f2be6;
  border-radius: 16px;
  box-shadow: 0 4px 12px #181f2b55;
  padding: 32px 12px 24px 12px;
}
.about-cta h3 {
  color: var(--main-accent);
  margin-bottom: 10px;
}

.portfolio-title {
  font-size: 2em;
  color: var(--main-accent);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-align: center;
}
.portfolio-subtitle {
  color: #b6dcff;
  font-size: 1.15em;
  font-weight: 400;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.45;
}


.portfolio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.portfolio-item {
  background: var(--main-dark);
  border-radius: 18px;
  box-shadow: 0 8px 30px #11182766;
  max-width: 340px;
  min-width: 250px;
  /* Hauteur fixe pour toutes les cartes */
  min-height: 400px;      /* Adapte ici selon la hauteur souhaitée */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 26px 20px 18px;
  text-align: center;
  transition: transform .2s;
  cursor: pointer;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s, transform .7s;
}
.portfolio-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Effet tremblement (shake) au hover */
@keyframes shake {
  0% { transform: translate(0, 0) scale(1.04); }
  15% { transform: translate(-4px, 1px) scale(1.05); }
  30% { transform: translate(3px, -3px) scale(1.03);}
  45% { transform: translate(-2px, 2px) scale(1.06);}
  60% { transform: translate(2px, 0px) scale(1.03);}
  75% { transform: translate(-1px, 1px) scale(1.04);}
  100% { transform: translate(0, 0) scale(1.04); }
}

.portfolio-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 13px;
  box-shadow: 0 4px 12px #0008;
  margin-bottom: 16px;
  transition: transform .2s;
  background: #20242e;
  /* Le scale léger reste pour un effet de base */
}

/* Tremblement au hover */
.portfolio-item:hover img,
.portfolio-item img:hover {
  animation: shake 0.5s cubic-bezier(.25,.46,.45,.94) both;
  /* Optionnel : Pour éviter de rejouer l’anim à chaque hover, on peut la remettre à 0 après */
}


.portfolio-item h3 {
  color: var(--main-accent);
  font-size: 1.2em;
  margin: 8px 0 8px 0;
}
.portfolio-item p {
  font-size: 1em;
  color: #c8d6e5;
  flex: 0 1 auto;
  margin: 0 0 0 0;
}

/* Nom du client toujours en bas */
.portfolio-item .client {
  margin-top: auto;
  display: block;
  font-size: .95em;
  color: #4F8FFF85; /* Ou ta couleur accent choisie, en version atténuée */
  letter-spacing: 0.5px;
  padding-top: 18px;
  padding-bottom: 4px;
}

@media (max-width: 900px) {
  .portfolio-list { flex-direction: column; align-items: center;}
  .portfolio-item { max-width: 96vw; min-width: 0; }
}


.contact-hero {
  text-align: center;
  background: linear-gradient(100deg, #181f2b 80%, #111827 100%);
  border-radius: 32px;
  padding: 48px 16px 36px 16px;
  margin: 42px auto 32px auto;
  max-width: 700px;
}
.contact-hero h1 {
  font-size: 2em;
  color: var(--main-accent);
  margin-bottom: 8px;
}
.contact-hero p {
  color: #d5e7ff;
  font-size: 1.12em;
  margin-bottom: 22px;
}
.contact-socials {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 8px;
}
.contact-social-link {
  background: var(--main-accent);
  color: var(--main-dark);
  border-radius: 24px;
  padding: 8px 18px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1em;
  transition: background .2s, color .2s;
}
.contact-social-link:hover {
  background: #fff;
  color: var(--main-accent);
}
.contact-form-section {
  background: #181f2bcc;
  border-radius: 24px;
  max-width: 540px;
  margin: 24px auto;
  padding: 34px 18px 28px 18px;
  box-shadow: 0 4px 12px #1a202c44;
}
.contact-form-section h2 {
  text-align: center;
  color: var(--main-accent);
  margin-bottom: 16px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 4px;
}
.form-group label {
  font-weight: 500;
  color: #b6dcff;
}
.contact-form input,
.contact-form textarea {
  padding: 11px 12px;
  border-radius: 9px;
  border: none;
  background: #20253a;
  color: #fff;
  font-size: 1em;
  margin-top: 2px;
  outline: none;
  transition: border .18s, box-shadow .18s;
}

.contact-form select {
  padding: 11px 12px;
  border-radius: 9px;
  border: none;
  background: #20253a;
  color: #fff;
  font-size: 1em;
  margin-top: 2px;
  outline: none;
  transition: border .18s, box-shadow .18s;
  appearance: none;
}
.contact-form select:focus {
  border: 1.5px solid var(--main-accent);
  box-shadow: 0 0 0 2px #4f8fff44;
}
.contact-form option {
  background: #20253a;
  color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid var(--main-accent);
  box-shadow: 0 0 0 2px #4f8fff44;
}
.contact-form textarea {
  resize: vertical;
  min-height: 70px;
}
.btn-primary {
  align-self: flex-start;
  margin-top: 14px;
}
.form-message {
  margin-top: 10px;
  color: var(--main-accent);
  font-weight: 500;
  font-size: 1.02em;
}

.contact-faq {
  max-width: 560px;
  margin: 34px auto 24px auto;
  background: #111827ee;
  border-radius: 18px;
  padding: 26px 18px;
  box-shadow: 0 2px 8px #181f2b33;
}
.contact-faq h3 {
  color: var(--main-accent);
  text-align: center;
  margin-bottom: 12px;
}
.contact-faq ul {
  list-style: none;
  margin: 0; padding: 0;
  text-align: center;
}
.contact-faq li {
  margin: 10px 0;
  color: #c8d6e5;
  font-size: 1.03em;
}

@media (max-width: 700px) {
  .contact-hero, .contact-form-section, .contact-faq {
    border-radius: 14px;
    padding-left: 2vw; padding-right: 2vw;
  }
}


/* ------------ Responsive -------------- */

@media (max-width: 700px) {
  body {
    font-size: 1em;
    padding: 0 2vw;
  }
  header, .about-gallery, .contact-form-section, .portfolio-title, .portfolio-subtitle {
    max-width: 100vw !important;
    padding-left: 3vw !important;
    padding-right: 3vw !important;
  }
  .gallery-carousel, .skills-carousel, .gallery-slider, .portfolio-list, .gallery-grid {
    width: 97vw !important;
    min-width: 0 !important;
    max-width: 99vw !important;
    
    
  }
  .gallery-slide-3d, .skill-slide, .gallery-slide {
    width: 95vw !important;
    min-width: 0 !important;
    height: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .gallery-caption, .skill-slide .gallery-caption {
    font-size: 0.96em;
    padding: 9px 8px 8px 8px;
    border-radius: 0 0 13px 13px;
  }
  .portfolio-item, .card-animate {
    width: 97vw !important;
    min-width: 0 !important;
    margin: 0 auto 18px auto;
  }
  .contact-socials, .contact-faq ul, .carousel-dots, .gallery-slider-dots, .gallery-carousel-dots {
    flex-direction: row !important;
    gap: 7px !important;
  }
  .btn, .btn-primary {
    width: 100%;
    font-size: 1.07em;
    padding: 14px;
  }
}

@media (max-width: 700px) {
  .gallery-carousel {
    width: 99vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    height: 150px !important;
  }
  .gallery-slide-3d {
    width: 90vw !important;
    max-width: 95vw !important;
    min-width: 0 !important;
    height: 120px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .gallery-slide-3d.left,
  .gallery-slide-3d.right {
    opacity: 0.22 !important;
    filter: blur(3px) grayscale(.24) brightness(.67) !important;
    z-index: 1 !important;
    /* On décale moins fort en JS */
  }
  .gallery-slide-3d:not(.active) img {
    filter: blur(2.2px) grayscale(.2) brightness(.8) !important;
  }
  .gallery-slide-3d.active img {
    filter: none !important;
  }
}





