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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: #0C0A3E;
    color: #FFFFFF;
    line-height: 1.6;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 0.75rem;
    background: rgba(12, 10, 62, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    box-shadow: 0 0 30px rgba(90, 177, 187, 0.1);
}

.nav-container {
    display: flex;
    gap: 3rem;
    align-items: center;
    padding: 0 2rem;
    white-space: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #FFFFFF;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo a {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    color: #FFFFFF;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: block;
}

.nav-links a:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: rgba(12, 10, 62, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(90, 177, 187, 0.15);
    border-radius: 8px;
    margin: 0 0.5rem;
}

.nav-cta {
    background: #FFFFFF;
    color: #0C0A3E !important;
    font-weight: 600;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 10rem 2rem 6rem;
    overflow: hidden;
    border-radius: 0 0 3rem 3rem;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at bottom,
        rgba(90, 177, 187, 0.4) 0%,
        rgba(194, 0, 251, 0.4) 20%,
        rgba(90, 177, 187, 0.25) 35%,
        rgba(194, 0, 251, 0.15) 50%,
        transparent 70%);
    z-index: 1;
    animation: gradientMove 20s ease-in-out infinite;
    filter: blur(80px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 100%,
        rgba(90, 177, 187, 0.5) 0%,
        rgba(194, 0, 251, 0.5) 20%,
        transparent 50%);
    z-index: 1;
    filter: blur(60px);
    mix-blend-mode: screen;
}

