/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* COULEURS PRINCIPALES */
    --primary-color: #174365;   /* Bleu Marine C3S */
    --secondary-color: #ed5c1e; /* Orange Vif C3S */
    
    /* Couleurs secondaires/dérivées */
    --accent-color: #00bcd4;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    /* Padding-top géré dynamiquement par JS, mais valeur fallback ici */
    padding-top: 120px; 
}

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

/* ============================================
   NAVIGATION BAR (Tout en haut)
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000; /* Priorité haute */
    transition: box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    height: 70px; /* Hauteur standard desktop/tablette */
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Roboto Mono', monospace;
}

.logo span {
    font-size: 0.7rem;
    color: var(--text-light);
    display: block;
    letter-spacing: 1px;
}

.main-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1); 
}

/* --- Liens Navigation Desktop --- */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    white-space: nowrap; 
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001; 
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   LANGUAGE SELECTOR (Desktop & Mobile Logic)
   ============================================ */
.language-selector-desktop {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem; /* Espace après les liens */
}

.lang-menu-item {
    display: none; /* Caché par défaut sur Desktop */
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

.language-selector-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.lang-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Boutons de langue communs */
.lang-btn {
    padding: 0.4rem 0.8rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    min-width: 45px;
    text-align: center;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

/* ============================================
   TOP BANNER (Sous la Navbar)
   ============================================ */
.top-banner-container {
    position: fixed;
    top: 70px; /* Juste sous la hauteur de la navbar desktop */
    left: 0;
    right: 0;
    z-index: 999; /* Sous la navbar mais au-dessus du contenu */
}

.top-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.top-banner {
    background-color: var(--secondary-color); /* Orange #ed5c1e */
    color: white;
    padding: 0.6rem 0; 
    font-size: 0.9rem;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.top-banner-link:hover .top-banner {
    background-color: #d45015;
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; 
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-icon {
    font-size: 1.5rem;
}

.banner-text-group {
    text-align: center;
    line-height: 1.2;
}

.banner-text-group p:first-child {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.banner-dates {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

/* STYLE DU COMPTE À REBOURS */
.countdown-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.2); 
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 35px;
}

.time-unit .number {
    font-family: 'Roboto Mono', monospace; 
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.time-unit .label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    margin-top: 2px;
}

.separator {
    font-weight: bold;
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 10px; 
}

.event-live {
    font-weight: 700;
    font-size: 1rem;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.banner-cta {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.top-banner-link:hover .banner-cta {
    border-bottom: 1px solid white;
}

/* ============================================
   HERO SECTION WITH BACKGROUND IMAGE
   ============================================ */
.hero {
    min-height: 100vh;
    background-image: url('assets/hero-bg.jpg'); 
    background-size: cover;       
    background-position: center;  
    background-repeat: no-repeat; 
    
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(23, 67, 101, 0.8), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; 
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary-color); 
    color: white;
}

.btn-primary:hover {
    background: #d45015;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237, 92, 30, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   SECTIONS GÉNÉRALES (INDEX)
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Preview */
.services-preview {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 180px; 
    overflow: hidden;
    border-radius: 10px 10px 0 0; 
}

.service-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.5s ease;
}

.service-card:hover .service-real-img {
    transform: scale(1.05);
}

/* PAS DE TEXT OVERLAY ICI */

.card-body {
    padding: 2rem;
    flex-grow: 1;
    position: relative;
}

.service-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: 'Roboto Mono', monospace;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-color);
}

/* Style pour les services mis en avant (07 & 08) */
.highlight-service {
    border: 2px solid var(--secondary-color);
}

.highlight-service .service-number {
    color: var(--secondary-color);
    opacity: 0.8;
}

/* Clients Section */
.clients-section {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    margin-top: 2rem;
}

.client-logo-item img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.5);
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
    background: var(--primary-color); 
    color: white;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.mission-text h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.mission-text blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--secondary-color); 
}

.mission-stats {
    display: grid;
    gap: 2rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color); 
    margin-bottom: 0.5rem;
}

.stat-label {
    opacity: 0.9;
}

/* Why C3S */
.why-c3s {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-light);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.principles-list {
    list-style: none;
    margin-top: 1rem;
}

