/* ========== VARIABLES & BASE STYLES ========== */
:root {
    --bleu-nuit: #1A2530;
    --bleu-nuit-light: #253240;
    --orange: #E06C00;
    --orange-dark: #B85A00;
    --blanc: #FFFFFF;
    --gris-clair: #F5F7FA;
    --gris: #E2E8F0;
    --gris-fonce: #4A5568;
    --noir: #1A202C;
    --gold: #D4AF37;
    --transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    --mb-gap: 15px;
    --tb-gap: 25px;
    --dt-gap: 30px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--noir);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--blanc);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--bleu-nuit);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--dt-gap);
}

/* ========== PRELOADER ========== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bleu-nuit);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background-color: rgba(26, 37, 48, 0.97);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    font-weight: 700;
    color: var(--blanc);
    transition: var(--transition);
}

.logo img {
    height: 100%;
    border-radius: 20%;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

/* Navbar Desktop */
.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: var(--dt-gap);
}

.nav-desktop ul li {
    height: fit-content;
}

.nav-desktop ul li a {
    color: var(--blanc);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-desktop ul li a:hover {
    color: var(--orange);
}

.nav-desktop ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--orange);
    transition: var(--transition);
}

.nav-desktop ul li a:hover::after {
    width: 100%;
}

/* Nouveau style CSS pour le dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--blanc);
    width: 100%;
    height: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 0;
    cursor: pointer;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
    color: var(--orange);
    outline: none;
}

.dropdown-toggle[aria-expanded="true"] .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    gap: 0 !important;
    width: 280px;
    background-color: var(--bleu-nuit-light);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    opacity: 0;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    transform: translateY(15px);
    transition: 
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    position: relative;
    color: var(--blanc);
    padding: 10px 0 20px 20px;
    font-weight: 400;
    width: 280px;
    transition: 
        background-color 0.2s ease,
        color 0.2s ease;
}

.dropdown-menu li a {
    position: relative;
    width: 100%;
}


.dropdown-menu li:hover,
.dropdown-menu li:focus {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--orange);
}

.dropdown-menu li i {
    margin-right: 15px;
    color: var(--orange);
    text-align: center;
}

.dropdown-menu li i,
.dropdown-menu li i {
    color: var(--blanc);
}

/* Version mobile */
@media (max-width: 992px) {
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        background-color: transparent;
    }
    
    .dropdown-menu[aria-hidden="false"] {
        display: block;
    }
    
    .dropdown-menu li {
        padding: 12px 15px;
    }
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--blanc);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--orange);
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bleu-nuit-light);
    padding: 20px 0;
    z-index: 999;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-mobile.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-mobile ul {
    list-style: none;
    width: 100%;
    text-align: center;
}

.nav-mobile ul li {
    margin-bottom: 5px;
}

.nav-mobile ul li a {
    display: block;
    padding: 12px 20px;
    color: var(--blanc);
    font-weight: 500;
    transition: var(--transition);
}

.nav-mobile ul li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--orange);
}

.nav-mobile .dropdown-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.1);
    padding-left: 20px;
}

.nav-mobile ul li.dropdown.active .dropdown-menu {
    display: block;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blanc);
    font-weight: 500;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--orange);
}

.phone-link i {
    font-size: 0.9rem;
}

/* ========== BUTTONS ========== */
.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 28px;
    background-color: var(--orange);
    color: var(--blanc);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--orange);
    overflow: hidden;
    z-index: 1;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: 0.5s;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--blanc);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--blanc);
}

.cta-button-outline:hover {
    background-color: var(--blanc);
    color: var(--bleu-nuit);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ========== SPLITER SECTION ========== */
.spliter {
    position: relative;
    margin: 2vh 0;
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    background-color: rgb(148, 148, 148);
}
/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--blanc);
    padding-top: 80px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 37, 48, 0.9), rgba(26, 37, 48, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 25px;
    line-height: 1.1;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 600px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--blanc);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: var(--blanc);
    margin-top: 10px;
    position: relative;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--blanc), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* ========== SECTIONS COMMUNES ========== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    width: 100%;
    font-size: 2.5rem;
    color: var(--bleu-nuit);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--orange);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gris-fonce);
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* ========== EXPERTISES & SOLUTIONS GRID ========== */
.expertise-details {
    margin-top: 10vh;
}

.expertise-grid, .solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--dt-gap);
    margin-bottom: 60px;
}

.expertise-card, .solution-card {
    background: var(--blanc);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid rgba(42, 55, 68, 0.1);
    position: relative;
}

.expertise-card::before, .solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.expertise-card:hover, .solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.expertise-card:hover::before, .solution-card:hover::before {
    transform: scaleX(1);
}

.expertise-card i, .solution-icon i {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 25px;
    transition: var(--transition);
}

.expertise-card:hover i, .solution-card:hover .solution-icon i {
    color: var(--orange-dark);
    transform: scale(1.1);
}

.expertise-card h3, .solution-card h3 {
    font-size: 1.5rem;
    color: var(--bleu-nuit);
    margin-bottom: 15px;
}

