/* Variables CSS - Palette inspirée de Totem et Hays */
:root {
    --primary-color: #2D5F8D;
    --primary-light: #4A8BC2;
    --secondary-color: #0D2452;
    --accent-color: #E8794F;
    --dark-color: #1a1a1a;
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 16px;
}

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

/* Header et Navigation - Style épuré */
.header {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo h1 {
    font-size: 1.75rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 3rem;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Désactiver la barre sous "À propos" */
.dropdown-toggle::after {
    content: '';
    display: none !important;
}

.dropdown-toggle::before {
    content: '▼';
    font-size: 0.55rem;
    display: inline-block;
    transition: transform 0.25s ease;
    opacity: 0.5;
    margin-top: 2px;
    margin-left: 0.5rem;
}

.nav-dropdown:hover .dropdown-toggle::before {
    transform: rotate(180deg);
    opacity: 0.8;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 50%;
    transform: translateX(-50%) translateY(-8px) scale(0.95);
    background: white;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 230px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1000;
    border: 1px solid rgba(45, 95, 141, 0.1);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid rgba(45, 95, 141, 0.1);
    border-top: 1px solid rgba(45, 95, 141, 0.1);
}

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

.dropdown-link {
    display: block;
    padding: 0.85rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-color);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.dropdown-link:hover {
    background-color: rgba(45, 95, 141, 0.06);
    color: var(--primary-color);
    padding-left: 1.75rem;
}

.dropdown-link:hover::before {
    transform: scaleY(1);
}

.dropdown-link:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-link:last-child {
    border-radius: 0 0 12px 12px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 0.25rem 0.5rem;
}

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

.lang-link.active {
    color: var(--secondary-color);
    font-weight: 700;
}

.lang-separator {
    color: var(--text-light);
}

/* Header Social (LinkedIn) */
.header-social {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
}

.header-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.header-social .social-link:hover {
    color: var(--primary-color);
    background-color: rgba(45, 95, 141, 0.1);
}

.header-social .social-link svg {
    width: 20px;
    height: 20px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section Modern - Inspiré de Hays */
.hero-modern {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 100px 0;
    overflow: hidden;
}

.hero-carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background-color: #000;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-image.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

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

.hero-title-modern {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle-modern {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Buttons Modern */
.btn-modern {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary-modern:hover {
    background-color: #1a3570;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 36, 82, 0.4);
}

.btn-secondary-modern {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-secondary-modern:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Stats Section - Inspiré de Totem */
.stats-section {
    background-color: var(--white);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Introduction Section */
.intro-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.section-title-modern {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.intro-image-wrapper {
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
}

.intro-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-subtitle {
    text-align: left;
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: -1rem 0 4rem;
}

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

.service-card-modern {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-description-modern {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Testimonial Section */
.testimonial-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.testimonial-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(13, 36, 82, 0.3);
    position: relative;
}

.quote-icon {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    margin-bottom: -2rem;
}

.testimonial-text {
    font-size: 1.35rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 2rem;
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.testimonial-author strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Leader Section */
.leader-section {
    padding: 100px 0;
    background-color: var(--white);
}

.leader-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.leader-image-wrapper {
    position: relative;
}

.leader-image {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.leader-image:hover {
    transform: scale(1.05);
}

.leader-text {
    padding: 2rem 0;
}

.leader-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.leader-title {
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leader-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.leader-quote {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(45, 95, 141, 0.05) 0%, rgba(13, 36, 82, 0.05) 100%);
    border-left: 4px solid var(--secondary-color);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-color);
    line-height: 1.7;
    border-radius: 0 8px 8px 0;
}

/* CTA Section */
.cta-modern {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.cta-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-box {
    background-color: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.cta-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cta-box-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.cta-box-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    text-align: center;
}

.btn-cta {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 16px 48px;
    font-size: 1.1rem;
}

.btn-cta:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 95, 141, 0.3);
}

/* Specializations Section */
.specializations-section {
    padding: 100px 0;
    background-color: var(--white);
}

.specializations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: start;
}

.specialization-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 1.25rem 1.5rem;
    background-color: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.specialization-item:hover {
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.spec-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.spec-icon {
    font-size: 1.3rem;
    display: inline-block;
    filter: grayscale(100%);
    color: #0D2452;
    flex-shrink: 0;
}

.spec-name {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    flex: 1;
}

.spec-toggle {
    font-size: 0.8rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.specialization-item.expanded .spec-toggle {
    transform: rotate(-180deg);
}

.spec-examples {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, margin 0.4s ease;
    padding: 0 1rem;
}

.specialization-item.expanded .spec-examples {
    max-height: 300px;
    padding: 1rem 1rem 0 2.3rem;
    margin-top: 0.5rem;
}

.spec-examples p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0;
    text-align: center;
}

.footer p {
    margin: 0.75rem 0;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: #0077B5;
    color: white;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-developer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.footer-logo-link:hover {
    opacity: 0.8;
}

.footer-logo {
    height: 30px;
    width: auto;
    vertical-align: middle;
    display: block;
}

/* Modal Contact */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.modal-content {
    position: relative;
    background-color: var(--white);
    border-radius: 16px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: var(--light-bg);
    color: var(--text-color);
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.required {
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 95, 141, 0.1);
}

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

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.form-success h3 {
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-success p {
    font-size: 1rem;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title-modern {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1.15rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav {
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 2rem 2rem;
        gap: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Header Social in mobile menu */
    .header-social {
        margin-left: 0;
    }
    
    /* Dropdown mobile */
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--light-bg);
        margin-top: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-dropdown.active .dropdown-menu {
        max-height: 800px;
    }
    
    .dropdown-toggle {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
    }
    
    .dropdown-toggle::before {
        margin-left: 0.5rem;
        margin-right: 0;
        order: 2;
    }
    
    .dropdown-toggle::after {
        display: none;
    }
    
    .dropdown-link {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .dropdown-link:hover {
        background-color: var(--primary-color);
        color: white;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .hero-modern {
        min-height: 500px;
        padding: 60px 0;
    }
    
    .hero-title-modern {
        font-size: 2rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-modern {
        width: 100%;
    }
    
    .section-title-modern {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .testimonial-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-image-wrapper {
        min-height: 300px;
    }
    
    .testimonial-content {
        padding: 2rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .leader-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .leader-image-wrapper {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .leader-name {
        font-size: 2rem;
    }
    
    .leader-title {
        font-size: 1.1rem;
    }
    
    .leader-bio {
        font-size: 1rem;
    }
    
    .leader-quote {
        font-size: 1.05rem;
        padding: 1.5rem;
    }
    
    .specializations-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* FAQ Page Styles */
.faq-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.faq-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-section.faq-candidates {
    background-color: var(--light-bg);
}

.faq-category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background-color: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-bg);
}

.faq-question.active {
    background-color: var(--light-bg);
}

.faq-number {
    color: var(--secondary-color);
    font-weight: 700;
    min-width: 30px;
}

.faq-question-text {
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 400;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 2rem 1.5rem 4.5rem;
}

.faq-answer p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

.faq-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(45, 95, 141, 0.05) 0%, rgba(13, 36, 82, 0.05) 100%);
}

.faq-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.faq-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.faq-cta-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .faq-hero-title {
        font-size: 2rem;
    }
    
    .faq-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .faq-category-title {
        font-size: 1.75rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer.active {
        padding: 0 1.5rem 1.25rem 3.5rem;
    }
    
    .faq-cta-content h2 {
        font-size: 1.75rem;
    }
}

/* About Page */
.about-section {
    padding: 80px 0;
}

.about-section-alt {
    background: linear-gradient(135deg, rgba(45, 95, 141, 0.03) 0%, rgba(13, 36, 82, 0.03) 100%);
}

.about-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
}

.about-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.about-content ul,
.about-content ol {
    padding-left: 0;
    margin-left: 0;
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

.about-content li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.about-conclusion {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(45, 95, 141, 0.05) 0%, rgba(13, 36, 82, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.value-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Commitments List */
.commitments-list {
    max-width: 900px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.commitment-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.commitment-number {
    min-width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.commitment-content {
    flex: 1;
}

.commitment-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.commitment-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Approach Steps */
.approach-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 3rem auto;
    max-width: 1100px;
}

.approach-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.approach-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}


.step-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-section-title {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-steps {
        grid-template-columns: 1fr;
    }
    
    .commitment-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ===================================
   Privacy Policy Page
   =================================== */

.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-last-update {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
}

.privacy-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.privacy-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.privacy-section {
    max-width: 900px;
    margin: 0 auto 3rem;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.privacy-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-color);
}

.privacy-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.privacy-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.privacy-section ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.privacy-section ul li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.privacy-section ul li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.privacy-section strong {
    color: var(--dark-color);
    font-weight: 600;
}

.privacy-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-privacy {
    margin-bottom: 1.5rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-last-update {
        font-size: 0.95rem;
    }
    
    .privacy-content {
        padding: 60px 0;
    }
    
    .privacy-intro,
    .privacy-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
    }
    
    .privacy-section p,
    .privacy-section ul li {
        font-size: 1rem;
    }
}

/* ===========================
   CANDIDATES PAGE - AUTH
   =========================== */

.auth-section {
    background: #f8f9fa;
    padding: 80px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

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

.auth-info {
    color: var(--primary-color);
}

.auth-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.auth-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
}

.auth-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.auth-toggle {
    display: flex;
    background: #f8f9fa;
    padding: 0.5rem;
    gap: 0.5rem;
}

.auth-toggle-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.auth-toggle-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-toggle-btn:hover:not(.active) {
    color: var(--primary-color);
}

.auth-form {
    padding: 2.5rem;
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.auth-form p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(25, 101, 176, 0.1);
}

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

.phone-input-wrapper {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0.5rem;
}

.phone-country-select {
    padding: 0.75rem 0.5rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
    cursor: pointer;
}

.phone-country-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(25, 101, 176, 0.1);
}

.phone-number-input {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.phone-number-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(25, 101, 176, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    font-weight: 400;
    color: #6c757d;
    font-size: 0.9rem;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-primary-large {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 101, 176, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 101, 176, 0.4);
}

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

@media (max-width: 768px) {
    .auth-section {
        padding: 60px 0;
    }
    
    .auth-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .auth-info h1 {
        font-size: 2rem;
    }
    
    .auth-info p {
        font-size: 1rem;
    }
    
    .auth-container {
        margin: 0 1rem;
        border-radius: 15px;
    }
    
    .auth-form {
        padding: 1.5rem;
    }
    
    .auth-form h2 {
        font-size: 1.4rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .phone-input-wrapper {
        grid-template-columns: 110px 1fr;
    }
    
    .auth-toggle-btn {
        font-size: 0.9rem;
        padding: 0.875rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* ===================================
   CANDIDATE DASHBOARD
   =================================== */

/* Layout principal du dashboard */
.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 70px); /* Hauteur viewport - hauteur header */
    background: #f8f9fa;
}

/* Sidebar fixe full-height */
.dashboard-sidebar-fixed {
    width: 280px;
    background: white;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 90px; /* Hauteur du header */
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}

/* Informations utilisateur */
.dashboard-user-info {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background: white;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1965b0 0%, #0891d1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar-small svg {
    width: 20px;
    height: 20px;
    color: white;
}

.user-avatar-small .avatar-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    text-align: left;
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Menu de navigation */
.dashboard-menu {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.dashboard-menu-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.dashboard-menu-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.dashboard-menu-item:hover {
    background: #f8f9fa;
    color: #1965b0;
    transform: translateX(4px);
}

.dashboard-menu-item.active {
    background: linear-gradient(135deg, #1965b0, #0891d1);
    color: white;
    box-shadow: 0 4px 12px rgba(25, 101, 176, 0.25);
}

.dashboard-menu-item.logout {
    margin-top: auto;
    border-top: 1px solid #e9ecef;
    padding-top: 1.375rem;
    margin-top: 1rem;
    color: #dc3545;
}

.dashboard-menu-item.logout:hover {
    background: #fff5f5;
    color: #c82333;
}

/* Contenu principal */
.dashboard-content {
    margin-left: 280px; /* Largeur de la sidebar */
    flex: 1;
    padding: 2rem;
    min-height: 100%;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    color: #1965b0;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.dashboard-subtitle {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

/* Stats Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.stat-card:hover {
    border-color: #1965b0;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(25, 101, 176, 0.15);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1965b0;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive Dashboard */
@media (max-width: 968px) {
    .dashboard-layout {
        flex-direction: column;
    }
    
    .dashboard-sidebar-fixed {
        position: static;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        max-height: none;
    }
    
    .dashboard-user-info {
        padding: 1.5rem;
    }
    
    .user-avatar {
        width: 56px;
        height: 56px;
        margin-bottom: 0.75rem;
    }
    
    .dashboard-menu {
        flex-direction: row;
        overflow-x: auto;
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .dashboard-menu-item {
        white-space: nowrap;
        flex-shrink: 0;
        transform: none !important;
    }
    
    .dashboard-menu-item.logout {
        margin-top: 0;
        margin-left: auto;
        border-top: none;
        border-left: 1px solid #e9ecef;
        padding-top: 0.875rem;
        padding-left: 1.375rem;
    }
    
    .dashboard-content {
        margin-left: 0;
        padding: 1.5rem;
    }
    
    .dashboard-header h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .dashboard-content {
        padding: 1rem;
    }
    
    .dashboard-header h1 {
        font-size: 1.5rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-icon {
        width: 56px;
        height: 56px;
    }
    
    .stat-number {
        font-size: 1.875rem;
    }
}

/* ===================================
   JOBS / OFFRES D'EMPLOI
   =================================== */

/* Filtres de recherche */
.jobs-filters {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.filters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.filter-item {
    display: flex;
    flex-direction: column;
    position: relative;
}

.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.filter-input,
.filter-select {
    padding: 0.875rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s;
    background: white;
    width: 100%;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #1965b0;
    box-shadow: 0 0 0 3px rgba(25, 101, 176, 0.1);
}

/* Autocomplétion */
.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: -2px;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid #f8f9fa;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: #f8f9fa;
    color: #1965b0;
}

/* Loading spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

.loading-spinner svg {
    color: #1965b0;
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
}

/* Résultats */
.jobs-results {
    margin-top: 2rem;
}

.results-header {
    margin-bottom: 1.5rem;
}

.results-count {
    color: #1965b0;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Grille des offres */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.job-card {
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    border-color: #1965b0;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(25, 101, 176, 0.15);
}

.job-header {
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.job-title a {
    color: #1965b0;
    text-decoration: none;
    transition: color 0.2s;
}

.job-title a:hover {
    color: #0891d1;
}

.job-company {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.95rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.job-meta-item svg {
    flex-shrink: 0;
}

.job-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.job-date {
    font-size: 0.875rem;
    color: #6c757d;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.pagination-btn:hover {
    border-color: #1965b0;
    color: #1965b0;
    background: #f8f9fa;
}

.pagination-btn.active {
    background: linear-gradient(135deg, #1965b0, #0891d1);
    color: white;
    border-color: #1965b0;
}

/* Aucun résultat */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.no-results svg {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.no-results h3 {
    color: #1965b0;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* Détail d'une offre */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover {
    color: #1965b0;
}

.job-detail-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.job-detail-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-detail-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.job-detail-card h2 {
    color: #1965b0;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.job-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    gap: 1rem;
}

.meta-item svg {
    color: #1965b0;
    flex-shrink: 0;
}

.meta-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.meta-value {
    font-weight: 600;
    color: #333;
}

.job-content {
    color: #333;
    line-height: 1.8;
}

/* Sidebar candidature */
.job-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.apply-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid #1965b0;
    position: sticky;
    top: 100px;
}

.apply-card h3 {
    color: #1965b0;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.user-info-display {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-row svg {
    color: #1965b0;
    flex-shrink: 0;
}

.form-textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: all 0.2s;
}

.form-textarea:focus {
    outline: none;
    border-color: #1965b0;
    box-shadow: 0 0 0 3px rgba(25, 101, 176, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.job-info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-item svg {
    color: #1965b0;
    flex-shrink: 0;
}

.info-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.info-value {
    font-weight: 600;
    color: #333;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Jobs */
@media (max-width: 1200px) {
    .job-detail-layout {
        grid-template-columns: 1fr 350px;
    }
}

@media (max-width: 968px) {
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .job-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .apply-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .jobs-filters {
        padding: 1.5rem;
    }
    
    .job-card {
        padding: 1.25rem;
    }
    
    .job-detail-card {
        padding: 1.5rem;
    }
    
    .apply-card {
        padding: 1.5rem;
    }
    
    .filter-actions {
        grid-template-columns: 1fr;
    }
}




/* ========================================
   Candidate Informations & Documents Pages
   ======================================== */

/* Profile Completion Indicator */
.profile-completion-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
}

.completion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.completion-text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.375rem 0;
}

.completion-text p {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}

.completion-percentage {
    flex-shrink: 0;
}

.completion-circle {
    width: 80px;
    height: 80px;
}

.circle-bg {
    fill: none;
    stroke: #dee2e6;
    stroke-width: 3;
}

.circle-progress {
    fill: none;
    stroke: #1965b0;
    stroke-width: 3;
    stroke-linecap: round;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dasharray 0.6s ease;
}

.percentage-text {
    fill: #1965b0;
    font-size: 0.625rem;
    font-weight: 700;
    text-anchor: middle;
}

.completion-tips {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 0.875rem 1rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #1965b0;
}

.completion-tips svg {
    width: 20px;
    height: 20px;
    color: #1965b0;
    flex-shrink: 0;
}

.completion-tips span {
    font-size: 0.875rem;
    color: #495057;
    font-weight: 500;
}

/* Modern Buttons */
.btn-primary-modern,
.btn-secondary-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-primary-modern svg,
.btn-secondary-modern svg {
    width: 18px;
    height: 18px;
}

.btn-primary-modern {
    background: linear-gradient(135deg, #1965b0 0%, #0891d1 100%);
    color: white;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 101, 176, 0.4);
}

.btn-secondary-modern {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.btn-secondary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Profile Photo Section */
.profile-photo-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.profile-photo-preview {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.profile-photo-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e9ecef;
}

.profile-photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
}

.profile-photo-placeholder svg {
    width: 40px;
    height: 40px;
    color: #adb5bd;
}

.btn-delete-photo {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #dc3545;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete-photo:hover {
    background: #c82333;
    transform: scale(1.1);
}

.btn-delete-photo svg {
    width: 16px;
    height: 16px;
    color: white;
}

.profile-photo-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.profile-photo-form .file-input-wrapper {
    flex: 1;
}

.file-input-label-photo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.file-input-label-photo:hover {
    background: #e9ecef;
    border-color: #1965b0;
}

.file-input-label-photo svg {
    width: 24px;
    height: 24px;
    color: #6c757d;
    flex-shrink: 0;
}

.file-input-label-photo span {
    font-size: 0.875rem;
    color: #495057;
}

.info-form-card,
.documents-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.info-form-card h2,
.documents-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

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

.form-grid .full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.form-group small {
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.875rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

/* Documents Page Specific */
.documents-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.documents-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.documents-card-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.documents-card-header h2 {
    margin: 0 0 0.5rem 0;
}

.documents-card-header p {
    color: #666;
    margin: 0;
}

.cv-current {
    background: var(--light-bg);
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cv-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cv-info svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-color);
}

.cv-info div {
    display: flex;
    flex-direction: column;
}

.cv-info strong {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.cv-info span {
    color: #666;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.cv-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid;
}

.btn-sm svg {
    width: 16px;
    height: 16px;
}

.btn-secondary {
    background: white;
    color: #1965b0;
    border-color: #1965b0;
}

.btn-secondary:hover {
    background: #1965b0;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(25, 101, 176, 0.2);
}

.btn-danger {
    background: white;
    color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

.cv-upload-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.cv-upload-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.cv-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--light-bg);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.cv-empty svg {
    width: 80px;
    height: 80px;
    stroke: #ccc;
    margin-bottom: 1rem;
}

.cv-empty p {
    color: #666;
    font-size: 1.1rem;
}

.cv-upload-form {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.file-input-wrapper {
    flex: 1;
}

.file-input-wrapper input[type="file"] {
    display: none;
}

.file-input-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-input-label:hover {
    border-color: var(--primary-color);
    background: var(--light-bg);
}

.file-input-label svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
}

.file-input-label span {
    color: var(--dark-color);
    font-weight: 500;
}

/* Responsive - Informations & Documents */
@media (max-width: 968px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .cv-current {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cv-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cv-actions .btn-sm {
        width: 100%;
        justify-content: center;
    }
    
    .cv-upload-form {
        flex-direction: column;
    }
    
    .cv-upload-form .btn {
        width: 100%;
    }
}

/* Alert styles */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
