* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --lien: #ffffff;
  --primary: #618eff;
  --back: #040510;
  --white: #ffffff;
  --green: #026a38;
  --content: calc((100vw / 12) * 9.5);
  --xsmall: calc((100vw / 12) * 0.25);
  --small: calc((100vw / 12) * 0.5);
  --mid: calc(100vw / 12);
  --big: calc((100vw / 12) * 2);
  --maxheight: 1920px;
}

html {
  scroll-behavior: auto;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  color: var(--white);
  scroll-behavior: smooth;
}

/*body */
#bg-fade {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: opacity 0.5s;
}

body {
  background: #f5f5f5;
  transition: background 0.7s;
      overflow-x: hidden;
}

body.bg-white {
  background: #d4d3e4;
}

body.bg-white .sec4 h2,
body.bg-white .sec4 h3,
body.bg-white .sec4 p {
  color: var(--back);
}

/* ===== Light Mode for Trust Banner & Following Sections ===== */
body.bg-white .interactive-showcase {
  background: #d4d3e4;
}

body.bg-white .interactive-showcase::before {
  opacity: 0 !important;
}

body.bg-white .services-detail-section {
  background: transparent;
}

body.bg-white .services-detail-section::before,
body.bg-white .services-detail-section::after {
  opacity: 0.5;
}

body.bg-white .trust-banner {
  background: linear-gradient(89deg, rgba(11, 95, 246, 0.12) 0%, rgba(97, 142, 255, 0.05) 100%);
}

body.bg-white .trust-banner-title {
  background: linear-gradient(135deg, var(--back) 0%, #0b5ff6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.bg-white .trust-text h3 {
  background: linear-gradient(135deg, var(--back) 0%, #0b5ff6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.bg-white .trust-text p {
  color: rgba(4, 5, 16, 0.75);
}

body.bg-white .trust-item {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(11, 95, 246, 0.15);
}

body.bg-white .trust-item:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 12px 40px rgba(11, 95, 246, 0.15),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.5);
}

body.bg-white .content-gallery {
  background: transparent;
}

body.bg-white .content-gallery h2,
body.bg-white .gallery-header h2 {
  background: linear-gradient(135deg, var(--back) 0%, #0b5ff6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.bg-white .gallery-subtitle {
  color: rgba(4, 5, 16, 0.7);
}
 
body.bg-white .gallery-info h3 {
  color: var(--back);
}

body.bg-white .gallery-info p {
  color: rgba(4, 5, 16, 0.7);
}

body.bg-white .gallery-cta p {
  color: rgba(4, 5, 16, 0.8);
}

body.bg-white .portfolio .txt h2 {
  background: linear-gradient(135deg, var(--back) 0%, #0b5ff6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.bg-white .portfolio .txt p {
  color: rgba(4, 5, 16, 0.7);
}

body.bg-white .sec6 h3 {
  background: linear-gradient(135deg, var(--back) 0%, #0b5ff6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.bg-white .sec6 .faq details {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(11, 95, 246, 0.15);
}

body.bg-white .sec6 .faq summary {
  color: var(--back);
}

body.bg-white .sec6 .faq details p {
  color: rgba(4, 5, 16, 0.75);
}

body {
  height: 100%;
  margin: 0px;
  padding: 0px;
  max-width: var(--maxheight);
  background-color: var(--back);
  background-size: 100%;
  scroll-behavior: smooth;
  margin: auto;
}

/* ===== Effet de lumière qui suit la souris ===== */
.cursor-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(
    circle 600px at var(--x, 50%) var(--y, 50%),
    rgba(202, 218, 248, 0.08) 0%,
    rgba(97, 142, 255, 0.04) 25%,
    transparent 60%
  );
  mix-blend-mode: screen;
}

body:hover .cursor-light {
  opacity: 1;
}

@media (max-width: 768px) {
  .cursor-light {
    display: none;
  }
}

main {
  position: absolute;
  width: 100vw;
  left: 0;
  top: 0;

  scroll-behavior: smooth;
  overflow: visible;
}

ul,
li {
  list-style-type: none;
}

/* ===== FAQ Style dynamique et attrayant ===== */
.faq {
  border-radius: 24px;
  width: 100%;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1) inset;
  backdrop-filter: blur(7px);
  max-width: 680px;
}

.faq details {
  border-radius: 16px;
  margin-bottom: 1.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(163, 224, 38, 0.07);
  box-shadow: 0 1px 8px 0 rgba(163, 224, 38, 0.03) inset;
  transition: box-shadow 0.4s cubic-bezier(0.4, 2, 0.6, 1), background 0.3s;
  overflow: hidden;
  position: relative;
}

.faq details[open] {
  border-color: rgba(175, 177, 255, 0.18);
}

.faq summary {
  font-size: 1.13rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  padding: 1.35rem 2.2rem 1.35rem 2.9rem;
  position: relative;
  outline: none;
  display: flex;
  align-items: center;
  transition: color 0.25s, background 0.25s;
  user-select: none;
  background: transparent;
  justify-content: left;
}

.faq summary:hover {
  color: var(--lien);
  background: rgba(var(--back), 0.07);
  box-shadow: 0 2px 8px 0 rgba(var(--lien), 0.03) inset;
}

@keyframes breathing {
  0% {
    opacity: 1;
    width: 70%;
  }
  50% {
    opacity: 0.5;
    width: 68%;
  }
  100% {
    opacity: 1;
    width: 70%;
  }
}

.hero .illustration {
  /*animation: breathing ease-in-out 3s infinite;*/
  animation-delay: 1s;
  opacity: 0.8;
}

/* Flèche animée subtile */
.faq summary::before {
  content: "";
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 1.1rem;
  border-right: 2px solid #0b5ff6;
  border-bottom: 2px solid #0b5ff6;
  border-radius: 1px;
  transform: rotate(45deg);
  transition: transform 0.4s, border-color 0.4s;
  opacity: 0.85;
}

.faq details[open] summary::before {
  transform: rotate(-90deg) scale(1.08);
  opacity: 1;
}

.faq p {
  color: #f4fff0;
  font-size: 1.06rem;
  padding: 30px;
  line-height: 1.75;
  animation: fadeInFAQ 0.7s cubic-bezier(0.4, 2, 0.6, 1);
  font-weight: 400;
  letter-spacing: 0.01em;
}

@keyframes fadeInFAQ {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .faq {
    padding: 1.2rem 0.3rem;
    margin: 0;
  }

  footer .content {
    gap: 5rem 0rem !important;
  }

  .faq summary,
  .faq p {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}

.alt {
  color: #ff0f00;
}

section {
  margin: var(--mid) 0 0 0;
  position: relative;
  width: 100%;
}

section .content,
footer .content {
  max-width: var(--maxheight);
  width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: var(--xsmall);
}

a {
  color: var(--lien);
  text-decoration: none;
}

a:hover {
  color: var(--lien);
}

h1 {
  font-weight: 500;
  font-size: 48px;
}

h2 {
  font-size: 44px;
  font-weight: 400;
}

h2 span {
  font-weight: 500;
}

h3 span {
  font-weight: 500;
}

p {
  font-size: 18px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  margin: 0;
  backdrop-filter: blur(5px);
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

header .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: var(--content);
  margin: auto;
  padding: 15px;
}

header .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

header .left {
  display: inline-flex;
  gap: var(--xsmall);
  align-items: center;
  justify-content: center;
}

header div .logo img {
  width: 150px;
  margin: auto;
}

header nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: fit-content;
  --nav-active-offset: 2px;
}

header nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    padding 0.35s ease,
    transform 0.2s ease;
}

header.scrolled nav a {
  padding: 12px 20px;
  transition: padding 0.35s ease;
}

header nav {
  justify-self: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 14px 38px rgba(3, 6, 18, 0);
  transition:
    padding 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease,
    -webkit-backdrop-filter 0.35s ease;
}

header.scrolled nav { 
  background: linear-gradient(180deg, rgba(14, 18, 35, 0.58) 0%, rgba(14, 18, 35, 0.34) 100%);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(3, 6, 18, 0.22);
}

header nav a:hover,
header nav a.active {
  font-weight: 500;
  color: var(--white);
}

header nav a:hover {
  opacity: 1;
}

header nav a.active {
  font-weight: 600;
}

header nav a.active::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: calc(-1 * var(--nav-active-offset));
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(138, 214, 255, 0) 0%,
    rgba(138, 214, 255, 0.88) 18%,
    rgba(97, 149, 255, 1) 50%,
    rgba(138, 214, 255, 0.88) 82%,
    rgba(138, 214, 255, 0) 100%
  );
  box-shadow: 0 0 12px rgba(129, 214, 255, 0.34);
  pointer-events: none;
}

header nav.has-nav-signature a.active::before {
  opacity: 0;
}