@keyframes gradientMove {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #FFFFFF, #5AB1BB);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 900px;
    text-align: center;
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.btn, .primary-button, .secondary-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.primary-button, .btn-primary {
    background: #FFFFFF;
    color: #0C0A3E;
    animation: pulse 2s infinite;
}

.primary-button:hover, .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 5px 15px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 40px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.secondary-button, .btn-secondary {
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    background: transparent;
}

.secondary-button:hover, .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #5AB1BB;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(45deg, #FFFFFF, #5AB1BB);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

.section-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Force 4 columns on desktop when there are exactly 4 items */
@media (min-width: 1200px) {
    .services-grid:has(.service-card:nth-child(4):last-child) {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Center 5 items grid: 3 on top row, 2 centered on bottom */
    .services-grid:has(.service-card:nth-child(5):last-child) {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .services-grid:has(.service-card:nth-child(5):last-child) .service-card {
        grid-column: span 2;
    }
    
    .services-grid:has(.service-card:nth-child(5):last-child) .service-card:nth-child(4) {
        grid-column: 2 / 4;
    }
    
    .services-grid:has(.service-card:nth-child(5):last-child) .service-card:nth-child(5) {
        grid-column: 4 / 6;
    }
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(90, 177, 187, 0.2);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    stroke: #fff;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon svg {
    stroke: #5AB1BB;
    transform: scale(1.1);
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFFFFF;
    line-height: 1.4;
}

.service-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #5AB1BB;
    font-weight: bold;
}

.service-link {
    color: #5AB1BB;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 0.75rem;
    color: #C200FB;
}

.stats-section {
    background: linear-gradient(165deg, rgba(90, 177, 187, 0.05), transparent);
    padding: 5rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #5AB1BB, #C200FB);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.stat-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    border-radius: 1.5rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    border-color: rgba(90, 177, 187, 0.3);
    box-shadow: 0 12px 40px rgba(90, 177, 187, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #006494, #C200FB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
    font-weight: 700;
}

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

.portfolio-content {
    padding: 2rem;
    background: #0C0A3E;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.portfolio-tag {
    display: inline-block;
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    background: rgba(90, 177, 187, 0.1);
    color: #5AB1BB;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.portfolio-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(90, 177, 187, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(90, 177, 187, 0.15);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5AB1BB, #C200FB);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(90, 177, 187, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(90, 177, 187, 0.3);
    box-shadow: 0 12px 40px rgba(90, 177, 187, 0.2);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5AB1BB, #C200FB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-info h4 {
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
    font-family: 'Poppins', sans-serif;
}

.author-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-section {
    background: linear-gradient(165deg, rgba(90, 177, 187, 0.1), transparent);
    text-align: center;
    padding: 6rem 2rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
}

.cta-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

footer {
    background: rgba(12, 10, 62, 0.5);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3 {
    color: #FFFFFF;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #5AB1BB;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #5AB1BB;
    box-shadow: 0 0 0 3px rgba(90, 177, 187, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select option {
    background: #0A0A13;
    color: #FFFFFF;
    padding: 1rem;
}

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

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.filter-btn.active {
    background: linear-gradient(135deg, #5AB1BB, #C200FB);
    border-color: transparent;
    color: #FFFFFF;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(90, 177, 187, 0.3);
}

/* Timeline Section - Style inspiration */
.timeline-section {
    padding: 6rem 2rem;
    position: relative;
    min-height: 100vh;
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.timeline-progress-line {
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: rgba(90, 177, 187, 0.2);
    border-radius: 2px;
    height: calc(100% - 8rem);
    margin-top: 8rem;
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, #5AB1BB, #006494);
    transition: height 0.3s ease;
    border-radius: 2px;
}

.timeline-items {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8rem;
    padding-left: 150px;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 4rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    opacity: 0.3;
    transform: translateY(30px);
    transition: opacity 0.3s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

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

.timeline-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #5AB1BB;
    min-width: 180px;
    text-align: right;
    padding-right: 2rem;
    font-family: 'Poppins', sans-serif;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    max-width: 600px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.timeline-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Timeline responsive - Tablette */
@media (max-width: 1024px) {
    .timeline-items {
        padding-left: 100px;
    }

    .timeline-progress-line {
        left: 60px;
    }

    .timeline-number {
        min-width: 120px;
        font-size: 1.5rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        top: 0;
        width: 100%;
        left: 0;
        transform: none;
        border-radius: 0;
        max-width: 100%;
    }

    .nav-container {
        gap: 1rem;
        padding: 0 1rem;
        justify-content: space-between;
    }

    .logo-text {
        display: none;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: rgba(12, 10, 62, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -4px 0 32px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
        z-index: 1001;
    }

    .hero {
        padding: 8rem 1.5rem 4rem;
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn, .primary-button, .secondary-button {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 5rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 1.1rem;
    }

    .logo img {
        height: 28px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive pour les grilles spécifiques */
@media (max-width: 1024px) {
    /* Section overview services avec 5 cards */
    [style*="grid-template-columns: repeat(5, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Section équipe méthode avec 3 colonnes */
    [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Annuler le span 2 sur tablette/mobile pour la card Vous */
    [style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Passer à 1 colonne sur mobile pour toutes les grilles */
    [style*="grid-template-columns: repeat(5, 1fr)"],
    [style*="grid-template-columns: repeat(3, 1fr)"],
    [style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    /* Améliorer l'espacement sur mobile */
    section {
        padding: 3rem 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    /* Hero responsive */
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        gap: 1rem;
    }
    
    /* Timeline responsive - simplifier le layout sur mobile */
    #timeline-container {
        max-width: 100% !important;
        padding-left: 0 !important;
    }
    
    #timeline-container .stat-item {
        flex-direction: row !important;
        align-items: flex-start !important;
        margin-bottom: 3rem !important;
    }
    
    /* Cacher les divs vides sur mobile */
    #timeline-container .stat-item > div:first-child:empty,
    #timeline-container .stat-item > div:last-child:empty {
        display: none !important;
    }
    
    /* Forcer tous les textes à droite des cercles */
    #timeline-container .stat-item [style*="flex: 1"] {
        text-align: left !important;
        padding-left: 1.5rem !important;
        padding-right: 0 !important;
        flex: 1 !important;
    }
    
    /* Réduire la taille des cercles sur mobile */
    #timeline-container .stat-item [style*="border-radius: 50%"] {
        width: 70px !important;
        height: 70px !important;
        font-size: 1.5rem !important;
        flex-shrink: 0 !important;
    }
    
    /* Cacher les lignes verticales sur mobile */
    #timeline-container > div[style*="position: absolute"] {
        display: none !important;
    }
    
    #timeline-progress {
        display: none !important;
    }
    
    /* Timeline processus méthode - style inspiration */
    #process-timeline .timeline-items {
        padding-left: 2.5rem !important;
        gap: 5rem !important;
    }
    
    #process-timeline .timeline-progress-line {
        left: 0.75rem !important;
        width: 3px !important;
    }
    
    #process-timeline .timeline-item {
        flex-direction: column !important;
        gap: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    #process-timeline .timeline-number {
        min-width: auto !important;
        text-align: left !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        font-size: 1.2rem !important;
    }
    
    #process-timeline .timeline-content {
        padding: 1.2rem !important;
        max-width: 100% !important;
    }
    
    #process-timeline .timeline-content h3 {
        font-size: 1.25rem !important;
    }
    
    #process-timeline .timeline-content p {
        font-size: 0.95rem !important;
    }
    
    /* Timeline bénéfices parlons-ia - style inspiration */
    #benefits-timeline .timeline-items {
        padding-left: 2.5rem !important;
        gap: 5rem !important;
    }
    
    #benefits-timeline .timeline-progress-line {
        left: 0.75rem !important;
        width: 3px !important;
    }
    
    #benefits-timeline .timeline-item {
        flex-direction: column !important;
        gap: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    #benefits-timeline .timeline-number {
        min-width: auto !important;
        text-align: left !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        font-size: 1.2rem !important;
    }
    
    #benefits-timeline .timeline-content {
        padding: 1.2rem !important;
        max-width: 100% !important;
    }
    
    #benefits-timeline .timeline-content h3 {
        font-size: 1.25rem !important;
    }
    
    #benefits-timeline .timeline-content p {
        font-size: 0.95rem !important;
    }
}
