/* Variables CSS pour faciliter la maintenance */
:root {
    --color-primary: #1e3a5f;
    --color-secondary: #2c3e50;
    --color-dark: #0f172a;
    --color-black: #000000;
    --color-text: #333;
    --color-text-light: #475569;
    --color-text-lighter: #64748b;
    --color-white: #ffffff;
    --color-bg-light: #f1f3f5;
    --color-bg-lighter: #f8f9fa;
    --color-border: rgba(30,58,95,0.1);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.12);
    --transition-base: 0.3s ease;
}

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

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

#accueil,
#partenaires,
#services {
    scroll-margin-top: 100px;
}

#tarifs {
    scroll-margin-top: 70px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #ffffff;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

.nav-inner {
    padding: 1rem 0;
}

/* Header et Navigation */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.logo:hover .logo-icon {
    transform: scale(1.08);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: -0.03em;
}

.logo-highlight {
    background: linear-gradient(135deg, var(--color-primary), #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), #3498db);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #1e3a5f;
}

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

/* Dropdown menu pour Services */
.nav-item-with-dropdown {
    position: relative;
}

.nav-link-with-dropdown {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.dropdown-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-item-with-dropdown:hover .dropdown-icon,
.nav-item-with-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.8rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1002;
    border: 1px solid rgba(30, 58, 95, 0.1);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
}

.nav-item-with-dropdown:hover .dropdown-menu,
.nav-item-with-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.3rem;
    color: var(--color-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a i {
    color: var(--color-primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05), rgba(52, 152, 219, 0.05));
    color: var(--color-primary);
    padding-left: 1.5rem;
}

.dropdown-menu a:hover i {
    transform: scale(1.15);
}

.dropdown-menu li:first-child a {
    border-radius: 12px 12px 0 0;
}

.dropdown-menu li:last-child a {
    border-radius: 0 0 12px 12px;
}

/* Menu hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animation du menu hamburger quand ouvert */
.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background: radial-gradient(ellipse at top, #1e3a5f 0%, #0f172a 50%, #000000 100%);
    color: white;
    padding: 50px 0 40px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 58, 95, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-logo-fullwidth {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto 2rem;
}

.hero-logo-new {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.hero-logo-new svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 30px rgba(30, 58, 95, 0.3));
}

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

.hero-logo {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    opacity: 0.9;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1)) brightness(0.98) contrast(0.95);
    transition: opacity 0.3s ease;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #1e3a5f;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.cta-button i {
    margin-right: 0.5rem;
}

.cta-button-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #1e3a5f;
}

.cta-buttons-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

/* Styles Calendly popup - Desktop */
.calendly-overlay {
    z-index: 10000;
    background: rgba(0, 0, 0, 0.8) !important;
}

