/* section {
    min-height: 48rem;
    padding-top: 5rem;
    
} */

h2 {
    margin-bottom: 3rem;
}

/* Hero Section */

.hero {
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    color: var(--bg-white);
    white-space: normal;
    flex-wrap: wrap;
    

    
    
}
.hero-content p{
    text-align: left;
    
    font-size: 20px;
}

.hero-content {
    max-width: 100%;
}
.hero-content i {

    font-size: 80px;

}

.hero-content h1 {
    
    text-align: left;
    
    /* flex-direction: column; */

    margin-bottom: 50px;
    

}
.main-title{
    text-align: left;

}

.hero-content h2 {
    font-size: 32px;
    margin-bottom: 10px;

}

/* Hero Wrapper - 2 Column Layout */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 100px;
    align-items: center;
    text-align: left;
    padding: 64px 50px;
    padding-top: 164px;
    max-width: 1400px;;
}

.hero-right-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 400px;
}

/* Stats Bubbles Cloud Layout */
.stats-bubbles-cloud {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.stats-bubble {
    position: absolute;
    background-color: #FFFFFF;
    border-radius: 50px;
    padding: 8px 12px 8px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.stats-bubble:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.platform-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Support for Phosphor icons */
.stats-bubble i[class*="ph-"] {
    width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bubble-content {
    display: flex;
    flex-direction: column;
    gap: 0px;
    white-space: nowrap;
}

.stat-text {
    font-size: 12px;
    color: #000000;
    margin: 0;
    line-height: 1.1;
    font-weight: 400;
}

.stat-text strong {
    font-weight: 700;
}

/* Cloud positioning - disorganized layout centered */
.bubble-1 {
    top: 10%;
    left: 15%;
    animation: float1 6s ease-in-out infinite both;
}

.bubble-2 {
    top: 70%;
    right: 25%;
    animation: float2 7s ease-in-out infinite 0.3s both;
}

.bubble-3 {
    top: 45%;
    right: 10%;
    animation: float3 5.5s ease-in-out infinite 0.6s both;
}

.bubble-4 {
    bottom: 15%;
    left: 20%;
    animation: float4 6.5s ease-in-out infinite 0.9s both;
}

.bubble-5 {
    top: 25%;
    right: 20%;
    animation: float5 5.8s ease-in-out infinite 1.2s both;
}

.bubble-6 {
    bottom: 0%;
    left: 45%;
    animation: float6 6.2s ease-in-out infinite 1.5s both;
}

.bubble-7 {
    top: 30%;
    left: 10%;
    animation: float7 6.8s ease-in-out infinite 1.8s both;
}

.bubble-8 {
    top: 5%;
    right: 25%;
    animation: float8 5.5s ease-in-out infinite 2.1s both;
}

.bubble-9 {
    bottom: 35%;
    right: 70%;
    animation: float9 6.3s ease-in-out infinite 2.4s both;
}

.bubble-10 {
    top: -10%;
    left: 40%;
    transform: translateX(-50%);
    animation: float10 6.1s ease-in-out infinite 2.7s both;
}

.bubble-11 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 20px;
    animation: float11 5.3s ease-in-out infinite 3.0s both;
    z-index: 10;
}

.sa-corp-logo {
    width: 100px;
    height: auto;
    object-fit: contain;
    margin: 0;
}

@keyframes float1 {
    0% {
        transform: translateY(0px) rotate(-2.5deg);
    }
    25% {
        transform: translateY(-2px) rotate(0deg);
    }
    50% {
        transform: translateY(-3px) rotate(2.5deg);
    }
    75% {
        transform: translateY(-2px) rotate(0deg);
    }
    100% {
        transform: translateY(0px) rotate(-2.5deg);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0px) rotate(1.8deg);
    }
    25% {
        transform: translateY(-3px) rotate(0deg);
    }
    50% {
        transform: translateY(-6px) rotate(-1.8deg);
    }
    75% {
        transform: translateY(-3px) rotate(0deg);
    }
    100% {
        transform: translateY(0px) rotate(1.8deg);
    }
}

@keyframes float3 {
    0% {
        transform: translateY(0px) rotate(-1.2deg);
    }
    25% {
        transform: translateY(-2px) rotate(0deg);
    }
    50% {
        transform: translateY(-4px) rotate(1.2deg);
    }
    75% {
        transform: translateY(-2px) rotate(0deg);
    }
    100% {
        transform: translateY(0px) rotate(-1.2deg);
    }
}

@keyframes float4 {
    0% {
        transform: translateY(0px) rotate(2.2deg);
    }
    25% {
        transform: translateY(-4px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(-2.2deg);
    }
    75% {
        transform: translateY(-4px) rotate(0deg);
    }
    100% {
        transform: translateY(0px) rotate(2.2deg);
    }
}

@keyframes float5 {
    0% {
        transform: translateY(0px) rotate(-1.5deg);
    }
    25% {
        transform: translateY(-1px) rotate(0deg);
    }
    50% {
        transform: translateY(-2px) rotate(1.5deg);
    }
    75% {
        transform: translateY(-1px) rotate(0deg);
    }
    100% {
        transform: translateY(0px) rotate(-1.5deg);
    }
}

@keyframes float6 {
    0% {
        transform: translateY(0px) rotate(2.8deg);
    }
    25% {
        transform: translateY(-2px) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(-2.8deg);
    }
    75% {
        transform: translateY(-2px) rotate(0deg);
    }
    100% {
        transform: translateY(0px) rotate(2.8deg);
    }
}

@keyframes float7 {
    0% {
        transform: translateY(0px) rotate(-0.8deg);
    }
    25% {
        transform: translateY(-3px) rotate(0deg);
    }
    50% {
        transform: translateY(-7px) rotate(0.8deg);
    }
    75% {
        transform: translateY(-3px) rotate(0deg);
    }
    100% {
        transform: translateY(0px) rotate(-0.8deg);
    }
}

@keyframes float8 {
    0% {
        transform: translateY(0px) rotate(1.5deg);
    }
    25% {
        transform: translateY(-4px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(-1.5deg);
    }
    75% {
        transform: translateY(-4px) rotate(0deg);
    }
    100% {
        transform: translateY(0px) rotate(1.5deg);
    }
}

@keyframes float9 {
    0% {
        transform: translateY(0px) rotate(-2.1deg);
    }
    25% {
        transform: translateY(-2px) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(2.1deg);
    }
    75% {
        transform: translateY(-2px) rotate(0deg);
    }
    100% {
        transform: translateY(0px) rotate(-2.1deg);
    }
}

@keyframes float10 {
    0% {
        transform: translateX(-50%) translateY(0px) rotate(1.9deg);
    }
    25% {
        transform: translateX(-50%) translateY(-4px) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) translateY(-8px) rotate(-1.9deg);
    }
    75% {
        transform: translateX(-50%) translateY(-4px) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) translateY(0px) rotate(1.9deg);
    }
}

@keyframes float11 {
    0% {
        transform: translate(-50%, -50%) translateY(0px) rotate(-1.5deg);
    }
    25% {
        transform: translate(-50%, -50%) translateY(-2px) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-4px) rotate(1.5deg);
    }
    75% {
        transform: translate(-50%, -50%) translateY(-2px) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) translateY(0px) rotate(-1.5deg);
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-right-empty {
        min-height: 300px;
    }
    
    .stats-bubbles-cloud {
        min-height: 280px;
    }
    
    .stats-bubble {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .hero-wrapper {
        gap: 24px;
        padding: 120px 20px 32px;
    }

    .hero-right-empty {
        min-height: 360px;
        width: 100%;
    }

    .stats-bubbles-cloud {
        position: relative;
        min-height: 360px;
    }

    .stats-bubble {
        position: absolute;
        width: max-content;
        min-width: 0;
        max-width: none;
        padding: 6px 9px 6px 6px;
        border-radius: 999px;
        gap: 5px;
    }

    .stats-bubble:not(.bubble-11) {
        height: 30px;
    }

    .platform-logo {
        width: 14px;
        height: 14px;
    }

    .stat-text {
        font-size: 10px;
        line-height: 1.15;
        white-space: nowrap;
    }

    .stats-bubble i[class*="ph-"] {
        width: 14px;
        font-size: 14px;
    }

    .sa-corp-logo {
        width: 78px;
    }

    .bubble-1 { top: 18%; left: 16%; }
    .bubble-2 { top: 64%; right: 18%; }
    .bubble-3 { top: 36%; right: 18%; }
    .bubble-4 { top: 66%; left: 14%; }
    .bubble-5 { top: 23%; right: 38%; }
    .bubble-6 { top: 76%; left: 42%; }
    .bubble-7 { top: 35%; left: 12%; }
    .bubble-8 { top: 16%; right: 16%; }
    .bubble-9 { top: 50%; left: 8%; }
    .bubble-10 { top: 10%; left: 50%; }
    .bubble-11 { top: 50%; left: 50%; }

    .bubble-10 .stat-text,
    .bubble-11 .stat-text {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero-right-empty {
        min-height: 320px;
    }

    .stats-bubbles-cloud {
        min-height: 320px;
    }

    .stats-bubble {
        width: max-content;
        min-width: 0;
        max-width: none;
        padding: 5px 8px 5px 6px;
    }

    .stats-bubble:not(.bubble-11) {
        height: 28px;
    }

    .stat-text {
        font-size: 9px;
    }

    .sa-corp-logo {
        width: 66px;
    }

    .bubble-1 { top: 18%; left: 10%; }
    .bubble-2 { top: 64%; right: 12%; }
    .bubble-3 { top: 36%; right: 10%; }
    .bubble-4 { top: 66%; left: 8%; }
    .bubble-5 { top: 23%; right: 38%; }
    .bubble-6 { top: 76%; left: 40%; }
    .bubble-7 { top: 35%; left: 8%; }
    .bubble-8 { top: 14%; right: 10%; }
    .bubble-9 { top: 50%; left: 6%; }
    .bubble-10 { top: 8%; left: 50%; }
    .bubble-11 { top: 50%; left: 50%; }

    .bubble-content {
        white-space: nowrap;
    }
}

/* Logo Carousel - Shared Hero Section */
.hero-logos-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    margin-bottom: 150px;
}

.hero-logos-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(to right, var(--brand-black) 0%, rgba(19, 16, 13, 0) 100%);
    z-index: 5;
    pointer-events: none;
}