header nav .nav-signature {
  position: absolute;
  left: 0;
  bottom: calc(-1 * var(--nav-active-offset));
  width: 0;
  height: 2px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(138, 214, 255, 0) 0%,
    rgba(138, 214, 255, 0.88) 18%,
    rgba(97, 149, 255, 1) 50%,
    rgba(138, 214, 255, 0.88) 82%,
    rgba(138, 214, 255, 0) 100%
  );
  box-shadow: 0 0 12px rgba(129, 214, 255, 0.34);
  transition:
    left 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.26s ease;
}

header nav .nav-signature.is-visible {
  opacity: 1;
}

header nav a.nav-highlight {
  color: rgba(255, 255, 255, 0.98);
}

header nav a.nav-highlight::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #81d6ff;
  box-shadow: 0 0 0 0 rgba(129, 214, 255, 0.42);
  animation: navHighlightPulse 2.4s ease-out infinite;
}

@keyframes navHighlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(129, 214, 255, 0.42);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(129, 214, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(129, 214, 255, 0);
  }
}

button {
  background: linear-gradient(
    247deg,
    #0b5ff6ad 5% 0%,
    rgba(255, 255, 255, 0.22) 30% 100%
  );
  border-radius: 7px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  color: var(--white);
  cursor: pointer;
  border: none;
}

button svg {
  fill: var(--white);
  transition: all 0.2s ease-in-out;
}

button.scnd {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

button.scnd svg {
  transform: rotate(90deg);
}

button:hover {
  scale: 1.02;
  font-size: 18px;
  transition: all 0.2s ease-in-out;
}

button:hover svg {
  margin-right: -10px;
  margin-left: 10px;
  transition: all 0.2s ease-in-out;
}

button.white {
  background: var(--white);
  color: var(--back);
}

button.white svg {
  fill: var(--back);
}

.hero {
  /* Couleur de fond de secours pendant le chargement du background */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 110vh;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;  
}

.hero::before {
  content: "";
  position: absolute;
  background-image: url("/img/heroback.png");
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  width: 100vw;
  transform: translateX(-50%);
  left: 50%;
  height: 120vh; /* même hauteur que .hero */
  animation: fadeInBg 1.2s cubic-bezier(0.5, 0, 0.1, 1) 0.2s forwards;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; 
  pointer-events: none;
  width: 100vw;
  transform: translateX(-50%);
  left: 50%;
  height: 110vh; /* même hauteur que .hero */ 
}

@keyframes fadeInBg {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero .content {
  margin-top: 15vh;
  z-index: 1;
}

.hero .content .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  gap: 5vh;
  z-index: 1;
}

.hero .content .text ul {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: left;
  gap: 2vh;
}

.hero .content .text ul li {
  font-size: 16px;
  background: rgba(255, 255, 255, 0);
  border-radius: 7px;
  padding: 3px 18px 3px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  border: 0.3px solid rgba(255, 255, 255, 0.126);
  color: var(--white);
}

.hero .title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  gap: 1vh;
}

.hero .content .text ul li svg {
  max-width: 40px;
  width: 4vh;
}

.sec5 svg {
  width: 40px;
}

.hero .content .actions {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: left;
  gap: 20px;
  margin-top: 20px;
}

.hero .content .logo {
  width: 20%;
  max-width: 400px;
  flex: 1;
}

.hero .content .logo img {
  height: 100%;
  max-height: 100px;
}

.hero .content .text {
  grid-column-start: 1;
  grid-column-end: -1;
  height: 47vh;
}

.hero .content .text h1 {
  font-size: 42px;
}

.hero .content .text p {
  font-size: 32px;
}

.hero .illustration {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-25%);
  width: 120vh;
}

.hero .illustration svg {
  width: 100%;
  height: 100%;
}

.sec2 { 
  margin-top: -15vh;
  padding-top: 10%;
}

.sec2 .content {
  z-index: 1;
  position: relative;
}

.sec2::before {
  margin-top: -20vh;
  content: "";
  position: absolute; 
  background: linear-gradient(
    0deg,
    #040510 50% 0%,
    rgba(255, 255, 255, 0) 100% 100%
  );
  width: 100vw; 
  height: calc(20vh + 100%);
  transform: translateX(-50%);
    left: 50%;
}

.sec2 .content h2 {
  grid-column: 1/ -1;
  text-align: center;
}

.sec3 {
  margin-top: var(--small);
}

.sec3 ol {
  grid-column: 2/ -2;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: center;
}

.sec3 ol li {
  display: flex;
  list-style-type: none;
  width: 100%;
  justify-content: left;
  align-items: center;
  gap: -40px;
  position: relative;
  margin-top: 40px;
}

.sec3 ol li .numb {
  font-size: 75px;
  font-weight: 500;
  margin-right: -10px;
  z-index: 10;
}

.sec3 ol li:nth-child(2),
.sec3 ol li:nth-child(4) {
  justify-content: right;
}

.sec3 ol li .card {
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: left;
  gap: 10px;
  background: linear-gradient(287deg, #181818 0%, #040510 100%);
  padding: 20px 30px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  width: 60%;
  border: #252636 solid 01px;
}

.sec3 ol li:nth-child(2) .card::before,
.sec3 ol li:nth-child(4) .card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  transform: rotate(180deg);
  opacity: 0.6;
  background-image: url("data:image/svg+xml;utf8,<svg width='308' height='386' viewBox='0 0 308 386' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M308 93.2803V202.141L210.051 103.925C195.432 88.3441 175.907 79.9342 154.902 79.9342C133.897 79.9342 115.913 87.7347 101.741 102.015C87.4873 116.214 79.7017 135.106 79.7017 155.278V386H0V157.451C0 71.4431 68.8139 0.853173 153.341 0C155.166 0 156.889 4.47035e-08 158.532 0.0812546C195.878 0.954742 231.583 16.6166 259.157 44.2431L308 93.26V93.2803Z' fill='url(%23paint0_linear_1015_112)' fill-opacity='0.32'/><defs><linearGradient id='paint0_linear_1015_112' x1='305.344' y1='240.575' x2='98.4822' y2='196.067' gradientUnits='userSpaceOnUse'><stop offset='0.01' stop-color='%23025CF3' stop-opacity='0'/><stop offset='1' stop-color='%23025CF3'/></linearGradient></defs></svg>");
  background-repeat: no-repeat;
  background-size: cover;
  width: 60%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.sec3 ol li:nth-child(3) .card::before,
.sec3 ol li:nth-child(1) .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  opacity: 0.6;
  width: 60%;
  height: 100%;
  background-image: url("data:image/svg+xml;utf8,<svg width='308' height='386' viewBox='0 0 308 386' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M308 93.2803V202.141L210.051 103.925C195.432 88.3441 175.907 79.9342 154.902 79.9342C133.897 79.9342 115.913 87.7347 101.741 102.015C87.4873 116.214 79.7017 135.106 79.7017 155.278V386H0V157.451C0 71.4431 68.8139 0.853173 153.341 0C155.166 0 156.889 4.47035e-08 158.532 0.0812546C195.878 0.954742 231.583 16.6166 259.157 44.2431L308 93.26V93.2803Z' fill='url(%23paint0_linear_1015_112)' fill-opacity='0.32'/><defs><linearGradient id='paint0_linear_1015_112' x1='305.344' y1='240.575' x2='98.4822' y2='196.067' gradientUnits='userSpaceOnUse'><stop offset='0.01' stop-color='%23025CF3' stop-opacity='0'/><stop offset='1' stop-color='%23025CF3'/></linearGradient></defs></svg>");
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.sec3 ol li .card img {
  width: 80px;
  position: absolute;
  scale: 1.2;
  top: -20px;
  right: 30px;
}

.sec3 ol li .card p {
  width: 80%;
  z-index: 1;
}

.sec3 ol li .card h3 {
  z-index: 1;
}

.chemin {
  display: block;
  position: absolute;
  z-index: 10;
  width: 50%;
  height: 2px;
  left: calc(40px + 7%);
  bottom: 50%;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  z-index: -1;
  border-radius: 15px;
}

.chemin.chemin-3 {
  right: 7%;
  left: auto;
  transform-origin: right;
}

.chemin.chemin-3 {
  right: 7%;
  left: auto;
  transform-origin: right;
}

.sec3 ol li {
  position: relative;
}

.chemin.chemin-2,
.chemin.chemin-4 {
  width: 50%;
  left: calc(40px + 7%);
  bottom: 50%;
  border-left: 2px solid rgba(255, 255, 255, 0.126);
  border-bottom: 2px solid rgba(255, 255, 255, 0.126);
  height: 0;
  border-radius: 0px 0px 0px 15px;

  /* sera animé vers 200% */
}

.chemin.chemin-3 {
  width: 50%;
  right: 7%;
  border-radius-bottom-right: 15px;
  bottom: 50%;
  border-right: 2px solid rgba(255, 255, 255, 0.126);
  border-bottom: 2px solid rgba(255, 255, 255, 0.126);
  height: 0;
  border-radius: 0px 0px 15px 0px;
  /* sera animé vers 100% */
}

.sec4 {
  padding-bottom: 100px;
  padding-top: 100px;
  overflow: hidden;
}

.sec4 .content {
  gap: 30px;
}

body .sec4 .content h2.alt {
  color: var(--white);
  font-weight: 500;
  text-align: center;
}

body.bg-white .sec4 .content h2.alt {
  color: var(--back);
}

.sec4 .content h2 {
  color: var(--back);
}

.sec4 .content p {
  color: var(--back);
}

.sec4 .content h3 {
  color: var(--back);
  font-weight: 400;
  font-size: 32px;
}

.sec4 button {
  background: var(--back);
  color: var(--white);
}

.sec4 .content.w1 {
  margin-bottom: 100px;
}

.sec4 .content.w1 .txt {
  grid-column: 1/6;
}

.sec4 .content.w1 .txt h2.grey {
  color: #6f6f6f;
}

.sec4 .content.w1 .txt h2.grey span {
  text-decoration: line-through;
  font-weight: 400;
}

.sec4 .content.w1 .illustration {
  grid-column: 7/ -1;
  position: relative;
  height: 100%;
  align-items: flex-start;
  display: flex;
}

.sec4 .content.w1 .illustration .down {
  width: 50%;
}

header .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

header .available {
  padding: 5px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.472);
  display: flex;
  align-items: center;
  gap: 5px;
}