.calendly-overlay .calendly-popup {
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.calendly-overlay .calendly-popup-close {
    cursor: pointer;
    transition: transform 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.calendly-overlay .calendly-popup-close:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

/* Empêcher le scroll du body quand popup ouvert */
body.calendly-overlay-open {
    overflow: hidden;
}

/* Hero Découverte Compact */
.hero-decouverte {
    margin-top: 1.8rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-decouverte-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.hero-decouverte-text i {
    color: #fbbf24;
    font-size: 1.1rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.hero-decouverte-text strong {
    color: #ffffff;
    font-weight: 600;
}

.cta-button-compact {
    padding: 12px 28px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button-compact i {
    font-size: 0.9rem;
}

/* Trusted By Section */
.trusted-by {
    padding: 60px 2rem;
    text-align: center;
    background: #f8f9fa;
}

.trusted-by h2 {
    margin-bottom: 3rem;
    color: #2c3e50;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.trusted-logos img {
    max-width: 150px;
    height: auto;
    opacity: 0.6;
    transition: opacity 0.3s;
    filter: grayscale(100%);
}

.trusted-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Partenaires Section */
.partenaires {
    padding: 60px 0;
    background: #ffffff;
    text-align: center;
    position: relative;
}

.partenaires::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30,58,95,0.1), transparent);
}

.partenaires h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.partenaires-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.partenaire-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    max-width: 200px;
    position: relative;
    padding-top: 0;
}

.partenaire-card a {
    text-decoration: none;
    display: inline-block;
}

.partenaire-logo {
    max-width: 180px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s, opacity 0.3s;
    filter: grayscale(20%);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.partenaire-logo:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.partenaire-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(30, 58, 95, 0.95);
    backdrop-filter: blur(8px);
    color: white;
    text-align: center;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: normal;
    width: auto;
    min-width: 220px;
    max-width: calc(100vw - 120px);
    line-height: 1.5;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.partenaire-card:hover .partenaire-tooltip[data-has-content="true"] {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.partenaire-tooltip::after {
    display: none;
}

/* Tooltips responsive pour mobile */
@media (max-width: 768px) {
    .partenaire-tooltip {
        min-width: 200px;
        max-width: calc(100vw - 80px);
        font-size: 0.85rem;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .partenaire-tooltip {
        min-width: 180px;
        max-width: calc(100vw - 60px);
        font-size: 0.8rem;
        padding: 12px 14px;
        line-height: 1.4;
    }
}

@media (max-width: 360px) {
    .partenaire-tooltip {
        min-width: 160px;
        max-width: calc(100vw - 40px);
        font-size: 0.75rem;
        padding: 10px 12px;
    }
}

.partenaire-text {
    text-align: center;
    color: #475569;
    font-size: 0.75rem;
    line-height: 1.3;
    margin-top: 0.3rem;
    max-width: 180px;
    display: none;
}

/* Partenaires Carousel */
.partenaires-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 60px;
    margin: 0 auto;
    max-width: 100%;
}

.partenaires-carousel .carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30,58,95,0.9);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 2;
}

.partenaires-carousel .carousel-control:hover:not(:disabled) {
    background: rgba(30,58,95,1);
    transform: translateY(-50%) scale(1.1);
}

.partenaires-carousel .carousel-control.prev { left: 10px; }
.partenaires-carousel .carousel-control.next { right: 10px; }

.partenaires-carousel .carousel-control:disabled {
    opacity: 0.3;
    pointer-events: none;
}

.partenaires-carousel-track {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
    align-items: center;
    justify-content: flex-start;
}

.partenaires-carousel-track::-webkit-scrollbar {
    display: none;
}

.partenaires-carousel .partenaire-card {
    flex: 0 0 180px;
    width: 180px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Certifications Section */
.certifications {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
    position: relative;
}

.certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30,58,95,0.1), transparent);
}

.certifications h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.certifications-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.certification-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 200px;
    position: relative;
    padding-top: 0;
}

.certification-logo {
    max-width: 120px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s, opacity 0.3s;
    filter: grayscale(20%);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.certification-logo:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.certification-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background-color: #1e3a5f;
    color: white;
    text-align: center;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 400;
    white-space: normal;
    width: 300px;
    max-width: 90vw;
    line-height: 1.5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    display: block;
}

.certification-card:hover .certification-tooltip[data-has-content="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.certification-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1e3a5f;
}

/* Technologies Section */
.technologies {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.technologies h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.technologies-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 60px;
    margin: 0 auto;
    max-width: 100%;
}

.technologies-carousel .carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30,58,95,0.9);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 10;
}

.technologies-carousel .carousel-control:hover:not(:disabled) {
    background: rgba(30,58,95,1);
    transform: translateY(-50%) scale(1.1);
}

.technologies-carousel .carousel-control.prev { left: 10px; }
.technologies-carousel .carousel-control.next { right: 10px; }

.technologies-carousel .carousel-control:disabled {
    opacity: 0.3;
    pointer-events: none;
}

.technologies-carousel-track {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
}

.technologies-carousel-track::-webkit-scrollbar {
    display: none;
}

.technologie-card {
    position: relative;
    flex: 0 0 100px;
    width: 100px;
    min-width: 100px;
    height: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

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

.technologie-logo {
    max-width: 80px;
    max-height: 55px;
    width: 80px !important;
    height: 55px !important;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
    filter: grayscale(30%);
    opacity: 0.9;
}

.technologie-logo:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
    opacity: 1;
}

/* Services Section */
.services {
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    border-radius: 2px;
}

.services h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.services-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 1.5rem;
    color: #475569;
    line-height: 1.5;
    font-size: 0.95rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    padding: 1.5rem 1.2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(30,58,95,0.08);
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none !important;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #3498db);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    border-color: rgba(30,58,95,0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 2.5rem;
    color: #1e3a5f;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
    color: #3498db;
}

.service-card h3 {
    margin-bottom: 0.6rem;
    color: #2c3e50;
    font-size: 1rem;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    color: #475569;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    flex: 1;
    font-size: 0.85rem;
}

