@font-face {
  font-family: "orbitron-regular";
  src: url("/ressources/fonts/Orbitron/Orbitron-Regular.ttf");
}

@font-face {
  font-family: "Inter", sans-serif;
  src: url("/ressources/fonts/Inter/Inter-VariableFont_opsz\,wght.ttf");
}

@font-face {
  font-family: "Inter-extralight";
  src: url("/ressources/fonts/Inter/static/Inter_28pt-ExtraLight.ttf");
}

/* Largeur de la scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

/* Fond de la scrollbar */
::-webkit-scrollbar-track {
  background: var(--quaternary);
}

/* Curseur (thumb) */
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 6px;
}

/* Curseur au survol */
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  list-style-type: none;
  text-decoration: none;
  color: white;
  --primary: #070708;
  --secondary: #ccff00;
  --tertiary: #202020;
  --quaternary: #141313;
}

.text-color-secondary {
  color: var(--secondary);
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
}

.header-section {
  position: fixed;
  display: flex;
  flex-direction: row;
  height: 100px;
  width: 100%;
  background-color: var(--primary);
  border-bottom: var(--tertiary) solid 1px;
  z-index: 1;
}

.header-section-div-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  height: 100%;
  width: 15%;
  border-right: var(--tertiary) solid 1px;
}

.header-logo {
  height: 82%;
}

.navbar {
  height: 100%;
  width: 70%;
}

.navbar-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 220px;
  font-family: "orbitron-regular";
  font-size: 25px;
}

.navbar-menu-item {
  height: 100%;
}

.navbar-menu-link:hover {
  color: var(--secondary);
}

.ecrire {
  display: none;
}

.reseaux-sociaux {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.reseaux-sociaux-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 160px;
}

.logo-facebook {
  width: 35px;
  height: auto;
}

.logo-facebook:hover {
  fill: #0266ff;
  transition: 0.2s;
}

.instagram-icon {
  width: 35px;
  height: 35px;
  background-color: white;
  -webkit-mask: url('/ressources/img/instagram.svg') no-repeat center / contain;
  mask: url('/ressources/img/instagram.svg') no-repeat center / contain;
  transition: background 0.3s, transform 0.3s;
}

.instagram-link:hover .instagram-icon {
  background: linear-gradient(45deg, #700099, #ff00b3, #fcb900);
}

.logo-whatsapp {
  width: 35px;
  height: auto;
}

.logo-whatsapp:hover {
  fill: #49ed68;
  transition: 0.2s;
}

.return-top-btn {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  background-color: var(--secondary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 120px;
  right: 30px;

}

.return-top {
  width: 32px;
  height: auto;
}

.black {
  fill: black;
}

.main {
  margin-top: 100px;
  height: calc(100vh - 100px);
  width: 100%;
  background: url(/ressources/img/Fond.webp);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  padding: 0 180px;
}

.main-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-weight: bold;
}

.main-hommeIA {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

h1 {
  font-size: 92px;
}

h1 span {
  display: block;
}

.web-designer-design {
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: white;
  color: transparent;
  transition: all 0.5s;
  position: relative;
}

.web-designer-design:before {
  content: attr(data-text);
  position: absolute;
  color: var(--secondary);
  width: 0px;
  overflow: hidden;
  animation: pulse-width 1.5s forwards;
  animation-delay: 1s;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--secondary);
}

@keyframes pulse-width {
  100% {
    width: 100%;
  }
}

.section-presentation,
.section-services,
.section-avis,
.section-contact {
  background-color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.div-separation {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 50%;
  padding: 100px 0 50px 0;
}

.deco-separation {
  width: 12%;
  border-bottom: var(--secondary) 1px solid;
}

h2 {
  padding: 0 25px;
  color: var(--secondary);
  font-family: "orbitron-regular";
  font-size: 37px;
  font-weight: normal;
  font-style: italic;
}

.text-presentation-tech,
.text-presentation-dev {
  width: 80%;
  text-align: justify;
  font-family: "Inter-extralight";
  font-size: 32px;
}

.text-presentation-dev {
  padding-top: 32px;
}


.display_none {
  display: none;
}

.services-title {
  font-family: "Inter", sans-serif;
  font-size: 37px;
  font-weight: lighter;
}

.cards-container-global {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 67%;
}

.cards-container-gauche,
.cards-container-droit {
  display: flex;
  flex-direction: column;
  width: 600px;
  height: auto;
}

.card {
  display: flex;
  flex-direction: column;
  padding-top: 60px;
}

.card-radius {
  border-radius: 10px;
}

.card-title {
  padding-top: 20px;
  color: var(--secondary);
  font-family: "Inter-extralight";
  font-weight: bold;
  font-size: 28px;
}

.card-description {
  padding-top: 20px;
  font-family: "Inter-extralight";
  text-align: justify;
  font-size: 22px;
}

.web-design-title {
  padding: 100px 0 60px 0;
}

.web-design-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  padding: 50px;
  background-color: var(--quaternary);
  border-radius: 10px;
}

.web-design-desciption-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 43%;
  height: 450px;
  font-family: "Inter-extralight";
  text-align: justify;
  font-size: 22px;
}

