/* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&family=Lato:wght@400;500;600;700&display=swap');

/* Classes utilitaires pour l'accessibilité */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--body-size);
    color: var(--text-color);
    background-color: #e9e7ff;
    background-image: none;
    line-height: 1.6;
    padding-top: 70px; /* Hauteur de la navbar fixe */
    position: relative;
    overflow-x: hidden;
    
    @media (max-width: 1024px) {
        padding-top: 60px; /* Hauteur réduite sur mobile */
    }
}

/* Ajout de formes géométriques décoratives */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle at 70% 50%, rgba(124, 137, 255, 0.08) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at 30% 50%, rgba(233, 231, 255, 0.3) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Effet de grille subtile */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(124, 137, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 137, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

/* Animation subtile de particules */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.particle {
    position: fixed;
    background: rgba(124, 137, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float 15s infinite ease-in-out;
    z-index: -1;
}

/* Ajout de particules spécifiques */
.particle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    background: radial-gradient(circle, rgba(124, 137, 255, 0.1) 0%, transparent 70%);
    animation-delay: 0s;
}

.particle-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 5%;
    background: radial-gradient(circle, rgba(233, 231, 255, 0.2) 0%, transparent 70%);
    animation-delay: 2s;
    animation-duration: 20s;
}

body.menu-open,
body.nav-open {
    overflow: hidden;
}

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

/* Ajustement des espacements après suppression d'éléments */
.hero-adjusted {
    padding: 0;
}

/* Styles pour les notifications */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background-color: #4CAF50;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 350px;
    font-size: 0.95rem;
    line-height: 1.5;
    pointer-events: none;
}

.notification.error {
    background-color: #f44336;
}

.notification.warning {
    background-color: #ff9800;
}

/* Styles pour l'indicateur de chargement */
.loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9em;
    font-weight: 500;
}

.loader::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Amélioration de l'accessibilité au focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Amélioration de la visibilité des liens au survol */
a:not(.btn):hover {
    color: var(--primary-color);
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast) var(--easing);
}

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

.highlight-purple {
    color: #7C89FF;
    font-weight: 700;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.highlight-purple {
    position: relative;
    display: inline-block;
    z-index: 1000; /* Haute valeur de z-index */
}

.magic-wand-container {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%) rotate(-15deg);
    z-index: 1001; /* Au-dessus de tout le reste */
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.highlight-purple .magic-wand {
    width: 32px;
    height: 32px;
    transform: rotate(-15deg);
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(124, 137, 255, 0.4));
}

.highlight-purple:hover .magic-wand {
    transform: translateX(-50%) rotate(15deg);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Boutons */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-text-color);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 5px 15px rgba(124, 137, 255, 0.3);
    text-align: center;
}

.btn:hover {
    background: #9b89ff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(124, 137, 255, 0.5);
    color: var(--light-text-color);
}

.btn:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(124, 137, 255, 0.3);
}

/* Header et Navigation */
header {
    background-color: var(--dark-background);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text-color);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--light-text-color);
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-fast) var(--easing);
}

.nav-links a:hover:after {
    width: 100%;
}

/* Section Héro */
.hero {
    min-height: auto;
    background-color: var(--background-color);
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    padding: 80px 0 80px;
}

.hero-layout {
    display: grid;
    grid-template-columns: 65% 35%;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
}

.hero-content {
    text-align: left;
    color: var(--text-color);
    max-width: 600px;
}

.hero-tagline {
    background-color: rgba(124, 137, 255, 0.1);
    color: var(--primary-color);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.8rem;
    margin: 0 0 8px 0;
    letter-spacing: 0.3px;
}

.hero-content h1 {
    margin: 10px 0 15px 0;
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), #9b89ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: rgba(0, 11, 16, 0.8);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.text-link {
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--transition-fast) var(--easing);
}

.text-link:hover {
    transform: translateX(5px);
}

.arrow {
    font-size: 1.2em;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.stat-item {
    border-right: 1px solid rgba(0, 11, 16, 0.1);
    padding-right: var(--spacing-md);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--heading-font);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(0, 11, 16, 0.6);
}