header .available p {
  font-size: 12px;
  font-weight: 500;
}

header .available span {
  background: greenyellow;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.sec4 .content.w1 .illustration .up {
  background: rgba(255, 255, 255, 0.299);
  border-radius: 60px 60px 60px 17px;
  z-index: 2;
  width: 70%;
  backdrop-filter: blur(2px);
  box-shadow: 0px 0px 100px rgb(0 0 0 / 39%);
  margin-left: -20%;
  margin-top: 20%;
}

.sec4 .content p {
  padding-top: 20px;
}

.sec4 .content.w2 {
  width: 100%;
  position: relative;
}

.sec4 .content.w2 .back {
  position: absolute;
  left: 20%;
  bottom: 20%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
}

.sec4 .content.w2 .imgs {
  grid-column: 1/ -1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: -20px;
}

.sec4 .content.w0 h2 {
  grid-column: 1/ -1;
  margin-bottom: 100px;
}

.sec4 .content.w2 .imgs img {
  width: 150px;
  height: 150px;
  max-width: 30vw;
  max-height: 30vw;
  object-fit: cover;
  border-radius: 50%;
  margin: 0px -10px 0 -10px;
}

.sec4 .content.w2 .txt {
  grid-column: 4/ -4;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sec4 .content.w2 .txt button {
  margin-top: 20px;
}

.sec5 .content {
  margin-top: var(--small);
}

.sec5 .txt {
  grid-column: 2/11;
}

.sec5 p {
  font-size: 38px;
  font-weight: 400;
  margin-bottom: 20px;
}

.sec5 h3 {
  color: grey;
  font-size: 32px;
}

.sec5 .services {
  grid-column: 1/13;
  margin-top: var(--small);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  position: relative;
  height: 600px;
}

.sec5 .service1 {
  grid-column: 1/5;
  grid-row: 1/3;
  background-image: url("/img/web.png");
  background-size: cover;
  background-position: center;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 0px 100px rgb(0 0 0 / 39%);
  border: 0.3px solid rgba(255, 255, 255, 0.126);
}

.sec5 .service2 {
  grid-column: 5/9;
  grid-row: 1/3;
  background-image: url("/img/net.png");
  background-size: cover;
  background-position: center;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 0px 100px rgb(0 0 0 / 39%);
  border: 0.3px solid rgba(255, 255, 255, 0.126);
}

.sec5 .service3 {
  grid-column: 9/13;
  grid-row: 1/2;
  background-image: url("/img/phone.png");
  background-size: cover;
  background-position: center;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 0px 100px rgb(0 0 0 / 39%);
  border: 0.3px solid rgba(255, 255, 255, 0.126);
}

.sec5 .service4 {
  grid-column: 9/13;
  grid-row: 2/3;
  background-image: url("/img/print.png");
  background-size: cover;
  background-position: center;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 0px 100px rgb(0 0 0 / 39%);
  border: 0.3px solid rgba(255, 255, 255, 0.126);
}

.service-hover-text {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 0%;
  bottom: 0%;
  background: rgba(0, 0, 0, 0.664);
  backdrop-filter: blur(2px);
  color: #fff;
  padding: 18px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.127);
  transition: opacity 0.32s, transform 0.32s;
  z-index: 10;
  width: 100%;
  text-align: left;
  line-height: 1.5;
  border-radius: 15px;
}
.service-hover-btn {
  background: var(--back);
  color: var(--white);
  margin-top: 20px;
}

.service:hover {
  box-shadow: 0px 0px 100px rgb(0 0 0 / 39%);
  border: 0.3px solid rgba(255, 255, 255, 0.126);
}

.service1,
.service2,
.service3,
.service4 {
  position: relative;
  overflow: visible;
  overflow: hidden;
}

.service1::before,
.service2::before,
.service3::before,
.service4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
  background: linear-gradient(
    to bottom,
    rgba(59, 3, 3, 0.3),
    rgba(13, 6, 71, 0.575)
  );
  z-index: 9;
}

.service1:hover .service-hover-text,
.service2:hover .service-hover-text,
.service3:hover .service-hover-text,
.service4:hover .service-hover-text {
  opacity: 1;
  pointer-events: auto;
}

.service1:hover,
.service2:hover,
.service3:hover,
.service4:hover {
  box-shadow: 0px 0px 100px rgb(0 0 0 / 39%);
  border: 0.3px solid rgb(255, 255, 255);
}

.sec5 .services h4 {
  font-size: 16px;
  background: rgba(0, 0, 0, 0.559);
  border-radius: 7px;
  padding: 3px 8px;
  display: flex;
  backdrop-filter: blur(5px);
  z-index: 10;
  width: fit-content;
  align-items: center;
  position: relative;
  gap: 10px;
  font-weight: 500;
  border: 0.3px solid rgba(255, 255, 255, 0.434);
  color: var(--white);
}

.sec6 {
  margin: 100px auto;
}

.sec6 h3 {
  grid-column: 2/ 6;
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  text-align: left;
}

.sec6 .faq {
  grid-column: 6/ -1;
  margin-top: 0px;
}

.sec6 .faq.left {
  grid-column: 1/6;
}

.sec6--split {
  margin: 100px auto 0;
}

.sec6--split .content {
  row-gap: 40px;
}

.sec6--split .faq-split {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: var(--xsmall);
}

.sec6--split .faq-copy {
  grid-column: 2 / span 4;
  align-self: center;
  padding-right: 24px;
}

.sec6--split .faq-copy-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(97, 142, 255, 0.88);
}

.sec6--split .faq-copy h3 {
  grid-column: auto;
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.08;
  text-align: left;
}

.sec6--split .faq-copy p {
  margin: 0;
  max-width: 30ch;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
}

.sec6--split .faq-split > .faq {
  grid-column: 7 / -1;
  max-width: none;
}

.sec6--split .faq-split--reverse > .faq {
  grid-column: 1 / span 6;
}

.sec6--split .faq-split--reverse .faq-copy {
  grid-column: 9 / span 4;
  padding-left: 24px;
  padding-right: 0;
}

.sec6--split .faq details:last-child {
  margin-bottom: 0;
}

.faq-split{
  margin-bottom: 100px;
}

.contact ul li a:hover {
  background: rgba(255, 255, 255, 0.06);
}

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

.contact ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.18s ease;
  border-radius: 7px;
  padding: 15px;
  border: 0.3px solid rgba(255, 255, 255, 0.126);
}

.contact h3 {
  font-size: 32px;
}
.contact p {
  font-size: 18px;
}
.contact form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

section.contact .content {
  align-items: start;
}

section.contact.hero {
  overflow: visible;
}

.contact .left {
  grid-column: 1 / 5;
  grid-row: 1;
  align-self: start; /* indispensable en grid */
  position: sticky; /* une seule position */
  top: 180px; /* ajuste selon la hauteur du header */
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  /* évite le margin sur l’élément sticky */
  margin-top: 0;
  padding: 50px 0px;
}

.contact .right {
  z-index: 2;
  margin-top: 10%;
  border-radius: 15px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.06);
  grid-row: 1;
}

.hero.contact::before { 
  position: fixed;
   
}

.contact form .meta .counter {
  transform: translateY(-100%);
  padding-left: 10px;
}

.contact .right {
  grid-column: 6/ -1;
  margin-top: 10%;
}

.contact form ul {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: left;
  gap: 2vh;
  padding-top: 20px;
  margin: 0px;
}

.contact form button {
  width: 100%;
}

.contact form ul li {
  font-size: 16px;
  background: rgba(255, 255, 255, 0);
  border-radius: 7px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  border: 0.3px solid rgba(255, 255, 255, 0.126);
  color: var(--white);
}