.service-card .service-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.8rem;
    font-weight: 600;
    color: #1e3a5f;
    font-size: 0.85rem;
}

.service-card .service-more::after {
    content: "→";
    transition: transform 0.3s;
}

.service-card:hover .service-more::after {
    transform: translateX(5px);
}

.service-mode {
    color: #1e3a5f;
    font-weight: 600;
    margin-top: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e8f0 100%);
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.pricing-card.featured {
    background: linear-gradient(135deg, #1e3a5f 0%, #000000 100%);
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured li {
    color: white;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e3a5f;
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.pricing-card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #eee;
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* Pricing tags Section */
.pricing-tags {
    padding: 60px 0 50px;
    background: linear-gradient(135deg, #1e3a5f 0%, #000000 100%);
    color: white;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: white;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-tags h2 {
    text-align: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 0.8rem;
}

.pricing-tags-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.pricing-cta {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: transparent;
    border-radius: 12px;
    box-shadow: none;
    border: none;
}

.pricing-cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-coordinates {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-coordinates p {
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
}

.contact-coordinates a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.contact-coordinates a:hover {
    opacity: 0.8;
}

.tarif-rows {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .tarif-rows {
        display: flex;
        flex-direction: column;
        overflow: visible;
        gap: 1rem;
        padding: 0;
        scroll-padding: 0;
        justify-content: center;
    }

    .tarif-row {
        width: 100%;
        max-width: 100%;
        padding: 1.2rem 1rem;
        min-height: 360px;
    }

    .tarif-row-content h3 {
        font-size: 0.95rem;
        min-height: 2.2em;
    }

    .tarif-row-content p {
        font-size: 0.8rem;
        line-height: 1.35;
        min-height: auto;
        line-clamp: unset;
        -webkit-line-clamp: unset;
        -webkit-box-orient: vertical;
        display: block;
        overflow: visible;
    }

    .tarif-row-content p strong {
        font-size: 0.8rem;
        padding-top: 0.5rem;
    }
}

.tarif-row {
    background: #f1f3f5;
    border-radius: 12px;
    padding: 1.2rem 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(30,58,95,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px;
    box-shadow: none;
}

.tarif-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    border-color: rgba(30,58,95,0.3);
}

.tarif-row-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.tarif-row-content h3 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 0.6rem;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tarif-row-content p {
    color: #475569;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 90px;
    overflow: visible;
}

.tarif-row-content p strong {
    display: block;
    margin-top: auto;
    padding-top: 0.8rem;
    color: #1e3a5f;
    font-weight: 600;
    font-size: 0.9rem;
}

.tarif-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.tarif-tag {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1.2rem 1.4rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px dashed rgba(15,23,42,0.15);
    min-height: 150px;
}

.tarif-tag strong {
    font-size: 1.05rem;
    color: #0f172a;
}

.tarif-tag .tag-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e3a5f;
}

.tarif-tag .tag-desc {
    font-size: 0.95rem;
    color: #475569;
    margin: 0.4rem 0;
    flex: 1;
}

.tarif-tag .tag-note {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f766e;
}

.tarif-tag small {
    margin-top: auto;
    font-size: 0.85rem;
    color: #64748b;
}

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

@media (max-width: 768px) and (min-width: 481px) {
    .tarif-rows {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tarif-row {
        padding: 1rem 0.8rem;
        min-height: 160px;
    }

    .tarif-tag {
        min-height: auto;
    }
}

/* Contact Section */
.contact {
    padding: 40px 0;
    background: white;
}

.contact-info {
    max-width: 520px;
    margin: 0 auto;
    padding: 2rem 2.4rem;
    text-align: center;
    background: #f1f5f9;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(15,23,42,0.12);
    border: 1px solid rgba(30,58,95,0.12);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.contact-info p {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    line-height: 1.6;
}

.contact-info a {
    color: #1e3a5f;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #0f172a;
}

.contact-phone,
.contact-email {
    font-weight: 500;
}

.contact-availability {
    font-size: 0.95rem;
    color: #6b7a90;
    margin-bottom: 0;
}

/* Page service détail */
.service-detail {
    padding: 0;
    margin-top: 0;
}

.service-detail .container {
    max-width: 1050px;
    overflow: visible;
}

.service-hero {
    text-align: center;
    margin-bottom: 60px;
}

.service-hero h1 {
    font-size: 2.5rem;
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.service-hero p {
    font-size: 1.1rem;
    color: #2c3e50;
    max-width: 800px;
    margin: 0 auto;
}

.service-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 2.5rem;
    color: #475569;
    line-height: 1.6;
    font-size: 1.1rem;
}

.service-cases {
    padding: 10px 0;
    background: white;
}

.service-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 60px;
    margin: 0 auto;
    max-width: 100%;
    border-left: 2px solid rgba(30,58,95,0.2);
    border-right: 2px solid rgba(30,58,95,0.2);
}

.service-carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow: visible;
    will-change: transform;
    transition: transform 0.4s ease;
    padding: 0;
    align-items: stretch;
    width: auto;
}

@media (max-width: 640px) {
    .service-carousel-track {
        gap: 1rem;
        padding: 0;
    }
}

.service-carousel .case-card {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    box-sizing: border-box;
    min-height: 360px;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30,58,95,0.9);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    z-index: 2;
}

.carousel-control.prev { left: 0; }
.carousel-control.next { right: 0; }

.carousel-control:disabled {
    opacity: 0.3;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .service-carousel .case-card {
        min-width: calc((100% - 2rem) / 3);
        width: calc((100% - 2rem) / 3);
        max-width: calc((100% - 2rem) / 3);
        min-height: 360px;
        height: auto;
    }

    .service-carousel {
        margin: 0 auto;
        padding: 20px 50px;
        border-left: 2px solid rgba(30,58,95,0.2);
        border-right: 2px solid rgba(30,58,95,0.2);
    }

    .service-carousel-track {
        padding: 0;
        width: auto;
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .service-carousel .case-card {
        min-width: calc((100% - 1.5rem) / 2);
        width: calc((100% - 1.5rem) / 2);
        max-width: calc((100% - 1.5rem) / 2);
        min-height: 360px;
        height: auto;
    }

    .service-carousel {
        margin: 0 auto;
        padding: 15px 45px;
        border-left: 2px solid rgba(30,58,95,0.2);
        border-right: 2px solid rgba(30,58,95,0.2);
    }

    .service-carousel-track {
        padding: 0;
        width: auto;
        min-width: 100%;
    }

    .carousel-control {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    
    .technologies-carousel {
        padding: 15px 40px;
    }
    
    .technologies-carousel-track {
        gap: 1.5rem;
    }
    
    .technologie-card {
        flex: 0 0 75px;
        width: 75px;
        min-width: 75px;
        height: 60px;
    }
    
    .technologie-logo {
        max-width: 55px;
        max-height: 40px;
        width: 55px;
        height: 40px;
    }

    .partenaires-carousel {
        padding: 15px 40px;
    }
    
    .partenaires-carousel-track {
        gap: 2rem;
    }
    
    .partenaires-carousel .partenaire-card {
        flex: 0 0 120px;
        width: 120px;
        min-width: 120px;
    }
    
    .partenaire-logo {
        max-width: 120px;
        max-height: 75px;
    }
}

@media (max-width: 640px) {
    .service-carousel .case-card {
        min-width: clamp(80px, calc((100vw - 60px - 2rem) / 3), calc((100% - 2rem) / 3));
        width: clamp(80px, calc((100vw - 60px - 2rem) / 3), calc((100% - 2rem) / 3));
        max-width: calc((100% - 2rem) / 3);
        min-height: 320px;
        height: auto;
    }

    .service-carousel {
        padding: 15px 30px;
        margin: 0 auto;
        border-left: 2px solid rgba(30,58,95,0.2);
        border-right: 2px solid rgba(30,58,95,0.2);
    }

    .service-carousel-track {
        padding: 0;
        justify-content: center;
        max-width: calc(100% - 60px);
    }

    .carousel-control {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .carousel-control.prev { left: 0; }
    .carousel-control.next { right: 0; }
    
    .technologies-carousel {
        padding: 15px 25px;
    }
    
    .technologies-carousel-track {
        gap: 1.2rem;
    }
    
    .technologie-card {
        flex: 0 0 65px;
        width: 65px;
        min-width: 65px;
        height: 55px;
    }
    
    .technologie-logo {
        max-width: 48px;
        max-height: 38px;
        width: 48px;
        height: 38px;
    }

    .partenaires-carousel {
        padding: 15px 25px;
    }
    
    .partenaires-carousel-track {
        gap: 1.5rem;
    }
    
    .partenaires-carousel .partenaire-card {
        flex: 0 0 110px;
        width: 110px;
        min-width: 110px;
    }
    
    .partenaire-logo {
        max-width: 110px;
        max-height: 70px;
    }
}

@media (max-width: 480px) {
    .service-carousel .case-card {
        min-width: clamp(70px, calc((100vw - 60px - 1.5rem) / 3), calc((100% - 1.5rem) / 3));
        width: clamp(70px, calc((100vw - 60px - 1.5rem) / 3), calc((100% - 1.5rem) / 3));
    }

    .service-carousel {
        padding: 15px 20px;
    }

    .service-carousel-track {
        max-width: calc(100% - 40px);
        gap: 0.75rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 1rem;
    }

    .service-carousel .case-card {
        min-width: clamp(60px, calc((100vw - 40px - 1rem) / 3), calc((100% - 1rem) / 3));
        width: clamp(60px, calc((100vw - 40px - 1rem) / 3), calc((100% - 1rem) / 3));
    }

    .service-carousel {
        padding: 15px 15px;
    }

    .service-carousel-track {
        max-width: calc(100% - 30px);
        gap: 0.5rem;
    }
    
    .technologies-carousel {
        padding: 10px 20px;
    }
    
    .technologies-carousel-track {
        gap: 1rem;
    }
    
    .technologie-card {
        flex: 0 0 55px;
        width: 55px;
        min-width: 55px;
        height: 50px;
    }
    
    .technologie-logo {
        max-width: 45px;
        max-height: 35px;
        width: 45px;
        height: 35px;
    }

    .technologies-carousel .carousel-control {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .partenaires-carousel {
        padding: 10px 20px;
    }
    
    .partenaires-carousel-track {
        gap: 1.5rem;
    }
    
    .partenaires-carousel .partenaire-card {
        flex: 0 0 100px;
        width: 100px;
        min-width: 100px;
    }
    
    .partenaire-logo {
        max-width: 100px;
        max-height: 65px;
    }

    .partenaires-carousel .carousel-control {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .partenaires-grid {
        gap: 1.5rem;
        row-gap: 2rem;
        max-width: 300px;
    }

    .partenaire-logo {
        max-width: 100px;
        max-height: 65px;
    }

    .certifications-grid {
        gap: 1.5rem;
        row-gap: 2rem;
        max-width: 300px;
    }

    .certification-logo {
        max-width: 80px;
        max-height: 50px;
    }

    .service-card i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
}

.service-cases--custom {
    padding-top: 30px;
    padding-bottom: 20px;
}

.service-cases h2,
.service-cta h2 {
    text-align: center;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.case-card {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(15,23,42,0.08);
    border: 2px solid rgba(30, 58, 95, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a5f 0%, #3b82f6 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.case-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(15,23,42,0.15);
    border-color: rgba(30,58,95,0.2);
}

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

.case-card-icon {
    font-size: 2.5rem;
    margin: 1.5rem auto 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(30,58,95,0.05) 0%, rgba(59,130,246,0.08) 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(30,58,95,0.08);
}

.case-card:hover .case-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(30,58,95,0.08) 0%, rgba(59,130,246,0.12) 100%);
    border-color: rgba(30,58,95,0.15);
}

.case-card h3 {
    color: #1e3a5f;
    margin: 0;
    padding: 0 1.5rem 0.8rem;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.case-card p {
    color: #475569;
    margin: 0;
    padding: 0 1.5rem 1rem;
    line-height: 1.6;
    flex: 0 0 auto;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 400;
}

.case-card ul {
    list-style: none;
    padding: 1rem 1.5rem 1.5rem;
    margin: 0;
    margin-top: auto;
    color: #64748b;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.85rem;
    background: rgba(248,250,252,0.5);
    border-top: 1px solid rgba(30,58,95,0.06);
    flex-shrink: 0;
    text-align: center;
}

.case-card ul li {
    position: relative;
    padding-left: 0;
    margin: 0;
    text-align: center;
    display: block;
    line-height: 1.5;
}

.case-card ul li::before {
    content: "✓ ";
    color: #3b82f6;
    font-weight: bold;
    position: relative;
    left: 0;
    font-size: 0.9rem;
    top: 0;
}

.service-cta {
    text-align: center;
    margin-top: 70px;
    background: linear-gradient(135deg, #1e3a5f 0%, #000000 100%);
    color: #ffffff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 24px 45px rgba(15,23,42,0.25);
}

.service-cta p {
    max-width: 640px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    color: #e2e8f0;
    font-size: 1.1rem;
}

.service-cta .cta-button {
    margin-top: 1rem;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 -1px 0 rgba(0,0,0,0.05);
    padding: 2.5rem 0 1.5rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    border-radius: 2px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(30,58,95,0.1);
}

.footer-section h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.footer-tagline {
    color: var(--color-text-light);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 0.8rem;
}

.footer-description {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 350px;
}

.footer-section h4 {
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 0.8rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-contact i {
    color: var(--color-primary);
    width: 16px;
}

.footer-contact a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 0 0;
}

.footer-bottom p {
    color: #64748b;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
    font-size: 2rem;
    color: white;
}

/* Chatbot Button */
.chatbot-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a5f 0%, #3498db 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.chatbot-button:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(30, 58, 95, 0.6);
}

.chatbot-button i {
    font-size: 1.6rem;
    color: white;
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.25);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.1);
}

.chatbot-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #3498db 100%);
    color: white;
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.chatbot-message {
    padding: 0.85rem 1.1rem;
    border-radius: 18px;
    max-width: 85%;
    word-wrap: break-word;
    animation: messageSlideIn 0.3s ease;
}

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

.chatbot-message.bot {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    color: #1e3a5f;
    margin-right: auto;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.chatbot-message.user {
    background: linear-gradient(135deg, #1e3a5f 0%, #3498db 100%);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 10px rgba(30, 58, 95, 0.3);
}

/* Loading message animation */
.chatbot-message.loading-message {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    color: #1e3a5f;
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* Suggestion chips */
.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0 0.5rem;
}

.suggestion-chip {
    padding: 0.5rem 1rem;
    background: white;
    border: 1.5px solid #e0f2fe;
    border-radius: 20px;
    color: #1e3a5f;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.suggestion-chip:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.2);
}

.chatbot-form {
    display: flex;
    gap: 0.8rem;
    padding: 1.2rem 1.5rem;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.chatbot-form input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.chatbot-form input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.chatbot-form button {
    width: 45px;
    height: 45px;
    padding: 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #3498db 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chatbot-form button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-description {
        max-width: 100%;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-links a:hover {
        transform: translateX(0);
    }

    .service-detail .container {
        overflow: visible;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    /* Menu mobile */
    .menu-toggle {
        display: flex;
    }

    nav {
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 60px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 1000;
        overflow-y: auto;
    }

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

    .nav-links li {
        width: 100%;
        margin-bottom: 0.5rem;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }

    .nav-links a {
        display: block;
        padding: 1rem 1.2rem;
        font-size: 1.1rem;
        color: var(--color-secondary);
        border-radius: 8px;
        background: transparent;
        transition: all 0.3s ease;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: linear-gradient(135deg, rgba(30, 58, 95, 0.05), rgba(52, 152, 219, 0.05));
        color: var(--color-primary);
        transform: translateX(5px);
    }

    /* Dropdown mobile */
    .nav-item-with-dropdown .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: rgba(30, 58, 95, 0.03);
        border: none;
        border-radius: 8px;
        margin-top: 0.5rem;
        margin-left: 1rem;
        padding: 0.5rem 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .nav-item-with-dropdown .dropdown-menu::before {
        display: none;
    }

    .nav-item-with-dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .nav-link-with-dropdown {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .dropdown-menu a {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .dropdown-menu a:hover {
        padding-left: 1.3rem;
    }

    /* Overlay pour fermer le menu */
    body::before {
        content: '';
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(0, 0, 0, 0);
        pointer-events: none;
        transition: background 0.3s ease;
        z-index: 999;
    }

    body.menu-open::before {
        background: rgba(0, 0, 0, 0.5);
        pointer-events: all;
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero-logo-fullwidth {
        max-height: 150px;
        margin-bottom: 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-logo-new {
        max-width: 450px;
        margin-bottom: 1.5rem;
    }

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

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 30px 0 20px;
        background: linear-gradient(135deg, #1e3a5f 0%, #000000 100%);
    }

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

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

    #tarifs {
        scroll-margin-top: 65px;
    }

    .hero-decouverte {
        margin-top: 1.5rem;
        padding: 1rem 1.3rem;
    }

    .hero-decouverte-text {
        font-size: 0.88rem;
        margin-bottom: 0.8rem;
        line-height: 1.55;
    }

    .hero-decouverte-text i {
        font-size: 1.05rem;
        flex-shrink: 0;
    }

    .cta-button-compact {
        padding: 11px 24px;
        font-size: 0.9rem;
    }

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

    .services {
        padding: 30px 0;
    }

    .partenaires {
        padding: 40px 0;
    }

    .partenaires-grid {
        gap: 2rem;
        row-gap: 2.5rem;
    }

    .partenaires-carousel {
        padding: 20px 50px;
    }

    .partenaires-carousel-track {
        gap: 2.5rem;
    }

    .partenaires-carousel .partenaire-card {
        flex: 0 0 140px;
        width: 140px;
        min-width: 140px;
    }

    .partenaire-logo {
        max-width: 140px;
        max-height: 85px;
    }

    .certifications {
        padding: 40px 0;
    }

    .certifications-grid {
        gap: 2rem;
        row-gap: 2.5rem;
    }

    .certification-logo {
        max-width: 100px;
        max-height: 60px;
    }

    .technologies-carousel {
        padding: 20px 50px;
    }

    .technologies-carousel-track {
        gap: 2.5rem;
    }

    .technologie-logo {
        max-width: 75px;
        max-height: 50px;
        width: 75px;
        height: 50px;
    }
    
    .technologie-card {
        flex: 0 0 90px;
        width: 90px;
        min-width: 90px;
        height: 70px;
    }

    .pricing-tags {
        padding: 40px 0 30px;
    }

    .services h2 {
        font-size: 1.8rem;
    }

    .service-hero h1 {
        font-size: 2.2rem;
    }

    .service-hero p {
        font-size: 1rem;
    }

    .service-cases h2,
    .service-cta h2 {
        font-size: 1.6rem;
    }

    .case-card-icon {
        font-size: 2.2rem;
        width: 65px;
        height: 65px;
        margin: 1.2rem auto 0.6rem;
    }

    .case-card h3 {
        font-size: 1rem;
        padding: 0 1.2rem 0.7rem;
    }

    .case-card p {
        font-size: 0.88rem;
        padding: 0 1.2rem 0.8rem;
    }

    .case-card ul {
        padding: 0.8rem 1.2rem 1.2rem;
        gap: 0.5rem;
        font-size: 0.82rem;
    }

    .case-card ul li {
        padding-left: 0;
    }

    .service-intro {
        font-size: 1rem;
    }

    .service-cta p {
        font-size: 1rem;
    }

    .service-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .cta-buttons-group {
        gap: 0.9rem;
    }

    .cta-buttons-group .cta-button {
        min-width: 200px;
        padding: 15px 32px;
        font-size: 1rem;
    }

    /* Popup Calendly sur tablette */
    .calendly-overlay .calendly-popup {
        width: 90% !important;
        height: 90% !important;
        max-width: 600px !important;
    }
}

/* Tablettes portrait et petits écrans */
@media (max-width: 767px) and (min-width: 481px) {
    .partenaires {
        padding: 45px 0;
    }

    .partenaires-grid {
        gap: 2.2rem;
        row-gap: 2.8rem;
        max-width: 450px;
        margin: 0 auto;
    }

    .partenaires-carousel {
        padding: 15px 45px;
    }

    .partenaires-carousel-track {
        gap: 2.2rem;
    }

    .partenaires-carousel .partenaire-card {
        flex: 0 0 130px;
        width: 130px;
        min-width: 130px;
    }

    .partenaire-logo {
        max-width: 130px;
        max-height: 80px;
    }

    .certifications {
        padding: 45px 0;
    }

    .certifications-grid {
        gap: 2.2rem;
        row-gap: 2.8rem;
        max-width: 450px;
        margin: 0 auto;
    }

    .certification-logo {
        max-width: 95px;
        max-height: 58px;
    }

    .technologies {
        padding: 45px 0;
    }

    .technologies-carousel {
        padding: 15px 45px;
    }

    .technologie-card {
        flex: 0 0 80px;
        width: 80px;
        min-width: 80px;
        height: 65px;
    }

    .technologie-logo {
        max-width: 60px;
        max-height: 45px;
        width: 60px !important;
        height: 45px !important;
    }

    .service-card i {
        font-size: 2.2rem;
    }

    .hero-decouverte {
        margin-top: 1.6rem;
        padding: 1rem 1.3rem;
    }

    .hero-decouverte-text {
        font-size: 0.87rem;
        line-height: 1.55;
    }

    .hero-decouverte-text i {
        font-size: 1.08rem;
        flex-shrink: 0;
    }

    .cta-button-compact {
        padding: 12px 26px;
        font-size: 0.9rem;
    }

    .service-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 25px 0 15px;
        background: radial-gradient(circle at center, #000000 0%, #1e3a5f 100%);
    }

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

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

    #tarifs {
        scroll-margin-top: 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        min-height: 180px;
        padding: 1rem 0.8rem;
    }

    .service-card i {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }

    .services {
        padding: 25px 0;
    }

    .partenaires {
        padding: 35px 0;
    }

    .partenaires h2 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .partenaires-grid {
        gap: 1.8rem;
        row-gap: 2.2rem;
        max-width: 350px;
        margin: 0 auto;
    }

    .partenaires-carousel {
        padding: 15px 35px;
    }

    .partenaires-carousel-track {
        gap: 1.8rem;
    }

    .partenaires-carousel .partenaire-card {
        flex: 0 0 120px;
        width: 120px;
        min-width: 120px;
    }

    .partenaire-logo {
        max-width: 120px;
        max-height: 75px;
    }

    .certifications {
        padding: 35px 0;
    }

    .certifications h2 {
        font-size: 1.6rem;
    }

    .certifications-grid {
        gap: 1.8rem;
        row-gap: 2.2rem;
        max-width: 350px;
        margin: 0 auto;
    }

    .certification-logo {
        max-width: 90px;
        max-height: 55px;
    }

    .technologies {
        padding: 40px 0;
    }

    .technologies-carousel {
        padding: 15px 35px;
    }

    .technologies-carousel-track {
        gap: 1.8rem;
    }

    .technologie-logo {
        max-width: 60px;
        max-height: 42px;
        width: 60px;
        height: 42px;
    }
    
    .technologie-card {
        flex: 0 0 75px;
        width: 75px;
        min-width: 75px;
        height: 62px;
    }

    .pricing-tags {
        padding: 30px 0 20px;
    }

    .hero-logo-fullwidth {
        max-height: 120px;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-logo-new {
        max-width: 320px;
        margin-bottom: 1rem;
    }

    .services h2 {
        font-size: 1.6rem;
    }

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

    .service-hero p {
        font-size: 0.95rem;
    }

    .service-cases h2,
    .service-cta h2 {
        font-size: 1.4rem;
    }

    .case-card-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
        margin: 1rem auto 0.5rem;
    }

    .case-card h3 {
        font-size: 0.95rem;
        padding: 0 1rem 0.6rem;
    }

    .case-card p {
        font-size: 0.85rem;
        padding: 0 1rem 0.7rem;
    }

    .case-card ul {
        padding: 0.7rem 1rem 1rem;
        gap: 0.45rem;
        font-size: 0.8rem;
    }

    .case-card ul li {
        padding-left: 0;
    }

    .service-intro {
        font-size: 0.95rem;
    }

    .service-cta p {
        font-size: 0.95rem;
    }

    .hero-decouverte {
        margin-top: 1.2rem;
        padding: 0.9rem 1rem;
    }

    .hero-decouverte-text {
        font-size: 0.82rem;
        margin-bottom: 0.7rem;
        gap: 0.3rem;
        line-height: 1.6;
    }

    .hero-decouverte-text i {
        font-size: 1rem;
        flex-shrink: 0;
    }

    .hero-decouverte-text strong {
        display: block;
        width: 100%;
        margin-bottom: 0.3rem;
    }

    .cta-button-compact {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .cta-buttons-group {
        flex-direction: column;
        gap: 0.8rem;
    }

    .cta-buttons-group .cta-button {
        width: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .contact-info {
        padding: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .chatbot-window {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 100px;
        height: 500px;
    }

    .whatsapp-button {
        bottom: 110px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-button i {
        font-size: 1.8rem;
    }

    .chatbot-button {
        bottom: 30px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .chatbot-button i {
        font-size: 1.4rem;
    }

    .hero-logo {
        max-width: 300px;
    }

    .service-detail .hero-logo {
        max-width: 200px;
    }

    .service-cases-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-cases--custom {
        padding: 30px 0;
    }

    /* Optimisation popup Calendly sur mobile */
    .calendly-overlay .calendly-popup {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .calendly-overlay .calendly-popup-content,
    .calendly-overlay .calendly-popup-content iframe {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
    }

    .calendly-overlay .calendly-popup-close {
        top: 10px !important;
        right: 10px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 24px !important;
    }
}

