@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500;600;700;800;900&family=Source+Code+Pro:wght@200;300;400;500;600;700;800;900&display=swap");
/* ---------- GLOBAL STYLING ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
}

html {
  scroll-behavior: smooth;
}

h1 {
  font-size: 50px;
  font-weight: 400;
  line-height: 64px;
  color: #fefefe;
}

h2 {
  font-size: 46px;
  line-height: 54px;
  font-weight: 400;
  color: #fefefe;
}

h4 {
  font-size: 20px;
  font-weight: 400;
  color: #fefefe;
}

h6 {
  font-weight: 700;
  font-size: 12px;
  color: #fefefe;
}

p {
  font-size: 16px;
  font-weight: 400;
  color: #fefefe;
  margin: 15px 0 20px 0;
}

.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

button.normal {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: black;
  background-color: white;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.5s ease;
}

button.normal:hover {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: #fff;
  background-color: #088178;
}

body {
  width: 100%;
  background-color: #2d2e32;
  font-family: "Source Code Pro", monospace;
  color: #fefefe;
}

body::selection {
  color: #000000;
  background: #64f4ac;
}

::-webkit-scrollbar{
  width: 10px;
}

::-webkit-scrollbar-track{
  background: transparent;
}

::-webkit-scrollbar-thumb{
  background: #CACACA;
  transition: 0.3s ease;
  border-radius: 15px;
}

::-webkit-scrollbar-thumb:hover{
  background: #FEFEFE;
}



/* ---------- SECTION HEADER ---------- */
#header {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2d2e3273;
  border: 1px solid #2d2e3240;
  box-shadow: 0 0 10px 1px #00000040;
  backdrop-filter: blur(15px);
  position: sticky;
  z-index: 1;
  top: 0;
  left: 0;
}

/* #content-body {
  display: flex;
  justify-content: space-around;
  align-items: center;
} */

.navbar-title {
  display: flex;
  align-items: center;
}

.title-first-name {
  padding: 0 7.5px;
  font-weight: 600;
  color: #fefefe;
  font-family: "Raleway", sans-serif;
  font-size: 24px;
}

.title-last-name {
  font-size: 24px;
  font-weight: 400;
  color: #cacaca;
  font-family: "Raleway", sans-serif;
}

/* Votre CSS existant */
.navbar-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Nouveau CSS pour les écrans plus petits */
@media (max-width: 768px) {
  .navbar-menu {
    flex-direction: column;
  }
}


.navbar-menu li {
  list-style: none;
  padding: 0 20px;
  position: relative;
}

.navbar-menu .active {
  color: #64f4ac;
  font-weight: 900;
}

.navbar-menu li a {
  color: #fefefe;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}

.navbar-menu li a:hover {
  color: #64f4ac;
  font-weight: 900;
}

.social-media {
  display: flex;
  align-items: center;
}

.social-media li {
  display: flex;
  padding: 0 16px;
  align-items: center;
  list-style: none;
}

.social-media li i {
  font-size: 14px;
  transition: 0.3s ease;
}
.social-media li a {
  color: #fefefe;
  text-decoration: none;
  padding: 0 5px;
  font-size: 12px;
  transition: 0.3s ease;
}

.social-media li:nth-child(1):hover i {
  color: #0077b5;
}

.social-media li:nth-child(3):hover i {
  color: #ea4335;
}

.social-media li:hover a {
  font-weight: 800;
}

/* ---------- SECTION BODY CONTENT ---------- */
#content-body {
  display: flex;
  background-color: #2d2e32;
  padding: 100px;
  margin-bottom: 10vh;
}

@media (max-width: 768px) {
  #content-body {
    flex-direction: column;
    padding: 50px;
  }
}

.developer-intro {
  display: flex;
  align-items: center;
}

