@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Light Theme - Inspired by RoadmapHero */
    --bg-main: #ffffff;
    --bg-section: #f8fafc;
    --bg-card: #ffffff;
    --primary: #7c3aed;
    /* Violet */
    --primary-dark: #5b21b6;
    --primary-light: #a78bfa;
    --primary-glow: rgba(124, 58, 237, 0.15);
    --secondary: #6366f1;
    /* Indigo */
    --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #3b82f6 100%);
    --text-main: #1e293b;
    --text-heading: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-heading);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.12);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-glow);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Layout Sections */
section {
    padding: 100px 0;
}

header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

/* Smaller header button */
header .btn-primary {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    margin-left: 10px;
}

header.scrolled {
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (max-width: 640px) {
    header nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    header nav .btn-primary {
        width: 100%;
        margin-top: 0.5rem;
        margin-left: 0;
    }
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-heading);
}

.logo span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-section) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    z-index: 0;
}

.hero>.container {
    position: relative;
    z-index: 1;
}

.hero-visual {
    margin-top: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-visual img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    object-fit: cover;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Titles */
.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Agent Cards Grid */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.agent-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s var(--transition);
    color: inherit;
}

.agents-grid a {
    text-decoration: none;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.agent-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: #000000;
    color: #ffffff;
}

.agent-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.agent-card .tagline {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.agent-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Accompagnement Section */
.accompagnement {
    background: var(--bg-section);
}

.accompagnement-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .accompagnement-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.accompagnement-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.accompagnement-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.accompagnement-list {
    margin-bottom: 2rem;
}

.accompagnement-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.accompagnement-list li i {
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.accompagnement-visual {
    position: relative;
}

.accompagnement-visual img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-section) 100%);
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-box form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-box input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.cta-box input:focus {
    outline: none;
    border-color: var(--primary);
}

.cta-box input::placeholder {
    color: var(--text-muted);
}

/* Satisfaction Section */
.satisfaction-section {
    background: var(--bg-section);
    text-align: center;
}

.satisfaction-box {
    max-width: 700px;
    margin: 0 auto;
}

.star-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.satisfaction-section h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.satisfaction-section p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.logo-strip {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 1.5rem;
    align-items: center;
}

.logo-strip img {
    height: 80px !important;
    width: 150px !important;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-strip img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-strip {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .logo-strip img {
        height: 60px !important;
    }
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Processus Section Styling - Adapted to Light Theme */
.processus-section {
    background-color: var(--bg-section);
    color: var(--text-main);
    padding: 120px 0;
}

.process-grid-alt {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.process-item-alt {
    transition: all 0.3s ease;
}

.process-item-alt .step-num-large {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-glow);
    /* Subtle primary color background for number */
    margin-bottom: -1.5rem;
    transition: color 0.3s ease;
}

.process-item-alt:hover .step-num-large {
    color: rgba(255, 107, 53, 0.2);
}

.process-item-alt h3 {
    color: var(--text-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.process-item-alt p {
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.pill-orange {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 99px;
    margin-bottom: 1.5rem;
}

.heading-large {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--text-heading);
}

.heading-large span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}