.image-html-css-js,
.impression_3d {
  border-radius: 10px;
}

.section-avis {
  background: url(/ressources/img/Fond2.webp);
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom: 100px;
}

.tagembed-widget {
  width: 70% !important;
}

.tb_rv_wrapper,
.tb_rc_post_in {
  background-color: var(--quaternary) !important;
  cursor: default !important;
}

.tb_app_wrapper {
  width: 100% !important
}

.tb_rv_rview_star {
  margin-right: 25px !important;
}

.tb_rv_banner_btn {
  display: none !important;
}

.tb_rc_rating__ {
  margin: 0 !important;
  padding: 12px 0 20px 0;
  justify-content: center !important;
}

.tb-default-star,
.tb_avg_rating_ico__ {
  color: var(--secondary) !important;
  font-size: 16px !important;
}

.tb_rc_arrow {
  background-color: var(--primary) !important;
  color: var(--secondary) !important;
  width: 35px !important;
}

.tb_rc_authorname {
  font-family: "Inter-extralight" !important;
  font-size: 17px !important;
}

.tb_rc_content,
.tb_content_text {
  font-family: "Inter-extralight" !important;
  font-size: 17px !important;
}

.section-contact {
  padding-bottom: 90px;
}

.contact-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 160px;
  width: 70%;
  background-color: var(--quaternary);
  border-radius: 10px;
  padding: 50px;
}

.contact-link-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 20%;
  font-family: "orbitron-regular";
  font-size: 21px;
  background-color: var(--tertiary);
  padding: 15px 20px;
  border-radius: 6px;
}

.contact-link-button:hover {
  border: solid 1px var(--secondary);
  background-color: var(--quaternary);
}

.facebook {
  width: 55px;
  height: auto;
  padding-right: 15px;
  fill: #0266ff;
}

.instagram {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, #700099, #ff00b3, #fcb900);
  -webkit-mask: url('/ressources/img/instagram.svg') no-repeat center / contain;
  mask: url('/ressources/img/instagram.svg') no-repeat center / contain;
  vertical-align: middle;
  margin-right: 15px;
}

.whatsapp {
  width: 55px;
  height: auto;
  padding-right: 15px;
  fill: #49ed68;
}

.email {
  width: 55px;
  height: auto;
  padding-right: 15px;
  fill: var(--secondary);
}

footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "orbitron-regular";
  background-color: var(--primary);
}

.logo-plat-footer {
  height: 50px;
}

.mentions-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  padding: 40px 0 25px 0;
}

.liste-mentions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 32%;
}

.mentions-link:hover,
.confidentialite-link:hover,
.cookies-link:hover {
  color: var(--secondary);
}

/*mentions légales - confidentialité - cookies*/

.span-color {
  color: var(--secondary);
}

.intro-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
  width: 100%;
  background-color: var(--primary);
  font-family: "Inter-extralight";
  font-size: 22px;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60%;
}

.description-intro {
  padding: 50px;
  border-radius: 10px;
  background-color: var(--tertiary);
}

.mentions-container,
.confidentialite-container,
.cookies-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--primary);
  font-family: "Inter-extralight";
  font-size: 22px;
}

.mentions,
.confidentialite,
.cookies {
  width: 60%;
  padding: 50px;
  border-radius: 10px;
  background-color: var(--tertiary);
}

.mentions-first-title,
.confidentialite-title,
.cookies-title {
  padding-bottom: 15px;
  font-size: 24px;
}

.mentions-title {
  padding: 50px 0 15px 0;
  font-size: 24px;
}

.padding-top-title {
  padding-top: 50px;
}

.confidentialite-description,
.cookies-description {
  display: block;
  padding-top: 15px;
}

.listing-reseaux-contact,
.listing-cookies {
  padding: 5px 0 0 60px;
}

.listing-reseaux-contact-item,
.listing-cookies-item {
  list-style-type: circle;
}

.update {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-self: center;
  width: 100%;
  padding: 80px 0;
  background-color: var(--primary);
  font-family: "Inter-extralight";
}

/* ========================= */
/* Responsive iPhone (<=430px) */
/* ========================= */