/* Animation hero */
.hero-animation {
    position: relative;
    height: 500px;
}

.animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.floating-element {
    position: absolute;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(124, 137, 255, 0.1);
}

.dashboard {
    width: 80%;
    height: 60%;
    top: 15%;
    left: 0;
    background-image: linear-gradient(120deg, #ffffff, #f9f9ff);
    z-index: 3;
    border: 1px solid rgba(124, 137, 255, 0.2);
}

.chart {
    width: 40%;
    height: 30%;
    top: 10%;
    right: 5%;
    background-color: var(--light-text-color);
    z-index: 4;
    border: 1px solid rgba(124, 137, 255, 0.2);
}

.notification {
    width: 35%;
    height: 20%;
    bottom: 15%;
    right: 15%;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    z-index: 5;
    border-radius: 12px;
}

.circle {
    background-color: transparent;
    border: 2px dashed var(--primary-color);
    opacity: 0.3;
    border-radius: 50%;
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: 5%;
    left: 10%;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 5%;
}

.dots {
    background-color: transparent;
    box-shadow: none;
}

.dots-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 70%;
    background-image: radial-gradient(var(--primary-color) 2px, transparent 2px);
    background-size: 10px 10px;
}

.dots-2 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 30%;
    background-image: radial-gradient(var(--secondary-color) 2px, transparent 2px);
    background-size: 8px 8px;
}

.glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 137, 255, 0.2) 0%, rgba(124, 137, 255, 0) 70%);
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--light-text-color);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 2;
}

