@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Roboto+Mono:wght@400;500&family=Anton&display=swap&text=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.,!?@#$%^&*()');

/* Variables d'espacement */
:root {
    --spacing-xxs: 0.25rem;  /* 4px - encore plus petit */
    --spacing-xs: 0.5rem;   /* 8px */
    --spacing-sm: 1rem;     /* 16px */
    --spacing-md: 2rem;     /* 32px */
    --spacing-lg: 3rem;     /* 48px */
    --spacing-xl: 4rem;     /* 64px */
    --spacing-2xl: 6rem;    /* 96px */
    --spacing-3xl: 8rem;    /* 128px */
}

/* Helvetica Now Display Font Declarations */
@font-face {
    font-family: 'Helvetica Now Display';
    src: url("../fonts/Helvetica Now Display Font/HelveticaNowDisplay-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Now Display';
    src: url("../fonts/Helvetica Now Display Font/HelveticaNowDisplay-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Now Display';
    src: url("../fonts/Helvetica Now Display Font/HelveticaNowDisplay-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

.main-header {
    width: 100%;
    padding: 2px;
    position: fixed;
    top: 20px;
    left: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

.header-hidden {
    transform: translateY(-110%);
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 80px;
    will-change: transform;
    transform: translateZ(0);
    color: #000000;
}

[data-theme="dark"] .header-container {
    background-color: rgba(18, 18, 18, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: #ffffff;
}

.header-left, .header-center, .header-right {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 32px;
}

.header-left {
    justify-content: flex-start;
}

.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
}

.header-right {
    justify-content: flex-end;
}

#logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0;
}

.header-container .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.header-container .logo img {
    height: 24px;
    width: auto;
    transition: transform 0.3s ease;
    display: block;
}

.header-container .logo:hover img {
    transform: scale(1.05);
}

.signup-button {
    box-shadow: 0 20px 30px -10px rgba(141, 137, 166, 0.6);
    padding: 16px 24px 16px;
    letter-spacing: 0px;
    display: inline-block;
    border-radius: 12px;
    font-family: "Helvetica Now Display", sans-serif;
    font-weight: 700;
    text-align: center;
    position: relative;
    background: #8D89A6;
    cursor: pointer;
    color: #fff;
    width: auto;
    z-index: 2;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.signup-button:hover {
    background: #7A7691;
}

[data-theme="dark"] .signup-button:before {
    display: none;
}

@media (max-width: 900px) {
    .header-container {
        padding: 2px 12px;
        min-height: 32px;
    }
    
    .header-container .logo img {
        height: 20px;
    }
    
    .signup-button {
        padding: 14px 20px 12px;
        font-size: 14px;
        margin-top: -10px !important;
    }
}

* {
    text-decoration: none;
    list-style: none;
    outline: none;
    border: none;
    padding: 0;
    margin: 0
}

*,
*:before,
*:after {
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

html,
body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0
}

body {
    background-color: #ffffff;
    color: #000000;
    font-family: 'Roboto Mono', monospace;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon {
    vertical-align: middle;
    position: relative;
    margin-top: -2px;
    height: 20px;
    width: 20px
}

img {
    pointer-events: none
}

img {
    max-width: 100%
}

a,
.icon {
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease
}

*::-webkit-selection {
    background-color: #000000;;
    color: #fff
}

*::-moz-selection {
    background-color: #000000;;
    color: #fff
}

*::selection {
    background-color: #000000;;
    color: #fff
}

::-webkit-scrollbar {
    display: none
}

.flex-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.center {
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%
}

.center-y {
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    position: absolute;
    top: 50%
}

.center-x {
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    position: absolute;
    left: 50%
}


@font-face {
    font-family: 'neue-haas-grotesk-display';
    src: url("../fonts/neue-haas-grotesk-display.woff2") format("woff2"),
         url("../fonts/neue-haas-grotesk-display.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    text-decoration: none;
    list-style: none;
    outline: none;
    border: none;
    padding: 0;
    margin: 0
}

*,
*:before,
*:after {
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

html,
body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.icon {
    vertical-align: middle;
    position: relative;
    margin-top: -2px;
    height: 20px;
    width: 20px
}

img {
    pointer-events: none
}

img {
    max-width: 100%
}

a,
.icon {
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease
}

*::-webkit-selection {
    background-color: #000000;;
    color: #fff
}

*::-moz-selection {
    background-color: #000000;;
    color: #fff
}

*::selection {
    background-color: #000000;;
    color: #fff
}

::-webkit-scrollbar {
    display: none
}

.flex-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.center {
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%
}

.center-y {
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    position: absolute;
    top: 50%
}

.center-x {
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    position: absolute;
    left: 50%
}

input {
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: 0
}

input:hover,
input:active,
input:focus {
    outline: none
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 40px #fff inset !important;
    -webkit-text-fill-color: #222 !important
}

::-webkit-input-placeholder {
    color: #222
}

:-ms-input-placeholder {
    color: #222
}

::-moz-placeholder {
    color: #222
}

:-moz-placeholder {
    color: #222
}

.show-mobile {
    display: none
}

@media (max-width: 900px) {
    .hide-mobile {
        display: none !important
    }

    .show-mobile {
        display: block !important
    }
}

/*# sourceMappingURL=styles.css.map */


/* Ajout des variables CSS pour les thèmes */
:root {
    --background-color: #ffffff;
    --text-color: #000000;
    --header-bg: rgba(255, 255, 255, 0.98);
    --header-shadow: rgba(0, 0, 0, 0.08);
    --button-bg: #8D89A6;
    --button-text: #ffffff;
    --button-hover: #7A7691;
    --primary-color: #7A7691;
}

[data-theme="dark"] {
    --background-color: #1a1a1a;
    --text-color: #ffffff;
    --header-bg: rgba(26, 26, 26, 0.98);
    --header-shadow: rgba(0, 0, 0, 0.2);
    --button-bg: #8D89A6;
    --button-text: #ffffff;
    --button-hover: #7A7691;
    --primary-color: #7A7691;
}

/* Application des variables */
body {
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header-container {
    background-color: var(--header-bg);
    box-shadow: 0 4px 12px var(--header-shadow);
}

.signup-button {
    background-color: var(--button-bg);
    color: var(--button-text);
}

.signup-button:hover {
    background-color: var(--button-hover);
}

/* Styles pour le bouton de basculement du thème */
.theme-toggle {
    width: 56px;
    height: 32px;
    border-radius: 16px;
    background: #e9e9ea;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-right: 12px;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    left: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Styles des icônes */
.theme-toggle svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.theme-toggle .sun-icon {
    left: 8px;
    opacity: 1;
    stroke: #777;
}

.theme-toggle .moon-icon {
    right: 8px;
    opacity: 0;
    stroke: #777;
}

/* Mode clair (par défaut) */
.theme-toggle .sun-icon {
    stroke-width: 2px;
}

/* Mode sombre */
[data-theme="dark"] .theme-toggle {
    background: #2c2c2c;
}

[data-theme="dark"] .theme-toggle::before {
    transform: translateX(24px);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    opacity: 0;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    opacity: 1;
    stroke: #ffffff;
    stroke-width: 2.5px;
}

/* Animation de survol */
.theme-toggle:hover::before {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .theme-toggle:hover::before {
    transform: translateX(24px);
}

/* Ajustements pour le mode sombre */
[data-theme="dark"] img {
    filter: brightness(0.8);
}

[data-theme="dark"] .features .feature {
    background-color: rgba(255, 255, 255, 0.1);
}


.main-title-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
    padding: var(--spacing-3xl) var(--spacing-sm) var(--spacing-lg);
    text-align: center;
    position: relative;
}

.main-title-section:first-of-type {
    padding-top: 11.25rem; /* 180px */
    padding-bottom: var(--spacing-sm);
}

.scroll-title {
    text-align: left;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.title-line {
    font-family: 'Hanson-Bold';
    font-size: 60px;
    line-height: 1.25;
    letter-spacing: 2px;
    margin: var(--spacing-sm) auto var(--spacing-xs);
    padding: 0;
    color: #000;
    text-align: center;
    font-weight: 700;
    width: 90%;
    max-width: 1100px;
}

[data-theme="dark"] .title-line {
    color: #fff;
}

.line-right {
    transform: translateX(0);
}

.line-left {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .main-title-section {
        padding: 6.25rem var(--spacing-sm) 8.75rem;
    }
    
    .scroll-title {
        gap: var(--spacing-md);
    }
    
    .title-line {
        font-size: 25px !important;
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        padding: 0;
        max-width: none;
    }
}

.title-description {
    font-family: 'Roboto Mono', monospace;
    font-size: 22px;
    line-height: 1.6;
    text-align: left;
    max-width: 1000px;
    margin: 0;
    margin-top: var(--spacing-md); /* ← SUPPRIMEZ ça */
    font-weight: normal;
    padding-left: clamp(180px, 20vw, 260px); /* ← Padding responsive */
    padding-right: var(--spacing-sm); /* ← SUPPRIMEZ ça */
    color: #222;
    width: 95%;
    transform: translateY(-10px); /* ← MODIFIEZ ça */
    font-style: italic;
}

.main-title-section .signup-button {
    display: block;
    margin: 0px auto 0;
    width: fit-content;
}

@media (max-width: 768px) {
    .title-description {
        font-size: 14px;
        margin-top: var(--spacing-md);
        padding: 0 var(--spacing-sm);
        text-align: left;
        padding-right: 25%; /* Plus d'espace à droite */
        margin-bottom: 30px;
    }
}

.rotating-cta {
    text-align: center;
    margin-top: calc(var(--spacing-xxs) - var(--spacing-md));
    height: 24px;
}

.cta-text {
    font-family: "Helvetica Now Display", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    position: absolute;
    width: 100%;
    left: 0;
    top: auto;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.cta-text.active {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="dark"] .cta-text {
    color: #ffffff;
}

@media (max-width: 900px) {
    .rotating-cta {
        height: 20px;
        margin-bottom: -40px;
    }
    .cta-text {
        font-size: 14px;
    }
}

.section-separator {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Règle spécifique pour le séparateur après la section hero */
.main-title-section:first-of-type + .section-separator {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    transform: translateY(-100px);
    margin-bottom: -100px; /* ← Réduisez la marge du bas */
}

@media (max-width: 768px) {
  .main-title-section:first-of-type + .section-separator {
      transform: translateY(-120px); /* Plus proche */
      margin-top: -50px;
  }
}

.section-separator hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    margin: 0;
}

[data-theme="dark"] .section-separator hr {
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
}

/* Contrôle de l'espacement avec les sélecteurs adjacents */
section + .section-separator {
    margin-top: var(--spacing-md);
}

.section-separator + section {
    margin-top: var(--spacing-md);
}

/* Cas spéciaux pour certaines sections */
.solution-content + .section-separator {
    margin-top: var(--spacing-md);
}

section:has(.solution-content) + .section-separator {
    margin-top: var(--spacing-md);
}

.main-title-section.problematique {
    min-height: 0;
    padding: var(--spacing-lg) 0;
    margin-top: 0;
}

.main-title-section.problematique .scroll-title {
    padding: 0;
}

.main-title-section.problematique .title-line {
    font-size: 2.5rem;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: var(--spacing-lg) 0;
}

@media (max-width: 768px) {
    .main-title-section.problematique .title-line {
        font-size: 22px;
        padding: 0 var(--spacing-sm);
    }
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: -20px auto var(--spacing-sm);
    padding: 0 var(--spacing-md);
    position: relative;
    min-height: auto;
    overflow: visible;
}

.stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: var(--spacing-md);
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
    will-change: transform;
    transform: translateZ(0);
    color: #000000;
    background-color: rgba(255, 255, 255, 0.95);
    min-height: 200px;
}

[data-theme="dark"] .stat-card {
    background: #2a2a2a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    background-color: rgba(18, 18, 18, 0.85);
}

.stat-card:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

[data-theme="dark"] .stat-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Effet de décalage des cartes adjacentes */
.stats-cards:hover .stat-card:not(:hover) {
    transform: scale(0.95);
    opacity: 0.8;
}

/* Première carte survolée */
.stats-cards .stat-card:first-child:hover ~ .stat-card {
    transform: translateX(40px) scale(0.95);
}

/* Deuxième carte survolée */
.stats-cards .stat-card:nth-child(2):hover {
    transform: scale(1.1);
}

.stats-cards .stat-card:nth-child(2):hover + .stat-card {
    transform: translateX(40px) scale(0.95);
}

.stats-cards .stat-card:nth-child(2):hover ~ .stat-card {
    transform: translateX(40px) scale(0.95);
}

.stats-cards .stat-card:nth-child(2):hover ~ .stat-card:last-child {
    transform: translateX(40px) scale(0.95);
}

/* Troisième carte survolée */
.stats-cards .stat-card:last-child:hover {
    transform: scale(1.1);
}

/* Effet de décalage inverse pour les cartes précédentes lors du survol */
.stats-cards:hover .stat-card:hover ~ .stat-card {
    transform: translateX(40px) scale(0.95);
}

.stats-cards:hover .stat-card:not(:hover) {
    transform: translateX(-20px) scale(0.95);
}

/* Réinitialisation des transformations quand aucune carte n'est survolée */
.stats-cards:not(:hover) .stat-card {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.stat-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #000;
    opacity: 0.8;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-icon {
    transform: scale(1.2) rotate(5deg);
}

[data-theme="dark"] .stat-icon {
    color: #fff;
}

.stat-content {
    margin-top: 1rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-content {
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Helvetica Now Display', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #000;
    transition: all 0.3s ease;
}

.stat-number-problem {
    font-family: 'Helvetica Now Display', sans-serif;
    font-weight: 600;
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #000;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: none;
    color: #b789d2;
}

.stat-card:hover .stat-number-problem {
    transform: none;
    color: #b789d2;
}

[data-theme="dark"] .stat-number {
    color: #fff;
}

[data-theme="dark"] .stat-number-problem {
    color: #fff;
}

.stat-description {
    font-family: "Helvetica Now Display", sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.4;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .stat-description {
    color: #999;
}

.stat-description .highlight {
    color: #b789d2;
    font-family: "Helvetica Now Display", sans-serif;
    font-weight: 700;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-description .highlight {
    color: #b789d2;
}

@media (max-width: 900px) {
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1.5rem;
        margin-top: 20px;
        margin-bottom: -20px;
    }

    .stat-card {
        padding: 1.5rem;
        min-height: 160px; /* Réduction de la hauteur sur mobile */
    }

    .stat-number, .stat-number-problem {
        font-size: 35px;
    }

    .stat-description {
        font-size: 14px;
    }
}

.solution-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: -30px;
  width: 100%;
  position: relative;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--spacing-md);
}

.solution-text {
  flex: 0 0 500px; /* Largeur fixe pour éviter la compression */
  position: sticky;
  top: 80px;
  padding-right: 24px;
  height: fit-content; /* Pour que le sticky fonctionne correctement */
  align-self: flex-start;
}

.solution-text p {
  font-family: 'Roboto Mono', monospace;
  font-size: 20px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 2rem;
  text-align: left;
}

[data-theme="dark"] .solution-text p {
  color: #fff;
}

.solution-content > .solution-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
  margin-top: -225px;
  padding-bottom: var(--spacing-xs);
  min-width: 0; /* Empêche le débordement */
}

.solution-cards .stat-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: sticky;
  margin-bottom: 0px;
  width: 100%;
  height: 240px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  will-change: transform, opacity;
  background: rgba(18, 18, 18, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Restauration de la couleur violette des titres */
.solution-cards .stat-card .stat-number {
  color: #b789d2 !important;
  font-size: clamp(20px, calc(16px + 2vw), 32px);
  line-height: 1.2;
  margin-bottom: 12px;
  font-family: 'Helvetica Now Display', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Ajustement de la description pour maintenir la cohérence */
.solution-cards .stat-card .stat-description {
  font-size: clamp(14px, calc(12px + 0.5vw), 16px);
  line-height: 1.6;
  color: #ffffff;
  font-family: "Helvetica Now Display", sans-serif;
  font-weight: 500;
}

/* Positions sticky uniformes pour toutes les cartes */
.solution-cards .stat-card:nth-child(1),
.solution-cards .stat-card:nth-child(2),
.solution-cards .stat-card:nth-child(3),
.solution-cards .stat-card:nth-child(4) {
  top: 80px;
}

/* Media queries */
@media (max-width: 1200px) {
  .solution-content {
    gap: 24px;
  }

  .solution-text {
    flex: 0 0 350px; /* Réduit pour donner plus d'espace aux cartes */
  }

  .solution-text p {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .solution-content {
    gap: 20px;
    padding: 0 var(--spacing-sm);
  }

  .solution-text {
    flex: 0 0 300px; /* Encore plus petit pour les cartes */
  }

  .solution-text p {
    font-size: 14px;
  }

  .solution-content > .solution-cards {
    gap: var(--spacing-sm);
    margin-top: -200px; /* Ajusté pour un meilleur espacement */
  }

  .solution-cards .stat-card {
    height: 220px;
    padding: 1.25rem; /* Plus de padding pour éviter le débordement */
  }
}

@media (max-width: 768px) {
  .solution-content {
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: 0;
  }

  .solution-text {
    position: relative;
    top: 0;
    padding-right: 0;
    width: 100%;
    flex: none;
  }

  .solution-content > .solution-cards {
    width: 100%;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    margin-bottom: -60px !important;
  }

  .solution-cards .stat-card {
    height: 200px;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
  }
}

/* Ajustements pour éviter les débordements */
.solution-cards .stat-card.visible {
  opacity: 1;
  transform: translateY(0);
  max-width: 100%; /* Empêche le débordement horizontal */
}

/* Amélioration de la performance */
.solution-cards {
  transform: translateZ(0); /* Active l'accélération matérielle */
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Styles pour les cartes flip dans la section service */
.service-card-container {
  position: relative;
  width: 100%;
  height: 200px;
  margin: -15px 0 30px 0 !important;
  perspective: 1000px;
  border-radius: 20px;
}

.card {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s;
  cursor: pointer;
  border-radius: 20px;
  overflow: visible;
  background: rgba(18, 18, 18, 1);
}

.service-card:hover:not(.flipped) {
  box-shadow: none;
  transform: translateY(-5px);
  transition: transform 0.3s ease;
  background: rgba(18, 18, 18, 1);
}

.service-card:hover:not(.flipped) .service-card-front {
  background: rgba(18, 18, 18, 1);
}

.service-card:hover:not(.flipped) .stat-number {
  color: #b789d2;
}

.service-card.flipped {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 3rem;
  background: rgba(18, 18, 18, 1);
  color: #ffffff;
  overflow: hidden;
}

.service-card-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  transform: rotateY(0deg);
}

.service-card-front .stat-number {
  font-family: 'Helvetica Now Display', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 30px;
}

.service-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
  text-align: center;
}

.service-card-back p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    font-family: 'Roboto Mono', monospace;
}

[data-theme="dark"] .service-card-front,
[data-theme="dark"] .service-card-back {
  background: rgba(18, 18, 18, 0.5);
  color: #ffffff;
}

/* Supprimer les styles inutiles des listes */
/* .service-card-back ul,
.service-card-back li,
.service-card-back h3 {
  display: none;
} */

/* Styles spécifiques pour la grille des cartes de service */
.solution-cards .service-card-container {
  width: calc(50% - 20px);
  display: inline-block;
  vertical-align: top;
}

/* Créer une grille 2x2 pour les cartes de service */
.solution-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Styles responsifs pour la grille de service */
@media (max-width: 900px) {
  .solution-cards .service-card-container {
    width: 100%;
  }
  
  .solution-cards {
    gap: 20px;
  }
}

/* Préserver les styles originaux pour les cartes de la section solution */
.solution-content:not(:has(.service-card-container)) .solution-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.solution-content:not(:has(.service-card-container)) .stat-card {
  margin-bottom: 24px;
}

/* Styles spécifiques pour la section services */
.services-section .solution-content {
  display: block;
  margin-top: 30px;
}

.services-section .solution-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-section .service-card-container {
  width: 100%;
  height: 240px;
}

/* Styles responsifs pour la section services */
@media (max-width: 900px) {
  .services-section .solution-cards {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 1.5rem;
  }

  .services-section .service-card-container {
    height: 280px;
  }
}

/* Préserver les styles originaux pour la section solution */
.solution-content:not(.services-grid) {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.solution-content:not(.services-grid) .solution-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Styles pour la grille des cartes de service */
.services-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-grid .solution-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
}

.services-grid .service-card-container {
  width: 100%;
  height: 240px;
  margin: 0;
}

/* Styles responsifs */
@media (max-width: 900px) {
  .services-grid .solution-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-grid .service-card-container {
    height: 280px;
  }
}

/* Préserver les styles de la section solution */
.solution-content:not(.services-grid) {
  display: flex;
  flex-direction: row;
  gap: 48px;
}

.solution-content:not(.services-grid) .solution-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Animation pour indiquer que les cartes sont cliquables */
@keyframes cardPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
}

@keyframes clickHint {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Supprimer le texte au survol */
.service-card-container::before {
  display: none;
}

.service-card-container:hover::before {
  display: none;
}

/* Styles pour l'icône de clic */
.click-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 2;
}

.click-icon img {
  width: 100%;
  height: 100%;
  opacity: 0.7;
  animation: tapPulse 2s ease-in-out infinite;
}

@keyframes tapPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

[data-theme="dark"] .click-icon img {
  filter: invert(1);
}

.service-card.flipped .click-icon {
  display: none;
}

/* Testimonials Section Styles */
.testimonials-grid {
  display: flex;
  justify-content: center;
  margin: -10px auto 35px;
  padding: 0 20px;
  width: 100%;
}

.testimonial-card {
  background: rgba(18, 18, 18, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-items: center;
  text-align: center;
  color: #ffffff;
  width: calc(100% - 40px);
}

@media (max-width: 768px) {
  .testimonials-grid {
    padding: 0 10px;
  }
  
  .testimonial-card {
    width: calc(100% - 20px);
    margin-bottom: -40px;
  }
  
  .testimonial-text {
    font-size: 14px !important;
  }
  .author-name {
    font-size: 14px !important;
  }
  
  .author-title {
    font-size: 14px !important;
  }
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .testimonial-card {
  background: rgba(18, 18, 18, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stars {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.star {
  width: 20px;
  height: 20px;
}

.testimonial-text {
  font-family:"Roboto Mono", monospace;
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

.testimonial-text .highlight {
  color: #b789d2;
  font-family: "Roboto Mono", monospace;
  font-weight: 500;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  text-align: center;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.author-name {
  font-family: "Roboto Mono", monospace;
  font-size: 1.1rem;
  margin: 0;
  color: #ffffff;
  font-weight: 500;
}

.author-title {
  font-family: "Roboto Mono", monospace;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
}

@media (max-width: 768px) {
  .testimonial-text {
    font-size: 14px !important;
  }
}

/* Styles pour l'effet machine à écrire */
.typewriter-title {
  font-family: 'Roboto Mono', monospace;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.4;
  display: inline-block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  overflow: visible;
  color: var(--text-color);
}

.typewriter-cursor {
  display: inline-block;
  margin-left: 2px;
  font-weight: 100;
  color: var(--text-color);
}

.typewriter-cursor.blink {
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Ajustements pour le conteneur du titre */
.main-title-section.problematique .title-line {
  font-size: 2.5rem;
  line-height: 1.2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  overflow: visible;
  white-space: normal;
}

@media (max-width: 768px) {
  .main-title-section.problematique .title-line {
    font-size: 14px;
    padding: 0 20px;
    white-space: normal;
  }
}

.quote-section {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.title-line.quote {
    font-family: 'Hanson Bold', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 1.4;
    text-align: center;
    max-width: 800px;
    margin: -70px auto -140px !important;    
    font-style: italic;
    color: #000;
}

@media (max-width: 768px) {
  .title-line.quote {
    font-size: 2rem;
    padding: 0 1.5rem;
  }
}

.about-content {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 0 2rem;
}

.about-image {
  flex: 0 0 300px;
}

.about-profile-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: -25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about-image {
    margin-top: -40px !important; 
  }
}

.about-text {
  flex: 1;
}

.about-text p {
    font-family: 'Roboto Mono', monospace;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 3rem; /* Espacement augmenté entre les paragraphes */
    margin-top: -20px;
    text-align: left;
}

.about-text p:last-child {
    margin-bottom: 0; /* Pas de marge pour le dernier paragraphe */
}

.about-image {
  flex: 0 0 400px;
  position: sticky;
  top: 120px;
}

.image-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.profile-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

[data-theme="dark"] .image-container {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .image-container:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1024px) {
  .about-content {
    gap: 3rem;
  }

  .about-image {
    flex: 0 0 350px;
  }

  .about-text p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column-reverse;
    gap: 2rem;
    margin-top: 3rem;
  }

  .about-image {
    position: relative;
    top: 0;
    width: 200px; /* Largeur fixe plus petite */
    max-width: none; /* Enlève la contrainte max-width */
    margin: 0; /* Supprime le centrage automatique */
    align-self: flex-start; /* Aligne à gauche */
    flex: none;
  }

  .about-text p {
    font-size: 14px;
    margin-bottom: 50px;
  }
}

/* Styles pour l'animation de texte défilant */
.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  padding: 2rem 0; /* Réduit le padding vertical */
  margin: 2rem 0;
}

.marquee-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  margin-bottom: 1rem; /* Réduit l'espacement entre les lignes */
}

.marquee-wrapper:last-child {
  margin-bottom: 0; /* Supprime la marge du dernier wrapper */
}

.marquee {
  white-space: nowrap;
  will-change: transform;
  display: inline-block;
  animation: marquee 38s linear infinite; /* Vitesse uniforme pour les deux lignes */
}

.marquee.reverse {
  animation-name: marquee-reverse; /* Animation séparée pour le sens inverse */
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Ajustement des styles responsifs */
@media (max-width: 768px) {
  .marquee-container {
    padding: 1.5rem 0;
  }
  
  .marquee-wrapper {
    margin-bottom: 0.5rem; /* Espacement encore plus réduit sur mobile */
  }
}

/* Ajout d'un effet de fondu sur les bords */
.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 2;
}

.marquee-container::before {
  left: 0;
  background: none;
}

.marquee-container::after {
  right: 0;
  background: none;
}

.marquee span {
  font-family: 'Anton', sans-serif;
  font-size: 6rem;
  padding: 0 1.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
  font-weight: 900;
  color: var(--text-color);
  display: inline-block;
  vertical-align: middle;
  line-height: 1.2;
}

.marquee .star-icon {
  font-size: 3.5rem;
  color: #b789d2;
  opacity: 0.8;
  padding: 0 1.5rem;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .marquee span {
    font-size: 3.5rem;
    padding: 0 0.8rem;
  }
  
  .marquee .star-icon {
    font-size: 2.5rem;
    padding: 0 0.8rem;
  }
}

/* FAQ Section Styles */
.faq-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-title {
    font-family: 'Helvetica Now Display', sans-serif;
    font-weight: 700;
    font-size: 36px;
    text-align: center;
    margin-bottom: 25px;
    margin-top: -20px;
    color: #000;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--background-color);
}

.faq-question {
  padding: 1rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  background: var(--background-color);
  font-size: 1.1rem;
  color: #ffffff;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  font-family: 'Roboto Mono', monospace;
  font-size: 16px;
  line-height: 1.6;
  color: #b789d2;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1rem 1.5rem;
  opacity: 1;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .faq-item {
  background: var(--background-color);
}

@media (max-width: 768px) {
  .faq-section {
    padding: 3rem 1rem;
  }

  .faq-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .faq-container {
    gap: 0.375rem;
  }

  .faq-question {
    padding: 0.875rem 1.25rem;
    font-size: 14px;
  }

  .faq-answer {
    font-size: 14px;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.25rem 0.875rem 1.25rem;
  }
}


/* Add these new styles for text color */
.main-title-section .title-line,
.main-title-section .title-description,
.main-title-section p:not(.stat-card *),
.section p:not(.stat-card *),
.section h1:not(.stat-card *),
.section h2:not(.stat-card *),
.section h3:not(.stat-card *) {
    color: #000000;
}

[data-theme="dark"] .main-title-section .title-line,
[data-theme="dark"] .main-title-section .title-description,
[data-theme="dark"] .main-title-section p:not(.stat-card *),
[data-theme="dark"] .section p:not(.stat-card *),
[data-theme="dark"] .section h1:not(.stat-card *),
[data-theme="dark"] .section h2:not(.stat-card *),
[data-theme="dark"] .section h3:not(.stat-card *) {
    color: #ffffff;
}

/* Ensure text in cards remains dark/readable */
.stat-card,
.service-card,
.solution-cards .stat-card {
    color: #ffffff;
    background-color: rgba(18, 18, 18, 0.85);
}

[data-theme="dark"] .stat-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .solution-cards .stat-card {
    color: #ffffff;
    background-color: rgba(18, 18, 18, 0.85);
}

.service-card-front,
.service-card-back {
    background: rgba(18, 18, 18, 0.85);
    color: #ffffff;
}

[data-theme="dark"] .service-card-front,
[data-theme="dark"] .service-card-back {
    background: rgba(18, 18, 18, 0.5);
    color: #ffffff;
}

/* Ensure text in cards remains light/readable */
.stat-card .stat-number,
.service-card .stat-number,
.solution-cards .stat-card .stat-number {
    color: #ffffff;
}

.stat-card .stat-description,
.service-card p,
.solution-cards .stat-card .stat-description {
    color: #ffffff;
}

[data-theme="dark"] .stat-card .stat-number,
[data-theme="dark"] .service-card .stat-number,
[data-theme="dark"] .solution-cards .stat-card .stat-number {
    color: #ffffff;
}

[data-theme="dark"] .stat-card .stat-description,
[data-theme="dark"] .service-card p,
[data-theme="dark"] .solution-cards .stat-card .stat-description {
    color: #ffffff;
}

/* Adjust the rotating CTA text color */
.rotating-cta .cta-text {
    color: #ffffff;
}

/* Keep the header text in its original color */
.header-container {
    color: #000000;
}

[data-theme="dark"] .header-container {
    color: #ffffff;
}

/* Indicateur de scroll */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    margin: 0 auto; /* Centre horizontalement */
    margin-bottom: 20px; /* Remplace votre bottom: -100px */
}

/* Barre principale */
.scroll-bar {
    width: 5px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

/* Barre animée à l'intérieur */
.scroll-thumb {
    width: 100%;
    height: 15px;
    background: linear-gradient(180deg, #b789d2, #7A7693);
    border-radius: 2px;
    position: absolute;
    animation: scrollMove 4s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(141, 137, 166, 0.5);
}

/* Animation de mouvement */
@keyframes scrollMove {
    0% {
        top: 0;
        opacity: 0.7;
    }
    25% {
        opacity: 1;
    }
    50% {
        top: 34px;
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        top: 0;
        opacity: 0.7;
    }
}

/* Texte "SCROLL" */
.scroll-text {
    margin-top: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Style responsive */
@media (max-width: 768px) {
    .scroll-indicator {
        margin: var(--spacing-lg) auto;
    }
    
    .scroll-bar {
        height: 40px;
        width: 4px;
    }
    
    .scroll-thumb {
        height: 12px;
    }
    
    .scroll-text {
        font-size: 0.7rem;
    }
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .main-container {
        padding: 0 20px;
    }
}

/* Ajustement pour que le texte défilant reste en pleine largeur */
.marquee-container {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}

.main-title-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: visible;
}

.profile-image {
  
}

.hero-profile-image {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1;
  
  left: calc(50% - clamp(320px, 40vw, 420px));    
  /* Plus la fenêtre est petite, plus l'image descend */
  top: calc(100vh - clamp(400px, 60vh, 600px));
}

@media (max-width: 768px) and (min-width: 481px) {
  .hero-profile-image {
    left: auto;
    right: clamp(15px, 5vw, 60px); /* Encore plus proche du bord */    
    top: calc(100vh - clamp(375px, 68vh, 575px));
    width: clamp(60px, 15vw, 80px);
    height: clamp(60px, 15vw, 80px);
  }
}

/* Mode mobile (480px et moins) */
@media (max-width: 480px) {
  .hero-profile-image {
    left: auto;
    right: clamp(20px, 8vw, 80px); /* Plus proche du bord */
    top: calc(100vh - clamp(400px, 70vh, 550px)); /* Plus basse */
    width: clamp(70px, 18vw, 100px); /* Taille augmentée */
    height: clamp(70px, 18vw, 100px); /* Taille augmentée */
  }
}

/* Effet de surlignage sophistiqué */
.title-description .highlight-growth {
    position: relative;
    z-index: 1;
}

.title-description .highlight-growth::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 100%;
    background: linear-gradient(
        45deg,
        rgba(250, 190, 132, 0.5) 0%,
        rgba(250, 190, 132, 0.8) 25%,
        rgba(250, 190, 132, 0.6) 50%,
        rgba(250, 190, 132, 0.7) 75%,
        rgba(250, 190, 132, 0.5) 100%
    );
    border-radius: 8px 12px 6px 10px;
    transform: skewX(-1deg) rotate(-0.5deg);
    filter: blur(0.3px);
    box-shadow: 
        2px 2px 4px rgba(250, 190, 132, 0.3),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);
    transform-origin: left;
    animation: highlightGrowth 0.6s ease-out forwards;
}

@keyframes highlightGrowth {
    from {
        transform: skewX(-1deg) rotate(-0.5deg) scaleX(0);
    }
    to {
        transform: skewX(-1deg) rotate(-0.5deg) scaleX(1);
    }
}

/* Effet de surlignage réaliste */
.title-description .highlight-growth {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0 2px;
}

.title-description .highlight-growth::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -2px;
    right: -2px;
    top: 25%;
    height: 75%;
    background: linear-gradient(
        45deg,
                 rgba(250, 190, 132, 0.5) 0%,
         rgba(250, 190, 132, 0.85) 15%,
         rgba(250, 190, 132, 0.95) 25%,
         rgba(250, 190, 132, 0.8) 48%,
         rgba(250, 190, 132, 0.95) 65%,
         rgba(250, 190, 132, 0.8) 82%,
         rgba(250, 190, 132, 0.6) 100%
    );
    clip-path: polygon(
        0% 15%, 
        2% 10%, 
        5% 12%, 
        10% 8%, 
        15% 11%, 
        20% 9%, 
        25% 12%, 
        30% 8%, 
        35% 10%, 
        40% 13%, 
        45% 8%, 
        50% 10%, 
        55% 12%, 
        60% 9%, 
        65% 11%, 
        70% 8%, 
        75% 10%, 
        80% 13%, 
        85% 11%, 
        90% 9%, 
        95% 12%, 
        98% 10%, 
        100% 15%, 
        100% 85%, 
        98% 90%, 
        95% 88%, 
        90% 91%, 
        85% 89%, 
        80% 92%, 
        75% 88%, 
        70% 90%, 
        65% 87%, 
        60% 91%, 
        55% 88%, 
        50% 90%, 
        45% 87%, 
        40% 89%, 
        35% 92%, 
        30% 88%, 
        25% 90%, 
        20% 87%, 
        15% 89%, 
        10% 92%, 
        5% 88%, 
        2% 90%, 
        0% 85%
    );
    transform: rotate(-0.8deg) skew(-0.5deg, 0.5deg);
    filter: blur(0.6px);
    mix-blend-mode: multiply;
    opacity: 0.95;
    transform-origin: left;
    animation: naturalHighlight 1.2s ease-out forwards;
}

.title-description .highlight-growth::after {
    content: "";
    position: absolute;
    z-index: -2;
    left: -3px;
    right: -3px;
    top: 23%;
    height: 80%;
    background: linear-gradient(
        135deg,
                 rgba(183, 137, 210, 0.4) 0%,
         rgba(183, 137, 210, 0.5) 30%,
         rgba(183, 137, 210, 0.6) 60%,
         rgba(183, 137, 210, 0.4) 100%
    );
    filter: blur(2px);
    transform: rotate(-0.8deg) skew(-0.5deg, 0.5deg);
    clip-path: polygon(
        0% 10%, 
        3% 15%, 
        8% 12%, 
        13% 16%, 
        18% 13%, 
        23% 15%, 
        28% 11%, 
        33% 14%, 
        38% 12%, 
        43% 16%, 
        48% 13%, 
        53% 15%, 
        58% 12%, 
        63% 14%, 
        68% 11%, 
        73% 15%, 
        78% 13%, 
        83% 16%, 
        88% 12%, 
        93% 14%, 
        98% 11%, 
        100% 15%, 
        100% 90%, 
        98% 87%, 
        93% 89%, 
        88% 86%, 
        83% 88%, 
        78% 85%, 
        73% 89%, 
        68% 87%, 
        63% 90%, 
        58% 88%, 
        53% 85%, 
        48% 87%, 
        43% 90%, 
        38% 88%, 
        33% 86%, 
        28% 89%, 
        23% 87%, 
        18% 90%, 
        13% 88%, 
        8% 85%, 
        3% 87%, 
        0% 90%
    );
    mix-blend-mode: multiply;
    opacity: 0.7;
    transform-origin: left;
    animation: naturalHighlightShadow 1.2s ease-out forwards;
}

@keyframes naturalHighlight {
    0% {
        transform: rotate(-0.8deg) skew(-0.5deg, 0.5deg) scaleX(0);
        opacity: 0.3;
    }
    30% {
        opacity: 0.7;
    }
    100% {
        transform: rotate(-0.8deg) skew(-0.5deg, 0.5deg) scaleX(1);
        opacity: 0.95;
    }
}

@keyframes naturalHighlightShadow {
    0% {
        transform: rotate(-0.8deg) skew(-0.5deg, 0.5deg) scaleX(0);
        opacity: 0;
    }
    40% {
        opacity: 0.3;
    }
    100% {
        transform: rotate(-0.8deg) skew(-0.5deg, 0.5deg) scaleX(1);
        opacity: 0.7;
    }
}

.solution-content + .section-separator {
  margin-top: var(--spacing-lg);
}

section:has(.solution-content) + .section-separator {
    margin-top: var(--spacing-lg);
}

/* Style de base pour toutes les cartes (sauf service) */
.stat-card,
.solution-cards .stat-card,
.testimonial-card {
    background: #2a2a2a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    background-color: rgba(18, 18, 18, 0.5);
}

[data-theme="dark"] .stat-card,
[data-theme="dark"] .solution-cards .stat-card,
[data-theme="dark"] .testimonial-card {
    background: #2a2a2a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    background-color: rgba(18, 18, 18, 0.5);
}

/* Assurer que le texte reste lisible */
.stat-card .stat-number,
.testimonial-card .testimonial-text {
    color: #ffffff;
}

.solution-cards .stat-card .stat-number {
    color: #b789d2;
}

.stat-card .stat-description,
.solution-cards .stat-card .stat-description,
.testimonial-card .testimonial-text {
    color: #ffffff;
}

/* Conserver les styles spécifiques pour les cartes de service */
.service-card-front,
.service-card-back {
    background: #000000;
    color: #ffffff;
}

[data-theme="dark"] .service-card-front,
[data-theme="dark"] .service-card-back {
    background: #000000;
    color: #ffffff;
}

.solution-cards .stat-card .stat-number {
    transform: none;
    color: #b789d2;
}

.solution-cards .stat-card .stat-number {
    font-family: 'Helvetica Now Display', sans-serif;
    font-weight: 600;
    color: #b789d2;
}

.hero-title {
    composes: title-line;
    font-family: 'Hanson-Bold';
    font-size: clamp(28px, 4vw + 2vh, 60px);
    line-height: 1.25;
    letter-spacing: 2px;
    margin: var(--spacing-sm) auto;
    margin-top: -300px;
    padding: 0;
    text-align: center;
    font-weight: 700;
    width: 100vw;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .hero-title {
        width: 100vw;
        position: relative;
        left: calc(-50vw + 50%);
        margin-left: 0;
        transform: none;
        padding: 0 var(--spacing-xxs);
        font-size: 25px !important;
    }
}

[data-theme="dark"] .hero-title:not(.title-with-light) {
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.1);
}

.title-description .highlight-simple {
    color: #b789d2;
    text-decoration: underline;
}

.gras-souligne {
    font-weight: bold;     /* Gras */
    text-decoration: underline; /* Souligné */
    color: #b789d2;
}

/* === EFFET DE LUMIÈRE POUR TITRE === */
.title-with-light {
    position: relative;
    color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Couche de lumière qui traverse le texte */
.title-with-light::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    
    /* Gradient de lumière qui parcourt horizontalement */
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 20%,
        rgba(255, 255, 255, 0.6) 35%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.6) 65%,
        transparent 80%,
        transparent 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    
    /* Animation de balayage horizontal */
    animation: lightSweep 8s ease-in-out infinite;
}

/* Animation de balayage de lumière */
@keyframes lightSweep {
    0% {
        background-position: -100% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .title-with-light {
        font-size: clamp(1.8rem, 7vw, 4rem);
        letter-spacing: -0.01em;
        line-height: 1.2;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .title-with-light {
        font-size: clamp(1.5rem, 6vw, 3rem);
        line-height: 1.3;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .title-with-light::after {
        animation: none;
        background-position: 0% 0%;
    }
}

/* High contrast */
@media (prefers-contrast: high) {
    .title-with-light {
        color: rgba(255, 255, 255, 0.6);
    }
}

/* Styles pour l'icône de curseur 3D */
.cursor-3d-icon {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) scale(1);
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 2;
    transition: transform 0.3s ease;
}

.cursor-3d-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1);
}

@media (max-width: 768px) {
    .cursor-3d-icon {
        width: 24px !important;
        height: 24px !important;
        transform: translateX(-50%) scale(1) !important;
        bottom: 15px;
    }

    .cursor-3d-icon img {
        transform: scale(1) !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
}

/* Suppression des animations au chargement initial sur mobile */
@media (max-width: 768px) {
    .cursor-3d-icon {
        animation: none !important;
    }
    
    /* Forcer la taille même pendant le chargement */
    html.loading .cursor-3d-icon,
    body.loading .cursor-3d-icon {
        width: 24px !important;
        height: 24px !important;
        transform: translateX(-50%) scale(1) !important;
    }
}

.service-card:hover .cursor-3d-icon {
    animation-play-state: paused;
}

.service-card:hover .cursor-3d-icon img {
    opacity: 1;
}

.service-card.flipped .cursor-3d-icon {
    display: none;
}

/* Animation du curseur */
@keyframes mouseClick {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(0.85);
    }
}

@keyframes cursorRotate {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(10deg);
    }
    75% {
        transform: rotate(-10deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.jotform-container {
    max-width: 800px;
    margin: 20px auto;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    max-height: 0;
    position: relative;
    z-index: 1;
}

.jotform-container.active {
    opacity: 1;
    max-height: 2000px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .jotform-container {
    background: rgba(18, 18, 18, 0.8);
    color: #ffffff;
}

[data-theme="dark"] .jotform-container iframe {
    filter: invert(1) hue-rotate(180deg);
    background: transparent;
}

@media (max-width: 900px) {
    .jotform-container {
        margin: 20px 15px;
    }
    
    .jotform-container.active {
        margin: 20px 15px;
        padding: 15px;
    }
}
.faq-item.hidden {
    display: none !important;
}

/* Styles pour le formulaire JotForm */
.form-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.form-container.active {
    max-height: 1000px;
    opacity: 1;
    margin-top: 20px;
}

.form-wrapper {
    background: rgba(28, 28, 28, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(42, 42, 42, 0.6);
}

.loading {
    text-align: center;
    padding: 20px;
    color: #9593ad;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #1c1c1c;
    border-top: 3px solid #9593ad;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 15px;
    }
    
    .form-container.active {
        margin-top: 15px;
    }
}

/* Forçage de position pour JotForm */
#jotform-content-1,
#jotform-content-2,
#jotform-content-3 {
    position: relative !important;
    width: 100% !important;
    display: block !important;
}

#jotform-content-1 iframe,
#jotform-content-2 iframe,
#jotform-content-3 iframe {
    position: relative !important;
    z-index: 1 !important;
}

/* Empêcher JotForm de créer des éléments ailleurs */
body > form[id*="jotform"] {
    display: none !important;
}

body > div[id*="jotform"] {
    display: none !important;
}

/* Bouton de fermeture du formulaire */
.form-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(28, 28, 28, 0.6);
    border: 2px solid rgba(149, 147, 173, 0.3);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #9593ad;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-close-btn:hover {
    background: rgba(37, 37, 37, 0.7);
    border-color: rgba(149, 147, 173, 0.5);
    color: #ffffff;
    transform: scale(1.1);
}

.form-close-btn:active {
    transform: scale(0.95);
}

/* S'assurer que le wrapper est en position relative pour la croix */
.form-wrapper {
    position: relative;
}

/* Animation de fermeture */
.form-container.closing {
    animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
    from {
        max-height: 1000px;
        opacity: 1;
    }
    to {
        max-height: 0;
        opacity: 0;
    }
}

/* Responsive - ajuster sur mobile */
@media (max-width: 768px) {
    .form-close-btn {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    #logo-container {
        width: 100px !important;
        height: 100px !important;
    }
}

@media (max-width: 480px) {
    #logo-container {
        width: 90px !important;
        height: 90px !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 25px !important;
    }
    
    .title-line:not(.hero-title) {
        font-size: 18px !important;
        margin-top: 10px !important;
    }
}

@media (max-width: 768px) {
  /* Première section CTA seulement */
  .main-title-section .cta-title-first {
    margin-bottom: -20px !important;
  }
  
  /* Garde le second CTA inchangé */
  .cta-title-second {
    margin-bottom: inherit; /* Garde sa valeur par défaut */
  }
}

@media (max-width: 768px) {
  /* Réduire spécifiquement l'espace après la section avec bouton CTA */
  .main-title-section:has(.cta-container) {
    padding-bottom: 0px; /* Au lieu de 3rem par défaut */
    padding-top: 70px;
  }

  .cta-title-second {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }
}

@media (max-width: 768px) {
  .main-title-section .title-line.cta-title-second {
    margin-top: 15px !important;
    margin-bottom:-40px !important;
  }
}

/* Styles mobiles pour les titres spécifiques */
@media (max-width: 768px) {
    .title-problematique-mobile {
        margin-top: -30px !important;
        margin-bottom: 1.5rem !important;
    }
    
    .title-line.quote.title-citation-mobile {
        margin-top: -60px !important;
        margin-bottom: -30px !important;
    }
}

@media (max-width: 768px) {
    .main-title-section.problematique .title-line.title-problematique-mobile {
        margin-top: -10px !important;
        margin-bottom: -10px !important;
        padding: 0 var(--spacing-sm);
    }
    
    .title-line.quote.title-citation-mobile {
        margin-top: -60px !important;
        margin-bottom: -30px !important;
    }
}

.testimonial-card .testimonial-text {
  font-family: "Roboto Mono", monospace;
  font-size: 18px !important;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .testimonial-card .testimonial-text {
    font-size: 14px !important;
  }
}

/* Forcer la taille du texte des témoignages sur desktop */
@media screen and (min-width: 769px) {
  .testimonial-card .testimonial-text {
    font-size: 18px !important;
  }
}

/* Conserver la taille mobile */
@media screen and (max-width: 768px) {
  .testimonial-card .testimonial-text {
    font-size: 14px !important;
  }
}

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

.solution-text-mobile {
  display: none;
  font-family: 'Roboto Mono', monospace;
  font-size: 14px;
  text-align: left;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: -270px;
  padding: 0 20px;
  max-width: 80%; 
}

@media (max-width: 768px) {
  .solution-text {
    display: none;
  }
  
  .solution-text-mobile {
    display: block;
  }
}

@media (max-width: 768px) {
    .cursor-3d-icon {
        width: 24px;
        height: 24px;
        transform: scale(1) translateZ(0);
        opacity: 0;
        animation: fadeInCube 0.3s ease-out forwards;
    }

    .cursor-3d-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transform: scale(1) !important;
    }
}

@keyframes fadeInCube {
    from {
        opacity: 0;
        transform: scale(1.5) translateZ(0);
    }
    to {
        opacity: 1;
        transform: scale(1) translateZ(0);
    }
}