.contact form ul li svg {
  max-width: 40px;
  width: 4vh;
}

/* ===== Contact form: floating labels inside inputs ===== */
.contact form .field {
  position: relative;
}

.contact form .field input,
.contact form .field textarea {
  width: 100%;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(25, 24, 24, 0.339);
  color: var(--white);
  outline: none;
}

.contact form .field label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  transition: all 0.18s ease;
  padding: 0 6px;
}

.contact form .field .labelmessage {
  position: absolute;
  left: 12px;
  top: 20%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  transition: all 0.18s ease;
  padding: 0 6px;
}

.contact small {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateY(100%);
  font-size: 12px;
}

/* Float label on focus or when the field has content (placeholder hack) */
.contact form .field:focus-within label,
.contact form .field input:not(:placeholder-shown) + label,
.contact form .field textarea:not(:placeholder-shown) + label {
  top: -8px;
  transform: none;
  font-size: 12px;
  background: var(--back);
  opacity: 0.95;
}

/* Support for browser autofill */
.contact form .field input:-webkit-autofill + label {
  top: -8px;
  transform: none;
  font-size: 12px;
  background: var(--back);
  border-radius: 7px;
  opacity: 0.95;
}

/* Optional: icon inside field (right side) */
.contact form .field .icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
  pointer-events: none;
}

footer .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 100px;
}

footer h1 {
  margin-top: 70px;
  font-size: 160px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 3px #fff;
  text-stroke: 3px #fff;
  letter-spacing: -3px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  line-height: 0.7;
}

footer h1 span {
  font-size: 120px;
}

footer ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

footer ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

footer .txt {
  grid-column: 1/ 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

footer .mentions {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

footer .mentions p {
  font-size: 16px;
  color: var(--white);
}

button {
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  display: inline-block;
  position: relative;
  width: fit-content;
  gap: 10px;
}

button svg {
  padding-left: 10px;
  width: 33px;
}

/* Responsive */
@media (max-width: 1024px) {
  header {
    display: none;
  }

  section.topFade {
    margin-top: -20vh !important; 
  }

  .illustration svg {
    height: 160%;
  }

  .hero .content .text h1 {
    font-size: 6vw;
  }

  .hero .content .text p {
    font-size: 16px;
  }

  .hero::before, .hero::after {
    height: 100vh;
  }

  .hero .content {
    width: 90vw !important;
    max-width: 100vw !important;
    margin: 0 auto;
    height: 70vh;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    padding: 5vw 0 12vw 0;
    overflow: hidden;
  }
  .hero .illustration {
    width: 125vw !important;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    transform: translateX(-50%);
  }
  .hero .content .text {
    gap: 6vw;
    align-items: flex-start;
    padding: 0 4vw;
  }
  .hero .content .text ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
    gap: 2vw;
    padding: 0;
  }

  .hero .content .logo img {
    min-width: 120px;
    max-width: 50vw;
    margin: 0 auto 3vw 0;
    display: block;
  }

  /* Redimensionnement des textes principaux */
  h1,
  .hero h1,
  .sec5 p {
    font-size: 6vw;
  }
  h2,
  .hero h2 {
    font-size: 6vw;
  }
  h3,
  .hero h3 {
    font-size: 4.5vw;
  }
  p,
  .hero p,
  .hero .content .text ul li {
    font-size: 14px;
  }
  button,
  .hero button {
    font-size: 16px;
    padding: 16px 32px;
    backdrop-filter: blur(10px);
  }
  nav a {
    font-size: 4vw;
  }

  .mobile-menu a {
    font-size: 8vw;
  }

  .hero .content .actions {
    justify-content: center;
    flex-direction: column-reverse;
    gap: 3vw;
    align-items: left;
  }

  .sec2 {
    margin-top: -5vh;
  }

  section .content,
  footer .content {
    max-width: var(--maxheight);
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    gap: var(--xsmall);
  }

  .hero .content .text ul li svg {
    width: 26px;
  }

  .chemin.chemin-2,
  .chemin.chemin-4 {
    left: calc(20px + 7%);
  }

  .sec3 ol li .card {
    width: 100%;
    padding: 4vw;
  }

  .sec3 ol li .card img {
    width: 80px;
    position: absolute;
    scale: 1.2;
    top: -20px;
    right: 10px;
    opacity: 0.6;
  }
  .sec3 ol li .card h3 {
    font-size: 14px;
  }

  .sec3 ol li .numb {
    font-size: 35px;
    font-weight: 500;
  }

  .sec3 ol {
    grid-column: 1 / -1;
  }

  .sec4 {
    padding-bottom: 5vw;
    padding-top: 5vw;
  }

  .sec4 .content.w0 h2 {
    grid-column: 1 / -1;
    margin-bottom: 50px;
  }

  .sec4 .content.w1 .txt {
    grid-column: 1 / -1;
    grid-row: 2 /3;
  }

  .sec4 .content.w1 .illustration {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }

  .sec4 .content.w1 {
    margin-bottom: 100px;
  }

  .sec4 .content .txt h2 {
    font-size: 6vw;
  }

  .sec4 .content .txt p {
    font-size: 14px;
  }

  .sec4 .content.w2 .txt {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
  }
  .sec4 .content.w2 {
    width: 90%;
  }
  .sec4 .content.w2 .imgs {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }

  .sec5 .txt {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }

  .sec5 .services {
    height: 900px;
  }

  .sec5 .service1 {
    grid-column: 1 / -1;
    grid-row: 1/ 2;
  }

  .sec5 .service2 {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
  }

  .sec5 .service3 {
    grid-column: 1 / -1;
    grid-row: 3 / 4;
  }

  .sec5 .service4 {
    grid-column: 1 / -1;
    grid-row: 4 / 5;
  }

  .sec6 h3 {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }

  .sec6 .faq {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
  }

  .sec6--split .content {
    gap: 36px 0;
  }

  .sec6--split .faq-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sec6--split .faq-copy,
  .sec6--split .faq-split > .faq,
  .sec6--split .faq-split--reverse > .faq,
  .sec6--split .faq-split--reverse .faq-copy {
    grid-column: 1 / -1;
    padding: 0;
  }

  .sec6--split .faq-copy h3 {
    font-size: 28px;
  }

  footer .txt {
    grid-column: 1 / -1;
  }

  footer h1 {
    display: flex;
    flex-direction: column;
    font-size: 25vw;
    line-height: 0.7;
    letter-spacing: -3px;
    margin-bottom: 20px;

    -webkit-text-stroke: 1px #fff;
    text-stroke: 1px #fff;
  }

  footer h1 span {
    font-size: 22vw;
  }

  footer h2 {
    font-size: 4vw;
  }

  footer ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    grid-column: 1 / -1;
  }
  footer .mentions {
    grid-column: 1 / -1;

    flex-direction: column;
    gap: 10px;
  }

  footer ul li {
    gap: 20px;
  }

  footer ul li img {
    width: 50px;
    height: 50px;
  }

  footer .mentions p {
    font-size: 12px;
  }
}