.principles-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.principles-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.about-culture {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.culture-highlight {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.services-detailed {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-detail {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-detail:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-detail-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    opacity: 0.5;
    font-family: 'Roboto Mono', monospace;
    min-width: 60px;
}

.service-detail-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-detail-content p {
    color: var(--text-light);
}

/* Listes à puces dans les détails de service */
.detail-bullets {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.detail-bullets li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.detail-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color); 
    font-weight: bold;
}

/* Style pour les détails mis en avant */
.highlight-detail {
    background: #fffaf5; 
    border-left: 4px solid var(--secondary-color);
}

.cta-box {
    background: var(--primary-color); 
    color: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Expertise Section */
.expertise-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.expertise-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.expertise-fundamentals h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.fundamental-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.fundamental-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-family: 'Roboto Mono', monospace;
}

.fundamental-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.fundamental-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.method-steps {
    display: grid;
    gap: 1rem;
}

.method-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--secondary-color); 
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-map {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: var(--primary-color); 
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    font-size: 2rem;
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 0.5rem;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* ============================================
   PARTNERSHIP SECTION (VIBSENS)
   ============================================ */
.partnership-section {
    padding: 4rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.partnership-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.partnership-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
}

.partner-text {
    max-width: 700px;
}

.partner-badge {
    display: inline-block;
    background: rgba(23, 67, 101, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(23, 67, 101, 0.2);
}

.partner-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.partner-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.partner-desc strong {
    color: var(--text-dark);
    font-weight: 600;
}

.partner-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.partner-brand:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.vibsens-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.vibsens-logo-img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.vibsens-link:hover .vibsens-logo-img {
    transform: scale(1.5);
}

.visit-site {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.vibsens-link:hover .visit-site {
    border-bottom-color: var(--secondary-color);
}

.trust-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.badge-item {
    font-size: 0.85rem;
    color: var(--text-light);
    background: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* ============================================
   STYLES SPÉCIFIQUES POUR LA PAGE RECRUTEMENT
   ============================================ */
body.sub-page {
    padding-top: 120px;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0f2b42 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.recruitment-main {
    padding: 0 0 5rem 0;
    background: var(--bg-light);
}

.recruitment-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.recruitment-info {
    padding-right: 1rem;
}

.info-block {
    margin-bottom: 3rem;
}

.info-block h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.info-block h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.values-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.values-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value-icon {
    font-size: 1.5rem;
    background: white;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex-shrink: 0;
    color: var(--primary-color);
}

.values-list strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.values-list p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.process-block {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.process-block h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.steps-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.v-step {
    display: flex;
    gap: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.v-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 12px;
    bottom: -1.5rem;
    width: 2px;
    background: var(--border-color);
    z-index: 0;
}

.step-dot {
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(237, 92, 30, 0.15);
}

.step-text {
    flex-grow: 1;
}

.step-text strong {
    display: block;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.step-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.recruitment-form-container {
    position: sticky;
    top: 150px;
}

.form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-top: 5px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.form-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.apply-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.apply-form label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    color: var(--text-dark);
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(237, 92, 30, 0.1);
}

.apply-form ::placeholder {
    color: #aaa;
    font-weight: 400;
}

.help-text {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.4rem;
    font-style: italic;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    background: var(--secondary-color);
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(237, 92, 30, 0.3);
}

.submit-btn:hover {
    background: #d45015;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 92, 30, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.status-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.status-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.status-message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.hidden {
    display: none !important;
}

/* ============================================
   RESPONSIVE DESIGN GLOBAL
   ============================================ */
@media (max-width: 992px) {
    .partnership-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .partner-text {
        max-width: 100%;
    }
    
    .partner-brand {
        order: -1;
    }
    
    .recruitment-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .recruitment-form-container {
        position: static;
        order: 2;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 100px; /* Ajustement initial, JS affinera ensuite */
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    /* Menu Mobile Plein Écran */
    .nav-links {
        position: fixed;
        top: 70px; /* Start below navbar height */
        left: -100%; 
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start; 
        padding-top: 2rem; 
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 998; /* Below navbar but above content */
        gap: 1.5rem; 
        overflow-y: auto; 
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.8rem 0;
        display: block;
    }
    
    .nav-links a::after {
        display: none; 
    }

    /* Gestion Langue Mobile */
    .language-selector-desktop {
        display: none;
    }

    .lang-menu-item {
        display: block;
    }
    
    .language-selector-mobile {
        flex-direction: row;
        justify-content: center;
    }

    /* Top Banner Mobile Positioning */
    .top-banner-container {
        top: 70px; /* Always below the fixed navbar */
    }
    
    .banner-content {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .countdown-timer {
        order: 3; 
        margin-top: 0.5rem;
    }
    
    .banner-cta {
        display: none; 
    }
    
    .top-banner {
        padding: 0.6rem 0;
    }
    
    /* Hero Mobile */
    .hero-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .mission-content,
    .about-content,
    .expertise-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-info {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-detail {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .apply-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .fundamentals-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .time-unit .number {
        font-size: 0.9rem;
    }
    .time-unit .label {
        font-size: 0.5rem;
    }
    .countdown-timer {
        padding: 0.3rem 0.5rem;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .info-block h3 {
        font-size: 1.4rem;
    }
    
    .submit-btn {
        padding: 1rem;
        font-size: 1rem;
    }
}
.hero-slogan {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color); /* Orange vif pour attirer l'œil */
    margin-bottom: 2rem;
    font-style: italic;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
/* ============================================
   PARTNER PAGE SPECIFIC STYLES (VIBSENS)
   ============================================ */

.partner-body {
    background-color: #f9fbfd; /* Léger fond bleuté très clair */
}

/* Hero Partenaire */
.partner-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d2a42 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partner-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.15) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
}

.partner-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.partner-logos-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hero-partner-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.c3s-logo-large {
    filter: brightness(0) invert(1); /* Logo blanc sur fond bleu */
}

.vibsens-logo-large {
    /* Supprimez border-radius: 50%; */
    border-radius: 8px; /* Coins légèrement arrondis (rectangulaire) */
    
    background: white;
    padding: 15px 20px; /* Un peu plus d'espace horizontal qu'vertical */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    object-fit: contain;
}

.partnership-symbol {
    font-size: 2rem;
    font-weight: 300;
    opacity: 0.8;
}

.partner-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.partner-hero-sub {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
}

/* Sections Génériques Partenaire */
.partner-section {
    padding: 5rem 0;
}

.bg-light {
    background: white;
}

.products-section {
    background: var(--bg-light);
}

.sectors-section {
    background: white;
}

.c3s-services-section {
    background: var(--bg-light);
}

/* Grille Avantages (Who is VibSens) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: var(--secondary-color);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.benefit-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.benefit-card strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.3rem;
}

/* Grille Produits */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.product-category h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.product-category ul {
    list-style: none;
    padding: 0;
}

.product-category li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.product-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* Tags Secteurs */
.sectors-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.sector-tag {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.sector-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Mini Cartes Services C3S */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-mini-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
}

.service-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.smc-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.service-mini-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-mini-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

/* Partner Contact Tweaks */
.partner-contact .offices-grid {
    grid-template-columns: 1.5fr 1fr; /* Formulaire plus large que infos */
}

.form-office {
    border-top: 5px solid var(--secondary-color);
}

.info-office {
    background: #f8fafc;
    border: 1px solid var(--border-color);
}

@media (max-width: 992px) {
    .partner-contact .offices-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .partner-hero h1 {
        font-size: 2rem;
    }
    .partner-logos-flex {
        flex-direction: column;
        gap: 1rem;
    }
    .partnership-symbol {
        transform: rotate(90deg);
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================
   CONTACT SECTION WITHOUT FORM STYLES
   ============================================ */

.single-column-contact {
    display: block; /* Ou flex/grid selon préférence, ici on laisse le contenu fluide */
}

.contact-info-full {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.contact-info-full h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 1rem;
    display: inline-block;
}

/* Grille interne pour les deux adresses */
.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.office-block {
    background: #f9fbfd;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.office-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.detail-item p {
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
    font-size: 1rem;
}

/* Responsive Contact Info */
@media (max-width: 768px) {
    .contact-info-full {
        padding: 2rem;
    }
    
    .contact-details-grid {
        grid-template-columns: 1fr; /* Empiler les bureaux sur mobile */
        gap: 2rem;
    }
    
    .office-block {
        padding: 1.5rem;
    }
}
/* ============================================
   SINGLE LOGO HERO STYLES (VIBSENS ONLY)
   ============================================ */

.single-logo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-vibsens-logo {
    height: 130px; /* Taille augmentée pour un impact visuel fort */
    width: auto;
    object-fit: contain;
    
    /* Optionnel : Fond blanc circulaire si le logo a un fond transparent/sombre sur le bleu marine */
    background: white;
    border-radius: 8px; /* Coins légèrement arrondis (rectangulaire) */

    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    
    transition: transform 0.3s ease;
}

.hero-vibsens-logo:hover {
    transform: scale(1.05);
}

/* Responsive pour le logo unique */
@media (max-width: 768px) {
    .hero-vibsens-logo {
        height: 70px;
        padding: 15px;
    }
    
    .partner-hero h1 {
        font-size: 2rem; /* Ajustement texte sous le logo plus petit */
    }
}