/* -----------------------------------------------------------
   WEXIL DESIGN SYSTEM
   Theme: Rouge, Saumon, Moderne, Professionnel, Sobriété
   Version: 2.0 - Enhanced & Spectacular
----------------------------------------------------------- */

:root {
    --primary-color: #B91C1C;
    --primary-light: #EF4444;
    --primary-dark: #991B1B;
    --accent-salmon: #FA8072;
    --accent-soft: #FFE4E1;
    --dark-text: #1F2937;
    --light-text: #6B7280;
    --white: #FFFFFF;
    --bg-off-white: #FAFAFA;
    --success-green: #10B981;
    --warning-orange: #F59E0B;
    --danger-red: #DC2626;
    --gradient-main: linear-gradient(135deg, #B91C1C 0%, #FA8072 100%);
    --gradient-soft: linear-gradient(135deg, #FFF5F5 0%, #FFE4E1 100%);
    --gradient-dark: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    --gradient-danger: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    --shadow-card: 0 10px 30px -5px rgba(185, 28, 28, 0.15);
    --shadow-hover: 0 20px 40px -5px rgba(185, 28, 28, 0.25);
    --shadow-epic: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--dark-text); background-color: var(--bg-off-white); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
a { text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

.text-gradient-primary { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-danger { background: var(--gradient-danger); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Navigation */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); z-index: 1000; box-shadow: 0 2px 15px rgba(0,0,0,0.05); padding: 1rem 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 40px; }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { color: var(--dark-text); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary-color); }

/* Buttons */
.btn { padding: 0.8rem 1.8rem; border-radius: 50px; font-weight: 600; cursor: pointer; display: inline-block; border: none; font-size: 1rem; transition: all 0.3s ease; }
.btn-primary { background: var(--gradient-main); color: var(--white); box-shadow: 0 4px 15px rgba(250, 128, 114, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(185, 28, 28, 0.3); }
.btn-secondary { background: var(--dark-text); color: var(--white); padding: 0.6rem 1.2rem; font-size: 0.9rem; }
.btn-secondary:hover { background: var(--primary-color); }
.btn-outline { border: 2px solid var(--primary-color); color: var(--primary-color); background: transparent; }
.btn-outline:hover { background: var(--primary-color); color: white; }
.btn-white { background: white; color: var(--primary-color); }
.btn-white:hover { background: var(--accent-soft); transform: translateY(-2px); }

/* Hero Section */
.hero { position: relative; padding: 160px 0 100px; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg-shape { position: absolute; top: -20%; right: -10%; width: 60%; height: 120%; background: var(--gradient-soft); border-radius: 0 0 0 100px; z-index: -1; transform: skewX(-10deg); }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-text h1 { font-size: 3rem; color: var(--dark-text); margin-bottom: 1.5rem; }
.highlight { color: var(--primary-color); background: linear-gradient(120deg, transparent 0%, transparent 60%, rgba(250, 128, 114, 0.3) 60%); }
.hero-subtitle { font-size: 1.1rem; color: var(--light-text); margin-bottom: 2.5rem; max-width: 90%; }
.cta-group { display: flex; gap: 1rem; margin-bottom: 3rem; }
.trust-badges { font-size: 0.9rem; color: var(--light-text); border-top: 1px solid #eee; padding-top: 1rem; }
.mockup-container { position: relative; z-index: 1; }
.mockup-container img { border-radius: var(--radius-md); box-shadow: var(--shadow-card); border: 1px solid rgba(255,255,255,0.5); }
.floating-card { position: absolute; background: white; padding: 0.8rem 1.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-card); font-weight: 700; font-size: 0.9rem; color: var(--dark-text); display: flex; align-items: center; animation: float 6s ease-in-out infinite; }
.card-1 { top: -20px; right: -20px; border-left: 4px solid #10B981; }
.card-2 { bottom: -30px; left: -20px; animation-delay: 3s; border-left: 4px solid var(--accent-salmon); }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

/* PAIN POINTS SECTION - SPECTACULAR */
.pain-points-section { padding: 100px 0 120px; background: linear-gradient(180deg, var(--bg-off-white) 0%, #fff 100%); position: relative; overflow: hidden; }
.pain-header { margin-bottom: 5rem; }
.pain-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(220, 38, 38, 0.1); color: var(--danger-red); padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.pulse-dot { width: 8px; height: 8px; background: var(--danger-red); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } 100% { opacity: 1; transform: scale(1); } }
.pain-header h2 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 1.5rem; }
.pain-intro { font-size: 1.15rem; color: var(--light-text); max-width: 700px; margin: 0 auto; }

.pain-timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline-line { position: absolute; left: 50px; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--accent-soft) 0%, var(--danger-red) 100%); border-radius: 3px; }
.pain-card-epic { position: relative; margin-bottom: 3rem; margin-left: 100px; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.pain-card-epic:hover { transform: translateX(10px); box-shadow: var(--shadow-epic); }
.pain-card-epic::before { content: ''; position: absolute; left: -50px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; background: var(--danger-red); border-radius: 50%; border: 4px solid white; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2); z-index: 2; }
.chaos-meter { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #f3f4f6; overflow: hidden; }
.chaos-fill { height: 100%; background: linear-gradient(90deg, var(--warning-orange) 0%, var(--danger-red) 100%); width: 0; transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1); }
.chaos-label { position: absolute; right: 15px; top: 10px; font-size: 0.7rem; color: var(--light-text); text-transform: uppercase; letter-spacing: 0.5px; }
.pain-content { display: flex; gap: 2rem; padding: 2.5rem; align-items: flex-start; }
.pain-icon-epic { position: relative; width: 70px; height: 70px; background: var(--gradient-danger); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pain-icon-epic svg { width: 32px; height: 32px; stroke: white; stroke-width: 1.5; }
.icon-glitch { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.1); border-radius: inherit; animation: glitch 3s ease-in-out infinite; }
@keyframes glitch { 0%, 100% { transform: translate(0); } 20% { transform: translate(-2px, 2px); } 40% { transform: translate(2px, -2px); } 60% { transform: translate(-1px, -1px); } 80% { transform: translate(1px, 1px); } }
.pain-text { flex: 1; }
.pain-number { display: block; font-size: 0.8rem; font-weight: 700; color: var(--danger-red); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; }
.pain-text h3 { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--dark-text); }
.pain-text p { color: var(--light-text); line-height: 1.7; }
.pain-stat { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px dashed #e5e7eb; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--danger-red); font-family: 'Montserrat', sans-serif; }
.stat-text { font-size: 0.9rem; color: var(--light-text); }
.pain-conclusion { text-align: center; margin-top: 4rem; padding: 3rem; background: var(--gradient-soft); border-radius: var(--radius-xl); }
.conclusion-icon { width: 60px; height: 60px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; box-shadow: var(--shadow-card); }
.conclusion-icon svg { width: 30px; height: 30px; stroke: var(--primary-color); }
.pain-conclusion p { font-size: 1.3rem; color: var(--dark-text); margin-bottom: 1.5rem; }
.scroll-indicator { display: inline-flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--primary-color); font-weight: 600; cursor: pointer; animation: bounce 2s infinite; }
.scroll-indicator svg { width: 24px; height: 24px; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* Values Section */
.values-section { padding: 80px 0; background: white; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header h2 { font-size: 2.5rem; color: var(--dark-text); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.value-card { padding: 2.5rem; border-radius: var(--radius-md); background: var(--bg-off-white); transition: all 0.3s ease; border: 1px solid transparent; }
.value-card:hover { background: white; box-shadow: var(--shadow-hover); border-color: var(--accent-soft); transform: translateY(-5px); }
.icon-box { font-size: 2.5rem; margin-bottom: 1.5rem; background: var(--accent-soft); width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--primary-color); }
.icon-box svg { width: 32px; height: 32px; stroke: var(--primary-color); stroke-width: 1.5; }

/* Targets Section */
.targets-section { padding: 100px 0; background: var(--bg-off-white); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.target-item { padding: 1.5rem; border-left: 3px solid #ddd; margin-bottom: 1rem; cursor: pointer; transition: all 0.3s; }
.target-item h3 { margin-bottom: 0.5rem; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.target-icon { color: var(--primary-color); width: 24px; height: 24px; }
.target-item:hover, .target-item.active { border-left-color: var(--primary-color); background: white; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.target-visual-bg { background: var(--gradient-main); padding: 1rem; border-radius: var(--radius-lg); transform: rotate(2deg); }
.target-visual-bg img { transform: rotate(-2deg); border-radius: var(--radius-md); border: 4px solid white; }

/* Features Section */
.features-section { padding: 0 0 0px; background: var(--gradient-main); color: white; position: relative; overflow: hidden; }
.wave-top, .wave-bottom { display: block; width: 100%; }
.center-title { text-align: center; color: white; font-size: 2.5rem; margin-bottom: 4rem; }
.feature-row { display: flex; align-items: center; gap: 4rem; margin-bottom: 6rem; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text h3 { font-size: 2rem; margin-bottom: 1rem; color: white; }
.feature-text p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 1rem; }
.feature-list { list-style: none; margin-top: 1.5rem; }
.feature-list li { padding-left: 25px; position: relative; margin-bottom: 0.5rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-salmon); font-weight: bold; }
.feature-img { flex: 1; position: relative; }
.feature-img img { border-radius: var(--radius-md); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }

/* WORKFLOW SECTION - SPECTACULAR REDESIGN */
.workflow-section-epic { padding: 120px 0; background: linear-gradient(180deg, #f4f4f4 0%, #fff 50%, #f4f4f4 100%); position: relative; overflow: hidden; }
.workflow-bg-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(185, 28, 28, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(250, 128, 114, 0.05) 0%, transparent 50%); pointer-events: none; }
.workflow-header { margin-bottom: 5rem; }
.workflow-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gradient-main); color: white; padding: 10px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.workflow-badge svg { width: 18px; height: 18px; }
.workflow-header h2 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 1.5rem; }
.workflow-intro { font-size: 1.15rem; color: var(--light-text); max-width: 700px; margin: 0 auto; }

/* Pipeline Steps */
.workflow-pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-bottom: 5rem; }
.pipeline-step { position: relative; padding: 2rem 1.5rem; text-align: center; }
.step-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 200px; height: 200px; background: radial-gradient(circle, rgba(185, 28, 28, 0.08) 0%, transparent 70%); border-radius: 50%; opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.pipeline-step:hover .step-glow { opacity: 1; }
.pipeline-step.featured .featured-glow { opacity: 1; background: radial-gradient(circle, rgba(185, 28, 28, 0.15) 0%, transparent 70%); }

.step-icon-container { position: relative; width: 80px; height: 80px; margin: 0 auto 1.5rem; }
.step-icon { width: 80px; height: 80px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card); border: 3px solid var(--accent-soft); transition: all 0.4s; position: relative; z-index: 2; }
.step-icon svg { width: 32px; height: 32px; stroke: var(--primary-color); stroke-width: 1.5; }
.pipeline-step:hover .step-icon { transform: scale(1.1); border-color: var(--primary-color); box-shadow: var(--shadow-hover); }
.step-pulse { position: absolute; inset: -5px; border: 2px solid var(--primary-color); border-radius: 50%; opacity: 0; animation: stepPulse 2s infinite; }
@keyframes stepPulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.3); opacity: 0; } }

.step-content { position: relative; z-index: 2; }
.step-number-badge { display: inline-block; background: var(--gradient-main); color: white; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; margin-bottom: 1rem; }
.step-content h4 { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--dark-text); }
.step-content p { font-size: 0.95rem; color: var(--light-text); line-height: 1.6; }
.step-features { list-style: none; margin-top: 1rem; text-align: left; }
.step-features li { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--dark-text); margin-bottom: 0.5rem; }
.step-features li svg { width: 16px; height: 16px; stroke: var(--success-green); flex-shrink: 0; }