/* --- MENU MOBILE --- */
.menu-toggle {
  display: none;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 30px;
  height: 4px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(15px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  z-index: 150;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0 0 0 / 51%);
  backdrop-filter: blur(22px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a.active,
.mobile-menu a:hover {
  color: #0077ff;
}

body.menu-open {
  overflow: hidden;
}

.mobile-header {
  z-index: 200;
  padding: 2vw;
  display: none;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
}

.mobile-logo {
  display: none;
  z-index: 210;
  width: 150px;
  height: 40px; 
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.mobile-logo img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .mobile-logo {
    display: block;
    display: flex; 
  }
  body.menu-open .mobile-logo {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .mobile-header {
    display: flex;
  }
  header {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }

  .hero .content .text {
    grid-column-start: 1;
    grid-column-end: -1;
    height: fit-content;
    padding-top: 75px;
  }

  .sec2::before {
    margin-top: -10vh;
    content: "";
    position: absolute;
    background: linear-gradient(0deg, #040510 50% 0%, rgba(255, 255, 255, 0) 100% 100%);
    width: 100vw;
    height: calc(20vh + 100%);
    transform: translateX(-50%);
    left: 50%;
}
}

/*service */

.hero.service-page {
  height: fit-content;
}

.hero.service-page .illustrate {
  position: absolute;
  right: 0;
  bottom: 0;

  height: 100%;
}

.hero.service-page .content {
  margin-top: 10vh;
  margin-bottom: 10vh;
}

.hero.service-page .illustrate svg {
  height: 100%;
}

.hero.service-page .category {
  width: 100px;
}

section.topFade {
  margin-top: -12vh;
  padding-top: 10%;
  position: relative;
}

section.topFade .content::before {
  z-index: 0;
  content: "";
  position: absolute;  
  height: 100%;
  background: linear-gradient(0deg, #040510 60%, rgba(255, 255, 255, 0) 100%);
  width: 100vw; 
  transform: translateX(-50%);
    left: 50%;
}


.topFade::before {
  z-index: 0;
  content: "";
  position: absolute;  
  height: 30%;
  background: linear-gradient(0deg, #040510 60%, rgba(255, 255, 255, 0) 100%);
  width: 100vw; 
  transform: translateX(-50%);
    left: 50%;
}

.secLeftRight {
  padding: 80px 0;
  margin-top: 0;
}

.secLeftRight .content {
  row-gap: 100px;
  min-height: 600px;
}

.secLeftRight .txt {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  gap: 30px;
}

.secLeftRight .txt h2 {
  font-size: 38px;
  text-align: left;
  line-height: 1.3;
}

.secLeftRight .txt p {
  font-size: 16px;
  line-height: 1.8;
}

.secLeftRight .imgHover {
  width: 100%;
  height: 100%;
  min-height: 350px;
}

.secLeftRight .left {
  grid-column: 1/ 7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
  height: 100%;
  z-index: 2;
  padding: 40px;
}

.secLeftRight .left .imgHover,
.secLeftRight .left .txt h2,
.secLeftRight .left .txt p {
  opacity: 1 !important;
}

.service-page.secLeftRight .right {
  grid-column: 7/ 13;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
  height: 100%;
  z-index: 2;
  padding: 40px;
}

.service-page.secLeftRight .right .imgHover,
.service-page.secLeftRight .right .txt h2,
.service-page.secLeftRight .right .txt p {
  opacity: 1 !important;
}

.imgHover {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.imgHover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imgHover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(59, 3, 3, 0.2),
    rgba(13, 6, 71, 0.375)
  );
  z-index: 9;
}

.secDetails {
  padding: 120px 0;
}

.secDetails .content {
  row-gap: 50px;
}

.secDetails h2 {
  grid-column: 1/ -1;
  text-align: center;
  font-weight: 500;
  font-size: 48px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #fff 0%, #a5d1ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.secDetails .leftCard {
  grid-column: 1/ 7;
}

.secDetails .rightCard {
  grid-column: 7/ 13;
}

.secDetails .cardDetails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.secDetails .cardDetails:hover img {
  transform: scale(1.05);
}

.secDetails .cardDetails li::marker {
  list-style-type: circle;
  padding-left: 20px;
}

.secDetails .cardDetails {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 8px 32px 0 rgba(0, 0, 0, 0.37),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1 !important;
}

.secDetails .cardDetails:hover {
  transform: translateY(-8px);
  border-color: rgba(97, 142, 255, 0.4);
  box-shadow: 
    0 16px 48px 0 rgba(11, 95, 246, 0.3),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
}

.secDetails .cardDetails h3 {
  font-size: 26px; 
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, #e0efff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.secDetails .cardDetails p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.secDetails .cardDetails .txt {
  padding: 32px;
  display: flex;
  gap: 16px;
  flex-direction: column;
}

.secDetails .cardDetails {
  height: 100%;
  position: relative;
  display: flex;
  gap: 0px;
  flex-direction: column;
}

.secDetails .cardDetails .imgHover {
  height: 240px;
  width: 100%;
  position: relative;
}

.secDetails .cardDetails .imgHover::before {
  background: linear-gradient(
    to bottom,
    rgba(11, 95, 246, 0.15),
    rgba(13, 6, 71, 0.4)
  );
}

.secDetails .bottomCard {
  display: flex;
  grid-column: 1/ 9;
  grid-row: 3/ 4;
  flex-direction: row;
}

.secDetails .bottomCard .imgHover {
  height: 100%;
}

.bottomRight {
  grid-column: 9/ -1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0px;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(11, 95, 246, 0.15) 0%,
    rgba(97, 142, 255, 0.08) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(97, 142, 255, 0.3);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 
    0 8px 32px 0 rgba(11, 95, 246, 0.2),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1 !important;
}

.bottomRight:hover {
  transform: translateY(-8px);
  border-color: rgba(97, 142, 255, 0.5);
  box-shadow: 
    0 16px 48px 0 rgba(11, 95, 246, 0.35),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
}

.secDetails .bottomRight h2 {
  text-align: left;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 0px;
  background: linear-gradient(135deg, #fff 0%, #a5d1ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bottomRight .txt {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0px;
  gap: 24px;
}

.bottomRight .txt p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.bottomRight button {
  margin-top: 8px;
  background: linear-gradient(135deg, #0b5ff6 0%, #618eff 100%);
  box-shadow: 0 4px 16px rgba(11, 95, 246, 0.4);
  transition: all 0.3s ease;
}

.bottomRight button:hover {
  box-shadow: 0 8px 24px rgba(11, 95, 246, 0.6);
  transform: scale(1.05);
}

.portfolio .txt {
  grid-column: 1/ -1;
  margin-bottom: 10px;
}

.portfolio .portfolioContent {
  grid-column: 1/ -1;
}

/* Portfolio slider */
.portfolio .portfolio-slider {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.portfolio .portfolio-viewport {
  overflow: hidden;
}

.portfolio .portfolio-track {
  display: grid;
  grid-auto-flow: column;
  gap: 16px;
  will-change: transform;
}

.portfolio .portfolio-card {
  width: clamp(240px, 28vw, 360px);
  background: linear-gradient(287deg, #181818 0%, #040510 100%);
  border: 0.3px solid rgba(255, 255, 255, 0.126);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.portfolio .portfolio-card .media::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(59, 3, 3, 0.2),
    rgba(13, 6, 71, 0.375)
  );
  z-index: 9;
}

.portfolio .portfolio-card .media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  padding: 14px;
}

.portfolio .portfolio-card .media img {
  width: 100%;
  height: 100%;
  position: inherit;
  object-fit: cover;
  transform-origin: center center;
  z-index: 9;
}

.portfolio .portfolio-card .info {
  padding: 14px 14px 18px;
}

.portfolio .portfolio-card .info h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}

.portfolio .portfolio-card .info p {
  font-size: 14px;
  opacity: 0.8;
}

.portfolio .portfolio-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.portfolio .portfolio-card .overlay .cta {
  background: var(--white);
  color: black;
  padding: 10px 16px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}

.portfolio .portfolio-slider .arrow {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.portfolio .portfolio-slider .arrow:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 1024px) {
  .portfolio .portfolio-card {
    width: clamp(220px, 44vw, 320px);
  }
  .why-section.is-light .sys-bg-lines span {
    background: transparent!important;
  }
}


@media (min-width: 1750px) {
  .sec2 {
    margin-top: -20vh;
  }
  .sec2::before {
    margin-top: -20vh;
    height: calc(100% + 30vh);
  }
}

@media (max-width: 640px) {
  .portfolio .portfolio-slider {
    grid-template-columns: 1fr;
  }
  .portfolio .portfolio-slider .arrow {
    display: none;
  }
  .portfolio .portfolio-card {
    width: clamp(220px, 80vw, 340px);
  }


  /* Style grab pour le viewport sur mobile */
  .portfolio .portfolio-viewport {
    cursor: grab;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .portfolio .portfolio-viewport:active {
    cursor: grabbing;
  }

  /* Améliore le touch sur les cartes */
  .portfolio .portfolio-card {
    touch-action: pan-y pinch-zoom;
  }
}

/* =====================
   Selectable services
   ===================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 4px;
  padding: 0;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.06s ease;
}

.service-item svg {
  width: 24px;
  height: 24px;
}

.service-item:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.service-item:active {
  transform: scale(0.98);
}

.service-item:focus {
  outline: 2px solid #a5d1ff;
  outline-offset: 2px;
}

.service-item.active,
.service-item[aria-pressed="true"] {
  background: linear-gradient(287deg, #181818 0%, #040510 100%);
  border-color: #a5d1ff;
  box-shadow: 0 0 0 3px rgba(165, 209, 255, 0.18) inset;
}

@media (max-width: 1024px) {
  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .secLeftRight {
    padding: 80px 0;
    margin-top: 40px;
  }

  .secLeftRight .content {
    row-gap: 80px !important;
    min-height: auto;
  }

  .hero.service-page .illustrate {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100%;
  }
  .secLeftRight .txt {
    grid-column: 1/ -1;
    padding: 0px !important;
    gap: 20px !important;
  }

  .secLeftRight .txt h2 {
    font-size: 28px;
  }

  .secLeftRight .txt p {
    font-size: 15px;
    line-height: 1.7;
  }

  .secLeftRight .left {
    grid-column: 1/ -1;
    padding: 20px 0 !important;
    gap: 30px !important;
  }

  .secLeftRight .imgHover {
    width: 100%;
    height: 250px;
    min-height: 250px;
}
    

  .service-page.secLeftRight .right {
    grid-column: 1/ -1;
    flex-direction: column-reverse;
    padding: 20px 0 !important;
    gap: 30px !important;
  }

  .secLeftRight .txt {
    grid-column: 1/ -1;
  }

  .secDetails {
    padding: 80px 0;
  }

  .secDetails .content {
    row-gap: 40px;
  }

  .secDetails h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .secDetails .txt {
    grid-column: 1/ -1;
  }

  .secDetails .cardDetails {
    grid-column: 1/ -1;
  }

  .secDetails .cardDetails .txt {
    grid-column: 1/ -1;
    padding: 24px;
    gap: 12px;
  }

  .secDetails .cardDetails h3 {
    font-size: 22px;
  }

  .secDetails .cardDetails p {
    font-size: 14px;
  }

  .secDetails .cardDetails .imgHover {
    height: 200px;
  }

  .bottomRight {
    grid-column: 1/ -1;
    padding: 28px;
  }

  .secDetails .bottomRight h2 {
    font-size: 26px;
  }

  .bottomRight .txt p {
    font-size: 15px;
  }

  section.contact {
    height: fit-content;
  }

  section.contact .content {
    height: fit-content;
  }

  .hero.contact::before {
    height: 100vh;
  }

  section.contact .content .left {
    grid-column: 1/ -1;
    align-items: start;
    position: relative;
    grid-row: 1/ 2;
    top: 0;
    padding: 0px 0px 0px 0px !important;
  }

  .contact form ul li {
    font-size: 16px;
    background: rgba(255, 255, 255, 0);
    border-radius: 7px;
    padding: 7px 7px 7px 0px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    border: 0.3px solid rgba(255, 255, 255, 0.126);
    color: var(--white);
    flex-direction: row;
  }

  section.contact .content .left img {
    width: 70%;
    max-width: 400px;
  }

  section.contact .content .right {
    grid-column: 1 / -1;
    align-items: start;
    grid-row: 2 / 3;
    gap: 20px;
    display: flex;
    flex-direction: column;
  }

  section.contact .content {
    margin-bottom: 20px !important;
  }

  .hero.service-page {
    min-height: fit-content;
  }

  .hero.service-page .content {
    margin-top: 10vh;
    margin-bottom: 20vh;
    height: fit-content;
  }

  .secLeftRight .txt h2 {
    font-size: 22px;
    text-align: left;
    font-weight: 500;
  }

  .secLeftRight .txt p {
    font-size: 14px;
  }

  .secDetails .bottomCard {
    display: flex;
    flex-direction: column;
  }

  .secDetails .bottomCard .imgHover {
    height: 200px;
  }
.portfolio.visible {
  padding-top: 100px;
}

.sec4 .content.w2 .imgs { 
  flex-wrap: wrap;
}

}
/* ...existing code... */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 160px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.dropdown-content a {
  color: #222;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background: #f2f2f2;
}

.dropdown:hover .dropdown-content {
  display: block;
}

footer.contactfooter { 
   z-index: 1;
   position: relative;
}

footer.contactfooter::before {
  content: "";
  position: absolute;
  background: linear-gradient(
    0deg,
    #040510 50% 0%,
    rgba(255, 255, 255, 0) 100% 100%
  );
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
    left: 50%;
}

footer.contactfooter .content {
  z-index: 1;
  position: relative;
}

/* ===== Bandeau de Réassurance ===== */
.trust-banner {
  padding: 60px 0;
  background: linear-gradient(89deg, rgba(11, 95, 246, 0.08) 0%, rgb(97 142 255 / 0%) 100%);
  position: relative;
  overflow: hidden; 
}

.trust-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(11, 95, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(97, 142, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.trust-banner-title {
  width: 100%;
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  background: linear-gradient(135deg, #fff 0%, #a5d1ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 50px;
  line-height: 1.3;
}

.trust-banner .content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 24px; 
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); 
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

.trust-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0b5ff6 0%, #618eff 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.trust-item:hover::before {
  transform: scaleX(1);
}

.trust-item:hover {
  transform: translateY(-8px);
  border-color: rgba(97, 142, 255, 0.4);
  box-shadow: 
    0 12px 40px rgba(11, 95, 246, 0.25),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
}

.trust-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(11, 95, 246, 0.2) 0%, rgba(97, 142, 255, 0.1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #618eff;
  transition: all 0.4s ease;
  border: 1px solid rgba(97, 142, 255, 0.2);
}

.trust-item:hover .trust-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(11, 95, 246, 0.3) 0%, rgba(97, 142, 255, 0.2) 100%);
  box-shadow: 0 8px 24px rgba(11, 95, 246, 0.3);
}

.trust-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}

.trust-text {
  text-align: center;
}

.trust-text h3 {
  font-size: 32px;
  font-weight: 600;
  background: linear-gradient(135deg, #fff 0%, #a5d1ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}

.trust-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  line-height: 1.4;
}

/* Responsive pour le trust banner */
@media (max-width: 1024px) {
  .trust-banner {
    padding: 60px 0;
  }

  .trust-banner .content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .trust-item {
    padding: 24px 20px;
  }

  .trust-icon {
    width: 56px;
    height: 56px;
  }

  .trust-icon svg {
    width: 28px;
    height: 28px;
  }

  .trust-text h3 {
    font-size: 28px;
  }

  .trust-text p {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .trust-banner {
    padding: 40px 0;
  }

  .trust-banner .content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trust-item {
    padding: 20px 16px;
    flex-direction: row;
    text-align: left;
  }

  .trust-icon {
    width: 48px;
    height: 48px;
  }

  .trust-icon svg {
    width: 24px;
    height: 24px;
  }

  .trust-text {
    text-align: left;
  }

  .trust-text h3 {
    font-size: 24px;
  }

  .trust-text p {
    font-size: 12px;
  }
}

/* ===== Section Galerie de Contenu ===== */
.content-gallery {
  padding: 88px 0 36px;
  position: relative;
  overflow: hidden;
}

.content-gallery .content {
  display: block !important;
  grid-template-columns: none !important;
}

.content-gallery::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(11, 95, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.gallery-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
}

.gallery-header h2 {
  font-size: 42px;
  font-weight: 600;
  background: linear-gradient(135deg, #fff 0%, #a5d1ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: left;
}

.gallery-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 700px; 
  text-align: left;
}

.carousel-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden; 
  grid-column: 1 / -1;
  width: 100%;
}

.carousel-container {
  overflow: visible;
  padding: 20px 60px;
  margin: 0 -60px;
}

.gallery-grid {
  display: flex;
  gap: 30px;
  scroll-behavior: smooth;
  overflow-x: auto;
  padding-bottom: 20px;
  position: relative;
  z-index: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-grid::-webkit-scrollbar {
  display: none;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-nav:hover {
  transform: translateY(-50%) scale(1.05);
  background: rgba(255, 255, 255, 0.22);
}

.carousel-nav.prev {
  left: 10px;
}

.carousel-nav.next {
  right: 10px;
}

.carousel-nav svg {
  width: 20px;
  height: 20px;
}

.gallery-card {
  flex: 0 0 380px;
  min-width: 380px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1 !important;
}

.gallery-card:hover {
  transform: translateY(-12px);
  border-color: rgba(97, 142, 255, 0.4);
  box-shadow: 
    0 20px 60px rgba(11, 95, 246, 0.3),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
}

.gallery-image {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(11, 95, 246, 0.1) 0%, rgba(97, 142, 255, 0.05) 100%);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 95, 246, 0.2) 0%,
    rgba(13, 6, 71, 0.6) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transform: scale(0.8);
  transition: transform 0.4s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.gallery-card:hover .gallery-icon {
  transform: scale(1);
}

.gallery-icon svg {
  width: 36px;
  height: 36px;
}

.gallery-info {
  padding: 28px;
}

.gallery-info h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, #e0efff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.gallery-info p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}


.gallery-cta p {
  font-size: 20px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 24px !important;
  font-weight: 500 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.cta-button {
  background: linear-gradient(135deg, #0b5ff6 0%, #618eff 100%) !important;
  color: #fff !important;
  border: none !important;
  padding: 18px 40px !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(11, 95, 246, 0.5) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-family: inherit !important;
  text-decoration: none !important;
  line-height: 1 !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 999 !important;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(11, 95, 246, 0.6);
}

.cta-button span {
  transition: transform 0.3s ease;
  display: inline-block !important;
  color: #fff !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.cta-button:hover span {
  transform: translateX(4px);
}

/* Responsive Galerie Carrousel */
@media (max-width: 1024px) {
  .content-gallery {
    padding: 80px 0;
  }

  .gallery-header h2 {
    font-size: 36px;
  }

  .gallery-subtitle {
    font-size: 16px;
  }

  .carousel-container {
    padding: 20px 50px;
    margin: 0 -50px;
  }

  .gallery-card {
    flex: 0 0 320px;
    min-width: 320px;
  }

  .gallery-image {
    height: 200px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
  }

  .carousel-nav svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 640px) {
  .content-gallery {
    padding: 60px 0;
  }

  .gallery-header {
    margin-bottom: 40px;
  }

  .gallery-header h2 {
    font-size: 28px;
  }

  .gallery-subtitle {
    font-size: 15px;
  }

  .carousel-container {
    padding: 0px;
    margin: 0;
  }

  .gallery-grid {
    gap: 20px;
  }

  .gallery-card {
    flex: 0 0 280px;
    min-width: 280px;
  }

  .gallery-image {
    height: 180px;
  }

  .gallery-info {
    padding: 20px;
  }

  .gallery-info h3 {
    font-size: 20px;
  }

  .gallery-info p {
    font-size: 14px;
  }

  .carousel-nav {
    width: 36px;
    height: 36px;
    display: none;
  }

  .gallery-cta {
    padding: 28px 20px;
  }

  .gallery-cta p {
    font-size: 18px;
  }

  .cta-button {
    padding: 14px 28px;
    font-size: 15px;
  }
}


.gallery-cta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
/* ===== Section Étapes de Projet ===== */
.project-steps {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.project-steps .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.steps-header {
  text-align: center;
  max-width: 800px;
  grid-column: 1 / -1;
}

.steps-header h2 {
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #a5d1ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.steps-header p {
  font-size: 18px;
  opacity: 0.85;
  color: rgba(255, 255, 255, 0.7);
}

.steps-container {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 900px;
  position: relative;
}

.step-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.step-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 95, 246, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 20px;
}

.step-item:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 95, 246, 0.3);
  box-shadow: 0 10px 40px rgba(11, 95, 246, 0.2);
}

.step-item:hover::before {
  opacity: 1;
}

.step-number {
  font-size: 64px;
  font-weight: 700;
  background: linear-gradient(135deg, #0b5ff6 0%, #618eff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  min-width: 80px;
  opacity: 0.3;
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(11, 95, 246, 0.2) 0%, rgba(97, 142, 255, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #618eff;
  margin-bottom: 8px;
  border: 1px solid rgba(97, 142, 255, 0.2);
  transition: all 0.3s ease;
}

.step-item:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(11, 95, 246, 0.3) 0%, rgba(97, 142, 255, 0.2) 100%);
  box-shadow: 0 5px 20px rgba(11, 95, 246, 0.3);
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.step-content h3 {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

.step-content p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.step-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, rgba(97, 142, 255, 0.5) 0%, rgba(97, 142, 255, 0.1) 100%);
  margin: 0 auto;
  position: relative;
  transform-origin: top;
}

.step-connector::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #618eff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(97, 142, 255, 0.6);
}

/* Responsive pour les étapes de projet */
@media (max-width: 1024px) {
  .project-steps {
    padding: 60px 0;
  }

  .steps-header h2 {
    font-size: 32px;
  }

  .steps-header p {
    font-size: 16px;
  }

  .step-item {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .step-number {
    font-size: 48px;
    min-width: auto;
  }

  .step-content h3 {
    font-size: 20px;
  }

  .step-content p {
    font-size: 14px;
  }

  .step-connector {
    height: 30px;
  }
}

@media (max-width: 640px) {
  .project-steps {
    padding: 40px 0;
  }

  .steps-header h2 {
    font-size: 24px;
  }

  .steps-header p {
    font-size: 14px;
  }

  .steps-container {
    gap: 30px;
  }

  .step-item {
    padding: 20px;
  }

  .step-number {
    font-size: 40px;
  }

  .step-icon {
    width: 40px;
    height: 40px;
  }

  .step-icon svg {
    width: 24px;
    height: 24px;
  }

  .step-content h3 {
    font-size: 18px;
  }

  .step-connector {
    height: 20px;
  }
}

/* ===== Interactive Showcase Section ===== */
.interactive-showcase {
  margin-top: -15vh;
  padding-top: 10%;
  padding-bottom: 100px; 
  position: relative;
  z-index: 1;
}

.interactive-showcase::before {
  content: "";
  position: absolute;
    top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: calc(20vh + 100%);
  margin-top: -20vh;
  background: linear-gradient(
    0deg,
    #040510 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: -1;
  pointer-events: none;
  transition: background 0.7s ease;
}

.interactive-showcase .content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.showcase-header {
  text-align: center;
  grid-column: 1 / -1;
}

.showcase-subtitle {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.showcase-header h2 {
  font-size: 42px;
  font-weight: 500;
  color: var(--white);
}

.showcase-container {
  display: grid;
  grid-template-columns: 0.8fr 2fr; 
    width: 100%;
  gap: 60px;
  grid-column: 1 / -1;
  min-height: 600px;
  align-items: flex-start;
}

/* Sélecteur à gauche */
.showcase-selector {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 40px;
}

.selector-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 15px;
  padding: 15px 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid transparent;
  padding-left: 20px;
  margin-left: -20px;
}

.selector-item:hover {
  border-left-color: rgba(97, 142, 255, 0.3);
}

.selector-item.active {
  border-left-color: var(--primary);
}

.selector-icon {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
}

.selector-item.active .selector-icon {
  border-color: var(--primary);
  background: var(--primary);
}

.selector-item.active .selector-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 2px;
}

.selector-text {
  font-size: 28px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.selector-item.active .selector-text {
  color: var(--white);
  font-weight: 500;
}

.selector-item:hover .selector-text {
  color: rgba(255, 255, 255, 0.8);
}

.selector-details {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.4s ease;
  margin-top: 0;
}

.selector-item.active .selector-details {
  max-height: 240px;
  opacity: 1;
  margin-top: 15px;
}

.selector-description {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
  margin: 0 0 15px 0;
}

.selector-details button {
  margin-top: 0;
}

.selector-progress {
  width: min(180px, 100%);
  height: 3px;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.35s ease;
}

.selector-item.active .selector-progress {
  opacity: 1;
  transform: translateY(0);
}

.selector-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(97, 142, 255, 0.95) 0%, rgba(181, 208, 255, 0.95) 100%);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Zone d'affichage à droite */
.showcase-display {
  position: relative;
  height: 650px;
  perspective: 1000px;
  overflow: hidden;
}

.showcase-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.showcase-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(100px);
  width: 100%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.showcase-image.active {
  opacity: 1;
  transform: translate(-50%, -50%) translateX(0);
  pointer-events: auto;
}

.showcase-image.exiting {
  opacity: 0;
  transform: translate(-50%, -50%) translateX(-100px);
}

.showcase-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
   }

.showcase-image--duo {
  height: 100%;
}

.showcase-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  height: 100%;
  padding: 4px;
}

.showcase-duo-item {
  position: relative;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.showcase-duo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.showcase-display.is-content-mode .showcase-bubbles {
  opacity: 0;
}

.showcase-image--content {
  height: 100%;
}

.showcase-content-stream {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 224px));
  justify-content: center;
  gap: 22px;
  height: 100%;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 10px 0;
}

.showcase-content-column {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
}

.showcase-content-column::before,
.showcase-content-column::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 2;
  pointer-events: none;
}

.showcase-content-column::before {
  top: 0;
  background: linear-gradient(180deg, rgba(4, 5, 16, 0.98) 0%, rgba(4, 5, 16, 0) 100%);
}

.showcase-content-column::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(4, 5, 16, 0.98) 0%, rgba(4, 5, 16, 0) 100%);
}

.showcase-content-track {
  display: flex;
  flex-direction: column;
  animation: showcaseContentUp 18s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.showcase-content-column--down .showcase-content-track {
  animation-name: showcaseContentDown;
  animation-duration: 20s;
}

.showcase-image.active .showcase-content-track {
  animation-play-state: running;
}

.showcase-content-card {
  flex: 0 0 auto;
  padding-bottom: 18px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.55s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--card-delay, 0s);
}

.showcase-image.active .showcase-content-card {
  opacity: 1;
  transform: translateY(0);
}

.showcase-content-media {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(8, 10, 24, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.showcase-content-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0;
  box-shadow: none;
  object-position: center;
}

@keyframes showcaseContentUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@keyframes showcaseContentDown {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}

/* Bulles avec points d'ancrage */
.showcase-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.showcase-bubble {
  --bubble-top: auto;
  --bubble-right: 8%;
  --bubble-bottom: auto;
  --bubble-left: auto;
  --connector-width: 118px;
  --connector-offset: 38px;
  --connector-angle-top: 136deg;
  --connector-angle-bottom: -136deg;
  position: absolute;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  filter: blur(0px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
  transition-delay: 0.3s;
  pointer-events: none;
}

.showcase-bubble.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition-delay: 0.3s;
  pointer-events: auto;
}

.showcase-bubble[data-position="top"] {
  top: var(--bubble-top);
  right: var(--bubble-right);
  left: var(--bubble-left);
}

.showcase-bubble[data-position="bottom"] {
  bottom: var(--bubble-bottom);
  right: var(--bubble-right);
  left: var(--bubble-left);
}

.showcase-bubble[data-index="0"] {
  --bubble-top: 9%;
  --bubble-right: 8%;
  --connector-width: 126px;
}

.showcase-bubble[data-index="1"] {
  --bubble-bottom: 9%;
  --bubble-right: 10%;
  --connector-width: 240px;
  --connector-offset: 30px;
  --connector-angle-bottom: -156deg;
}

.showcase-bubble[data-index="2"] {
  --bubble-top: 12%;
  --bubble-right: 7%;
  --connector-width: 126px;
}

.showcase-bubble[data-index="3"] {
  --bubble-bottom: 9%;
  --bubble-right: 9%;
  --connector-width: 134px;
}

.showcase-bubble[data-index="4"] {
  --bubble-top: 10%;
  --bubble-right: 8%;
  --connector-width: 118px;
}

.bubble-content {
  background: #1d1f2294;
  backdrop-filter: blur(20px);
    border: 1px solid #618eff;
  border-radius: 16px;
  padding: 20px 24px;
  max-width: 280px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.bubble-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.bubble-content p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
    font-weight: 500;
}

/* Connecteur (ligne + point) */
.bubble-connector {
  position: absolute;
  width: var(--connector-width);
  height: 2px;
}

.showcase-bubble[data-position="top"] .bubble-connector {
  bottom: 8px;
  left: var(--connector-offset);
  transform: rotate(var(--connector-angle-top));
  transform-origin: left center;
}

.showcase-bubble[data-position="bottom"] .bubble-connector {
  top: 8px;
  left: var(--connector-offset);
  transform: rotate(var(--connector-angle-bottom));
  transform-origin: left center;
}

.connector-line {
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, rgba(97, 142, 255, 0.3) 100%);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.5s;
}

.showcase-bubble.active .connector-line {
  width: 100%;
}

.connector-dot {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(97, 142, 255, 0.6);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.8s;
}

.showcase-bubble.active .connector-dot {
  transform: translateY(-50%) scale(1);
}

/* Animation du point qui pulse */
.connector-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  opacity: 0;
}

