/* =====================================================
   CONVERSA.OVH — PRESENTATION PAGE
   Palette : vert #6B4BD8 + orange #E51D75
   Polices : Barlow, Barlow Condensed
   ===================================================== */

/* --- NAVBAR --- */
.pres-nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    transition: background .3s, box-shadow .3s;
}
.pres-nav.scrolled {
    background: rgba(5, 8, 38, .97);
    box-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.pres-nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px;
}
.pres-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 26px;
    color: #fff; text-decoration: none; letter-spacing: 1px;
}
.pres-logo-dot {
    display: inline-block; width: 8px; height: 8px;
    background: #E51D75; border-radius: 50%;
    margin-left: 2px; vertical-align: super;
}
.pres-nav-links { display: flex; align-items: center; gap: 28px; }
.pres-nav-links a {
    color: rgba(255,255,255,.85); text-decoration: none;
    font-size: 14px; font-weight: 500;
    transition: color .2s;
}
.pres-nav-links a:hover { color: #fff; text-decoration: none; }
.pres-btn-nav {
    background: #E51D75 !important; color: #fff !important;
    padding: 8px 20px; border-radius: 6px;
    font-weight: 600; font-size: 14px;
    transition: background .2s;
}
.pres-btn-nav:hover { background: #e06d00 !important; }

.pres-burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.pres-burger span {
    display: block; width: 24px; height: 2px;
    background: #fff; margin: 5px 0; transition: .3s;
}

/* --- BUTTONS --- */
.pres-btn {
    display: inline-block; padding: 12px 28px;
    border-radius: 6px; font-weight: 600; font-size: 15px;
    text-decoration: none; transition: all .2s; cursor: pointer;
    border: 2px solid transparent; text-align: center;
}
.pres-btn.orange { background: #E51D75; color: #fff; }
.pres-btn.orange:hover { background: #e06d00; text-decoration: none; }
.pres-btn.outline { background: transparent; color: #6B4BD8; border-color: #6B4BD8; }
.pres-btn.outline:hover { background: #6B4BD8; color: #fff; text-decoration: none; }
.pres-btn.white { background: #fff; color: #6B4BD8; }
.pres-btn.white:hover { background: #f0f0f0; text-decoration: none; }
.pres-btn.outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.pres-btn.outline-white:hover { background: rgba(255,255,255,.15); text-decoration: none; }
.pres-btn.lg { padding: 14px 36px; font-size: 16px; }

/* --- HERO --- */
.pres-hero {
    background: linear-gradient(135deg, #050826 0%, #6B4BD8 50%, #8262E9 100%);
    color: #fff;
    padding: 120px 24px 60px;
    text-align: center;
}
.pres-hero-content { max-width: 700px; margin: 0 auto; }
.pres-hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px; font-weight: 700; line-height: 1.15;
    margin-bottom: 20px;
}
.pres-hero-sub {
    font-size: 18px; line-height: 1.6;
    color: rgba(255,255,255,.85);
    margin-bottom: 32px;
}
.pres-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Mockup browser */
.pres-hero-mockup {
    max-width: 700px; margin: 48px auto 0;
}
.pres-mockup-browser {
    background: #050826; border-radius: 12px;
    overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.pres-mockup-bar {
    background: #2a3d2e; padding: 10px 16px;
    display: flex; align-items: center; gap: 8px;
}
.pres-mockup-bar .dot {
    width: 10px; height: 10px; border-radius: 50%;
}
.pres-mockup-bar .dot.red { background: #ff5f57; }
.pres-mockup-bar .dot.yellow { background: #ffbd2e; }
.pres-mockup-bar .dot.green { background: #28ca41; }
.pres-mockup-url {
    background: rgba(255,255,255,.08); color: rgba(255,255,255,.5);
    padding: 4px 16px; border-radius: 4px; font-size: 12px;
    margin-left: 8px; flex: 1; text-align: center;
}
.pres-mockup-screen {
    padding: 24px;
    display: flex; gap: 24px; align-items: flex-start;
    min-height: 180px;
}
.pres-mockup-avatar { text-align: center; flex-shrink: 0; }
.pres-avatar-circle {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, #6B4BD8, #8262E9);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
}
.pres-avatar-icon { font-size: 32px; }
.pres-avatar-wave {
    display: flex; gap: 3px; justify-content: center; align-items: flex-end; height: 20px;
}
.pres-avatar-wave span {
    width: 3px; background: #28ca41; border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
}
.pres-avatar-wave span:nth-child(1) { height: 8px; animation-delay: 0s; }
.pres-avatar-wave span:nth-child(2) { height: 14px; animation-delay: .15s; }
.pres-avatar-wave span:nth-child(3) { height: 18px; animation-delay: .3s; }
.pres-avatar-wave span:nth-child(4) { height: 12px; animation-delay: .45s; }
.pres-avatar-wave span:nth-child(5) { height: 6px; animation-delay: .6s; }
@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.8); }
}
.pres-mockup-chat { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.pres-chat-bubble {
    padding: 10px 14px; border-radius: 10px;
    font-size: 13px; line-height: 1.4; max-width: 90%;
}
.pres-chat-bubble.assistant {
    background: rgba(107,75,216,.3); color: rgba(255,255,255,.9);
    align-self: flex-start; border-bottom-left-radius: 2px;
}
.pres-chat-bubble.user {
    background: rgba(229,29,117,.25); color: rgba(255,255,255,.9);
    align-self: flex-end; border-bottom-right-radius: 2px;
}

/* Hero stats */
.pres-hero-stats {
    display: flex; justify-content: center; gap: 48px;
    margin-top: 48px; flex-wrap: wrap;
}
.pres-stat { text-align: center; }
.pres-stat-num {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 36px; font-weight: 700; color: #E51D75;
}
.pres-stat-label {
    font-size: 13px; color: rgba(255,255,255,.7);
    text-transform: uppercase; letter-spacing: 1px;
}

/* --- SECTIONS --- */
.pres-section { padding: 80px 24px; }
.pres-section.alt { background: #F5F7F9; }
.pres-container { max-width: 1100px; margin: 0 auto; }
.pres-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 36px; font-weight: 700; text-align: center;
    color: #050826; margin-bottom: 12px;
}
.pres-subtitle {
    text-align: center; color: #4A4D66;
    font-size: 17px; margin-bottom: 48px;
}

/* --- STEPS (Fonctionnement) --- */
.pres-steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.pres-step {
    text-align: center; padding: 32px 20px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 2px 16px rgba(107,75,216,.08);
    position: relative;
    transition: transform .3s;
}
.pres-step:hover { transform: translateY(-4px); }
.pres-step::before {
    content: attr(data-step);
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    width: 28px; height: 28px; border-radius: 50%;
    background: #E51D75; color: #fff;
    font-weight: 700; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}
.pres-step-icon { font-size: 36px; margin-bottom: 16px; }
.pres-step h3 {
    font-size: 17px; font-weight: 600; margin-bottom: 10px; color: #050826;
}
.pres-step p { font-size: 14px; color: #4A4D66; line-height: 1.5; }

/* --- PIPELINE (Technologie) --- */
.pres-pipeline {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-bottom: 48px; flex-wrap: wrap;
}
.pres-pipe-step { text-align: center; min-width: 110px; }
.pres-pipe-icon {
    font-size: 28px; margin-bottom: 6px;
    width: 56px; height: 56px; border-radius: 50%;
    background: #fff; box-shadow: 0 2px 12px rgba(107,75,216,.1);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 8px;
}
.pres-pipe-label { font-weight: 600; font-size: 14px; color: #050826; }
.pres-pipe-detail { font-size: 11px; color: #4A4D66; margin-top: 2px; }
.pres-pipe-arrow {
    font-size: 24px; color: #E51D75; font-weight: 700;
    margin: 0 4px;
}

/* Tech cards */
.pres-tech-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pres-tech-card {
    background: #fff; padding: 28px 20px; border-radius: 10px;
    box-shadow: 0 2px 12px rgba(107,75,216,.08);
    transition: transform .3s;
}
.pres-tech-card:hover { transform: translateY(-4px); }
.pres-tech-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px; font-weight: 700; color: #6B4BD8;
}
.pres-tech-by {
    font-size: 12px; color: #E51D75; font-weight: 600;
    text-transform: uppercase; letter-spacing: .5px;
    margin-bottom: 12px;
}
.pres-tech-card p { font-size: 14px; color: #4A4D66; line-height: 1.5; }

/* --- EVALUATION --- */
.pres-eval-grid {
    display: grid; grid-template-columns: 1fr 320px; gap: 48px;
    align-items: center;
}
.pres-criterion { margin-bottom: 24px; }
.pres-crit-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 6px;
}
.pres-crit-name { font-weight: 600; font-size: 15px; color: #050826; }
.pres-crit-weight {
    font-size: 13px; color: #E51D75; font-weight: 600;
    background: rgba(229,29,117,.1); padding: 2px 10px; border-radius: 12px;
}
.pres-crit-bar {
    height: 8px; background: #ECEEF3; border-radius: 4px; overflow: hidden;
    margin-bottom: 6px;
}
.pres-crit-fill {
    height: 100%; background: linear-gradient(90deg, #6B4BD8, #8262E9);
    border-radius: 4px; transition: width 1s ease;
}
.pres-criterion p { font-size: 13px; color: #4A4D66; }

/* Score ring */
.pres-eval-result { text-align: center; }
.pres-score-ring {
    width: 160px; height: 160px; border-radius: 50%;
    background: conic-gradient(#6B4BD8 0% 76%, #ECEEF3 76% 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    margin: 0 auto 20px; position: relative;
}
.pres-score-ring::before {
    content: '';
    position: absolute; inset: 12px; border-radius: 50%;
    background: #fff;
}
.pres-score-value {
    position: relative; z-index: 1;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px; font-weight: 700; color: #6B4BD8;
    line-height: 1;
}
.pres-score-label {
    position: relative; z-index: 1;
    font-size: 14px; color: #4A4D66;
}
.pres-cecrl-badge {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px; font-weight: 700;
    color: #fff; background: #6B4BD8;
    padding: 6px 24px; border-radius: 8px;
    margin-bottom: 8px;
}
.pres-cecrl-desc { font-size: 14px; color: #4A4D66; margin-bottom: 20px; }
.pres-cecrl-scale {
    display: flex; gap: 6px; justify-content: center;
}
.pres-cecrl-scale .level {
    padding: 4px 10px; border-radius: 4px;
    font-size: 13px; font-weight: 600;
    background: #ECEEF3; color: #4A4D66;
}
.pres-cecrl-scale .level.active {
    background: #E51D75; color: #fff;
}

/* --- SCENARIOS --- */
.pres-scenario-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pres-scenario-card {
    background: #fff; padding: 28px 24px; border-radius: 10px;
    box-shadow: 0 2px 12px rgba(107,75,216,.08);
    transition: transform .3s; position: relative;
}
.pres-scenario-card:hover { transform: translateY(-4px); }
.pres-scenario-icon { font-size: 32px; margin-bottom: 12px; }
.pres-scenario-tag {
    position: absolute; top: 16px; right: 16px;
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    color: #6B4BD8; background: rgba(107,75,216,.08);
    padding: 3px 10px; border-radius: 4px; letter-spacing: .5px;
}
.pres-scenario-card h3 {
    font-size: 17px; font-weight: 600; color: #050826; margin-bottom: 8px;
}
.pres-scenario-card p {
    font-size: 14px; color: #4A4D66; line-height: 1.5; margin-bottom: 12px;
}
.pres-scenario-level {
    font-size: 12px; font-weight: 600; padding: 3px 12px;
    border-radius: 12px;
}
.pres-scenario-level.begin { background: #d4edda; color: #155724; }
.pres-scenario-level.inter { background: #fff3cd; color: #856404; }
.pres-scenario-level.adv { background: #f8d7da; color: #721c24; }

/* --- LANGUES --- */
.pres-langs {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.pres-lang-card {
    text-align: center; padding: 28px 16px;
    background: #fff; border-radius: 10px;
    box-shadow: 0 2px 12px rgba(107,75,216,.08);
    transition: transform .3s;
}
.pres-lang-card:hover { transform: translateY(-4px); }
.pres-lang-flag { font-size: 40px; margin-bottom: 10px; }
.pres-lang-name { font-weight: 600; font-size: 15px; color: #050826; }
.pres-lang-avatars { font-size: 12px; color: #4A4D66; margin-top: 4px; }

/* --- PRICING --- */
.pres-pricing {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    max-width: 900px; margin: 0 auto;
}
.pres-price-card {
    background: #fff; padding: 36px 28px; border-radius: 12px;
    box-shadow: 0 2px 16px rgba(107,75,216,.08);
    text-align: center; position: relative;
    transition: transform .3s;
}
.pres-price-card:hover { transform: translateY(-4px); }
.pres-price-card.popular {
    border: 2px solid #E51D75;
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(229,29,117,.15);
}
.pres-price-card.popular:hover { transform: scale(1.04) translateY(-4px); }
.pres-price-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: #E51D75; color: #fff;
    padding: 4px 20px; border-radius: 12px;
    font-size: 12px; font-weight: 600; text-transform: uppercase;
}
.pres-price-type {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px; font-weight: 600; color: #050826;
    margin-bottom: 12px;
}
.pres-price-amount {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 48px; font-weight: 700; color: #6B4BD8;
    line-height: 1;
}
.pres-price-amount span { font-size: 20px; font-weight: 400; }
.pres-price-per {
    font-size: 14px; color: #4A4D66; margin-bottom: 24px;
}
.pres-price-card ul {
    list-style: none; padding: 0; margin: 0 0 24px;
    text-align: left;
}
.pres-price-card li {
    padding: 8px 0; font-size: 14px; color: #4A4D66;
    border-bottom: 1px solid #ECEEF3;
}
.pres-price-card li::before {
    content: '✓'; color: #6B4BD8; font-weight: 700;
    margin-right: 8px;
}

/* --- B2B --- */
.pres-b2b-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-bottom: 48px;
}
.pres-b2b-card {
    padding: 28px 24px; border-radius: 10px;
    background: #fff; box-shadow: 0 2px 12px rgba(107,75,216,.08);
    transition: transform .3s;
}
.pres-b2b-card:hover { transform: translateY(-4px); }
.pres-b2b-icon { font-size: 28px; margin-bottom: 12px; }
.pres-b2b-card h3 {
    font-size: 16px; font-weight: 600; color: #050826; margin-bottom: 8px;
}
.pres-b2b-card p { font-size: 14px; color: #4A4D66; line-height: 1.5; }

.pres-b2b-pricing {
    text-align: center;
    background: #F5F7F9; border-radius: 12px; padding: 40px 24px;
}
.pres-b2b-pricing h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px; font-weight: 700; color: #050826;
    margin-bottom: 24px;
}
.pres-b2b-packs { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.pres-b2b-pack {
    background: #fff; padding: 24px 32px; border-radius: 10px;
    box-shadow: 0 2px 8px rgba(107,75,216,.08);
    min-width: 180px;
}
.pres-b2b-pack.featured {
    border: 2px solid #E51D75;
    box-shadow: 0 4px 16px rgba(229,29,117,.12);
}
.pres-pack-qty { font-weight: 600; font-size: 15px; color: #050826; margin-bottom: 4px; }
.pres-pack-price {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px; font-weight: 700; color: #6B4BD8;
}
.pres-pack-unit { font-size: 13px; color: #4A4D66; }

/* --- CTA --- */
.pres-cta {
    background: linear-gradient(135deg, #050826, #6B4BD8);
    color: #fff; text-align: center;
    padding: 64px 24px;
}
.pres-cta h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 36px; font-weight: 700; margin-bottom: 12px;
}
.pres-cta p {
    font-size: 17px; color: rgba(255,255,255,.8);
    margin-bottom: 32px;
}

/* --- FOOTER --- */
.pres-footer {
    background: #0a3a1e; color: rgba(255,255,255,.6); padding: 48px 24px 0;
}
.pres-footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px;
}
.pres-footer-brand p { font-size: 14px; margin-top: 12px; line-height: 1.5; }
.pres-footer-links h4 {
    color: #fff; font-size: 14px; font-weight: 600;
    margin-bottom: 12px; text-transform: uppercase; letter-spacing: .5px;
}
.pres-footer-links a {
    display: block; color: rgba(255,255,255,.5);
    font-size: 14px; padding: 4px 0;
    text-decoration: none; transition: color .2s;
}
.pres-footer-links a:hover { color: #fff; text-decoration: none; }
.pres-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0; text-align: center;
    font-size: 12px;
}

/* --- ANIMATIONS --- */
.fade-up {
    opacity: 0; transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
    opacity: 1; transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .pres-steps { grid-template-columns: repeat(2, 1fr); }
    .pres-tech-cards { grid-template-columns: repeat(2, 1fr); }
    .pres-scenario-grid { grid-template-columns: repeat(2, 1fr); }
    .pres-langs { grid-template-columns: repeat(3, 1fr); }
    .pres-eval-grid { grid-template-columns: 1fr; }
    .pres-eval-result { margin-top: 32px; }
    .pres-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .pres-nav-links { display: none; }
    .pres-nav.open .pres-nav-links {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(5,8,38,.97); padding: 16px 24px;
        gap: 12px;
    }
    .pres-burger { display: block; }

    .pres-hero { padding: 100px 20px 48px; }
    .pres-hero h1 { font-size: 32px; }
    .pres-hero-sub { font-size: 16px; }
    .pres-hero-stats { gap: 24px; }
    .pres-stat-num { font-size: 28px; }

    .pres-mockup-screen { flex-direction: column; }

    .pres-section { padding: 48px 16px; }
    .pres-title { font-size: 28px; }
    .pres-subtitle { font-size: 15px; margin-bottom: 32px; }

    .pres-steps { grid-template-columns: 1fr; }
    .pres-tech-cards { grid-template-columns: 1fr; }
    .pres-scenario-grid { grid-template-columns: 1fr; }
    .pres-langs { grid-template-columns: repeat(3, 1fr); }
    .pres-pricing { grid-template-columns: 1fr; max-width: 400px; }
    .pres-price-card.popular { transform: none; }
    .pres-price-card.popular:hover { transform: translateY(-4px); }
    .pres-b2b-grid { grid-template-columns: 1fr; }
    .pres-b2b-packs { flex-direction: column; align-items: center; }

    .pres-pipeline { flex-direction: column; gap: 4px; }
    .pres-pipe-arrow { transform: rotate(90deg); }

    .pres-footer-inner { grid-template-columns: 1fr; gap: 24px; }
}
