/* Couleurs Westif - basées sur le nouveau logo */
:root {
    --westif-blue: #002D72;   /* Bleu marine principal */
    --westif-orange: #FFBB33; /* Orange/jaune principal */
    --westif-yellow: #FF9900; /* Jaune/orange secondaire */
    --westif-green: #006633;  /* Vert foncé */
    --westif-dark-blue: #001F5C; /* Bleu marine foncé */
    --westif-light-orange: #FFD580; /* Orange clair */
    --text-dark: #333333;     /* Texte sombre */
    --text-light: #ffffff;    /* Texte clair */
    --background-light: #f9f9f9; /* Fond clair */
    --background-dark: #001A4D; /* Fond sombre basé sur le bleu */
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header et Navigation */
.site-header {
    background-color: #FFFFFF;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 180px;
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

/* Menu hamburger */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--westif-blue);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--westif-orange);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.main-navigation li {
    margin-left: 12px;
    margin-bottom: 5px;
}

.main-navigation a {
    color: var(--westif-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.main-navigation a:hover {
    background-color: #F0F5FF;
    color: var(--westif-dark-blue);
}

/* Hero Section */
.hero-section {
    height: 60vh;
    position: relative;
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--text-light);
    padding: 20px;
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--westif-orange);
    color: var(--westif-blue);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--westif-light-orange);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--westif-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--westif-orange);
}

/* Secteurs Section - Version corrigée */
.secteurs-section {
    padding: 60px 0;
    background-color: #f5f5f5;
    width: 100%;
    position: relative;
    scroll-margin-top: 80px;
}

.tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.tabs-nav {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    width: 100%;
    background-color: #f0f0f0;
    position: relative;
    z-index: 2;
}

.tab-item {
    flex: 1 1 auto;
    min-width: 140px;
    padding: 20px 15px;
    margin: 0;
    text-align: center;
    border-radius: 0;
    border-right: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
    position: relative;
}

.tab-item:last-child {
    border-right: none;
}

.tab-item i {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
    color: var(--westif-blue);
    transition: color 0.3s ease;
}

.tab-item span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--westif-blue);
    transition: color 0.3s ease;
}

.tab-item:hover, .tab-item.active {
    background-color: var(--westif-orange);
    color: var(--westif-blue);
    font-weight: bold;
    transform: translateY(-2px);
    z-index: 3;
}

.tab-item:hover i, .tab-item.active i,
.tab-item:hover span, .tab-item.active span {
    color: var(--westif-blue);
    font-weight: 600;
}

.tab-content {
    display: none;
    padding: 0;
    background-color: white;
    border-radius: 0;
    box-shadow: none;
    min-height: 350px;
    margin: 0;
    width: 100%;
    position: relative;
    scroll-margin-top: 100px;
}

.tab-content.active {
    display: block;
    animation: fadeInContent 0.3s ease-in-out;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content-video {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.tab-content-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    position: relative;
    background-color: white;
}

.tag {
    padding: 8px 16px;
    background-color: var(--westif-orange);
    color: var(--westif-blue);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    display: inline-block;
    transition: transform 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px);
}

