<?php

return [

    'hellowork' => [
        'company_url' => env('LCRH_HW_COMPANY', 'https://www.hellowork.com/fr-fr/entreprises/lcrh-76278.html'),
        'employer'    => env('LCRH_HW_EMPLOYER', 'LCRH'),
        'max_pages'   => (int) env('LCRH_HW_MAXPAGES', 15),
    ],

    'mail' => [
        'from' => [
            'email' => env('LCRH_MAIL_FROM_EMAIL', 'contact@lcrh.fr'),
            'name'  => env('LCRH_MAIL_FROM_NAME', 'Cabinet RH - LCRH'),
        ],

        'to' => [
            'email' => env('LCRH_MAIL_TO_EMAIL', 'arnaud.bogillot@lcrh.fr'),
            'name'  => env('LCRH_MAIL_TO_NAME', 'Arnaud Bogillot'),
//            'email' => env('LCRH_MAIL_TO_EMAIL', 'jeremy.lesouhaitier@gmail.com'),
//            'name'  => env('LCRH_MAIL_TO_NAME', 'Arnaud Bogillot'),
        ],

        'bcc' => array_filter(array_map('trim', explode(',', env('LCRH_MAIL_BCC', 'jeremy@pluma-dev.com')))),
    ],

    'cache' => [
        'list_ttl'   => (int) env('LCRH_LIST_TTL', 0),
        'detail_ttl' => (int) env('LCRH_DETAIL_TTL', 0),
    ],

    'cv' => [
        'max_mb'     => (int) env('LCRH_MAX_CV_MB', 5),
        'extensions' => ['pdf', 'doc', 'docx'],
        'mimes'      => [
            'application/pdf',
            'application/msword',
            'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
        ],
    ],

    'privacy' => [
        'url'       => env('LCRH_PRIVACY_URL', 'https://www.lcrh.fr/fr/mentions-legales'),
        'retention' => env('LCRH_RETENTION', '2 ans'),
    ],

    'theme' => [
        'paper'   => '#F4F0E7',
        'ink'     => '#1B1C18',
        'muted'   => '#6B675E',
        'line'    => '#E2DBCC',
        'card'    => '#FCFAF5',
        'accent'  => '#14573E',
        'accent2' => '#B0793C',
        'radius'  => '18px',
    ],

];
