/* ===== OFFRE PAGE - DESIGN ULTRA-MODERNE ===== */

/* Override dark theme background */
body {
    background: #0a0a0f;
}

.offer {
    background: #0a0a0f;
    min-height: 100vh;
    padding-top: var(--nav-height);
}

/* Breadcrumb moderne */
.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 40px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(234, 240, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #6366f1;
}

.breadcrumb-sep {
    color: rgba(234, 240, 255, 0.3);
}

.breadcrumb-current {
    color: #eaf0ff;
    font-weight: 600;
}

/* Hero Section Ultra-moderne */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px 120px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: kicker-appear 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes kicker-appear {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: #eaf0ff;
    margin-bottom: 24px;
    animation: title-appear 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

@keyframes title-appear {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.subtitle {
    font-size: 20px;
    color: rgba(234, 240, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 40px;
    animation: subtitle-appear 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

@keyframes subtitle-appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: actions-appear 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s backwards;
}

@keyframes actions-appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary svg,
.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #eaf0ff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

/* Hero Visual avec SVG animé */
.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: visual-appear 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

@keyframes visual-appear {
    from {
        opacity: 0;
        transform: scale(0.9) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Section moderne */
section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    color: #a5b4fc;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.gain-tag {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #eaf0ff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: rgba(234, 240, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
}

/* Pain/Gain Grid */
.pain-grid,
.gain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pain-card,
.gain-card {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pain-card::before,
.gain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pain-card {
    --accent-color: #ef4444;
}

.gain-card {
    --accent-color: #10b981;
}

.pain-card:hover,
.gain-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 20px 60px rgba(var(--accent-rgb), 0.15);
}

.pain-card:hover::before,
.gain-card:hover::before {
    opacity: 1;
}

.pain-card svg,
.gain-card svg {
    margin-bottom: 20px;
}

.pain-card h3,
.gain-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #eaf0ff;
    margin-bottom: 12px;
}

.pain-card p,
.gain-card p {
    font-size: 15px;
    color: rgba(234, 240, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 16px;
}

.gain-card .metric {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    color: #6ee7b7;
    font-size: 14px;
    font-weight: 600;
}

/* Workflow Section */
.workflow-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.workflow-diagram {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 48px;
}

.workflow-node {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.workflow-node:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(8px);
}

.workflow-node svg {
    flex-shrink: 0;
}

.workflow-node span {
    font-size: 16px;
    font-weight: 600;
    color: #eaf0ff;
}

.workflow-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.workflow-stat {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.workflow-stat-value {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
}

.workflow-stat-label {
    font-size: 14px;
    color: rgba(234, 240, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* How it works Grid */
.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.how-step {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-step::before {
    content: attr(data-step);
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 60px;
    font-weight: 900;
    color: rgba(99, 102, 241, 0.08);
    line-height: 1;
}

.how-step:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.how-step h3 {
    font-size: 22px;
    font-weight: 600;
    color: #eaf0ff;
    margin-bottom: 12px;
}

.how-step p {
    font-size: 15px;
    color: rgba(234, 240, 255, 0.7);
    line-height: 1.6;
}

/* Included Grid */
.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.included-card {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.included-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.included-card svg {
    margin-bottom: 20px;
}

.included-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #eaf0ff;
    margin-bottom: 12px;
}

.included-card p {
    font-size: 15px;
    color: rgba(234, 240, 255, 0.7);
    line-height: 1.6;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.spec-card {
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.spec-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
}

.spec-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(234, 240, 255, 0.6);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-card p {
    font-size: 18px;
    font-weight: 600;
    color: #eaf0ff;
}

/* Final CTA */
.final {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 32px;
    padding: 60px;
    text-align: center;
}

.final h2 {
    font-size: 36px;
    font-weight: 700;
    color: #eaf0ff;
    margin-bottom: 16px;
}

.final p {
    font-size: 18px;
    color: rgba(234, 240, 255, 0.7);
    margin-bottom: 32px;
}

.price {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    color: #a5b4fc;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .workflow-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px 80px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .pain-grid,
    .gain-grid,
    .how-grid,
    .included-grid,
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .final {
        padding: 40px 24px;
    }
    
    .final h2 {
        font-size: 28px;
    }
}

/* Animations reveal */
.reveal {
    animation: reveal-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== PAGE PROSPECTION : alignement, 2 specs (Délai + Support), couleurs Rouge/Vert → Violet ===== */
.page-prospection .section-header {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-prospection .pain-grid,
.page-prospection .gain-grid,
.page-prospection .how-grid,
.page-prospection .included-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.page-prospection .specs-grid-prospection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 480px;
    margin: 0 auto;
}

.page-prospection .final-content {
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PAGES OFFRE (devis, support, pilotage) : même mise en forme que prospection ===== */
.page-offer-service .section-header {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-offer-service .pain-grid,
.page-offer-service .gain-grid,
.page-offer-service .how-grid,
.page-offer-service .included-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.page-offer-service .final-content {
    max-width: 600px;
    margin: 0 auto;
}