.showcase-bubble.active .connector-dot::after {
  opacity: 1;
}

@keyframes pulse-dot {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

/* Responsive pour Interactive Showcase */
@media (max-width: 1024px) {
  .showcase-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .showcase-selector {
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 0;
  }

  .selector-item {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 10px 15px;
    margin-left: 0;
    padding-left: 15px;
  }

  .selector-item.active {
    border-left-color: transparent;
  }

  .selector-text {
    font-size: 18px;
  }

  .selector-description {
    display: none;
  }

  .showcase-display {
    order: 1;
    height: 400px;
  }

  .showcase-duo {
    gap: 14px;
  }

  .showcase-content-stream {
    grid-template-columns: repeat(2, minmax(0, 176px));
    gap: 14px;
    width: min(100%, 410px);
    padding: 8px 0;
  }

  .showcase-content-card {
    padding-bottom: 14px;
  }

  .showcase-bubble {
    display: none;
  }
}

@media (max-width: 640px) {
  .interactive-showcase {
    padding: 60px 0;
  }

  .selector-item button{
    display: none;
  }

  .showcase-header h2 {
    font-size: 28px;
  }

  .showcase-display {
    height: 300px;
  }

  .showcase-duo {
    gap: 10px;
    padding: 2px;
  }

  .showcase-duo-item {
    border-radius: 16px;
  }

  .showcase-content-stream {
    grid-template-columns: repeat(2, minmax(0, 132px));
    gap: 10px;
    width: min(100%, 290px);
    padding: 4px 0;
  }

  .showcase-content-column {
    border-radius: 18px;
  }

  .showcase-content-media {
    border-radius: 16px;
  }

  .selector-text {
    font-size: 16px;
  }

  .selector-icon {
    width: 12px;
    height: 12px;
  }

  .selector-item {
    gap: 10px;
    padding: 8px 12px;
  }
}

/* ===== Shared Site Shell ===== */
header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

header .content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(var(--content), calc(100% - 28px));
  margin: 12px auto 0;
  padding: 14px 18px;
  transition: padding 0.35s ease;
}

