/* ============================================================
   CARRIERE — styles propres à cette page
   ============================================================ */

/* Reset & base */
        html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }/* Design tokens */

        
        /* ⚠️ Ce fichier redéfinissait ICI toute la palette, en dur, avec les
           ANCIENNES valeurs — et comme il se charge après variables.css, il
           l'écrasait : cette page est restée à l'ancienne charte pendant que
           l'accueil passait à la nouvelle. Elle réintroduisait aussi
           --muted: #67768e, la valeur que variables.css documente comme
           corrigée pour contraste insuffisant (3,98 sur le crème).
           Le bloc est supprimé : variables.css est la seule source. */
        :root {
            --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
            
            --container: 1200px;
            --section-py: clamp(64px, 8vw, 120px);
        }/* Accessibilité *//* Boutons */
        .btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
        .btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }/* HEADER PILL NAV (identique homepage) */
        @media (max-width: 900px) {
            .header { top: 16px; }
            .header-pill { padding: 6px 6px 6px 16px; height: 52px; gap: 8px; }
            .header-logo img { height: 28px; }
            .nav-desktop, .header-cta { display: none; }
            .nav-toggle { display: inline-flex; }
            .nav-mobile {
                position: fixed; top: 82px; left: 16px; right: 16px;
                z-index: 99; /* hors du header : doit passer au-dessus du contenu */
                max-height: calc(100vh - 100px);
                background: rgba(255, 255, 255, 0.97);
                border: 1px solid rgba(19, 31, 86, 0.08);
                border-radius: var(--radius-lg); padding: 12px;
                display: flex; flex-direction: column; gap: 2px;
                /* visibility:hidden est indispensable : masqué par opacity seule, ce panneau
                   fixed + backdrop-filter reste composité et repeint le contenu qui défile
                   derrière lui (texte fantôme décalé suivant le scroll sur mobile). */
                opacity: 0; transform: translateY(-2px) scale(0.98);
                visibility: hidden;
                pointer-events: none;
                transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
                box-shadow: 0 20px 60px rgba(19, 31, 86, 0.15);
                overflow-y: auto;
            }
            .nav-mobile.open { opacity: 1; transform: translateY(0) scale(1); visibility: visible; pointer-events: auto; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: opacity 0.25s ease, transform 0.25s ease; }
            .nav-mobile a { color: var(--primary); padding: 14px 16px; font-size: 16px; font-weight: 500; border-radius: var(--radius-md); }
            .nav-mobile a:hover { background: rgba(19, 31, 86, 0.04); }
            .nav-mobile a.active { background: rgba(206, 231, 86, 0.22); }
            .nav-mobile .btn { margin-top: 8px; background: var(--primary); color: var(--white); justify-content: center; padding: 14px 20px; }
        }/* Hero page interne */

        
        /* Même traitement que le héro de l'accueil : la photographie de la
           plateforme de marque sous le dégradé, qui devient un voile de
           lisibilité. Celle-ci ne montre aucun visage identifiable — elle ne
           datera donc pas, ce qui compte sur une page de recrutement. */
        .page-hero {
            background:
                linear-gradient(115deg, var(--primary) 0%, var(--primary) 40%, var(--secondary) 100%),
                url('../../img/mains.webp') center 40% / cover no-repeat;
            background-blend-mode: multiply, normal;
            color: var(--white); padding: 160px 0 100px;
            position: relative; overflow: hidden;
        }
        /* L'emblème surdimensionné qui déborde, à la place d'une tache floue
           décorative — le procédé de la charte plutôt qu'un effet générique. */
        .page-hero::before {
            content: ''; position: absolute;
            top: 50%; right: -10%; width: min(42vw, 480px); aspect-ratio: 1;
            transform: translateY(-50%);
            background: url('../../img/embleme-s.svg') no-repeat center / contain;
            opacity: 0.26; pointer-events: none;
        }
        @media (max-width: 900px) { .page-hero::before { display: none; } }
        .page-hero-inner { position: relative; z-index: 1; max-width: 800px; }
        .hero-eyebrow {
            display: inline-flex; align-items: center; gap: 10px;
            color: var(--accent); font-size: 13px; font-weight: 700;
            text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px;
        }
        .hero-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(206, 231, 86, 0.7); }
        .page-hero h1 { color: var(--white); margin-bottom: 24px; }
        .page-hero h1 span { color: var(--accent); }
        .page-hero-lead { font-size: clamp(1.125rem, 1.5vw, 1.25rem); color: rgba(255,255,255,0.85); margin-bottom: 40px; }
        .hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
        .cta-note { font-size: 14px; color: rgba(255,255,255,0.7); }/* Sections *//* Pourquoi nous rejoindre (valeurs) */

        
        .pourquoi-section { position: relative; overflow: hidden; }
        .pourquoi-section > .container { position: relative; z-index: 1; }
        .pourquoi-mark {
            position: absolute; top: 50%; right: -30px; width: 320px; height: 320px;
            transform: translateY(-50%); opacity: 0.14; z-index: 0; pointer-events: none;
        }
        @media (max-width: 1140px) { .pourquoi-mark { display: none; } }
        .valeurs-grid { display: flex; flex-direction: column; max-width: 820px; margin: 0 auto; }
        .valeur-card {
            display: flex; align-items: center; gap: 28px;
            padding: 32px 12px; border-bottom: 1px solid rgba(19, 31, 86,0.10);
            background: none; border-radius: 0;
            transition: padding-left 0.3s ease, background 0.3s ease;
        }
        .valeur-card:first-child { padding-top: 0; }
        .valeur-card:last-child { border-bottom: none; padding-bottom: 0; }
        .valeur-card:hover { padding-left: 24px; background: linear-gradient(90deg, var(--cream) 0%, transparent 45%); }
        .valeur-icon {
            flex-shrink: 0; width: 56px; height: 56px; border-radius: var(--radius-md);
            background: var(--cream); display: flex; align-items: center; justify-content: center;
            color: var(--primary);
        }
        .valeur-card h3 { margin-bottom: 6px; font-size: 1.25rem; }
        .valeur-card p { font-size: 15.5px; max-width: 480px; }
        @media (max-width: 540px) { .valeur-card { flex-direction: column; gap: 14px; padding: 24px 8px; } .valeur-card:hover { padding-left: 8px; } }/* Offres d'emploi */

        
        .offres { background: var(--gray-50); }
        .offres-list { display: flex; flex-direction: column; gap: 16px; max-width: 900px; margin: 0 auto; }
        .offre-job {
            display: flex; align-items: center; gap: 24px;
            background: var(--white); padding: 28px 32px; border-radius: var(--radius-lg);
            border: 1px solid rgba(19, 31, 86,0.06);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .offre-job:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
        .offre-job-main { flex-grow: 1; }
        .offre-job h3 { font-size: 1.2rem; margin-bottom: 10px; }
        .offre-tags { display: flex; flex-wrap: wrap; gap: 8px; }
        .offre-tag {
            display: inline-flex; align-items: center; gap: 6px;
            font-size: 12.5px; font-weight: 600; color: var(--muted);
            background: var(--gray-50); border: 1px solid rgba(19, 31, 86,0.08);
            padding: 5px 12px; border-radius: var(--radius-pill);
        }
        .offre-tag svg { width: 13px; height: 13px; }
        .offre-job .btn { flex-shrink: 0; }
        .offres-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 28px; }
        @media (max-width: 700px) {
            .offre-job { flex-direction: column; align-items: flex-start; gap: 18px; }
            .offre-job .btn { width: 100%; }
        }/* Processus de recrutement */

        
        .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
        .process-grid::before {
            content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px;
            background: linear-gradient(90deg, rgba(19, 31, 86,0.12), var(--accent) 45%, var(--accent) 55%, rgba(19, 31, 86,0.12));
            z-index: 0;
        }
        .process-step { position: relative; z-index: 1; text-align: center; padding: 0 12px; background: none; border: none; }
        .process-num {
            display: inline-flex; align-items: center; justify-content: center;
            width: 56px; height: 56px; border-radius: 50%; margin-bottom: 20px;
            background: var(--primary); color: var(--accent);
            font-weight: 800; font-size: 18px; box-shadow: 0 6px 16px rgba(19, 31, 86,0.12);
        }
        .process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
        .process-step p { font-size: 14px; }
        @media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; } .process-grid::before { display: none; } }
        @media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }/* Formulaire de candidature */

        
        .candidature { background: var(--white); }
        .candidature-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; max-width: 1080px; margin: 0 auto; }
        .candidature-info h2 { margin-bottom: 16px; }
        .candidature-info p { font-size: 1.0625rem; margin-bottom: 28px; }
        .candidature-points { display: flex; flex-direction: column; gap: 16px; }
        .candidature-point { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--primary); }
        .candidature-point svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--primary); margin-top: 1px; }

        .candidature-form {
            background: var(--white); padding: 40px; border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md); border: 1px solid rgba(19, 31, 86,0.06);
        }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
        .form-group { margin-bottom: 16px; }
        .form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
        .form-group label .opt { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
        .form-group input, .form-group select, .form-group textarea {
            width: 100%; padding: 12px 16px; font-family: inherit; font-size: 15px;
            border: 1.5px solid rgba(19, 31, 86,0.12); border-radius: var(--radius-sm);
            background: var(--white); color: var(--primary); transition: border-color 0.2s ease;
        }
        .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--secondary); }
        .form-group textarea { resize: vertical; min-height: 120px; }/* Zone d'upload CV */

        
        .file-drop {
            border: 2px dashed rgba(19, 31, 86,0.22); border-radius: var(--radius-md);
            padding: 28px 24px; text-align: center; cursor: pointer;
            background: var(--gray-50); transition: border-color 0.2s ease, background 0.2s ease;
        }
        .file-drop:hover, .file-drop.dragover { border-color: var(--secondary); background: rgba(101,127,178,0.06); }
        .file-drop input[type="file"] { display: none; }
        .file-drop-icon { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--secondary-fonce); }
        .file-drop-text { font-size: 14px; color: var(--primary); font-weight: 600; margin-bottom: 4px; }
        .file-drop-hint { font-size: 12.5px; color: var(--muted); }
        .file-selected {
            display: none; align-items: center; gap: 12px; justify-content: center;
            font-size: 14px; color: var(--primary); font-weight: 600;
        }
        .file-selected.show { display: flex; }
        .file-drop.has-file .file-drop-idle { display: none; }
        .file-selected svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
        .file-remove { color: var(--muted); font-size: 13px; text-decoration: underline; font-weight: 500; }
        .file-remove:hover { color: var(--primary); }
        .file-drop.error { border-color: var(--danger-champ); background: rgba(173, 77, 57, 0.06); }
        .file-error { display: none; margin-top: 8px; font-size: 13px; color: var(--danger-champ); font-weight: 500; }
        .file-error.show { display: block; }

        .form-checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; font-size: 13px; color: var(--muted); }
        .form-checkbox input { flex-shrink: 0; margin-top: 2px; width: 16px; height: 16px; accent-color: var(--primary); }
        .form-checkbox a { color: var(--secondary-fonce); text-decoration: underline; }/* État de succès après envoi */

        
        .form-success {
            display: none; text-align: center; padding: 48px 32px;
            background: var(--white); border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md); border: 1px solid rgba(19, 31, 86,0.06);
        }
        .form-success.show { display: block; }
        .form-success-icon {
            width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 24px;
            background: rgba(206, 231, 86, 0.25); color: var(--primary);
            display: flex; align-items: center; justify-content: center;
        }
        .form-success h3 { margin-bottom: 12px; }
        .form-success p { font-size: 15px; margin-bottom: 8px; }
        .form-demo-note {
            display: inline-block; margin-top: 16px; font-size: 12.5px; color: var(--muted);
            background: var(--gray-50); border: 1px dashed rgba(19, 31, 86,0.15);
            padding: 8px 14px; border-radius: var(--radius-pill);
        }
        @media (max-width: 900px) {
            .candidature-grid { grid-template-columns: 1fr; gap: 40px; }
            .form-row { grid-template-columns: 1fr; }
            .candidature-form { padding: 28px 20px; }
        }/* Footer *//* Cookie banner (identique) */
        .cookie-banner p a { color: var(--secondary-fonce); text-decoration: underline; }