.developer-intro p {
  padding: 5px 10px;
  margin: 0 20px 0 0;
  background-color: #64f4ac;
  color: #2d2e32;
  font-size: 13px;
  font-weight: 600;
  border-radius: 2.5px;
  align-items: center;
  text-align: center;
  transition: 0.3s ease;
  cursor: pointer;
}

/* //premiere partie chatgpr */
.developer-intro p:hover {
  font-weight: 900;
}

.body-title h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: -1.5px;
  padding: 2rem 0 0 0;
}

/* Nouveau CSS pour les écrans plus petits */
@media (max-width: 768px) {
  .body-title h1 {
    font-size: 1.875rem;
    line-height: 1.2;
    padding: 1.25rem 0 0 0;
  }
}

.body-title p {
  font-size: 0.75rem;
  padding: 1.25rem 0;
  color: #cacaca;
  font-weight: 500;
  line-height: 1.6;
}

.body-title a {
  font-size: 1rem;
  color: #64f4ac;
  font-weight: 600;
  padding: 1.25rem 0;
  margin: 1.25rem 0;
}

.body-tail {
  display: flex;
  align-items: start;
  padding: 100px 0 0 0;
}

.body-tail p {
  color: #cacaca;
  font-size: 16px;
  font-weight: 500;
  padding: 0 40px 0 5px;
}

.body-part-2 {
  position: relative;
}

.background-circle {
  background: #28292d;
  border-radius: 50%;
  width: 550px;
  height: 550px;
  z-index: 9;
  box-shadow: 0 0 20px #00000080;
}

.hoodie-guy {
  position: absolute;
  background: url(../assets/Hoodie-guy.webp);
  top: 100px;
  height: 550px;
  width: 550px;
  background-size: cover;
}

/* Nouveau CSS pour les écrans plus petits */
@media (max-width: 768px) {
  .hoodie-guy {
    top: 50px;
    height: 275px;
    width: 275px;
  }
}

.circle {
  position: relative;
  top: 400px;
  left: 220px;
  width: 100px;
  height: 100px;
  transform-style: preserve-3d;
  animation: animateCircle 40s linear infinite;
}

@keyframes animateCircle {
  0% {
    transform: perspective(1000px) rotateY(0deg) rotateX(15deg)
      translateY(-30px);
  }
  100% {
    transform: perspective(1000px) rotateY(360deg) rotateX(15deg)
      translateY(-30px);
  }
}

.circle span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2d2e32;
  box-shadow: 0px 0px 5px #00000080;
  border-radius: 50%;
  transform-origin: center;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * calc(360deg / 15))) translateZ(300px);
}

.circle span img {
  position: relative;
  top: 12px;
  left: 12px;
  object-fit: cover;
}

/* ----------INTRODUCTION---------- */
#introduction {
  display: flex;
  justify-content: space-between;
  padding: 100px;
  background-color: #25262a;
  min-height: 95vh;
  align-items: center;
}

/* Nouveau CSS pour les écrans plus petits */
@media (max-width: 768px) {
  #introduction {
    flex-direction: column;
    padding: 50px;
    min-height: auto;
  }
}

.cards {
  min-width: 50%;
  display: flex;
  flex-direction: column;
}

/* Nouveau CSS pour les écrans plus petits */
@media (max-width: 768px) {
  .cards {
    min-width: 100%;
  }
}

.design-card {
  max-width: 80%;
  min-height: 150px;
  background-color: #2d2e32;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px #00000040;
  transition: 0.5s ease;
}

.design-card:hover {
  box-shadow: 0 0 15px #00000080;
  cursor: pointer;
}

.design-card.active {
  background-color: #00b840;
}

.design-card.active p {
  color: #000000;
  font-weight: 700;
}

.design-card div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: #fff;
  transition: 0.3s ease;
}

.design-card:hover div {
  color: #64f4ac;
}

.design-card div h3 {
  font-weight: 500;
}

.design-card:hover div h3 {
  font-weight: 600;
}

.design-card p {
  font-size: 14px;
  font-weight: 600;
  color: #7c7d81;
}