.hero-logos-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(to left, var(--brand-black) 0%, rgba(19, 16, 13, 0) 100%);
    z-index: 5;
    pointer-events: none;
}

.logo-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.logo-carousel-track {
    display: flex;
    width: 100%;
    gap: 60px;
    white-space: nowrap;
    animation: scrollCarousel 120s linear infinite;
    padding: 0 20px;
    will-change: transform;
}

.logo-carousel-track img {
    height: 80px;
    width: auto;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
    flex-shrink: 0;
}

.logo-carousel-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

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

.section-exemples-services {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.section-exemples-services3{
    height: auto;
    margin-bottom: 100px;
}

#gridCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.details-exemples-services {
    display: flex; /* Disposition horizontale */
    flex-direction: column;
    position: relative;
    z-index: 2;
    justify-content: space-between; /* Espace entre le texte et l'image */
    flex-wrap: wrap; /* Permet le passage en colonne sur petits écrans */
    height: auto;
}

.section-exemples-services h2{

    background-color: var(--text-primary);
    color: var(--border-light);
    padding: 5px;
    border-radius: 8px;
}

.section-exemples-services3 h2{

    background-color: var(--text-primary);
    color: var(--border-light);
    padding: 5px;
    border-radius: 8px;
}

.details-exemples-services-left{
    display: flex;
    text-align: left;
    justify-content: flex-start; /* Aligne les éléments à gauche */
    align-items: flex-start; /* Aligne verticalement à gauche */
    flex-direction: column; /* Empile les éléments verticalement */
    
    padding: 20px;
    flex: 1; /* Prend 50% ou plus de l'espace disponible */
    max-width: 35%;
     z-index: 2;

}

