/* ================================================================
   GROUPE EMC — style.css COMPLET
   ================================================================ */

/* --- VARIABLES --- */
:root {
    --primary: #002157;
    --secondary: #00a18c;
    --accent: #0056b3;
    --white: #ffffff;
    --bg-light: #f4f7f6;
    --text-dark: #333;
    --text-light: #777;
    --header-height: 80px;
    --container-width: 1200px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: var(--header-height);
}

/* ================================================================
   LAYOUT
   ================================================================ */

.container {
    max-width: var(--container-width);
    margin: auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

/* ================================================================
   HEADER & NAV
   ================================================================ */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 99999;
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
    z-index: 9999;
}

.logogroupe-img {
    height: 7em;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--primary);
    font-size: 0.95rem;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 25px;
    height: 3px;
    background: var(--primary);
    display: block;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}

.hamburger::before { top: -8px; }
.hamburger::after  { top:  8px; }

/* ================================================================
   HERO
   ================================================================ */

.hero {
    height: calc(100vh - var(--header-height));
    background:
        linear-gradient(120deg, rgba(0,33,87,0.85), rgba(0,161,140,0.6)),
        url('images/teamgemc2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hero-tags span {
    background: rgba(255,255,255,0.15);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* ================================================================
   BUTTONS
   ================================================================ */

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    margin: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    opacity: 0.88;
}

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

.btn-alt-light {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    background: transparent;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-top: 20px;
    transition: 0.3s;
}

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

/* ================================================================
   SECTION GROUP
   ================================================================ */

#group .container {
    text-align: center;
}

#group h2 {
    margin-bottom: 10px;
}

#group .subtitle {
    margin-bottom: 20px;
    color: var(--text-light);
}

#group .grid-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

#group .about-text {
    text-align: left;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

#group .values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#group .value {
    background: white;
    padding: 25px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

#group .value strong {
    display: block;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

#group .value:hover {
    transform: translateY(-5px);
}

/* ================================================================
   SECTION TIMELINE
   ================================================================ */

#timeline {
    background: linear-gradient(to bottom, #ffffff, var(--bg-light));
}

#timeline .container {
    text-align: center;
}

#timeline .subtitle {
    color: var(--text-light);
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--secondary);
    border: 3px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 3px var(--secondary);
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 22px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    text-align: left;
    max-width: 320px;
    transition: 0.3s;
    border-top: 3px solid var(--secondary);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.timeline-year {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ================================================================
   SECTION STATS
   ================================================================ */

.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, #003a7a 50%, var(--secondary) 100%);
    padding: 70px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================================================================
   SECTION MISSION
   ================================================================ */

#mission {
    background: linear-gradient(
        135deg,
        rgba(0,33,87,0.12),
        rgba(0,161,140,0.18)
    );
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

#mission .container {
    text-align: center;
}

#mission .subtitle {
    margin-bottom: 50px;
    color: var(--text-light);
}

#mission .grid-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

#mission .grid-about > div {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#mission .grid-about p {
    background: white;
    padding: 18px 20px;
    border-radius: 10px;
    text-align: left;
    font-size: 1rem;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

#mission strong {
    color: var(--primary);
}

#mission .grid-about p:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ================================================================
   SECTION TÉMOIGNAGES
   ================================================================ */

#temoignages .container {
    text-align: center;
}

#temoignages .subtitle {
    color: var(--text-light);
    margin-bottom: 50px;
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.temoignage-card {
    background: white;
    padding: 30px 25px;
    border-radius: 14px;
    text-align: left;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    position: relative;
    transition: 0.3s;
    border-bottom: 3px solid var(--secondary);
}

.temoignage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.1);
}

.temoignage-quote {
    font-size: 4rem;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 10px;
    font-family: Georgia, serif;
    opacity: 0.4;
}

.temoignage-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.temoignage-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.temoignage-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.temoignage-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary);
}

.temoignage-author span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ================================================================
   SECTION MÉTIERS
   ================================================================ */

#metiers .container {
    text-align: center;
}

#metiers .subtitle {
    color: var(--text-light);
    margin-bottom: 50px;
}

.metiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.metier-card {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: 0.3s;
    position: relative;
    border-top: 3px solid transparent;
}

.metier-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-top-color: var(--secondary);
}

.metier-featured {
    border-top: 3px solid var(--secondary);
    box-shadow: 0 12px 40px rgba(0,161,140,0.15);
}

.metier-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.metier-icon {
    width: 52px;
    height: 52px;
    color: var(--secondary);
    margin-bottom: 18px;
}

.metier-icon svg {
    width: 100%;
    height: 100%;
}

.metier-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.metier-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 18px;
}

.metier-list {
    list-style: none;
    margin-bottom: 25px;
}

