/* ============================================
   VARIABLES & RESET
   ============================================ */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background-light: #f9fafb;
    --background-dark: #111827;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: transparent;
    position: relative;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    color: var(--text-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h4 {
    font-size: 1.3rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

/* ============================================
   3D ANIMATION BACKGROUND
   ============================================ */
.hero-animation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #16213e 100%);
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 60px;
    width: auto;
}

.nav-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: block;
    padding: 24px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-separator {
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 15px;
    align-self: stretch;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
}

/* ============================================
   HERO SECTION
   ============================================ */
/* Hero Screens Wrapper - Three full-screen monochrome screens */
.hero-screens-wrapper {
    position: relative;
    width: 100%;
}

.hero-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 100px 24px;
}

.hero-screen-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero-screen-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-screen-content h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.hero-screen-content h3 {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-screen-content h4 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-screen-content h5 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.3;
}

/* Screen 1 - Dark blue monochrome */
.screen-1 {
    background: linear-gradient(135deg, #1e3a5f 0%, #1a2f4f 50%, #16213e 100%);
    color: white;
}

.screen-1 h1,
.screen-1 h2,
.screen-1 h3,
.screen-1 h4,
.screen-1 h5 {
    color: white;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Screen 2 - Medium blue monochrome */
.screen-2 {
    background: linear-gradient(135deg, #2d4a7c 0%, #254366 50%, #1e3a5f 100%);
    color: white;
}

.screen-2 h1,
.screen-2 h2 {
    color: white;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Legacy styles for compatibility */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 100px;
    padding-bottom: 60px;
}

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

.hero-content h1,
.hero-content p {
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin: 1.5rem 0 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.cta-button,
.cta-button-large {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 15px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
}

.cta-button:hover,
.cta-button-large:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button-large {
    padding: 18px 40px;
    font-size: 1.15rem;
}

.secondary-button {
    display: inline-block;
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 13px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ============================================
   SECTION CARDS & CONTENT
   ============================================ */
.section-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
}

.section-header-centered {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: -10px;
}

.quote-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--accent-color);
    margin: 30px 0;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.8;
}

.quote-box p {
    margin: 0 0 10px 0;
    color: white;
}

.quote-box cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: 600;
    margin-top: 15px;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ============================================
   INTRO SECTION
   ============================================ */
.intro-section {
    background: linear-gradient(to bottom, transparent, rgba(249, 250, 251, 0.5));
}

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

/* ============================================
   MÉTIERS SECTION
   ============================================ */
.offres-section {
    background: var(--background-light);
}

.offre-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    margin: 30px 0;
    transition: var(--transition);
    border: 2px solid transparent;
}

.offre-card.featured {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.offre-card.valoriser,
.offre-card.featured.valoriser {
    border-color: #2563eb;
}

.offre-card.interagir,
.offre-card.featured.interagir {
    border-color: #10b981;
}

.offre-card.qualite {
    border-color: #f59e0b;
}

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

.offre-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.offre-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 20px 0 30px;
}

.offre-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--background-light);
    border-radius: 8px;
}

.feature-icon {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: bold;
}

.offre-technologies {
    margin: 30px 0;
    padding: 20px;
    background: var(--background-light);
    border-radius: 8px;
}

.offre-technologies h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.offre-cta {
    text-align: center;
    margin: 30px 0;
}

.offre-alternative {
    margin-top: 30px;
    padding: 20px;
    background: #fef3c7;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.alternative-label {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 8px;
}

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

.link-arrow:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.engagement-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--background-light);
    border-radius: 8px;
}

.engagement-icon {
    font-size: 2rem;
}

.engagement-text strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.engagement-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ============================================
   PROJETS SECTION
   ============================================ */
.projets-section {
    background: white;
}

.projets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.projet-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.projet-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.projet-card-link:hover {
    text-decoration: none;
}

.projet-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.projet-card-link .projet-link {
    color: var(--primary-color);
}

.projet-header {
    padding: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.projet-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.projet-header h3 {
    color: white;
    margin: 0;
    font-size: 1.4rem;
}

.projet-content {
    padding: 25px;
    flex: 1;
}

.projet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    display: inline-block;
    background: var(--background-light);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.projet-footer {
    padding: 0 25px 25px;
}

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

.projet-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.webinaires-section {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 50px 0;
}

.webinaires-section h3 {
    text-align: center;
    margin-bottom: 30px;
}

.webinaires-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.webinaire-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.webinaire-icon {
    font-size: 2.5rem;
}

.webinaire-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.webinaire-content p {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.all-articles-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: var(--border-radius);
    border: 2px solid rgba(37, 99, 235, 0.2);
}

.all-articles-cta h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

/* ============================================
   À PROPOS SECTION
   ============================================ */
.about-section {
    background: linear-gradient(to bottom, var(--background-light), white);
}

.scic-content {
    max-width: 1000px;
    margin: 0 auto;
}

.scic-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 50px;
}

.intro-highlight {
    text-align: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(16, 185, 129, 0.08));
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    border: 2px solid rgba(37, 99, 235, 0.15);
}