.details-exemples-services-right {
  width: 100%;
  display: block; /* on sort du flex pour laisser la hauteur naturelle */
  text-align: center;
  overflow: visible; /* pour que rien ne soit coupé */
  padding: 0; /* retire le padding parasite */
  margin-top: -10px;
  z-index: 1;
}

.schema-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* empêche le débordement */
  padding: 0; /* pas de padding vertical parasite */
}
/* Sous-conteneur qui garde le bon ratio */
.schema-container {
  width: 100%;
  position: relative;
  aspect-ratio: calc(2151 / 702);
}

/* Le SVG */
.schema-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  overflow: visible;
}

.schema-responsive{
  width: 100%;
  height: auto;
  display: block;
}

/* Cible seulement le SVG dans la dernière div */
.details-exemples-services-right img {
  transition: transform 0.6s ease, filter 0.6s ease;
  transform-origin: center center;
}

/* Effet au survol */
.details-exemples-services-right:hover img {
  transform: scale(1.005); /* 🔥 zoom léger */
  filter: drop-shadow(0 8px 20px rgba(71, 106, 255, 0.2)); /* optionnel, halo doux */
}

.details-exemples-services-right img{

    width: 100%;
    height: auto;
    text-align: right;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 100px 0px;
}

.section-exemples-services-inversed{
    height: auto;
}