/* Step Connectors */
.step-connector { position: absolute; top: 40px; right: -30px; width: 60px; display: flex; align-items: center; z-index: 1; }
.connector-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--accent-soft), var(--primary-color)); }
.connector-arrow { width: 24px; height: 24px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.connector-arrow svg { width: 14px; height: 14px; stroke: var(--primary-color); }
.pipeline-step:last-child .step-connector { display: none; }

/* Featured Step (Step 3) */
.pipeline-step.featured { background: linear-gradient(180deg, rgba(185, 28, 28, 0.05) 0%, transparent 100%); border-radius: var(--radius-lg); margin: -1rem; padding: 3rem 2.5rem; }
.featured-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--warning-orange); color: white; font-size: 0.7rem; font-weight: 700; padding: 6px 12px; border-radius: 50px; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.featured-badge svg { width: 12px; height: 12px; }
.pipeline-step.featured .step-icon-container { width: 100px; height: 100px; }
.pipeline-step.featured .step-icon { width: 100px; height: 100px; background: var(--gradient-main); border: none; }
.pipeline-step.featured .step-icon svg { stroke: white; width: 40px; height: 40px; }
.featured-badge-num { background: var(--warning-orange) !important; }
.orbit-ring { position: absolute; inset: -15px; border: 2px dashed var(--accent-salmon); border-radius: 50%; animation: orbit 10s linear infinite; }
.orbit-dot { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; background: var(--accent-salmon); border-radius: 50%; transform: translateX(-50%); }
@keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Optimization Visual */
.optimization-visual { margin-top: 1.5rem; }
.opt-bar { background: #f3f4f6; border-radius: 50px; height: 28px; margin-bottom: 0.75rem; overflow: hidden; position: relative; }
.opt-fill { height: 100%; background: var(--gradient-main); border-radius: 50px; display: flex; align-items: center; padding: 0 12px; transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1); width: 0; }
.opt-fill span { font-size: 0.75rem; font-weight: 600; color: white; white-space: nowrap; }