.expertise-card p, .solution-card p {
    color: var(--gris-fonce);
    line-height: 1.6;
}

.solution-icon {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 25px;
    transition: var(--transition);
}

/* ========== MÉTHODOLOGIE ========== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--dt-gap);
    margin-bottom: 60px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    background-color: var(--orange);
    color: var(--blanc);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: var(--transition);
}

.process-step:hover .step-number {
    background-color: var(--orange-dark);
    transform: scale(1.1);
}

.process-step h3 {
    color: var(--bleu-nuit);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--gris-fonce);
    line-height: 1.6;
}

.process-visual {
    position: relative;
    margin: 40px auto;
    max-width: 800px;
    height: 4px;
    background-color: rgba(42, 55, 68, 0.2);
    border-radius: 2px;
}

.process-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 33%;
    height: 100%;
    background-color: var(--orange);
    transition: var(--transition);
}

.process-dots {
    position: absolute;
    top: -8px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.process-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(42, 55, 68, 0.3);
    transition: var(--transition);
}

.process-dot.active {
    background-color: var(--orange);
    transform: scale(1.2);
}

/* ========== CONTACT SECTION ========== */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--dt-gap);
    margin-bottom: 60px;
}

.contact-method {
    text-align: center;
    padding: 30px 20px;
    background: var(--blanc);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-method:hover .contact-icon {
    color: var(--orange-dark);
    transform: scale(1.1);
}

.contact-method h3 {
    color: var(--bleu-nuit);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-link {
    color: var(--orange);
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--orange-dark);
    text-decoration: underline;
}

.contact-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.footer {
    background-color: var(--bleu-nuit-light);
    color: var(--blanc);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.footer-logo img {
    height: 50px;
    width: 50px;
    border-radius: 20%;
    object-fit: contain;
}

.footer-description {
    opacity: 0.8;
    line-height: 1.8;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
    color: white;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--orange);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--orange);
    padding-left: 5px;
}

.footer-contact address {
    text-align: center;
}

.footer-contact address p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    opacity: 0.8;
    font-style: normal;
}

.footer-contact address p i {
    color: var(--orange);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 25px;
}

.legal-links a {
    opacity: 0.7;
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-links a:hover {
    opacity: 1;
    color: var(--orange);
}

/* ========== EXPERTISE WEB PAGE STYLES ========== */

/* Breadcrumb */
.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: flex;
    gap: 8px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--orange);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--orange);
}

/* Expertise Hero */
.expertise-hero {
    background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--bleu-nuit-light) 100%);
    padding: 150px 0 100px;
    color: var(--blanc);
    position: relative;
    overflow: hidden;
}

.expertise-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.expertise-hero .hero-title {
    margin-bottom: 20px;
    font-size: 3.5rem;
}

.expertise-hero .hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Expertise Overview */
.expertise-overview {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.overview-content {
    flex: 1;
}

.overview-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--bleu-nuit);
}

.overview-content p {
    margin-bottom: 20px;
    color: var(--gris-fonce);
    line-height: 1.8;
}

.overview-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.overview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.overview-image:hover img {
    transform: scale(1.03);
}

/* Expertise Features */
.expertise-features {
    margin-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--blanc);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid rgba(42, 55, 68, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 25px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    color: var(--orange-dark);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--bleu-nuit);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gris-fonce);
    line-height: 1.6;
}

/* Technologies Section */
.technologies-section {
    background-color: var(--gris-clair);
    padding: 80px 0;
    margin-bottom: 80px;
}

.technologies-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-button {
    padding: 12px 25px;
    background: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-button:hover {
    background-color: rgba(224, 108, 0, 0.1);
}

.tab-button.active {
    background-color: var(--orange);
    color: var(--blanc);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    justify-items: center;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: var(--transition);
}

.tech-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.tech-item span {
    font-weight: 600;
    color: var(--bleu-nuit);
    text-align: center;
}

/* Projects Showcase */
.projects-showcase {
    margin-bottom: 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    height: 300px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    width: 100%;
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 37, 48, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
    color: var(--blanc);
    text-align: center;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--orange);
}

.project-overlay p {
    margin-bottom: 20px;
    font-weight: 300;
    opacity: 0.9;
}

.project-link {
    padding: 8px 25px;
    background-color: var(--orange);
    color: var(--blanc);
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.project-link:hover {
    background-color: var(--blanc);
    color: var(--bleu-nuit);
}

/* Expertise CTA */
.expertise-cta {
    background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--bleu-nuit-light) 100%);
    padding: 80px 0;
    color: var(--blanc);
    text-align: center;
}

.expertise-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--blanc);
}

.expertise-cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .expertise-overview {
        flex-direction: column;
    }
    
    .overview-content, 
    .overview-image {
        flex: none;
        width: 100%;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    .expertise-hero .hero-title {
        font-size: 2.8rem;
    }
    
    .expertise-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 500px) {
    .expertise-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 100%;
        max-width: 250px;
    }
}

/* ========== EXPERTISE PROCESS SECTION ========== */
.expertise-process {
    padding: 100px 0;
    background-color: var(--gris-clair);
    position: relative;
}