@media screen and (max-width: 430px) {

  body,
  html {
    height: auto;
    min-height: 100%;
  }

  body {
    position: relative;
    min-height: 100%;
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    background-color: var(--primary);
  }

  /* HEADER */

  .header-section {
    height: 70px;
  }

  .header-section-div-logo {
    width: 40%;
    border-right: none;
  }

  .header-logo {
    height: 60%;
  }

  .navbar {
    display: none;
  }

  .ecrire {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 60%;
    font-family: "orbitron-regular";
    font-size: 16px;
    border-left: none;
    padding-right: 25px;
    color: var(--primary);
  }

  .ecrire-link {
    position: relative;
    padding: 10px 15px;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: 6px;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1;
  }

  .ecrire-link span {
    color: var(--primary);
    display: inline-block;
    transform: translateY(1.5px);
  }

  .ecrire-link::before {
    content: "";
    position: absolute;
    top: 100%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(-45deg);
    transition: all 0.6s ease;
  }

  .ecrire-link:hover::before {
    top: -100%;
    left: 100%;
  }

  .ecrire-link:hover {
    background-color: var(--secondary);
    color: black;
  }

  .reseaux-sociaux {
    display: none !important;
  }

  /* MAIN */

  .main {
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    text-align: center;
    margin-top: 70px;
    height: calc(100svh - 70px);
  }

  .main-title {
    margin-top: 1svh;
  }

  h1 {
    margin-bottom: 55vh;
    font-size: 38px;
    line-height: 1.2;
    text-align: center;
  }

  .web-designer-design {
    display: inline-block;
  }

  .web-designer-design::before {
    white-space: nowrap;
  }

  /* --- IMAGE HOMME IA COLLÉE EN BAS --- */
  .main-hommeIA {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: 100%;
    pointer-events: none;
  }

  .main-hommeIA img {
    width: auto;
    max-width: 90%;
    height: 45vh;
    object-fit: contain;
    display: block;
  }

  /* SEPARATION */

  .div-separation {
    width: 90%;
    padding: 60px 0 30px 0;
  }

  h2 {
    font-size: 26px;
    text-align: center;
  }

  /* PRESENTATION */

  .text-presentation-tech,
  .text-presentation-dev {
    width: 90%;
    font-size: 18px;
  }

  /* SERVICES */
  .services-title {
    font-size: 26px;
    text-align: center;
    padding: 0;
  }

  .cards-container-global {
    flex-direction: column;
    width: 90%;
  }

  .cards-container-gauche,
  .cards-container-droit {
    width: 100%;
  }

  .card-title {
    font-size: 22px;
    padding-top: 40px;
    text-align: center;
    display: block;
  }

  .card-description {
    font-size: 17px;
  }

  /* WEB DESIGN + 3D */

  .web-design-container {
    flex-direction: column;
    width: 90%;
    padding: 25px;
  }

  .web-design-title {
    padding: 60px 0 30px 0;
  }

  .web-design-desciption-container {
    width: 100%;
    height: auto;
    font-size: 17px;
  }

  .image-html-css-js,
  .impression_3d {
    width: 100%;
    margin-top: 25px;
  }

  /* AVIS */
  .section-avis {
    padding: 25px;
  }

  .tagembed-widget {
    width: 95% !important;
  }

  /* CONTACT */

  .section-contact {
    padding-bottom: 40px;
  }

  .contact-container {
    flex-direction: column;
    height: auto;
    gap: 20px;
    width: 90%;
  }

  .contact-link-button {
    width: 100%;
    font-size: 18px;
  }

  /* FOOTER */

  footer {
    padding-bottom: calc(50px + env(safe-area-inset-bottom));
    /* espace sûr pour les mentions légales */
    z-index: 2;
  }

  .mentions-footer {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding-top: 40px;
  }

  .mentions-footer span:first-child {
    white-space: nowrap;
    /* empêche le retour à la ligne */
    font-size: 13px;
    /* ajuste la taille pour qu’il tienne */
  }

  .logo-plat-footer {
    height: 35px;
    /* adapte selon la taille souhaitée */
    width: auto;
    /* garde les proportions */
  }

  .liste-mentions {
    flex-wrap: nowrap;
    white-space: nowrap;
    width: 100%;
    justify-content: center;
    gap: 3px;
    font-size: 12px;
  }

  /* BOUTONS FIXES */

  .reseaux-sociaux {
    right: 15px;
    bottom: 15px;
  }

  .return-top {
    display: none !important;
  }
}

/* ========================= */
/* Responsive mentions legales + cookies */
/* ========================= */

@media screen and (max-width: 430px) {
  /* INTRO */

  .intro-container {
    margin-top: 70px;
    font-size: 17px;
  }

  .intro {
    width: 90%;
  }

  .description-intro {
    padding: 25px;
    font-size: 16px;
  }

  /* SEPARATION */

  .div-separation {
    width: 90%;
    padding: 60px 0 30px 0;
  }

  h2 {
    font-size: 26px;
    text-align: center;
  }

  /* BLOCS PRINCIPAUX */

  .mentions,
  .confidentialite,
  .cookies {
    width: 90%;
    padding: 25px;
    font-size: 16px;
  }

  /* TITRES */

  .mentions-first-title,
  .mentions-title,
  .confidentialite-title,
  .cookies-title {
    font-size: 20px;
  }

  .mentions-title {
    padding: 30px 0 10px 0;
  }

  .padding-top-title {
    padding-top: 30px;
  }

  /* LISTES */

  .listing-reseaux-contact,
  .listing-cookies {
    padding-left: 25px;
  }

  .listing-reseaux-contact-item,
  .listing-cookies-item {
    font-size: 15px;
  }

  /* TEXTES */

  .confidentialite-description,
  .cookies-description {
    font-size: 15px;
  }

  /* UPDATE */

  .update {
    padding: 50px 0;
    font-size: 14px;
    text-align: center;
  }
}