header .content > * {
  min-width: 0;
}

header .left {
  justify-self: start;
}

header nav {
  justify-self: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 14px 38px rgba(3, 6, 18, 0);
  transition:
    padding 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease,
    -webkit-backdrop-filter 0.35s ease;
}

header.scrolled nav { 
  background: linear-gradient(180deg, rgba(14, 18, 35, 0.58) 0%, rgba(14, 18, 35, 0.34) 100%);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(3, 6, 18, 0.22);
}

header .logo {
  overflow: hidden;
  width: 36px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

header .logo img,
header div .logo img {
  min-width: 150px;
  width: 150px;
}

header.scrolled .logo {
  width: 150px;
}

header .header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

header button.white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  white-space: nowrap;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header:not(.scrolled) button.white {
  padding: 12px 14px 12px 0;
  gap: 0;
}

header.scrolled button.white,
header:not(.scrolled) button.white:hover,
header:not(.scrolled) button.white:focus-visible {
  padding: 12px 18px;
  gap: 10px;
}

header button.white svg {
  width: 33px;
  padding-left: 0;
  margin: 0;
  flex: 0 0 auto;
}

header button.white:hover svg,
header button.white:focus-visible svg {
  margin-left: 0;
  margin-right: 0;
}

header button.white .btn-text {
  display: block;
  flex: 0 0 auto;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition:
    max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease,
    margin 0.5s ease;
  margin-right: 0;
}

header.scrolled button.white .btn-text {
  max-width: 220px;
  opacity: 1;
  margin-right: 8px;
}

header:not(.scrolled) button.white:hover .btn-text,
header:not(.scrolled) button.white:focus-visible .btn-text {
  max-width: 220px;
  opacity: 1;
  margin-right: 8px;
}

header .lang-dropdown {
  position: relative;
  margin-left: 0;
  z-index: 220;
}

header .lang-dropdown .lang-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

header .lang-dropdown .lang-current:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(165, 209, 255, 0.24);
  box-shadow: 0 16px 30px rgba(3, 6, 18, 0.18);
}