.process-steps-expertise {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    margin-top: 60px;
}

.process-steps-expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 35px;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--orange), var(--orange-dark));
    border-radius: 2px;
    z-index: 1;
}

.process-step-expertise {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.process-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--orange);
    color: var(--blanc);
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(224, 108, 0, 0.3);
    transition: var(--transition);
    position: relative;
    z-index: 3;
}

.process-step-expertise:hover .process-step-number {
    background-color: var(--orange-dark);
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(224, 108, 0, 0.4);
}

.process-step-content {
    background: var(--blanc);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex: 1;
    transition: var(--transition);
    border-left: 4px solid var(--orange);
}

.process-step-expertise:hover .process-step-content {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.process-step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--bleu-nuit);
}

.process-step-content p {
    color: var(--gris-fonce);
    line-height: 1.7;
}

/* Animation pour les étapes */
@keyframes stepAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-step-expertise {
    animation: stepAppear 0.6s ease forwards;
}

.process-step-expertise:nth-child(1) { animation-delay: 0.1s; }
.process-step-expertise:nth-child(2) { animation-delay: 0.2s; }
.process-step-expertise:nth-child(3) { animation-delay: 0.3s; }
.process-step-expertise:nth-child(4) { animation-delay: 0.4s; }
.process-step-expertise:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Design */
@media (max-width: 992px) {
    .process-steps-expertise::before {
        left: 30px;
    }
    
    .process-step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .expertise-process {
        padding: 80px 0;
    }
    
    .process-steps-expertise {
        gap: 30px;
    }
    
    .process-steps-expertise::before {
        left: 25px;
    }
    
    .process-step-expertise {
        flex-direction: column;
        gap: 20px;
    }
    
    .process-step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .process-step-content {
        padding: 25px;
    }
    
    .process-step-expertise:hover .process-step-content {
        transform: translateY(5px);
    }
}

@media (max-width: 500px) {
    .process-steps-expertise::before {
        left: 20px;
    }
    
    .process-step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .process-step-content {
        padding: 20px;
    }
    
    .process-step-content h3 {
        font-size: 1.3rem;
    }
}

/* ========== PRICING SECTION ========== */
.pricing-section {
    padding: 100px 0;
    background-color: var(--blanc);
    position: relative;
}

.pricing-section .section-title::after {
    background-color: var(--orange);
}

.pricing-section .section-subtitle {
    margin-bottom: 40px;
}

/* Tabs styling */
.technologies-tabs {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-button {
    padding: 12px 25px;
    background: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.tab-button:hover {
    background-color: rgba(224, 108, 0, 0.1);
    transform: translateY(-2px);
}

.tab-button.active {
    background-color: var(--orange);
    color: var(--blanc);
    box-shadow: 0 5px 15px rgba(224, 108, 0, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content > h3.section-subtitle {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--bleu-nuit);
}

.tab-content > p {
    text-align: center;
    margin-bottom: 40px;
    color: var(--gris-fonce);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.pricing-card {
    background: var(--blanc);
    border-radius: var(--border-radius);
    padding: 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(42, 55, 68, 0.1);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
    border: 2px solid var(--orange);
    transform: scale(1.03);
}

.pricing-card.popular::before {
    content: 'Populaire';
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--orange);
    color: var(--blanc);
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 2;
}

.pricing-header {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--bleu-nuit-light) 100%);
    color: var(--blanc);
}

.pricing-card.popular .pricing-header {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--blanc);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

.pricing-features {
    padding: 30px 20px;
    list-style: none;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--gris-fonce);
}

.pricing-features li i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.pricing-features li i.fa-check {
    color: #10b981;
}

.pricing-features li i.fa-times {
    color: #ef4444;
}

.pricing-cta {
    padding: 0 20px 30px;
    text-align: center;
}

.pricing-cta .cta-button {
    width: 100%;
    justify-content: center;
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    animation: fadeInUp 0.6s ease forwards;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .tab-buttons {
        gap: 8px;
    }
    
    .tab-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 80px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 100%;
        max-width: 250px;
        margin-bottom: 8px;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 500px) {
    .price {
        font-size: 2rem;
    }
    
    .pricing-header {
        padding: 25px 15px;
    }
    
    .pricing-features {
        padding: 25px 15px;
    }
    
    .pricing-cta {
        padding: 0 15px 25px;
    }
    
    .pricing-card.popular::before {
        font-size: 0.7rem;
        padding: 4px 25px;
        right: -28px;
    }
}

/* ========== RESPONSIVE DESIGN ========== */
/* Tablette (768px - 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 var(--tb-gap);
    }

    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .expertise-grid,
    .solutions-grid,
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        justify-content: center;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--mb-gap);
    }

    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        min-height: 600px;
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        font-size: 1.1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .expertise-grid,
    .solutions-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .contact-cta {
        flex-direction: column;
    }

    .cta-button,
    .cta-button-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-bottom: 10px;
    }
}

/* Très petits écrans */
@media (max-width: 500px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* Animation pour les cartes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

.expertise-card:hover,
.solution-card:hover,
.contact-method:hover {
    animation: float 3s ease-in-out infinite;
}