.details-exemples-services-right-inversed {
    display: flex;
    text-align: left;
    justify-content: flex-start; /* Aligne les éléments à gauche */
    align-items: flex-start; /* Aligne verticalement à gauche */
    flex-direction: column; /* Empile les éléments verticalement */
    
    padding: 20px;
    flex: 1; /* Prend 50% ou plus de l'espace disponible */
    max-width: 35%;

}

/* Conteneur du carrousel */

/* Carrousel */

/* Élément du carrousel */

/* Texte par-dessus */

.carousel-text h3 {
    margin: 0;
    font-size: 24px;
}

.carousel-text p {
    margin: 10px 0 0;
    font-size: 16px;
}

/* Boutons du carrousel */
.carousel-container i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-primary);
    border: none;
    background-color: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 30px;
    z-index: 10;
}

.carousel-container i:hover {
    color: var(--brand-blue);
}

.baniere-section-noir{
    background-color: var(--text-primary);
    padding-bottom: 100px;
}

.tagline {
    text-align: left;
    font-weight: bold;
    opacity: 0; /* Rendre le texte invisible au départ */
    transform: translateY(20px); /* Légère translation vers le bas */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0)); /* Dégradé plus large */
    mask-size: 100%; /* Masque initial deux fois plus large */
    mask-position: 100% 0;
    
}

.tagline.visible {
    opacity: 1; /* Rendre visible */
    mask-position: 50% 0; /* Animer le masque vers la gauche pour révéler le texte */
    mask-size: 500%; /* Masque initial deux fois plus large */
    transition: opacity 0.8s ease-out, mask-position 0.8s ease-out;
    transform: translateY(0); /* Position finale */
}

.tagline .visible::after {
    opacity: 0; /* Rendre visible */
    transition: opacity 0.8s ease-out, opacity 0.8s ease-out;
}

.hero-line.visible {
    opacity: 1; /* Rendre visible */
    mask-position: -24% 0; /* Animer le masque vers la gauche pour révéler le texte */
    mask-size: 500%; /* Masque initial deux fois plus large */
    transition: opacity 0.0s ease-out, mask-position 2.0s ease-out;
    transform: translateY(0); /* Position finale */
}

.hero-line .visible::after {
    opacity: 0; 
    transition: opacity 0.8s ease-out;
}

.hero-content h3 {
    font-size: 62px;
    font-weight: bold;
}

.hero-content .cta {

    margin-top: 30px;

}

.showcase-section .cta-bleu {

    margin-top: 100px;
    margin-bottom: 100px;

}