header .lang-dropdown .lang-current .flag {
  display: none;
}

header .lang-dropdown .lang-current .lang-arrow {
  margin-left: 2px;
  font-size: 10px;
  transition: transform 0.2s ease;
}

header .lang-dropdown:hover .lang-current .lang-arrow,
header .lang-dropdown.open .lang-current .lang-arrow {
  transform: rotate(180deg);
}

header .lang-dropdown .lang-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 164px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(14, 18, 35, 0.94) 0%, rgba(11, 15, 30, 0.92) 100%);
  box-shadow: 0 22px 48px rgba(3, 6, 18, 0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

header .lang-dropdown:hover .lang-options,
header .lang-dropdown.open .lang-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

header .lang-dropdown .lang-options a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

header .lang-dropdown .lang-options a:hover {
  background: rgba(97, 142, 255, 0.12);
  color: rgba(255, 255, 255, 0.98);
}

header .lang-dropdown .lang-options a.active-lang {
  background: rgba(97, 142, 255, 0.18);
  color: #ffffff;
  font-weight: 600;
}

header .lang-dropdown .lang-options .flag {
  font-size: 17px;
  line-height: 1;
}

header.scrolled .lang-dropdown .lang-current {
  background: linear-gradient(180deg, rgba(14, 18, 35, 0.58) 0%, rgba(14, 18, 35, 0.34) 100%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgba(3, 6, 18, 0.18);
}

.mobile-menu .lang-dropdown {
  position: relative;
  margin-top: 8px;
}

.mobile-menu .lang-dropdown .lang-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}

.mobile-menu .lang-dropdown .lang-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.mobile-menu .lang-dropdown.open .lang-arrow {
  transform: rotate(180deg);
}

.mobile-menu .lang-dropdown .lang-options {
  position: relative;
  top: 10px;
  width: min(260px, 80vw);
  max-height: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu .lang-dropdown.open .lang-options {
  max-height: 220px;
  padding: 8px;
  opacity: 1;
  visibility: visible;
}

.mobile-menu .lang-dropdown .lang-options a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 15px;
}

.mobile-menu .lang-dropdown .lang-options a:hover,
.mobile-menu .lang-dropdown .lang-options a.active-lang {
  background: rgba(97, 142, 255, 0.16);
}

footer h1 .footer-word {
  display: inline-flex;
  align-items: center;
}

footer h1 .footer-word--main,
footer h1 .footer-word--main .footer-char {
  font-size: 160px;
}

footer h1 .footer-word--accent,
footer h1 .footer-word--accent .footer-char {
  font-size: 120px;
}

footer h1 .footer-char {
  display: inline-block;
  font-size: inherit;
  will-change: transform, opacity;
}

@media (max-width: 768px) {
  footer h1 .footer-word--main,
  footer h1 .footer-word--main .footer-char {
    font-size: 25vw;
  }

  footer h1 .footer-word--accent,
  footer h1 .footer-word--accent .footer-char {
    font-size: 22vw;
  }
}