/* Assistance Technique Section */
.assistance-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-content {
    padding: 18px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-title {
    font-size: 1.4rem;
    color: var(--westif-blue);
    margin-bottom: 8px;
}

.service-description {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Section À propos */
.about-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.about-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-content.animated {
    opacity: 1;
    transform: translateY(0);
}

.about-intro {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.intro-highlight {
    display: inline-block;
    position: relative;
    margin-bottom: 30px;
}

.highlight-text {
    font-size: 3rem;
    font-weight: 700;
    color: var(--westif-blue);
    background: linear-gradient(45deg, var(--westif-blue), var(--westif-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.highlight-underline {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 4px;
    background: linear-gradient(90deg, var(--westif-orange), var(--westif-blue));
    border-radius: 2px;
    animation: expandUnderline 1.5s ease-out 0.5s both;
}

@keyframes expandUnderline {
    from { width: 0; }
    to { width: 120%; }
}

.about-lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto 25px auto;
    position: relative;
    text-align: left;
}

.about-lead .emphasis {
    color: var(--westif-orange);
    font-weight: 600;
    position: relative;
}

.about-lead strong {
    color: var(--westif-blue);
    font-weight: 600;
}

.about-lead em {
    color: var(--westif-blue);
    font-style: italic;
    font-weight: 500;
}

.highlight-conclusion {
    background: linear-gradient(135deg, rgba(255, 187, 51, 0.1), rgba(0, 45, 114, 0.05));
    padding: 25px 30px;
    border-radius: 15px;
    border-left: 4px solid var(--westif-orange);
    margin-top: 30px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.highlight-conclusion::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 20px;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.about-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: var(--westif-blue);
    margin-bottom: 30px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pillar-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: calc(var(--animation-order) * 0.2s);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
    font-size: 2.5rem;
    color: var(--westif-orange);
    margin-bottom: 20px;
}

.pillar-title {
    font-size: 1.3rem;
    color: var(--westif-blue);
    margin-bottom: 15px;
}

.pillar-description {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.about-expertise {
    margin-bottom: 50px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

.about-slogan {
    background-color: var(--westif-blue);
    color: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 45, 114, 0.2);
}

.slogan-text {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--westif-orange);
    font-weight: 600;
}

.about-conclusion {
    font-size: 1.2rem;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Emplois (Nous rejoindre) */
.emplois-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.emplois-intro {
    text-align: center;
    margin-bottom: 40px;
}

.emplois-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

.emplois-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.emploi-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
}

.emploi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.emploi-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.emploi-date {
    color: #777;
    font-size: 0.9rem;
}

.emploi-type {
    background-color: var(--westif-orange);
    color: var(--westif-blue);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.emploi-title {
    font-size: 1.3rem;
    color: var(--westif-blue);
    margin-bottom: 15px;
    line-height: 1.3;
}

.emploi-location, .emploi-domain {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #555;
    font-size: 0.95rem;
}

.emploi-location i, .emploi-domain i {
    color: var(--westif-orange);
    margin-right: 8px;
}

.emploi-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-dark);
    flex-grow: 1;
}

.emploi-button {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--westif-blue);
    color: var(--westif-blue);
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    align-self: flex-start;
}

.emploi-button:hover {
    background-color: var(--westif-blue);
    color: white;
}

.emplois-more {
    text-align: center;
    margin-top: 20px;
}

.no-emplois {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    grid-column: 1 / -1;
}

/* Section Équipe avec cartes individuelles */
.equipe-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.equipe-member-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: calc(var(--animation-order, 1) * 0.1s);
}

.equipe-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.3s ease;
    display: block;
}

.equipe-member-card:hover .member-photo img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-name {
    font-size: 1.4rem;
    color: var(--westif-blue);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.2;
}

.member-role {
    font-size: 1rem;
    color: var(--westif-orange);
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.member-description {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Animation décalée pour les cartes */
.equipe-member-card:nth-child(1) { --animation-order: 1; }
.equipe-member-card:nth-child(2) { --animation-order: 2; }
.equipe-member-card:nth-child(3) { --animation-order: 3; }
.equipe-member-card:nth-child(4) { --animation-order: 4; }
.equipe-member-card:nth-child(5) { --animation-order: 5; }

/* Activités Section */
.activites-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.activite-card {
    display: flex;
    margin-bottom: 40px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activite-image {
    flex: 0.4;
}

.activite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activite-content {
    flex: 0.6;
    padding: 30px;
}

.activite-title {
    font-size: 1.8rem;
    color: var(--westif-blue);
    margin-bottom: 15px;
}

.activite-description {
    color: var(--text-dark);
}

/* Section Références */
.references-section {
    padding: 80px 0;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.reference-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.reference-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.reference-content {
    padding: 20px;
    flex-grow: 1;
}

.reference-title {
    font-size: 1.4rem;
    color: var(--westif-blue);
    margin-bottom: 10px;
}

.reference-description {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Section Contact */
.contact-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-info {
    background-color: var(--westif-blue);
    color: white;
    padding: 30px;
    border-radius: 8px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--westif-orange);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info-item i {
    font-size: 20px;
    margin-right: 15px;
    color: var(--westif-orange);
    margin-top: 5px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--westif-blue);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--westif-blue);
}

.submit-button {
    background-color: var(--westif-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--westif-dark-blue);
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.footer-contact-item i {
    font-size: 18px;
    margin-right: 10px;
    color: var(--westif-orange);
    margin-top: 5px;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--westif-orange);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--westif-orange);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-credits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.copyright p {
    margin: 0;
    color: #f5f5f5;
}

.designer-credit {
    display: flex;
    align-items: center;
}

.designer-credit p {
    margin: 0;
    color: #f5f5f5;
    display: flex;
    align-items: center;
}

.designer-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #f5f5f5;
    transition: color 0.3s ease;
    margin-left: 5px;
}

.designer-link:hover {
    color: #4dabf7;
}

.designer-logo {
    height: 20px;
    width: auto;
    margin-right: 5px;
    vertical-align: middle;
}

.whatsapp-link {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.whatsapp-link:hover {
    color: #25D366;
}

.footer-social {
    margin-top: 25px;
}

.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--westif-orange);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--westif-orange);
    color: var(--westif-blue);
    transform: translateY(-3px);
}

.social-icon i {
    font-size: 16px;
}

/* Animation pour les éléments */
.animate {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Styles pour les messages d'erreur du formulaire */
.error-message {
    color: #E53935;
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-control.error {
    border-color: var(--senegal-red);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .activite-card {
        flex-direction: column;
    }
    
    .activite-image, .activite-content {
        flex: 1;
    }
    
    .tab-item {
        flex: 1 0 30%;
        min-width: 150px;
        padding: 18px 12px;
    }
    
    .tab-item i {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .tab-item span {
        font-size: 13px;
    }
    
    .tab-content-video {
        height: 280px;
    }
    
    .about-lead {
        font-size: 1.15rem;
    }
    
    .about-subtitle {
        font-size: 1.6rem;
    }
    
    .slogan-text {
        font-size: 1.6rem;
    }
    
    .equipe-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        margin-top: 40px;
    }
    
    .member-photo {
        aspect-ratio: 4/5;
        object-position: center 20%;
    }
    
    .member-info {
        padding: 20px;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .emplois-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Mobile (jusqu'à 768px) */
@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
        z-index: 1000;
    }
    
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .logo {
        margin-bottom: 0;
        margin-right: 0;
        max-width: 150px;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        position: relative;
        z-index: 1001;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 80vw;
        height: 100vh;
        background-color: white;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        transition: right 0.3s ease;
        padding-top: 80px;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
        list-style: none;
    }
    
    .main-navigation li {
        margin: 0;
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        display: block;
        width: 100%;
        font-size: 16px;
        padding: 8px 0;
        color: var(--westif-blue);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }
    
    .main-navigation a:hover {
        color: var(--westif-orange);
        background-color: transparent;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .secteurs-section {
        padding: 40px 0;
        scroll-margin-top: 60px;
    }
    
    .tabs-container {
        margin: 0 15px;
        border-radius: 8px;
        position: relative;
    }
    
    .tabs-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        background-color: #f8f9fa;
        position: sticky;
        top: 60px;
        z-index: 10;
        border-radius: 8px 8px 0 0;
    }
    
    .tab-item {
        flex: none;
        min-width: auto;
        padding: 20px 10px;
        border: 1px solid rgba(0,0,0,0.1);
        border-radius: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 120px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .tab-item:active {
        background-color: var(--westif-light-orange);
    }
    
    .tab-item:nth-child(odd) {
        border-right: 0.5px solid rgba(0,0,0,0.1);
    }
    
    .tab-item:nth-child(even) {
        border-left: 0.5px solid rgba(0,0,0,0.1);
    }
    
    .tab-item:nth-child(1),
    .tab-item:nth-child(2) {
        border-bottom: 0.5px solid rgba(0,0,0,0.1);
    }
    
    .tab-item:nth-child(3),
    .tab-item:nth-child(4) {
        border-top: 0.5px solid rgba(0,0,0,0.1);
        border-bottom: 0.5px solid rgba(0,0,0,0.1);
    }
    
    .tab-item:nth-child(5),
    .tab-item:nth-child(6) {
        border-top: 0.5px solid rgba(0,0,0,0.1);
    }
    
    .tab-item i {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .tab-item span {
        font-size: 12px;
        text-align: center;
        line-height: 1.2;
        font-weight: 600;
    }
    
    .tab-content {
        scroll-margin-top: 80px;
        border-radius: 0 0 8px 8px;
    }
    
    .tab-content-video {
        height: 250px;
        border-radius: 0;
    }
    
    .tab-content-tags {
        padding: 15px;
        gap: 6px;
    }
    
    .tag {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .service-image {
        height: 150px;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-lead {
        font-size: 1.1rem;
        line-height: 1.7;
        text-align: center;
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .about-slogan {
        padding: 30px 20px;
    }
    
    .slogan-text {
        font-size: 1.4rem;
    }
    
    .about-conclusion {
        font-size: 1.1rem;
    }
    
    .highlight-conclusion {
        padding: 20px;
        margin-top: 25px;
    }
    
    .equipe-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }
    
    .member-photo {
        aspect-ratio: 1/1;
    }
    
    .member-photo img {
        object-position: center 10%;
    }
    
    .member-info {
        padding: 18px;
    }
    
    .member-name {
        font-size: 1.2rem;
    }
    
    .member-role {
        font-size: 0.9rem;
    }
    
    .member-description {
        font-size: 0.9rem;
    }
    
    .emplois-section {
        padding: 60px 0;
    }
    
    .emplois-lead {
        font-size: 1.1rem;
    }
    
    .emplois-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-credits {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .designer-credit p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-social {
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .logo {
        max-width: 120px;
    }
    
    .main-navigation {
        width: 280px;
    }
    
    .hero-section {
        height: 50vh;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 10px 20px;
    }
    
    .secteurs-section {
        scroll-margin-top: 50px;
    }
    
    .tabs-container {
        margin: 0 10px;
    }
    
    .tabs-nav {
        top: 50px;
    }
    
    .tab-item {
        padding: 15px 8px;
        min-height: 100px;
    }
    
    .tab-item i {
        font-size: 28px;
        margin-bottom: 6px;
    }
    
    .tab-item span {
        font-size: 11px;
    }
    
    .tab-content-video {
        height: 200px;
    }
    
    .tab-content-tags {
        padding: 12px;
    }
    
    .tag {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        padding: 50px 0;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .pillar-card {
        padding: 25px 15px;
    }
    
    .about-lead {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .about-subtitle {
        font-size: 1.4rem;
    }
    
    .pillar-icon {
        font-size: 2.2rem;
    }
    
    .pillar-title {
        font-size: 1.2rem;
    }
    
    .slogan-text {
        font-size: 1.3rem;
    }
    
    .highlight-text {
        font-size: 1.8rem;
    }
    
    .equipe-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .member-info {
        padding: 15px;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
    
    .member-role {
        font-size: 0.85rem;
    }
    
    .member-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .emplois-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .equipe-grid {
        gap: 15px;
    }
    
    .member-info {
        padding: 12px;
    }
    
    .member-name {
        font-size: 1rem;
    }
    
    .member-role {
        font-size: 0.8rem;
    }
    
    .member-description {
        font-size: 0.8rem;
    }
}

/* Animation pour le menu mobile */
@keyframes slideInRight {
    from {
        right: -100%;
    }
    to {
        right: 0;
    }
}

@keyframes slideOutRight {
    from {
        right: 0;
    }
    to {
        right: -100%;
    }
}

.main-navigation.active {
    animation: slideInRight 0.3s ease;
}

/* Amélioration du scroll fluide général */
html {
    scroll-behavior: smooth;
}

/* Fix pour éviter les sauts de page sur mobile */
@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
    }
    
    .tab-content.active {
        animation-duration: 0.2s;
    }
}