/* deuxieme partie */

.design-card a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}
@media (max-width: 768px) {
  .design-card a {
    font-size: 16px;
  }
}
.design-card:hover a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.introduction-text {
  display: block;
  min-width: 50%;
  padding-right: 175px;
}

/* Nouveau CSS pour les écrans plus petits */
@media (max-width: 768px) {
  .introduction-text {
    min-width: 100%;
    padding-right: 0;
  }
}

.introduction-text p:nth-child(1) {
  font-size: 14px;
  color: #7c7d81;
  font-weight: 800;
}

.introduction-text h2 {
  margin: 20px 0;
}

.introduction-text h4 {
  font-size: 26px;
  font-style: italic;
}

.introduction-text p {
  font-size: 18px;
  color: #7c7d81;
  font-weight: 600;
}

/* ----------LATEST WORKS---------- */
#latest-works {
  min-height: 150vh;
  background-color: #25262a;
  padding: 150px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

/* Nouveau CSS pour les écrans plus petits */
@media (max-width: 768px) {
  #latest-works {
    flex-direction: column;
    padding: 50px;
    min-height: auto;
  }
}

.left-project {
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.latest-work-title h3 {
  font-size: 40px;
  color: #fff;
  font-weight: 500;
  margin: 0;
}

.latest-work-title p {
  font-size: 14px;
  color: #7c7d81;
  font-weight: 400;
  margin: 0;
}

.project-card {
  min-width: 35vw;
  min-height: 60vh;
  max-height: 80vh;
  background-color: #2d3037;
  padding: 20px;
  border-radius: 15px;
  margin: 20px 0;
  overflow: hidden;
}

/* Nouveau CSS pour les écrans plus petits */
@media (max-width: 768px) {
  .project-card {
    min-width: 100%;
    min-height: auto;
    max-height: auto;
  }
}
.project-card-1 {
  background: linear-gradient(180deg, #16191e, #252628);
}

.project-card-2 {
  background: linear-gradient(225deg, #2c2940, #5a4073);
}

.project-card-3 {
  background: linear-gradient(225deg, #01403A, #025951);
}

.project-card .title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.project-card .title h3 {
  font-size: 30px;
  color: #fff;
  font-weight: 400;
}

.project-card .title .tech-stack {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.project-card .title .tech-stack p {
  font-size: 12px;
  background-color: #7c7d8180;
  color: #fff;
  margin: 0 5px;
  padding: 5px;
  border-radius: 3px;
  max-height: 25px;
}

.project-card img {
  position: relative;
}

.project-img-1 {
  height: 50vh;
  top: 75px;
  left: 15px;
  object-fit: cover;
  transform: scale(1.4) rotate(-5deg);
  transition: 0.3s ease-in-out;
}

.project-card:hover .project-img-1{
  transform: scale(1.6) rotate(-5deg);
}

.project-img-2 {
  width: 20vw;
  height: 27vh;
  object-fit: cover;
  object-position: top;
  top: 100px;
  left: 150px;
  transform: scale(1.5);
  border-radius: 10px;
  box-shadow: -10px 10px 10px #00000080;
  transition: 0.5s ease;
}

.project-card:hover .project-img-2 {
  box-shadow: -20px 20px 20px #00000080;
}

.project-card-2,
.project-card-3 {
  display: flex;
  flex-direction: column;
}

.project-img-3 {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 45vh;
  margin: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 25px #00000060;
  transition: 0.5s ease;
}

/* Vignette vidéo Dailymotion (clic = ouverture de la vidéo) */
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 25px #00000060;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.video-thumb:hover img {
  transform: scale(1.04);
}

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: background 0.3s ease;
}

.video-thumb:hover .video-play {
  background: #64f4ac;
  color: #16191e;
}

.project-card:hover .project-img-3 {
  box-shadow: 0 15px 35px #00000080;
}

.all-projects a {
  color: #64f4ac;
}

.all-projects a h3 {
  font-size: 26px;
}

.all-projects p {
  font-size: 14px;
  color: #7c7d81;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 26px;
}

/* ----------TESTIMONIAL---------- */
#testimonial {
  height: 100vh;
  width: 100%;
  padding: 100px 150px;
}

/* Nouveau CSS pour les écrans plus petits */
@media (max-width: 768px) {
  #testimonial {
    padding: 50px;
    height: auto;
  }
}

.testimonial-title {
  display: flex;
  flex-direction: row;
  max-width: 50%;
  justify-content: space-between;
  align-items: end;
}

.testimonial-title h4 {
  margin: 0;
  padding: 0;
}

.testimonial-title p {
  color: #7c7d81;
  font-size: 14px;
  align-self: end;
  letter-spacing: -0.5px;
  font-weight: 600;
  margin: 6px;
}

.testimonial-card {
  max-height: 300px;
  width: 100%;
  background-color: #25262a;
  padding: 40px 50px;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
}

/* Nouveau CSS pour les écrans plus petits */
@media (max-width: 768px) {
  .testimonial-card {
    max-height: auto;
    padding: 20px;
    margin: 20px 0;
  }
}

.star-rating {
  display: flex;
  flex-direction: row;
  color: #64f4ac;
  align-items: center;
  margin: 0 0 20px 0;
  padding: 0;
}

.star-rating i {
  margin: 0 3px;
}

.star-rating p {
  margin: 0 10px;
  padding: 0;
  font-size: 14px;
  color: #7c7d81;
}

.testimonial-card h4 {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  line-height: 36px;
  max-width: 85%;
}

.testimonial-card i:last-child {
  position: relative;
  top: -100px;
  left: 1000px;
  color: #FFFFFF40;
  font-size: 60px;
  margin: 0;
  padding: 0;
}

/* 3 partie */
.client-profile-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 20px 0;
  cursor: pointer;
  width: 95%;
}