/* Export Logos */
.export-logos { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.export-logo { background: white; padding: 8px 16px; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 700; color: var(--dark-text); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

/* Workflow Stats */
.workflow-stats { display: flex; justify-content: center; align-items: center; gap: 3rem; padding: 3rem; background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.stat-item { text-align: center; }
.stat-value { font-size: 3rem; font-weight: 800; color: var(--primary-color); font-family: 'Montserrat', sans-serif; line-height: 1; }
.stat-label { font-size: 0.95rem; color: var(--light-text); margin-top: 0.5rem; }
.stat-divider { width: 1px; height: 60px; background: #e5e7eb; }

/* Pricing Section */
.pricing-section { padding: 100px 0; background: white; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; align-items: center; }
.pricing-card { border: 1px solid #eee; border-radius: var(--radius-lg); overflow: hidden; background: white; transition: all 0.3s; position: relative; }
.pricing-card:hover { box-shadow: var(--shadow-card); transform: translateY(-5px); }
.pricing-card.featured { border: 2px solid var(--primary-color); box-shadow: var(--shadow-hover); transform: scale(1.05); z-index: 2; }
.best-value { background: var(--primary-color); color: white; text-align: center; padding: 5px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.pricing-header { padding: 2rem; background: var(--bg-off-white); text-align: center; border-bottom: 1px solid #eee; }
.pricing-header h3 { color: var(--primary-color); font-size: 1.5rem; margin-bottom: 0.5rem; }
.pricing-sub { color: var(--light-text); font-size: 0.9rem; }
.pricing-body { padding: 2rem; text-align: center; }
.target-desc { font-weight: 700; margin-bottom: 1.5rem; color: var(--dark-text); }
.pricing-body ul { list-style: none; margin-bottom: 2rem; text-align: left; padding-left: 1rem; }
.pricing-body ul li { margin-bottom: 0.8rem; position: relative; padding-left: 20px; font-size: 0.95rem; }
.pricing-body ul li::before { content: "✓"; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; }

/* FAQ SECTION - SPECTACULAR REDESIGN */
.faq-section-epic { padding: 120px 0; background: linear-gradient(180deg, var(--bg-off-white) 0%, #fff 50%, var(--bg-off-white) 100%); position: relative; overflow: hidden; }
.faq-bg-decoration { position: absolute; inset: 0; pointer-events: none; }
.faq-circle { position: absolute; border-radius: 50%; border: 1px solid rgba(185, 28, 28, 0.1); }
.faq-circle-1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.faq-circle-2 { width: 300px; height: 300px; bottom: -50px; left: -50px; }
.faq-circle-3 { width: 200px; height: 200px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-header { margin-bottom: 4rem; }
.faq-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(185, 28, 28, 0.1); color: var(--primary-color); padding: 10px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.faq-badge svg { width: 18px; height: 18px; }
.faq-header h2 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 1.5rem; }
.faq-intro { font-size: 1.15rem; color: var(--light-text); max-width: 700px; margin: 0 auto; }

/* FAQ Container */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item-epic { background: white; border-radius: var(--radius-lg); margin-bottom: 1rem; box-shadow: 0 2px 15px rgba(0,0,0,0.05); overflow: hidden; transition: all 0.3s; border: 1px solid transparent; }
.faq-item-epic:hover { box-shadow: var(--shadow-card); border-color: var(--accent-soft); }
.faq-item-epic.open { box-shadow: var(--shadow-hover); border-color: var(--primary-color); }

/* FAQ Question */
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; cursor: pointer; transition: all 0.3s; }
.faq-question:hover { background: var(--bg-off-white); }
.faq-q-content { display: flex; align-items: center; gap: 1rem; }
.faq-icon { width: 45px; height: 45px; background: var(--gradient-soft); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s; }
.faq-icon svg { width: 22px; height: 22px; stroke: var(--primary-color); }
.faq-item-epic.open .faq-icon { background: var(--gradient-main); }
.faq-item-epic.open .faq-icon svg { stroke: white; }
.faq-question h4 { font-size: 1.1rem; color: var(--dark-text); margin: 0; font-weight: 600; }

/* FAQ Toggle */
.faq-toggle { width: 30px; height: 30px; position: relative; flex-shrink: 0; }
.toggle-bar { position: absolute; background: var(--primary-color); border-radius: 2px; transition: all 0.3s; }
.toggle-bar:first-child { width: 16px; height: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.toggle-bar:last-child { width: 2px; height: 16px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item-epic.open .toggle-bar:last-child { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

/* FAQ Answer */
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item-epic.open .faq-answer { max-height: 500px; }
.answer-content { padding: 0 2rem 2rem 2rem; border-top: 1px solid #f3f4f6; margin-top: 0; padding-top: 1.5rem; }
.answer-content p { color: var(--dark-text); line-height: 1.8; margin-bottom: 1rem; }
.answer-content p:last-child { margin-bottom: 0; }

/* Answer Visual Elements */
.answer-visual { margin: 1.5rem 0; }
.visual-flow { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.flow-item { padding: 10px 20px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; }
.flow-wexil { background: var(--gradient-main); color: white; }
.flow-erp { background: var(--dark-text); color: white; }
.flow-students { background: var(--success-green); color: white; }
.visual-flow svg { width: 20px; height: 20px; stroke: var(--light-text); }

.answer-list { list-style: none; margin: 1rem 0; }
.answer-list li { padding: 0.5rem 0 0.5rem 1.5rem; position: relative; color: var(--dark-text); }
.answer-list li::before { content: "→"; position: absolute; left: 0; color: var(--primary-color); font-weight: bold; }

.feature-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.feature-tag { background: var(--accent-soft); color: var(--primary-color); padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }

/* Time Breakdown */
.time-breakdown { display: flex; justify-content: center; gap: 2rem; margin: 1.5rem 0; flex-wrap: wrap; }
.time-item { text-align: center; }
.time-value { display: block; font-size: 2rem; font-weight: 800; color: var(--primary-color); font-family: 'Montserrat', sans-serif; }
.time-label { font-size: 0.85rem; color: var(--light-text); }

/* Security Badges */
.security-badges { display: flex; gap: 1rem; margin: 1.5rem 0; flex-wrap: wrap; }
.security-badge { display: flex; align-items: center; gap: 8px; background: var(--bg-off-white); padding: 12px 16px; border-radius: var(--radius-sm); }
.security-badge svg { width: 20px; height: 20px; stroke: var(--success-green); }
.security-badge span { font-size: 0.85rem; font-weight: 600; color: var(--dark-text); }

/* Answer CTA */
.answer-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--gradient-main); color: white; padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; margin-top: 1rem; transition: all 0.3s; }
.answer-cta:hover { transform: translateX(5px); box-shadow: var(--shadow-card); }
.answer-cta svg { width: 18px; height: 18px; transition: transform 0.3s; }
.answer-cta:hover svg { transform: translateX(5px); }

/* FAQ CTA */
.faq-cta { text-align: center; margin-top: 4rem; padding: 2rem; background: var(--gradient-soft); border-radius: var(--radius-lg); }
.faq-cta p { font-size: 1.1rem; color: var(--dark-text); margin-bottom: 1rem; }

/* Blog Section */
.blog-section { padding: 80px 0; background: white; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.blog-card { border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s; }
.blog-card:hover { transform: translateY(-5px); }
.blog-img img { width: 100%; height: 200px; object-fit: cover; }
.blog-content { padding: 1.5rem; }
.blog-tag { font-size: 0.8rem; color: var(--accent-salmon); font-weight: 700; text-transform: uppercase; }
.blog-content h4 { margin: 0.5rem 0 1rem; font-size: 1.1rem; }
.read-more { color: var(--primary-color); font-weight: 600; font-size: 0.9rem; }

/* CTA Section */
.cta-section { padding: 80px 0; background: white; }
.cta-box { background: var(--gradient-main); border-radius: var(--radius-lg); padding: 4rem; text-align: center; color: white; box-shadow: var(--shadow-hover); }
.cta-box h2 { color: white; margin-bottom: 1rem; }
.cta-box .btn { margin-top: 2rem; }

/* Footer */
footer { background: #f4f4f4; padding: 80px 0 20px; color: var(--dark-text); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { height: 30px; margin-bottom: 1rem; display: inline-block; }
.footer-col h4 { margin-bottom: 1.5rem; color: var(--primary-color); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: var(--light-text); }
.footer-col ul li a:hover { color: var(--primary-color); }
.footer-bottom { border-top: 1px solid #ddd; padding-top: 20px; display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--light-text); flex-wrap: wrap; gap: 1rem; }
.legal-links a { margin-left: 20px; color: var(--light-text); }
.legal-links a:hover { color: var(--primary-color); }

/* Animations Classes */
.reveal-up, .reveal-left, .reveal-right { opacity: 0; transition: all 0.8s ease-out; }
.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.active.reveal-up { opacity: 1; transform: translateY(0); }
.active.reveal-left { opacity: 1; transform: translateX(0); }
.active.reveal-right { opacity: 1; transform: translateX(0); }

/* Responsive Design */
@media (max-width: 1024px) {
    .workflow-pipeline { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .pipeline-step:nth-child(2) .step-connector, .pipeline-step:nth-child(4) .step-connector { display: none; }
    .pipeline-step.featured { margin: 0; }
    .workflow-stats { flex-wrap: wrap; gap: 2rem; }
    .stat-divider { display: none; }
}

@media (max-width: 768px) {
    .hero-content, .split-layout, .feature-row, .feature-row.reverse { grid-template-columns: 1fr; flex-direction: column; gap: 2rem; }
    .pain-timeline { margin-left: 0; }
    .timeline-line { display: none; }
    .pain-card-epic { margin-left: 0; }
    .pain-card-epic::before { display: none; }
    .pain-content { flex-direction: column; text-align: center; }
    .pain-stat { justify-content: center; }
    .workflow-pipeline { grid-template-columns: 1fr; }
    .step-connector { display: none !important; }
    .pipeline-step.featured { padding: 2rem 1.5rem; }
    .faq-question { padding: 1rem 1.5rem; }
    .faq-q-content { gap: 0.75rem; }
    .faq-icon { width: 40px; height: 40px; }
    .faq-question h4 { font-size: 1rem; }
    .answer-content { padding: 0 1.5rem 1.5rem 1.5rem; }
    .time-breakdown { gap: 1rem; }
    .security-badges { flex-direction: column; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); }
    .feature-img { order: -1; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .legal-links a { margin: 0 10px; }
    .hero-bg-shape { width: 100%; height: 60%; top: 0; right: 0; transform: skewY(-10deg); border-radius: 0; }
    .nav-links { display: none; }
    .pain-header h2, .workflow-header h2, .faq-header h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2rem; }
    .section-header h2, .center-title { font-size: 1.8rem; }
    .cta-group { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    .workflow-stats { padding: 2rem 1rem; }
    .stat-value { font-size: 2rem; }
    .visual-flow { flex-direction: column; }
    .visual-flow svg { transform: rotate(90deg); }
}

/* Tarteaucitron Customization */
#tarteaucitronRoot #tarteaucitronAlertBig { background: var(--dark-text) !important; }
#tarteaucitronRoot #tarteaucitronPersonalize, #tarteaucitronRoot #tarteaucitronAllDenied2 { background: var(--gradient-main) !important; border: none !important; }
#tarteaucitronRoot #tarteaucitronCloseAlert { background: transparent !important; border: 2px solid white !important; }
#tarteaucitronRoot .tarteaucitronAllow { background: var(--success-green) !important; }
#tarteaucitronRoot .tarteaucitronDeny { background: var(--danger-red) !important; }