.tagline {
    color: var(--text-strong);
}

.tagline strong {
    background-color: var(--border-light);
    padding: 4px 8px;
    color: var(--text-strong);
}

@media (max-width: 740px) {
    .hero {
        padding: 0;

    }
    .hero-content {
        padding-left: 0;
        
    }
    .hero-content h1 {
        padding-left: 0;
        text-align: center;
        
    }
    .hero-content h2 {
        padding-left: 0;
        text-align: center;
    }

}

/* OFFER Section */

.offer-section {
    text-align: center;
}

.offer-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1600px;
    margin: 80px auto;
    padding: 0 12px;
}
.offer-card {
    position: relative;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-soft) 100%);
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    padding: 32px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

/* BADGE RECOMMANDÉ */

/* HEADER */
.offer-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    margin-top: 16px;
}

.offer-card-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-strong);
    margin: 0;
}

/* ESTIMATION BLOCK */
.offer-card-estimation {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.estimation-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.estimation-label {
    font-size: 12px;
    color: var(--text-subtle);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.estimation-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-strong);
}

/* SUBTITLE */
.offer-card-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 24px 0;
    font-weight: 500;
}

/* FEATURES LIST */
.offer-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.offer-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-strong);
    line-height: 1.5;
}

.offer-card-features i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    min-width: 20px;
    color: var(--bg-navy);
}