.single-profile-card {
  display: flex;
  flex-direction: row;
  height: 100px;
  width: 30%;
  border-bottom: 3px dashed #7c7d81;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
}

.single-profile-card.profile-card-active {
  background-color: #25262a;
  border-bottom: 3px dashed #64f4ac;
}

.single-profile-card img {
  max-height: 50px;
  max-width: 50px;
  border-radius: 50%;
  margin-right: 20px;
}

.single-profile-card div h4 {
  font-size: 16px;
  margin: 0;
  padding: 0;
}

.single-profile-card div p {
  margin: 4px 0;
  padding: 0;
  font-size: 12px;
  color: #7c7d81;
}

.single-profile-card div p a {
  color: #64f4ac;
  text-decoration: none;
}

.single-profile-card div p a:hover{
  text-decoration: underline;
}

/* ----------FOOTER---------- */
#footer {
  display: flex;
  flex-direction: row;
  padding: 100px;
  background-color: #25262a;
  height: 100vh;
}

.footer-left {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-left h2 {
  font-size: 32px;
  line-height: 40px;
}

.footer-left h2 a {
  color: #64f4ac;
  text-underline-offset: 8px;
}

.email-form {
  display: flex;
  flex-direction: column;
  height: 300px;
  width: 80%;
  justify-content: space-between;
  border-radius: 10px;
  padding: 60px 25% 40px 20px;
  border: 1px solid #2d2e3240;
  background-color: #2d2e3273;
  box-shadow: 0 0 10px 1px #00000040;
  backdrop-filter: blur(15px);
  background-image: url(../assets/email-background.webp);
  background-size: cover;
}

.email-form h2 {
  font-size: 30px;
  letter-spacing: -1.5px;
}

.email-form h2 span {
  font-weight: 600;
  color: #64f4ac;
}

.email-form input {
  height: 36px;
  margin: 0;
  border-radius: 8px;
  border: none;
  padding: 4px 8px;
}

.email-form div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.email-form div input {
  width: 65%;
}

.email-form div button {
  height: 36px;
  width: 100px;
  margin: 0;
  border-radius: 8px;
  border: none;
  background-color: #64f4ac;
  cursor: pointer;
  color: #25262a;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s ease;
}

.email-form div button:hover {
  background-color: #45A877;
}

.footer-title {
  display: flex;
  flex-direction: row;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 185px 0 15px 0;
}

.footer-email-intro {
  display: flex;
  flex-direction: column;
}

.footer-email-intro p {
  font-size: 12px;
  color: #7c7d81;
  font-weight: 600;
}

.footer-email-intro h6 {
  font-size: 18px;
  font-weight: 400;
  color: #7C7D81;
  margin-top: 10px;
}

.footer-email-intro h3 {
  font-size: 26px;
  color: #FFF;
  font-weight: 400;
  margin: 10px 0;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.footer-menu li {
  list-style: none;
  padding: 0 20px;
  position: relative;
  margin: 5px 0;
}

.footer-menu .active {
  color: #64f4ac;
  font-weight: 900;
}

.footer-menu li a {
  color: #fefefe;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: 0.3s ease;
}

.footer-menu li a:hover {
  color: #64f4ac;
  font-weight: 900;
}

.social-icons a {
  text-decoration: none;
}

.social-icons a i {
  color: #FFF;
  margin: 0 5px;
  transition: 0.3s ease;
  cursor: pointer;
}

.social-icons a:nth-child(1) i:hover {
  color: #0072b1;
}

/* ----------MEDIA QUERIES---------- */
@media (max-width: 768px) {
  .client-profile-card {
    flex-direction: column;
    align-items: center;
  }
  .single-profile-card {
    width: 100%;
  }
  #footer {
    flex-direction: column;
    align-items: center;
    height: auto;
  }
  .footer-left, .footer-right {
    width: 100%;
  }
}

 /* 4eme aprtie */
.social-icons a:nth-child(3) i:hover {
  color: #ea4335;
}

.social-icons a:nth-child(4) i:hover {
  color: #00acee;
}

.social-icons a:nth-child(5) i:hover {
  color: transparent;
  background: -webkit-radial-gradient(30% 107%, circle, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background: -o-radial-gradient(30% 107%, circle, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background-clip: text;
  -webkit-background-clip: text;
}

.social-icons a:nth-child(6) i:hover {
  color: #3b5998;
}
/* =====================================================
   Téléphone (≤ 768px) — corrections responsive
   ===================================================== */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }
  h1 { font-size: 34px; }
  h2 { font-size: 30px; }

  /* En-tête */
  #header {
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    position: static;
  }
  .title-first-name, .title-last-name { font-size: 22px; }
  .navbar-menu { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 0; }
  .navbar-menu li { padding: 0 10px; }
  .social-media { flex-wrap: wrap; justify-content: center; }
  .social-media li { padding: 0 10px; }

  /* Haut de page */
  #content-body { padding: 28px 16px; margin-bottom: 0; align-items: center; }
  .body-part-1 { width: 100%; }
  .developer-intro { flex-wrap: wrap; gap: 10px; }
  .developer-intro p { margin: 0; }
  .body-title p { font-size: 0.95rem; line-height: 1.5; }
  .body-tail { flex-wrap: wrap; align-items: center; row-gap: 12px; padding: 32px 0 0 0; }
  .body-tail p { font-size: 14px; padding: 0 24px 0 6px; }

  /* Animation (personnage + logos) : réduite pour tenir dans l'écran */
  .body-part-2 { width: 550px; zoom: 0.5; margin: 20px auto 0; }

  /* Cartes + tuto */
  #introduction { padding: 28px 16px; }
  .design-card { max-width: 100%; }
  .introduction-text h2 { font-size: 32px; }
  .introduction-text h4 { font-size: 20px; }
  .introduction-text p { font-size: 15px; line-height: 1.55; }

  /* Projets / vidéo */
  #latest-works { padding: 28px 16px; }
  .left-project, .right-project { width: 100%; }
  .latest-work-title h3 { font-size: 30px; }
  .latest-work-title p { margin-bottom: 8px; }
  .project-card { min-width: 0; width: 100%; }
  .project-card .title h3 { font-size: 24px; }
  .all-projects li { list-style: none; margin-top: 8px; }

  /* Avis clients */
  #testimonial { padding: 28px 16px; height: auto; }
  .testimonial-title { max-width: 100%; flex-direction: column; align-items: flex-start; }
  .testimonial-title p { margin: 4px 0 0; align-self: flex-start; }
  .testimonial-card { max-height: none; padding: 20px; }
  .testimonial-card h4 { font-size: 17px; line-height: 27px; max-width: 100%; }
  .testimonial-card i:last-child { display: none; }
  .star-rating { flex-wrap: wrap; }

  #legal-disclaimer { padding: 24px 16px !important; }
}