.metier-list li {
    font-size: 0.88rem;
    color: var(--text-dark);
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.metier-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    flex-shrink: 0;
}

.metier-btn {
    display: inline-block;
    padding: 10px 22px;
    background: var(--primary);
    color: white;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.metier-btn:hover {
    background: var(--secondary);
}

/* ================================================================
   SECTION PROCESSUS
   ================================================================ */

#processus {
    background: #ffffff;
}

#processus .container {
    text-align: center;
}

#processus .subtitle {
    color: var(--text-light);
    margin-bottom: 60px;
}

.processus-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    align-items: start;
}

.processus-steps::before {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(12.5% + 8px);
    right: calc(12.5% + 8px);
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    z-index: 0;
}

.processus-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0,33,87,0.25);
    flex-shrink: 0;
}

.step-content {
    background: white;
    border-radius: 14px;
    padding: 22px 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    text-align: center;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
    width: 100%;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
    border-bottom-color: var(--secondary);
}

.step-icon {
    width: 36px;
    height: 36px;
    color: var(--secondary);
    margin: 0 auto 12px;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-content h3 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 14px;
}

.step-delay {
    display: inline-block;
    background: rgba(0,161,140,0.1);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ================================================================
   SECTION FAQ
   ================================================================ */

#faq {
    background: linear-gradient(to bottom, var(--bg-light), #ffffff);
}

#faq .container {
    text-align: center;
}

#faq .subtitle {
    color: var(--text-light);
    margin-bottom: 50px;
}

.faq-wrapper {
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid #e8edf2;
    margin-bottom: 4px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
    gap: 16px;
}

.faq-question:hover {
    color: var(--secondary);
}

.faq-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: var(--secondary);
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s, background 0.2s;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 2px;
    top: 50%;
    left: 50%;
}

.faq-icon::before {
    width: 10px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 10px;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    background: var(--primary);
    transform: rotate(45deg);
}

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

.faq-answer.open {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p {
    padding: 0 10px;
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.75;
}

/* ================================================================
   SECTION ECOSYSTÈME (commenté mais CSS conservé)
   ================================================================ */

#ecosysteme .container {
    text-align: center;
}

#ecosysteme .subtitle {
    margin-bottom: 50px;
    color: var(--text-light);
}

#ecosysteme .entities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

#ecosysteme .entity-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

#ecosysteme .entity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

#ecosysteme .entity-logo {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: 0.3s;
}

#ecosysteme .entity-card:hover .entity-logo {
    filter: grayscale(0%);
    opacity: 1;
}

#ecosysteme h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

#ecosysteme .entity-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ================================================================
   CAROUSEL PARTENAIRES
   ================================================================ */

.partners-carousel {
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 10px;
    z-index: 0;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    margin: 0 auto;
    animation: scroll 30s linear infinite;
}

.partner-item {
    flex: 0 0 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-item img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.partner-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================================================================
   CTA RECRUTEMENT
   ================================================================ */

.cta-section {
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: white;
    text-align: center;
    padding: 60px 20px;
}

/* ================================================================
   CONTACT
   ================================================================ */

.contact-logo {
    height: 8em;
    width: auto;
    margin: 15px 0;
    object-fit: contain;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-family: 'Montserrat', sans-serif;
}

.contact-form button {
    width: 100%;
}

/* ================================================================
   POPUP
   ================================================================ */

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    margin: 20px;
}

.popup-content button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: #0f172a;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.alert {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.alert.success { background: #d4edda; color: #155724; }
.alert.error   { background: #f8d7da; color: #721c24; }

/* ================================================================
   FOOTER
   ================================================================ */

footer {
    background: #111;
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 20px;
}

/* ================================================================
   TITRES GÉNÉRIQUES
   ================================================================ */

h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* ================================================================
   RESPONSIVE — TABLET (≤ 992px)
   ================================================================ */

@media (max-width: 992px) {

    .hero-content h1 {
        font-size: 2.3rem;
    }

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

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

    #group .grid-about {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #ecosysteme .entities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .processus-steps {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .processus-steps::before {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .stat-item {
        border-right: 1px solid rgba(255,255,255,0.15);
        border-bottom: 1px solid rgba(255,255,255,0.15);
        padding: 30px 15px;
    }

    .stat-item:nth-child(2n) { border-right: none; }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4)  { border-bottom: none; }

    .stat-number { font-size: 2.2rem; }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ================================================================ */