/* CTA BUTTON */
.offer-card-cta {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border: 2px solid #e6e6e6;
    background: transparent;
    color: var(--text-strong);
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-card-cta:hover {
    border-color: var(--text-strong);
    background: var(--text-strong);
    color: white;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 640px) {
    .offer-section {
        padding: 40px 16px;
    }

    .offer-section h1 {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .offer-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px auto;
    }

    .offer-card {
        padding: 24px;
        min-height: auto;
    }

    

    .offer-card-header {
        margin-bottom: 20px;
        gap: 12px;
    }

    .offer-card-header h3 {
        font-size: 20px;
    }

    .offer-card-estimation {
        padding: 16px;
        margin-bottom: 16px;
    }

    .estimation-value {
        font-size: 16px;
    }

    .offer-card-subtitle {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .offer-card-features {
        gap: 10px;
        margin-bottom: 20px;
    }

    .offer-card-features li {
        font-size: 14px;
    }

    .offer-card-features i {
        font-size: 16px;
    }

    .offer-card-cta {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* Services Galery */

.service-galery{
    background-color: var(--bg-white);
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 50px;
    gap: 50px;
    width: 100%;

}

.service-card{
 
    width: 400px;

    background-color: var(--bg-soft);
    align-items: center;
    border-radius: 8px;
    color: var(--brand-blue);
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, max-height 0.3s ease-in-out;
    overflow: hidden; /* Cache tout le contenu qui dépasse */
    max-height: 70px; /* Hauteur initiale */

}

.service-card:hover {
    transform: scale(1.05);
    background-color: var(--brand-blue);

    

}

.service-card:hover .service-card-title{
    color: var(--border-light);
    

}

.service-card-title{

    color: black;
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /* Par défaut : aligne les éléments sur le côté gauche */
    width: 100%;

}
.service-card-title i{

    font-size: 30px;
    margin-right: 10px;

}
.service-card-content {
    max-height: 0; /* Le contenu est caché initialement */
    overflow: hidden; /* Cache tout contenu qui dépasse */
    transition: max-height 0.3s ease-in-out; /* Animation de dépliage */
    color: white;
    margin-top: 15px;
}
.service-card-intro {
    font-size: 16px;
    color: white;
    text-align: left;
    margin-bottom: 20px;
}

.service-card-list {
    list-style: none;
    text-align: left;
    padding-left: 70px;
    margin-bottom: 20px;
}

.service-card-list li {
    font-size: 14px;
    margin-bottom: 8px;
    color: white;
}

.service-card-btn {
    padding: 10px 20px;
    font-family: inherit;
    background-color: var(--brand-blue);
    width: 100%;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.service-card-btn:hover {
    background-color: white;
    color: var(--brand-blue);
    transition: 0.3s;
}

/* Transitions card open */

.service-card.open .service-card-content {
    max-height: 300px; /* Lorsque la carte est ouverte, le contenu s'affiche */

}

.service-card.open {
    max-height: 500px; /* La hauteur augmente pour laisser place au contenu */
    background-color: var(--text-primary);
}
.service-card.open .service-card-title{
    color: var(--border-light);
}

.service-card.closing {
    max-height: 70px; /* Hauteur réduite lors de la fermeture */
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, max-height 0.3s ease-in-out 0.01s;
    
}

/* Le contenu de la carte est caché lors de la fermeture */
.service-card.closing .service-card-content {
    max-height: 0;
    padding-bottom: 0;
    transition: max-height 0.3s ease-in-out 0.01s; /* Délai sur le contenu */
}

/* Integration Section */

.integration-section{

    color: white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    height: 500px;
}

/* .integration-title - Now defined in styles/layouts/components-typography.css */

.integration-logo{
    display: flex;
    flex-wrap: wrap;
    column-gap: 100px; 
    justify-content:space-between;
    margin-top: 100px;
    margin-bottom: 100px;

}

.integration-logo .logoint:nth-child(6){
    margin-left: 70px;

}
.integration-logo .logoint:nth-child(9){

    margin-right: 70px;
}
.integration-logo .logoint:nth-child(5):nth-child(-n+8){

    column-gap: 60px;
}

.integration-logo img{
    width: 200px;
    transition: transform 0.3s ease;

}

.integration-logo img:hover{
    transform: scale(1.1);

}

/* Ready section bleu */
.ready-section-bleu{

    color: black;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    height: 800px;

}
/* .ready-title - Now defined in styles/layouts/components-typography.css */

.logo-banner-noir {
    width: 100%;
    overflow: visible;
    position: relative;
    align-items: center;
    justify-content: center;
    background-color: var(--text-primary); /* Couleur de fond si nécessaire */
}

.logo-track img {
    height: 150px; /* Ajuste selon la taille de tes logos */
    width: 150px;
    border-color: var(--text-primary);
    object-fit: contain;
}

.logo-trackinv {
  display: flex;
  width: max-content;          /* largeur = contenu */
  gap: 100px;
  animation: scrollinv 90s linear infinite; /* durée à ajuster */
}

.logo-trackinv img {
  height: 150px;
  width: 150px;
  object-fit: contain;
  flex-shrink: 0;              /* ne pas réduire les images */
}

/* Scroll vers la gauche, de 0 à -50% (car 2 séries de logos) */
@keyframes scrollinv {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

/*//////////////////////////////////////////*/
/* Slanted Video section */
/*//////////////////////////////////////////*/

.video-container {
    display: flex; /* Affichage en ligne des vidéos */
    flex-direction: row; /* Alignement horizontal */
    flex-wrap: nowrap; /* Les vidéos ne passent pas sur une nouvelle ligne */
    width: 100%;
    height: calc(100% + 100px);
    transform: skewY(1deg) translateY(-70px);
}

.video-container video {
    flex: 1; /* Les vidéos prennent une largeur égale */
  height: 100%;
  width: 100%;
  object-fit: cover; /* Remplit parfaitement chaque espace vidéo */
  
    
}
.video-wrapper {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
    width: 20%;
  }

.video-wrapper:hover video {
    
    transition: transform 0.3s ease-in-out;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blue-overlay); /* Voile bleu transparent */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Caché par défaut */
    transition: opacity 0.3s ease-in-out;
  }
  
  .video-wrapper:hover .overlay {
    opacity: 1; /* Affiche le voile et le texte au survol */
  }
  
  .text {
    color: var(--bg-white);
    text-align: center;
  }
  
  .text h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
  }
  
  .text p {
    margin: 5px 0 0;
    font-size: 16px;
  }

@media (max-width: 768px) {
    .video-wrapper:nth-child(5) {
        display: none;
    }
}