.intro-highlight p {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text-color);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.principle-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.principle-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.principle-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.principle-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.principle-content p {
    margin: 0;
    font-size: 0.98rem;
    color: var(--text-light);
    line-height: 1.7;
}

.governance-section {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 40px 0;
}

.governance-section h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.governance-section>p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

.colleges-distribution {
    margin: 30px 0;
}

.college-bar {
    display: flex;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.college-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: var(--transition);
}

.college-segment:hover {
    filter: brightness(1.1);
}

.college-segment span {
    line-height: 1.3;
}

.college-segment.producers {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.college-segment.beneficiaries {
    background: linear-gradient(135deg, #10b981, #059669);
}

.college-segment.investors {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.college-segment.partners {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.governance-note {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-top: 25px;
    padding: 20px;
    background: var(--background-light);
    border-radius: 8px;
}

.history-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 35px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    border-left: 5px solid var(--primary-color);
}

.history-section h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.history-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.history-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.history-section a:hover {
    text-decoration: underline;
}

.societaire-info {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 35px;
    border-radius: var(--border-radius);
    margin-top: 30px;
    border-left: 5px solid var(--accent-color);
}

.societaire-info h4 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.societaire-info p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.societaire-info ul {
    margin-left: 25px;
    margin-top: 15px;
}

.societaire-info li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.engagement-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(37, 99, 235, 0.1));
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 40px;
    border-left: 4px solid var(--accent-color);
}

.engagement-section p {
    margin: 0;
    text-align: center;
    color: var(--text-color);
    line-height: 1.8;
}

.scic-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.value-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.value-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.value-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.team-section {
    margin: 60px 0;
}

.team-section h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
}

.member-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 4px solid white;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    margin: 10px 0 5px;
    font-size: 1.1rem;
}

.member-role {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.join-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 50px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 60px;
}

.join-cta h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.join-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 25px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-item h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-item p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.contact-cta {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.contact-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-cta p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
    background: white;
    padding: 80px 0;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px 25px;
    margin-top: 40px;
    align-items: center;
    justify-items: center;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 10px;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
    max-width: 220px;
    width: 100%;
    box-shadow: var(--shadow);
    overflow: visible;
    border: none;
}

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

.logo-item img {
    max-width: 100%;
    width: auto;
    height: 120px;
    object-fit: contain;
    filter: grayscale(0.25);
    transition: all 0.3s ease;
    padding: 0;
    display: block;
    margin-bottom: 8px;
    flex-shrink: 0;
}

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

.logo-name {
    font-size: 0.85rem;
    color: var(--text-color);
    text-align: center;
    font-weight: 500;
    margin-top: 4px;
    line-height: 1.3;
    padding: 0 5px;
    flex-shrink: 0;
    word-wrap: break-word;
    hyphens: auto;
}

@media (max-width: 768px) {
    .logo-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 25px 20px;
    }

    .logo-item {
        max-width: 180px;
        min-height: 160px;
        padding: 8px 4px;
    }

    .logo-item img {
        height: 100px;
        padding: 0;
    }

    .logo-name {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .logo-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px 15px;
    }

    .logo-item {
        max-width: 150px;
        min-height: 140px;
        padding: 6px 3px;
    }

    .logo-item img {
        height: 85px;
        padding: 0;
    }

    .logo-name {
        font-size: 0.7rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--background-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col p a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col p a:visited {
    color: white;
}

.footer-col p a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-tagline {
    font-style: italic;
    color: var(--accent-color);
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(17, 24, 39, 0.98);
        flex-direction: column;
        padding: 20px 0;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 15px 24px;
    }

    .nav-separator {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-section {
        min-height: 90vh;
        padding-top: 120px;
    }

    .hero-screen {
        min-height: 100vh;
        padding: 120px 16px;
    }

    .hero-screen-content h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 1rem;
    }

    .hero-screen-content h2 {
        font-size: clamp(1.4rem, 6vw, 2.2rem);
        margin-bottom: 0.8rem;
    }

    .hero-screen-content h3 {
        font-size: clamp(1.2rem, 5vw, 1.9rem);
        margin-bottom: 0.6rem;
    }

    .hero-screen-content h4 {
        font-size: clamp(1rem, 4.5vw, 1.6rem);
        margin-bottom: 0.6rem;
    }

    .hero-screen-content h5 {
        font-size: clamp(0.9rem, 4vw, 1.4rem);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .section-card {
        padding: 25px;
    }

    .offre-card {
        padding: 25px;
    }

    .offre-features {
        grid-template-columns: 1fr;
    }

    .projets-grid {
        grid-template-columns: 1fr;
    }

    .webinaires-list {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .principle-item {
        padding: 20px;
    }

    .college-bar {
        flex-direction: column;
        height: auto;
    }

    .college-segment {
        width: 100% !important;
        padding: 15px;
        font-size: 0.9rem;
    }

    .governance-section {
        padding: 25px;
    }

    .history-section,
    .societaire-info {
        padding: 20px;
    }

    .intro-highlight,
    .engagement-section {
        padding: 20px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .container {
        padding: 0 16px;
    }

    .section-card {
        padding: 20px;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}