@media (max-width: 768px) {

    :root {
        --header-height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: var(--header-height);
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transition: 0.4s;
    }

    .nav-links.nav-open {
        right: 0;
    }

    .nav-links li a {
        margin: 20px 0;
    }

    .hero {
        height: auto;
        padding: 80px 20px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    #group .about-text { text-align: center; }
    #group .values { align-items: center; }
    #group .value  { width: 100%; max-width: 300px; }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 55px;
        padding-right: 0;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        max-width: 100%;
    }

    #mission .grid-about {
        grid-template-columns: 1fr;
    }

    #mission .grid-about p {
        text-align: center;
    }

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

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

    .processus-steps {
        grid-template-columns: 1fr;
    }

    .partners-carousel {
        max-width: 100%;
        padding: 0 10px;
    }

    .partners-track {
        gap: 20px;
        animation-duration: 15s;
    }

    .partner-item {
        flex: 0 0 100px;
        min-width: 120px;
    }

    .partner-item img {
        height: 40px;
        max-width: 90px;
    }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ================================================================ */

@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
    }

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

    .popup-content {
        padding: 20px;
    }

    .popup-content button {
        width: 100%;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .faq-question {
        font-size: 0.9rem;
    }

    #ecosysteme .entities-grid {
        grid-template-columns: 1fr;
    }
}
/* ================================================================
   SECTION INSTAGRAM — CSS COMPLET
   Remplacez TOUT l'ancien CSS instagram dans style.css
   ================================================================ */

.instagram-section {
    background: linear-gradient(to bottom, #ffffff, var(--bg-light));
    padding: 80px 0 60px;
}

/* HEADER */
.instagram-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
    justify-content: center;
}

.instagram-logo-wrap {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.instagram-logo-svg {
    width: 100%;
    height: 100%;
}

.instagram-header-text h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.instagram-handle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.instagram-handle:hover {
    opacity: 0.75;
}

/* ================================================================
   LAYOUT 2/3 — 1/3
   ================================================================ */

.instagram-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

/* COLONNE GAUCHE — embed */
.instagram-embed-col {
    width: 100%;
}

.instagram-embed-col .instagram-media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
    margin: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 50px rgba(0,0,0,0.1) !important;
    border: none !important;
}

/* COLONNE DROITE — CTA */
.instagram-cta-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-cta-inner {
    text-align: center;
}

.instagram-cta-icon {
    width: 64px;
    height: 64px;
    display: block;
    margin: 0 auto 20px;
}

.instagram-cta-inner h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 14px;
    line-height: 1.4;
}

.instagram-cta-inner p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 28px;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 6px 20px rgba(188,24,136,0.25);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(188,24,136,0.35);
    opacity: 0.92;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 992px) {
    .instagram-layout {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 40px;
    }

    .instagram-embed-col {
        max-width: 540px;
        width: 100%;
    }

    .instagram-cta-col {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .instagram-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn-instagram {
        width: 100%;
        justify-content: center;
    }
}
/* ================================================================
   SECTION PLATEFORMES — À coller dans style.css
   ================================================================ */

.plateformes-section {
    background: var(--bg-light);
    padding: 80px 0;
}

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

.plateformes-header h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 12px;
}

.plateformes-header .subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* GRILLE 3 CARDS */
.plateformes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

/* CARD */
.plateforme-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 28px 24px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: 0.3s;
    position: relative;
    border-left: 4px solid transparent;
}

.plateforme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.plateforme-linkedin { border-left-color: #0A66C2; }
.plateforme-linkedin:hover { background: linear-gradient(135deg, #f0f6ff, white); }

.plateforme-indeed { border-left-color: #003A9B; }
.plateforme-indeed:hover { background: linear-gradient(135deg, #f0f3ff, white); }

.plateforme-site { border-left-color: var(--secondary); }
.plateforme-site:hover { background: linear-gradient(135deg, #f0faf9, white); }

/* LOGO */
.plateforme-logo {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.plateforme-logo svg {
    width: 100%;
    height: 100%;
}

/* CONTENU */
.plateforme-content {
    flex: 1;
}

.plateforme-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.plateforme-card h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

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

/* FLÈCHE */
.plateforme-arrow {
    width: 22px;
    height: 22px;
    color: var(--text-light);
    flex-shrink: 0;
    transition: transform 0.3s, color 0.3s;
}

.plateforme-arrow svg {
    width: 100%;
    height: 100%;
}

.plateforme-card:hover .plateforme-arrow {
    transform: translateX(5px);
    color: var(--secondary);
}

/* BANDEAU PUNCH */
.plateformes-punch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--primary), #003a7a);
    border-radius: 16px;
    padding: 28px 40px;
    flex-wrap: wrap;
}

.punch-emoji {
    font-size: 1.8rem;
}

.plateformes-punch p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin: 0;
}

.plateformes-punch strong {
    color: white;
}

.plateformes-punch .btn {
    background: var(--secondary);
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.plateformes-punch .btn:hover {
    background: #009a85;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .plateformes-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .plateformes-punch {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        gap: 16px;
    }

    .plateformes-punch .btn {
        width: 100%;
        text-align: center;
    }
}