/* ===== Section extensions + FAQ (SEO/GEO) ===== */
.ext-section, .faq-section {
  padding: 80px 8vw;
  color: #fff;
}
.ext-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #16191e;
  background: #64f4ac;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.ext-section h2, .faq-section h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 500;
  margin-bottom: 18px;
}
.ext-intro {
  max-width: 820px;
  color: #b8bac0;
  line-height: 1.7;
  margin-bottom: 40px;
}
.ext-intro strong { color: #fff; }
.ext-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.ext-card {
  display: flex;
  flex-direction: column;
  background: #2d3037;
  border: 1px solid #3a3d45;
  border-radius: 15px;
  padding: 28px;
  transition: transform .3s ease, border-color .3s ease;
}
.ext-card:hover { transform: translateY(-4px); border-color: #64f4ac; }
.ext-card:nth-child(1) { background: linear-gradient(225deg, #2c2940, #2d3037); }
.ext-card:nth-child(2) { background: linear-gradient(225deg, #1c1e24, #2d3037); }
.ext-card:nth-child(3) { background: linear-gradient(225deg, #01403A, #2d3037); }
.ext-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.ext-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #64f4ac22;
  color: #64f4ac;
  font-size: 22px;
}
.ext-tag {
  font-size: 12px;
  color: #b8bac0;
  border: 1px solid #4a4d55;
  border-radius: 20px;
  padding: 4px 10px;
}
.ext-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 12px; }
.ext-card p { color: #c9cbd0; line-height: 1.65; font-size: 15px; }
.ext-feats { list-style: none; padding: 0; margin: 18px 0 24px; }
.ext-feats li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  font-size: 14px;
  color: #e4e5e8;
}
.ext-feats li::before {
  content: "✓";
  position: absolute; left: 0;
  color: #64f4ac;
  font-weight: 700;
}
.ext-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ext-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #64f4ac;
  color: #16191e !important;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: filter .2s ease;
}
.ext-btn:hover { filter: brightness(1.1); }
.ext-link { color: #64f4ac; font-size: 14px; text-decoration: none; }
.ext-link:hover { text-decoration: underline; }
.faq-section { padding-top: 20px; }
.faq-list { max-width: 900px; }
.faq-item {
  background: #2d3037;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 0; top: -2px;
  font-size: 22px;
  color: #64f4ac;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; color: #c9cbd0; line-height: 1.7; }
@media (max-width: 768px) {
  .ext-section, .faq-section { padding: 50px 16px; }
  .ext-card { padding: 22px; }
}
#extensions, #faq { scroll-margin-top: 90px; }

.ext-icon { background: transparent; width: 56px; height: 56px; }
.ext-icon img { width: 56px; height: 56px; border-radius: 14px; display: block; box-shadow: 0 6px 16px #00000055; }

/* Chiffres clés (anciennement des h1) */
.body-tail .stat-num { font-size: 50px; font-weight: 400; line-height: 64px; color: #fefefe; padding: 0; }
@media (max-width: 768px) { .body-tail .stat-num { font-size: 34px; line-height: 44px; } }

.body-title .store-rating { margin-top: 14px; font-size: 14px; }
.body-title .store-rating a { color: #ffc94d; text-decoration: none; font-weight: 600; }

/* Solutions populaires */
.pop-section { padding-bottom: 20px; }
.pop-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pop-list a { display: block; padding: 12px 16px; border-radius: 10px; background: #2d3037; border: 1px solid #3a3d45; color: #fff; text-decoration: none; font-weight: 500; transition: border-color .2s; }
.pop-list a:hover { border-color: #64f4ac; }

/* ===== Hero orienté installation ===== */
.body-title .hero-sub { font-size: 1.05rem; line-height: 1.6; color: #d6d6d6; padding: 1rem 0 1.25rem; max-width: 520px; }
.body-title .hero-sub strong { color: #64f4ac; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.body-title a.hero-btn { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 14px 26px; border-radius: 12px; background: #64f4ac; color: #16191e; font-size: 1.05rem; font-weight: 700; text-decoration: none; box-shadow: 0 10px 25px rgba(100,244,172,.25); transition: transform .2s, box-shadow .2s; }
.body-title a.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(100,244,172,.35); }
.body-title a.hero-link { margin: 0; padding: 0; font-size: .95rem; color: #cacaca; text-decoration: none; }
.body-title a.hero-link:hover { color: #64f4ac; }
.how-section { padding: 10px 8vw 60px; color: #fff; scroll-margin-top: 90px; }
.how-section h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 500; margin-bottom: 24px; text-align: center; }
.how-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 1000px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: step; }
.how-steps li { background: #2d3037; border: 1px solid #3a3d45; border-radius: 14px; padding: 22px; counter-increment: step; }
.how-steps li::before { content: counter(step); display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: #64f4ac; color: #16191e; font-weight: 700; margin-bottom: 12px; }
.how-steps h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.how-steps p { color: #c9cbd0; font-size: 15px; line-height: 1.6; }
.how-cta { text-align: center; margin-top: 26px; }
.how-cta a { display: inline-flex; gap: 10px; align-items: center; padding: 12px 24px; border-radius: 12px; background: #64f4ac; color: #16191e; font-weight: 700; text-decoration: none; }
@media (max-width: 768px) { .body-title a.hero-btn { width: 100%; justify-content: center; } .how-section { padding: 10px 16px 40px; } }

/* Visuel du hero (remplace le personnage animé) */
.body-part-2.hero-visual { display: flex; align-items: center; justify-content: center; flex: 1; padding-left: 40px; zoom: 1; width: auto; margin: 0; }
.hero-visual a { display: block; text-decoration: none; text-align: center; }
.hero-visual img { width: 100%; max-width: 560px; height: auto; border-radius: 16px; box-shadow: 0 25px 60px rgba(0,0,0,.45); border: 1px solid #3a3d45; transition: transform .3s; }
.hero-visual a:hover img { transform: translateY(-4px); }
.hero-visual span { display: inline-block; margin-top: 14px; color: #64f4ac; font-weight: 600; font-size: 15px; }
@media (max-width: 768px) { .body-part-2.hero-visual { padding: 24px 0 0; width: 100%; zoom: 1; } }

/* hero-tight */
#content-body { margin-bottom: 0; padding-bottom: 50px; }

/* Vidéo Short dans le hero */
.body-part-2.hero-visual { flex-direction: column; }
.hero-video { position: relative; width: min(300px, 80vw); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid #3a3d45; box-shadow: 0 25px 60px rgba(0,0,0,.5); }
.hero-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero-video-link { margin-top: 14px; color: #64f4ac; font-weight: 600; font-size: 15px; text-decoration: none; }
.hero-video-link:hover { text-decoration: underline; }
