@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@300;400;500;600;700&display=swap');

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

:root {
    --green: #2D6A4F;
    --green-dark: #1B5E3F;
    --green-light: #52B788;
    --sand: #F5E6D3;
    --sand-light: #FAF7F0;
    --cream: #FFFEF9;
    --charcoal: #2C2C2C;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
    --white: #FFFFFF;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --container-width: 1200px;
    --section-padding: clamp(60px, 10vw, 120px);
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--green-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: '🌿';
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--green);
}

.nav-cta {
    background: var(--green);
    color: white !important;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.text-green {
    color: var(--green);
    font-weight: 700;
}

.hero .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--gray);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-buttons {
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-bg-shape {
    position: absolute;
    top: 50%;
    right: -30%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, var(--green-light) 0%, transparent 60%);
    opacity: 0.1;
    transform: translateY(-50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

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

@keyframes float {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.1); }
}

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

.hero-badge {
    background: rgba(45, 106, 79, 0.1);
    border: 1px solid var(--green-light);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--green-dark);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    animation: float-badge 3s ease-in-out infinite;
}

.hero-badge:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-badge:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--green);
    color: white;
    box-shadow: 0 4px 16px rgba(45, 106, 79, 0.3);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 106, 79, 0.4);
}

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

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

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Why Us Section */
.why-us {
    padding: var(--section-padding) 0;
    background: white;
}

.why-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.timeline-badge {
    width: 80px;
    height: 80px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(45, 106, 79, 0.3);
}


.timeline-content h3 {
    font-size: 1.25rem;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-content p {
    color: var(--gray);
    font-size: 0.9rem;
    max-width: 250px;
}


/* Jobs Section */
.jobs-section {
    padding: var(--section-padding) 0;
    background: white;
}

.job-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--gray-light);
    background: white;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--green-light);
    color: var(--green);
}

.filter-btn.active {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}


.job-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.job-card {
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-light);
}

.job-card-image {
    width: 100%;
    aspect-ratio: 1200 / 675;
    overflow: hidden;
    background: var(--gray-light);
}

.job-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.job-card:hover .job-card-image img {
    transform: scale(1.05);
}

.job-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    flex: 1;
}


.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.job-company {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.job-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
    margin-top: auto;
}

.job-meta-item {
    color: var(--green);
    font-weight: 500;
}

.job-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--sand-light);
    color: var(--gray);
}

.job-card-placeholder svg {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.job-card-placeholder span {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.job-type {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-type-cdd {
    background: var(--sand);
    color: var(--charcoal);
}

.job-location {
    font-size: 0.875rem;
    color: var(--gray);
}

.job-title {
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.job-company {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.job-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.job-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gray-light);
    color: var(--charcoal);
    border-radius: 15px;
    font-size: 0.8rem;
}

.job-link {
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.3s ease;
}

.job-link:hover {
    gap: 0.75rem;
}

.spontaneous-section {
    background: var(--sand-light);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
}

.spontaneous-content h3 {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.spontaneous-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Fiches Métiers Section */
.metiers-section {
    padding: var(--section-padding) 0;
    background: white;
}

.metiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.metier-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
    border: 2px solid var(--sand-light);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.metier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--green-light);
}

.metier-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

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

.metier-desc {
    font-size: 0.9rem;
    color: var(--charcoal);
    line-height: 1.5;
}

/* Process Section */
.process-section {
    padding: var(--section-padding) 0;
    background: var(--gray-light);
}

.process-timeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1.125rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.step-duration {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green);
    background: var(--green-light);
    background: rgba(82, 183, 136, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

.process-line {
    width: 100%;
    height: 2px;
    background: var(--green-light);
    opacity: 0.3;
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: white;
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    height: 250px;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.stars {
    color: #FFB800;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--charcoal);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.9rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--gray-light);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--green);
    width: 30px;
    border-radius: 5px;
}

/* Client Space Section */
.client-space {
    padding: var(--section-padding) 0;
    background: var(--sand-light);
}

.client-space-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.client-space-text h2 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.client-space-text p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.space-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.space-features li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    font-size: 0.95rem;
    color: var(--charcoal);
    position: relative;
}

.space-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

.dashboard-preview {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.dashboard-header {
    background: var(--green);
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 2rem;
    gap: 1.5rem;
}

.mini-stat {
    text-align: center;
}

.mini-stat span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 0.25rem;
}

.mini-stat label {
    font-size: 0.85rem;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
}

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

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
}

.cta-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.cta-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-link:hover {
    transform: translateY(-2px);
}

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

/* Footer */
footer {
    background: #101010;
    color: white;
    padding: 3rem 0 1.5rem;
}

main {
    min-height: calc(100vh - 219px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-main p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.25rem;
}

.footer-founder {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .why-timeline {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
        max-width: 500px;
    }

    .timeline-item {
        width: 100%;
    }


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

@media (max-width: 768px) {
    .hero-bg-shape {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

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

    .why-timeline {
        padding: 0 1rem;
    }

    .timeline-badge {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    /* Fix overflow issues */
    section {
        overflow-x: hidden;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-line {
        display: none;
    }

    .client-space-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .client-space-visual {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .client-space-text {
        text-align: center;
    }

    .client-space-text h2 {
        font-size: 2rem;
    }

    .client-space-text p {
        font-size: 1.1rem;
    }

    .space-features {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .client-space-text .btn {
        margin: 0 auto;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    header {
        height: 60px;
        background: white;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        flex-direction: column;
        padding: 3rem 2rem;
        transform: translateY(-100vh);
        transition: transform 0.4s ease-in-out;
        justify-content: flex-start;
        gap: 0;
        overflow-y: auto;
        z-index: 500;
        height: calc(100vh - 60px);
        border-top: 1px solid var(--gray-light);
    }

    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu a {
        font-size: 1.25rem;
        padding: 1rem 0;
        border-bottom: 1px solid var(--gray-light);
        width: 100%;
        text-align: center;
        display: block;
        margin: 0;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-menu .nav-cta {
        margin-top: 1rem;
        padding: 1rem 2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .why-grid,
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .job-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .cta-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}