/* Section Caractéristiques */
.features {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: var(--spacing-xs) auto 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-item {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform var(--transition-medium) var(--easing);
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

/* Section Vidéo */
.video-section {
    padding: 4rem 0;
    position: relative;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.video-preview {
    position: relative;
    cursor: pointer;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.video-preview:hover .video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.3s ease;
}

.video-preview:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

/* Modal Vidéo */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.close-modal:hover {
    opacity: 1;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Section Contact */
.contact {
    padding: var(--spacing-xl) 0;
    background-color: #f9f9f9;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

input, textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: var(--body-size);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-background);
    color: var(--light-text-color);
    padding: var(--spacing-md) 0;
    text-align: center;
}

/* IA centrale simple avec icônes autour */
.ia-simple-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Icône centrale */
.ia-center {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(124, 137, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border: 6px solid rgba(233, 231, 255, 0.9);
    transition: all 0.3s ease;
    animation: pulse 3s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { box-shadow: 0 5px 20px rgba(124, 137, 255, 0.3); }
    100% { box-shadow: 0 8px 30px rgba(124, 137, 255, 0.6); }
}

.ia-center:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(124, 137, 255, 0.4);
}

.ia-center-image {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

/* Éléments autour */
.surrounding-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.surrounding-element {
    position: absolute;
    width: 85px;
    height: 85px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(124, 137, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 5;
    text-align: center;
    padding: 5px;
    border: 1px solid rgba(124, 137, 255, 0.1);
}

.position-1, .position-2, .position-3, .position-4, .position-5, .position-6, .position-7, .position-8 {
    animation: data-pulse 3s ease-in-out infinite alternate;
}

.position-1 { animation-delay: 0s; }
.position-2 { animation-delay: 0.7s; }
.position-3 { animation-delay: 1.4s; }
.position-4 { animation-delay: 2.1s; }
.position-5 { animation-delay: 2.8s; }
.position-6 { animation-delay: 3.5s; }
.position-7 { animation-delay: 4.2s; }
.position-8 { animation-delay: 4.9s; }

@keyframes data-pulse {
    0% { box-shadow: 0 4px 15px rgba(124, 137, 255, 0.2); }
    100% { box-shadow: 0 4px 15px rgba(124, 137, 255, 0.4); }
}

.surrounding-element:hover {
    box-shadow: 0 8px 22px rgba(124, 137, 255, 0.3);
    border-color: rgba(124, 137, 255, 0.3);
    background-color: #fcfcff;
}

/* Positionnement des éléments en cercle */
.position-1 {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.position-2 {
    top: 18%;
    right: 10%;
}

.position-3 {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

.position-4 {
    bottom: 18%;
    right: 10%;
}

.position-5 {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.position-6 {
    bottom: 18%;
    left: 10%;
}

.position-7 {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

.position-8 {
    top: 18%;
    left: 10%;
}

.element-icon {
    font-size: 24px;
    margin-bottom: 6px;
    background-color: rgba(233, 231, 255, 0.6);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-top: -2px;
}

.element-text {
    font-size: 10px;
    font-weight: 600;
    color: #000B10;
    line-height: 1.2;
    font-family: 'Rubik', sans-serif;
}

/* Lignes de connexion */
.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, rgba(124, 137, 255, 0.1), rgba(124, 137, 255, 0.6), rgba(124, 137, 255, 0.1));
    height: 2px;
    z-index: 1;
    box-shadow: 0 0 6px rgba(124, 137, 255, 0.2);
    overflow: hidden;
}

.line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    animation: data-flow 5s linear infinite;
}

.line-1::after { animation-duration: 4.8s; }
.line-2::after { animation-duration: 5.2s; animation-delay: 0.5s; }
.line-3::after { animation-duration: 4.5s; animation-delay: 1s; }
.line-4::after { animation-duration: 5.5s; animation-delay: 1.5s; }
.line-5::after { animation-duration: 4.7s; animation-delay: 2s; }
.line-6::after { animation-duration: 5.3s; animation-delay: 2.5s; }
.line-7::after { animation-duration: 4.6s; animation-delay: 3s; }
.line-8::after { animation-duration: 5.4s; animation-delay: 3.5s; }

@keyframes data-flow {
    0% { left: -30%; }
    100% { left: 130%; }
}

/* Position des lignes */
.line-1 {
    width: 15%;
    top: 20%;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
}

.line-2 {
    width: 20%;
    top: 28%;
    right: 23%;
    transform: rotate(-30deg);
}

.line-3 {
    width: 15%;
    top: 50%;
    right: 19%;
    transform: translateY(-50%);
}

.line-4 {
    width: 20%;
    bottom: 28%;
    right: 23%;
    transform: rotate(30deg);
}

.line-5 {
    width: 15%;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
}

.line-6 {
    width: 20%;
    bottom: 28%;
    left: 23%;
    transform: rotate(-30deg);
}

.line-7 {
    width: 15%;
    top: 50%;
    left: 19%;
    transform: translateY(-50%);
}

.line-8 {
    width: 20%;
    top: 28%;
    left: 23%;
    transform: rotate(30deg);
}

/* Style pour les sections supprimées */
.sections-removed {
    display: none;
}

/* Ajustement de l'espacement après la section des solutions */
.solutions-section {
    padding-bottom: 0;
}

.footer {
    margin-top: 0;
}

/* Section des cartes de solutions */
.solutions-section {
    padding: 80px 0;
    background-color: #E9E7FF;
}

.solutions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.solutions-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: #000B10;
    line-height: 1.1;
    margin: 0 auto 60px;
    width: 100%;
    max-width: 1100px;
    position: relative;
    letter-spacing: -0.02em;
    text-align: center;
    padding: 0 20px;
}

.solutions-title .highlight {
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: #7C89FF;
    padding: 5px 15px;
    border-radius: 30px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: rotate(-2deg);
    z-index: 2;
    margin: 0 -5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes popInHighlight {
    0% {
        transform: rotate(-2deg) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: rotate(-2deg) scale(1);
        opacity: 1;
    }
}

.solutions-title .highlight {
    animation: popInHighlight 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Réduction de la taille du titre sur mobile */
@media (max-width: 767px) {
    .solutions-title {
        font-size: 2.2rem !important;
        line-height: 1.2;
        padding: 0 15px;
        margin-bottom: 40px;
    }
    
    .solutions-title .highlight {
        padding: 3px 10px;
        border-radius: 20px;
        margin: 0 -3px;
    }
}

/* Style pour la mise en avant bleue dans les titres de cartes */
.highlight-blue {
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: #fff;
    padding: 2px 12px;
    border-radius: 20px;
    background-color: #7C89FF;
    box-shadow: 0 3px 10px rgba(124, 137, 255, 0.2);
    transform: rotate(-1.5deg);
    z-index: 2;
    white-space: nowrap;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 15px;
}

.solution-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(124, 137, 255, 0.1);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(124, 137, 255, 0.15);
}

.solution-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(124, 137, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: #7C89FF;
}

.solution-card h3 {
    font-size: 1.4rem;
    color: #000B10;
    margin-bottom: 15px;
    font-family: 'Rubik', sans-serif;
}

.solution-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

.solution-cta {
    display: inline-block;
    padding: 10px 20px;
    background-color: #7C89FF;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.solution-cta:hover {
    background-color: #6a76e0;
    transform: translateY(-2px);
    text-decoration: none !important;
    color: white !important;
}

/* Version statique pour l'IA qui aide la communauté */
.comment-validation-icon {
    position: relative;
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(233, 231, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    margin: 0;
}

/* L'IA au centre (Gang4 icon) */
.comment-validation-icon .main-icon {
    width: 75px;
    height: 75px;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 4px 8px rgba(124, 137, 255, 0.15));
    animation: pulseCenter 4s infinite ease-in-out;
}

/* Animation pour l'icône centrale */
@keyframes pulseCenter {
    0%, 10%, 50%, 60%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(124, 137, 255, 0.15));
    }
    5%, 55% {
        transform: scale(1.05);
        filter: drop-shadow(0 6px 12px rgba(124, 137, 255, 0.25));
    }
}

/* Les bulles de commentaires */
.comment-validation-icon .comment-icon,
.comment-validation-icon .heart-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: white;
    border: 2px solid #7C89FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Positionnement des éléments */
.comment-validation-icon .comment-icon {
    left: 12%;
    top: 50%;
    transform: translateY(-50%);
    animation: pulseLeft 4s infinite linear;
}

.comment-validation-icon .heart-icon {
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    animation: pulseRight 4s infinite linear;
}

/* Animation pour simuler la réception d'information par les icônes */
@keyframes pulseLeft {
    0%, 60%, 100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    70%, 85% {
        transform: translateY(-50%) scale(1.08);
        box-shadow: 0 4px 12px rgba(124, 137, 255, 0.2);
    }
}

@keyframes pulseRight {
    0%, 20%, 100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    30%, 45% {
        transform: translateY(-50%) scale(1.08);
        box-shadow: 0 4px 12px rgba(124, 137, 255, 0.2);
    }
}

/* Contenu des bulles */
.comment-validation-icon .comment-icon::before {
    content: '💬';
}

.comment-validation-icon .heart-icon::before {
    content: '❤️';
}

/* Lignes qui connectent l'IA aux commentaires - avec animation */
.comment-validation-icon::before,
.comment-validation-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, rgba(124, 137, 255, 0.1), rgba(124, 137, 255, 0.8), rgba(124, 137, 255, 0.1));
    background-size: 200% 100%;
    z-index: 1;
}

/* Ligne vers le commentaire (à gauche) */
.comment-validation-icon::before {
    left: 20%;
    right: 50%;
    margin-right: 37px;
    animation: flowLeft 4s infinite linear;
}

/* Ligne vers le cœur (à droite) */
.comment-validation-icon::after {
    left: 50%;
    right: 20%;
    margin-left: 37px;
    animation: flowRight 4s infinite linear;
}

/* Animation pour simuler le flux d'information vers la gauche */
@keyframes flowLeft {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0% 0;
    }
}

/* Animation pour simuler le flux d'information vers la droite */
@keyframes flowRight {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

/* Styles pour le chargement progressif des sections */
.lazy-load {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.lazy-load.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Styles pour le contenu principal */


.calendly-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 11, 16, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.calendly-popup.active {
    display: flex;
}

.calendly-popup-content {
    background-color: #fff;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 11, 16, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.calendly-popup-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 35px 35px 25px;
    background-color: #7B89FF;
    color: #fff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    position: relative;
}

.header-content {
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
}

.header-subtitle {
    margin: 10px 0 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    font-weight: 400;
}

.calendly-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
}

.calendly-popup-header h3 {
    margin: 0;
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.calendly-popup-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
}

.calendly-popup-close:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.calendly-intro {
    padding: 20px 30px;
    background-color: #f8f7ff;
    border-bottom: 1px solid rgba(124, 137, 255, 0.2);
    text-align: center;
}

.calendly-intro-title {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    font-weight: 600;
    color: #000B10;
    margin: 0 0 10px 0;
}

.calendly-intro-text {
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.5;
    color: #4a4a4a;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.calendly-intro .emoji {
    font-size: 1.2rem;
    vertical-align: middle;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.calendly-popup-body {
    padding: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .calendly-popup-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .calendly-popup-header h3 {
        font-size: 1.3rem;
    }
}

/* Ajustements responsive */
@media (max-width: 768px) {
    .ia-simple-container {
        max-width: 100%;
        height: 600px;
    }
    
    .ia-center {
        width: 100px;
        height: 100px;
    }
    
    .surrounding-element {
        width: 75px;
        height: 75px;
    }
    
    .element-icon {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
    
    .element-text {
        font-size: 9px;
    }
    
    /* Repositionnement des éléments pour mobile */
    .position-1 {
        top: 5%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .position-2 {
        top: 10%;
        right: 10%;
    }
    
    .position-3 {
        top: 50%;
        right: 2%;
        transform: translateY(-50%);
    }
    
    .position-4 {
        bottom: 20%;
        right: 10%;
    }
    
    .position-5 {
        bottom: 2%;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .position-6 {
        bottom: 20%;
        left: 10%;
    }
    
    .position-7 {
        top: 50%;
        left: 2%;
        transform: translateY(-50%);
    }
    
    .position-8 {
        top: 10%;
        left: 10%;
    }
    
    /* Ajustement des lignes pour mobile */
    .line-1 {
        width: 10%;
        top: 15%;
    }
    
    .line-2 {
        width: 15%;
    }
    
    .line-3 {
        width: 10%;
    }
    
    .line-4 {
        width: 15%;
    }
    
    .line-5 {
        width: 10%;
    }
    
    .line-6 {
        width: 15%;
    }
    
    .line-7 {
        width: 10%;
    }
    
    .line-8 {
        width: 15%;
    }
}

/* Ajustements spécifiques pour les petits écrans mobiles */
@media (max-width: 576px) {
    .ia-simple-container {
        max-width: 100%;
        height: 420px; /* Hauteur réduite */
    }
    
    .ia-center {
        width: 80px; /* Icône centrale réduite */
        height: 80px;
    }
    
    .surrounding-element {
        width: 60px; /* Éléments environnants réduits */
        height: 60px;
    }
    
    .element-icon {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }
    
    .element-text {
        font-size: 8px;
        font-weight: 600; /* Plus lisible */
    }
    
    /* Positions ajustées pour être plus proches de l'icône centrale */
    .position-1 { top: 8%; left: 50%; transform: translateX(-50%); }
    .position-2 { top: 15%; right: 15%; }
    .position-3 { top: 50%; right: 5%; transform: translateY(-50%); }
    .position-4 { bottom: 15%; right: 15%; }
    .position-5 { bottom: 8%; left: 50%; transform: translateX(-50%); }
    .position-6 { bottom: 15%; left: 15%; }
    .position-7 { top: 50%; left: 5%; transform: translateY(-50%); }
    .position-8 { top: 15%; left: 15%; }
    
    /* Lignes de connexion ajustées - plus longues */
    .line-1 { 
        width: 20%; 
        top: 18%; /* Position descendée par rapport au 15% sur mobile standard */
    }
    .line-2 { width: 22%; }
    .line-3 { width: 20%; }
    .line-4 { width: 22%; }
    .line-5 { width: 20%; }
    .line-6 { width: 22%; }
    .line-7 { width: 20%; }
    .line-8 { width: 22%; }
}

/* Ajustements pour mobile */
