/* ==========================================================================
   EmploiDomTom — Custom styles
   Styles spécifiques au projet, séparés du thème principal (style.css)
   ========================================================================== */

/* ==========================================================================
   Skip Link (Keyboard Navigation)
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: #1967d2;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 200ms;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #F9AB00;
}



/* ==========================================================================
   TinyMCE Overrides (GPL branding removal)
   ========================================================================== */

.tox .tox-statusbar__branding,
.tox .tox-promotion,
.tox .tox-statusbar__branding svg {
    display: none !important;
}

/* ==========================================================================
   Chosen Select - Fix close icon (FA6 Pro)
   ========================================================================== */

.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before {
    font-family: "Font Awesome 6 Pro" !important;
    font-weight: 900;
    content: "\f00d" !important;
    color: #1967d2;
}

/* ==========================================================================
   Flash Messages
   ========================================================================== */

#flash-container {
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 98;
    pointer-events: none;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.flash {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    margin: 0;
    pointer-events: auto;
    font-size: 0.95rem;
    line-height: 1.4;
    min-height: 48px;
    text-align: center;
}

.flash--success {
    background: #d1e7dd;
    color: #0f5132;
    border-bottom: 1px solid #badbcc;
}

.flash--danger,
.flash--error {
    background: #f8d7da;
    color: #842029;
    border-bottom: 1px solid #f5c2c7;
}

.flash--warning {
    background: #fff3cd;
    color: #664d03;
    border-bottom: 1px solid #ffecb5;
}

.flash--info {
    background: #cff4fc;
    color: #055160;
    border-bottom: 1px solid #b6effb;
}

.flash__icon {
    flex-shrink: 0;
    font-size: 1.2rem;
}

.flash__text {
    flex: 1;
}

.flash__close {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.6;
    color: inherit;
}

.flash__close:hover {
    opacity: 1;
}

/* ==========================================================================
   Inline Alert (login, registration)
   ========================================================================== */

.inline-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.inline-alert--danger {
    background: #f8d7da;
    color: #842029;
}

.inline-alert--success {
    background: #d1e7dd;
    color: #0f5132;
}

.inline-alert--warning {
    background: #fff3cd;
    color: #664d03;
}

.inline-alert__icon {
    flex-shrink: 0;
    font-size: 1.2rem;
}

/* ==========================================================================
   User Avatar (header)
   ========================================================================== */

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #1967d2;
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
}

.dropdown-toggle-user {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dropdown-section-header {
    padding: 8px 20px;
    font-size: 12px;
    color: #606060;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-divider-sm {
    margin: 4px 0;
}

/* ==========================================================================
   Logo Fallback (job listing)
   ========================================================================== */

.logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #f0f5ff;
    border-radius: 8px;
}

.logo-fallback--sm {
    width: 50px;
    height: 50px;
}

.logo-fallback__letter {
    font-size: 24px;
    font-weight: 700;
    color: #1967d2;
}

.logo-fallback--sm .logo-fallback__letter {
    font-size: 20px;
}

/* ==========================================================================
   Badge "Nouveau"
   ========================================================================== */

.badge-new {
    background: #d1e7dd;
    color: #0f5132;
}

/* ==========================================================================
   Empty State
   ========================================================================== */

.empty-state {
    padding: 60px 20px;
    text-align: center;
}

.empty-state__icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state__title {
    margin-bottom: 12px;
    color: #333;
}

.empty-state__text {
    color: #555;
    margin-bottom: 24px;
}

/* ==========================================================================
   Login Page
   ========================================================================== */

.login-signup-box {
    padding: 24px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.login-signup-box p {
    margin: 0 0 12px 0;
    color: #6c757d;
}

/* ==========================================================================
   Registration Page
   ========================================================================== */

.register-section {
    padding: 60px 0;
    background: #f5f7fc;
    min-height: calc(100vh - 100px);
}

.register-container {
    max-width: 520px;
    margin: 0 auto;
    padding: 0 16px;
}

.register-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    padding: 40px 40px 32px;
}

@media (max-width: 575px) {
    .register-card {
        padding: 30px 20px 24px;
    }
}

.register-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 32px;
    color: #222;
}

.register-radio-group {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.register-radio-label {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #ebebeb;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    transition: all 0.2s;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-radio-label.active {
    background: #1967d2;
    color: #fff;
    border-color: #1967d2;
}

.register-radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.register-field {
    margin-bottom: 20px;
}

.register-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.register-field input[type="text"],
.register-field input[type="email"],
.register-field input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ebebeb;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.register-field input:focus {
    border-color: #1967d2;
    box-shadow: 0 0 0 3px rgba(25, 103, 210, 0.15);
    outline: none;
}

.register-field .hint {
    display: block;
    margin-top: 4px;
    color: #606060;
    font-size: 12px;
}

.register-checkbox {
    margin-bottom: 28px;
}

.register-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.register-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #1967d2;
    cursor: pointer;
}

.register-submit {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #1967d2;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    min-height: 48px;
    transition: background 0.2s;
}

.register-submit:hover {
    background: #1557b0;
}

.register-login-link {
    text-align: center;
    margin-top: 24px;
    color: #555;
    font-size: 14px;
}

.register-login-link a {
    color: #1967d2;
    font-weight: 600;
    text-decoration: none;
}

.register-login-link a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Tarifs Page
   ========================================================================== */

.tarifs-section {
    padding: 60px 0 40px;
}

.tarifs-intro {
    max-width: 700px;
    margin: 0 auto;
}

.tarif-card {
    border-radius: 12px;
}

.tarif-card-header {
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
    text-align: center;
}

.tarif-card-header--light {
    background: #f8f9fa;
}

.tarif-card-header--primary {
    background: #1967d2;
}

.tarif-card-header--dark {
    background: #212529;
}

/* Force text color on colored card headers — overrides theme's global color: #5c6770 */
.tarif-card-header--primary,
.tarif-card-header--primary h4,
.tarif-card-header--primary p,
.tarif-card-header--primary small {
    color: #ffffff !important;
}

.tarif-card-header--dark,
.tarif-card-header--dark h4,
.tarif-card-header--dark p,
.tarif-card-header--dark small {
    color: #ffffff !important;
}

/* Light header: explicit dark text so it's not accidentally overridden */
.tarif-card-header--light,
.tarif-card-header--light h4,
.tarif-card-header--light p {
    color: #212529 !important;
}

.tarif-card-header--light .text-muted {
    color: #6c757d !important;
}

.tarif-price-sub {
    font-size: 0.4em;
}

.tarif-features {
    line-height: 2.2;
}

.tarif-card-footer {
    background: transparent;
}

.tarif-card--popular {
    transform: scale(1.03);
}

.tarif-table-highlight {
    background: #f0f6ff;
}

.tarif-table-header-highlight {
    background: #e8f0fe;
}

.tarif-cta-section {
    padding: 60px 0;
    background-color: #f5f7fc;
}

/* ==========================================================================
   Utility — link styled
   ========================================================================== */

.link-primary {
    color: #1967d2;
    text-decoration: none;
}

.link-primary:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Button icon + label spacing (LineAwesome inside .theme-btn)
   ========================================================================== */

.theme-btn {
    gap: 8px;
}

.theme-btn i[class*="la-"] {
    font-size: 1.2em;
    line-height: 1;
    flex-shrink: 0;
}

/* ==========================================================================
   Form submit loading state
   ========================================================================== */

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   File upload preview
   ========================================================================== */

.file-upload-status {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #f0f5ff;
    border-radius: 6px;
    font-size: 13px;
    color: #1967d2;
}

.file-upload-status.active {
    display: flex;
}

.file-upload-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid #e0e0e0;
    border-top-color: #1967d2;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}

.file-upload-status.done {
    background: #d1e7dd;
    color: #0f5132;
}

.file-upload-status.done .file-upload-spinner {
    display: none;
}

/* ==========================================================================
   Fix: LineAwesome icons in theme buttons should not rotate
   The theme rotates FA arrow icons -45deg, but this breaks LA icons (plus → cross)
   ========================================================================== */

.btn-style-one i[class*="la-"],
.btn-style-three i[class*="la-"] {
    transform: none !important;
}

/* ==========================================================================
   Button icon + text spacing
   ========================================================================== */

.theme-btn {
    gap: 8px;
}

.theme-btn i[class*="la-"] {
    font-size: 1.2em;
    line-height: 1;
    flex-shrink: 0;
}

/* ==========================================================================
   Select2 Custom Styling (homepage)
   ========================================================================== */

span.select2-selection__clear {
    display: none;
}

.select2-container--default .select2-selection--single {
    position: relative;
    width: 100%;
    display: block;
    color: #717171;
    font-size: 14px;
    line-height: 30px;
    padding: 10px 30px;
    height: 54px;
    background-color: white;
    border-radius: 10px;
    border: none;
    transition: all 300ms ease;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #717171;
    padding-left: 10px;
    line-height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select2-container--default .select2-selection--single .select2-selection__rendered::before {
    content: "\f1de";
    font-family: 'Flaticon';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #606060;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #aaa !important;
    padding: 6px 10px;
}

@media only screen and (max-width: 767px) {
    .select2-container--default .select2-selection--single {
        padding: 10px 20px;
        height: 48px;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 14px;
        padding-left: 35px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        right: 8px;
    }
}

/* ==========================================================================
   Job Detail Page (show.html.twig)
   ========================================================================== */

/* Apply sidebar — external link description */
.apply-external-note {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
}

/* Apply sidebar — full-width block button */
.apply-btn-block {
    display: block;
    text-align: center;
}

/* Sidebar widget title spacing */
.widget-title-spaced {
    margin-bottom: 16px;
}

/* Company info sidebar — header row (logo + name) */
.company-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

/* Company info sidebar — logo thumbnail */
.company-logo-thumb {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}

/* Company info sidebar — company name heading */
.company-title-name {
    margin: 0;
    font-size: 16px;
}

/* Company info sidebar — presentation excerpt */
.company-presentation-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

/* Company sidebar — social links */
.company-social-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 14px;
}

.company-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f5f7fc;
    color: #1967d2;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.company-social-link:hover {
    background: #e0ebf9;
    color: #1557b0;
}

.company-social-link i {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

/* Company sidebar — CTA button */
.company-cta-btn {
    display: block;
    margin: auto;
    text-align: center;
    background: #1967d2;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.company-cta-btn:hover {
    background: #1557b0;
    color: #fff;
}

/* ==========================================================================
   Candidate Index Page (CVtheque) — candidate/index.html.twig
   ========================================================================== */

/* Restricted access box */
.cvtheque-locked-section {
    padding: 60px 0;
}

.cvtheque-locked-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.cvtheque-lock-icon {
    font-size: 48px;
    color: #1967d2;
    display: block;
    margin-bottom: 20px;
}

.cvtheque-locked-title {
    margin-bottom: 12px;
}

.cvtheque-locked-text {
    margin-bottom: 24px;
}

/* Candidate card */
.candidate-card-mb {
    margin-bottom: 24px;
}

.candidate-card-inner {
    border-radius: 10px;
}

/* Candidate avatar circle */
.candidate-avatar {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* Candidate info column */
.candidate-info-col {
    flex: 1;
    min-width: 0;
}

/* Candidate name heading */
.candidate-name {
    margin-bottom: 4px;
}

/* Candidate job-info list */
.candidate-job-info {
    flex-wrap: wrap;
    gap: 4px 0;
}

/* Preferred regions row */
.candidate-regions {
    margin-top: 8px;
}

.candidate-region-tag {
    font-size: 13px;
    margin-right: 6px;
}

/* Preferred categories row */
.candidate-categories {
    margin-top: 14px;
}

.candidate-categories .post-tags {
    margin: 0;
    padding: 0;
}

/* Open-to badges row */
.candidate-badges {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Individual open-to badge */
.candidate-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.candidate-badge--interim {
    background: #e8f5e9;
    color: #2e7d32;
}

.candidate-badge--alternance {
    background: #e3f2fd;
    color: #1565c0;
}

.candidate-badge i {
    margin-right: 4px;
}

/* ==========================================================================
   Application Form — job/show.html.twig
   ========================================================================== */

/* Apply widget — visual treatment moved to .jd-section--apply */
.apply-widget {}

/* Intro text above the form */
.apply-intro {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

/* Consistent field spacing */
.apply-field {
    margin-bottom: 20px;
}

/* Labels */
.apply-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    letter-spacing: 0.01em;
}

.apply-label .apply-required {
    color: #e53935;
    margin-left: 2px;
}

/* Text inputs and email — consistent with the theme's form-control but tighter */
.apply-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
}

.apply-input:focus {
    border-color: #1967d2;
    box-shadow: 0 0 0 3px rgba(25, 103, 210, 0.12);
    outline: none;
}

/* Textarea — reuses apply-input, override sizing */
.apply-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
    resize: vertical;
    min-height: 110px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
}

.apply-textarea:focus {
    border-color: #1967d2;
    box-shadow: 0 0 0 3px rgba(25, 103, 210, 0.12);
    outline: none;
}

/* File input zone */
.apply-file-zone {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1.5px dashed #c9d4e8;
    border-radius: 6px;
    background: #f7f9ff;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.apply-file-zone:hover,
.apply-file-zone:focus-within {
    border-color: #1967d2;
    background: #f0f5ff;
}

.apply-file-zone__icon {
    font-size: 20px;
    color: #1967d2;
    flex-shrink: 0;
}

.apply-file-zone__label {
    flex: 1;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.apply-file-zone__label strong {
    display: block;
    color: #333;
    font-size: 13px;
    font-weight: 600;
}

/* The actual file input — invisible, covers the zone */
.apply-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

/* Share CV checkbox row */
.apply-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: #f5f8ff;
    border: 1.5px solid #dce8ff;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 0;
}

.apply-checkbox input[type="checkbox"] {
    margin-top: 2px;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    accent-color: #1967d2;
    cursor: pointer;
}

.apply-checkbox__text {
    font-size: 13px;
    color: #444;
    line-height: 1.5;
    cursor: pointer;
}

/* Submit row */
.apply-submit-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* Submit button size — override theme default */
.apply-btn-submit {
    min-width: 220px;
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 15px;
}

/* "Vous avez un compte ?" hint */
.apply-login-hint {
    font-size: 13px;
    color: #555;
}

.apply-login-hint a {
    color: #1967d2;
    font-weight: 600;
    text-decoration: none;
}

.apply-login-hint a:hover {
    text-decoration: underline;
}

/* Mobile: full-width button */
@media (max-width: 575px) {
    .apply-btn-submit {
        width: 100%;
        min-width: 0;
        text-align: center;
        justify-content: center;
    }

    .apply-submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .apply-login-hint {
        text-align: center;
    }
}

/* ==========================================================================
   Job Detail — Content Sections
   Unified card-style look for all sections in the main content column.
   ========================================================================== */

/* Base section wrapper — consistent card appearance for all main-column sections */
.jd-section {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 28px;
}

/* Section heading — uniform h2 across all sections */
.jd-section__title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

/* Description du poste — body copy inside the section */
.jd-section--description .jd-section__title {
    margin-bottom: 20px;
}

/* Share section — keep existing .other-options layout, just reuse jd-section frame */
.jd-section--share .social-share h3 {
    font-size: 14px;
    font-weight: 700;
    color: #444;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.jd-section--share .social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.jd-section--share .social-share h3 {
    width: 100%;
}

.jd-section--share .social-share a {
    white-space: nowrap;
}

/* Apply widget section — blue top accent to stand out as the CTA */
.jd-section--apply {
    border-top: 4px solid #1967d2;
    border-radius: 0 0 8px 8px;
    padding-top: 24px;
}

.jd-section--apply .jd-section__title {
    margin-bottom: 16px;
}

/* Related / latest jobs section — no outer border, items have their own */
.jd-section--related {
    background: transparent;
    border: none;
    padding-left: 0;
    padding-right: 0;
}

.jd-section--related .title-box {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.jd-section--related .title-box h2 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

/* Row alignment — file upload row needs top-aligned columns */
.row--align-top {
    align-items: flex-start;
}

/* Label hint — "(optionnel)", "(PDF, max 5 Mo)" */
.apply-label-hint {
    font-weight: 400;
    color: #606060;
    font-size: 13px;
}

/* CV hint paragraph — "Fichier non conforme ?" */
.apply-cv-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #606060;
    line-height: 1.5;
}

.apply-cv-hint a {
    color: #1967d2;
    text-decoration: none;
}

.apply-cv-hint a:hover {
    text-decoration: underline;
}

/* Mobile adjustments for jd-section */
@media (max-width: 575px) {
    .jd-section {
        padding: 20px 16px;
    }
}

/* ==========================================================================
   Tarifs Page — inline style overrides
   ========================================================================== */

/* "Gratuit" price color on the free plan card */
.tarif-price--free {
    color: #1967d2;
}

/* "Populaire" badge font size */
.tarif-badge-popular {
    font-size: 0.9rem;
}

/* CTA buttons with specific brand background colors */
.tarif-btn--primary {
    min-width: 200px;
    background: #1967d2;
}

.tarif-btn--dark {
    min-width: 200px;
    background: #212529;
}

.tarif-btn--default {
    min-width: 200px;
}

/* Comparison table */
.tarif-table--middle {
    vertical-align: middle;
}

.tarif-table-col-label {
    width: 30%;
}

.tarif-thead--light {
    background: #f8f9fa;
}

/* ==========================================================================
   Dashboard Tables — dropdown overflow fix
   Theme sets overflow:hidden on .default-table which clips action dropdowns
   ========================================================================== */

.user-dashboard .default-table {
    overflow: visible;
}

.user-dashboard .table-outer {
    overflow: visible;
}

/* Status action dropdown — ensure proper display */
.status-action-wrapper {
    position: relative;
}

.status-dropdown {
    z-index: 100;
}

/* Close dropdown when clicking outside */
.status-dropdown button:hover,
.status-dropdown a:hover {
    background: #f5f7fc;
}

/* ==========================================================================
   Dashboard Widgets — spacing overrides (recruiter/candidate area only)
   ========================================================================== */

.user-dashboard .ls-widget .widget-title {
    padding: 10px 30px 5px;
    min-height: 60px;
}

.user-dashboard .ls-widget .widget-content {
    padding: 10px 30px 10px;
}

/* ==========================================================================
   Candidate application progress tracker
   ========================================================================== */
.application-progress {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin: 14px 0 8px;
    position: relative;
}

.application-progress::before {
    content: '';
    position: absolute;
    top: 13px;
    left: 13px;
    right: 13px;
    height: 2px;
    background: #e0e4f0;
    z-index: 0;
}

.progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.step-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e0e4f0;
    border: 2px solid #e0e4f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
}

.progress-step.completed .step-dot {
    background: #1967d2;
    border-color: #1967d2;
}

.progress-step.active .step-dot {
    background: #fff;
    border-color: #1967d2;
    color: #1967d2;
    font-size: 12px;
    box-shadow: 0 0 0 3px rgba(25, 103, 210, 0.15);
}

.progress-step.accepted .step-dot {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

.progress-step.rejected .step-dot {
    background: #6c757d;
    border-color: #6c757d;
    color: #fff;
    box-shadow: none;
}

.step-label {
    font-size: 10px;
    color: #606060;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.progress-step.completed .step-label,
.progress-step.active .step-label {
    color: #1b2032;
    font-weight: 600;
}

@media (max-width: 480px) {
    .step-label { font-size: 9px; }
}

/* === Application status badge === */
.application-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* === Application filter pills === */
.application-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #3d4a5c;
    background: #e8ecf4;
    text-decoration: none;
    transition: background 150ms;
}

.application-filter-pill:hover {
    background: #d0d8e8;
    color: #1b2032;
    text-decoration: none;
}

.application-filter-pill.active {
    background: #1967d2;
    color: #fff;
}

.pill-count {
    font-size: 11px;
    font-weight: 700;
}

/* === Status history timeline === */
.status-timeline {
    position: relative;
    padding-left: 24px;
}

.status-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #e0e4f0;
}

.timeline-item {
    position: relative;
    padding-bottom: 18px;
    font-size: 14px;
    color: #555;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -20px;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e0e4f0;
    border: 2px solid #fff;
}

.timeline-item.completed .timeline-dot {
    background: #1967d2;
}

.timeline-item.active .timeline-dot {
    background: #1967d2;
    box-shadow: 0 0 0 3px rgba(25, 103, 210, 0.15);
}

.timeline-date {
    font-size: 12px;
    color: #606060;
    margin-top: 2px;
}

/* === Candidate application card === */
.candidate-application-card {
    transition: box-shadow 150ms;
}

.candidate-application-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Password toggle show/hide
   ========================================================================== */
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    color: #606060;
    font-size: 18px;
    line-height: 1;
    z-index: 2;
}

.password-toggle:hover {
    color: #1967d2;
}

.password-toggle:focus {
    outline: 2px solid #1967d2;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ==========================================================================
   CV Documents — polished upload tab
   ========================================================================== */

/* Counter badge in widget-title */
.cv-doc-counter {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    font-size: 20px;
    font-weight: 700;
    color: #1967d2;
    margin-left: auto;
}

.cv-doc-counter span {
    font-size: 14px;
    font-weight: 500;
    color: #aaa;
}

/* Empty state */
.cv-doc-empty {
    text-align: center;
    padding: 40px 20px 30px;
    color: #aaa;
}

.cv-doc-empty i {
    font-size: 52px;
    color: #ddd;
    display: block;
    margin-bottom: 12px;
}

.cv-doc-empty p {
    font-size: 15px;
    color: #666;
    margin: 0 0 4px;
}

.cv-doc-empty small {
    font-size: 13px;
    color: #aaa;
}

/* Document grid */
.cv-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

@media (max-width: 767px) {
    .cv-doc-grid {
        grid-template-columns: 1fr;
    }
}

/* Document card */
.cv-doc-card {
    border: 1px solid #e4e7ef;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: box-shadow 150ms, border-color 150ms;
}

.cv-doc-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border-color: #c8d4f0;
}

.cv-doc-card.is-default {
    border-color: #28a745;
    border-width: 2px;
}

.cv-doc-card__icon {
    position: relative;
    background: #fdf2f2;
    padding: 20px 0 16px;
    text-align: center;
    border-bottom: 1px solid #f0eded;
}

.cv-doc-card.is-default .cv-doc-card__icon {
    background: #f2f9f4;
    border-bottom-color: #d6edd9;
}

.cv-doc-card__icon i {
    font-size: 44px;
    color: #dc3545;
}

.cv-doc-default-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #28a745;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}

.cv-doc-card__body {
    padding: 14px 16px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cv-doc-card__title {
    font-size: 14px;
    font-weight: 700;
    color: #1b2032;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.cv-doc-card__filename {
    font-size: 12px;
    color: #606060;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.cv-doc-card__meta {
    font-size: 12px;
    color: #aaa;
    margin-top: 2px;
}

/* Card action buttons row */
.cv-doc-card__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-top: 1px solid #f0f2f7;
    background: #fafbfd;
}

.cv-doc-card__actions form {
    display: contents;
}

.cv-doc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 7px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 150ms, color 150ms;
    text-decoration: none;
}

.cv-doc-btn--download {
    background: #e8f0fe;
    color: #1967d2;
}

.cv-doc-btn--download:hover {
    background: #d2e3fc;
    color: #1251a8;
}

.cv-doc-btn--star {
    background: #fffbea;
    color: #e67e00;
}

.cv-doc-btn--star:hover {
    background: #fff0c2;
    color: #c06800;
}

.cv-doc-btn--delete {
    background: #fef2f2;
    color: #dc3545;
    margin-left: auto;
}

.cv-doc-btn--delete:hover {
    background: #fde8e8;
    color: #b02a37;
}

/* Upload section separator */
.cv-doc-upload-section {
    border-top: 1px solid #f0f2f7;
    padding-top: 24px;
    margin-top: 4px;
}

/* Dropzone styled label */
.cv-doc-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px dashed #c8d4f0;
    border-radius: 10px;
    padding: 28px 24px;
    background: #f8faff;
    cursor: pointer;
    transition: border-color 150ms, background 150ms;
    text-align: center;
    position: relative;
    margin-bottom: 16px;
}

.cv-doc-dropzone:hover,
.cv-doc-dropzone:focus-within {
    border-color: #1967d2;
    background: #f0f5ff;
}

.cv-doc-dropzone.has-file {
    border-color: #28a745;
    background: #f2f9f4;
}

.cv-doc-dropzone i {
    font-size: 36px;
    color: #1967d2;
    opacity: 0.7;
}

.cv-doc-dropzone.has-file i {
    color: #28a745;
}

.cv-doc-dropzone__label {
    font-size: 14px;
    font-weight: 600;
    color: #1b2032;
}

.cv-doc-dropzone__hint {
    font-size: 12px;
    color: #555;
}

.cv-doc-dropzone.has-file .cv-doc-dropzone__hint {
    color: #28a745;
    font-weight: 600;
}

/* Hide the actual file input but keep it accessible */
.cv-doc-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Optional label field row */
.cv-doc-label-row {
    margin-bottom: 16px;
}

.cv-doc-label-row label {
    font-size: 13px;
    font-weight: 600;
    color: #3d4a5c;
    margin-bottom: 6px;
    display: block;
}

/* Submit button alignment */
.cv-doc-submit-btn {
    font-size: 14px;
}

/* Limit notice */
.cv-doc-limit-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: #fff8f0;
    border: 1px solid #fce4c0;
    border-radius: 8px;
    color: #e67e00;
    font-size: 13px;
}

.cv-doc-limit-notice i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.cv-doc-limit-notice strong {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

.cv-doc-limit-notice span {
    color: #666;
}

/* ==========================================================================
   Candidate applications — table view
   ========================================================================== */

.candidate-applications-table {
    width: 100%;
}

.candidate-applications-table thead th {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8899a8;
    padding: 14px 16px;
    border-bottom: 1px solid #e8ecf4;
    background: #f8fafc;
    white-space: nowrap;
}

.candidate-applications-table tbody tr {
    border-bottom: 1px solid #f0f2f7;
    transition: background 120ms;
}

.candidate-applications-table tbody tr:last-child {
    border-bottom: none;
}

.candidate-applications-table tbody tr:hover {
    background: #f8faff;
}

.candidate-applications-table tbody td {
    padding: 12px 16px;
    vertical-align: middle;
}

/* === Settings page password field fix === */
div#change_password_newPassword {
    border: none;
    padding-left: 0;
}

div#change_password_currentPassword {
    border: none;
    padding-left: 0;
}

/* === Page A propos === */

/* --- Hero Banner --- */

.about-hero {
    background: linear-gradient(135deg, #0a2563 0%, #1967d2 60%, #1251a8 100%);
    padding: 88px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle geometric texture */
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.about-hero__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.about-hero__title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    margin-bottom: 40px;
}

.about-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- Shared CTA buttons (about page) --- */

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 7px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, transform 140ms ease, box-shadow 180ms ease, border-color 180ms ease;
    cursor: pointer;
    white-space: nowrap;
}

.about-cta-btn i {
    font-size: 1.15rem;
    flex-shrink: 0;
}

.about-cta-btn--primary {
    background: #ffffff;
    color: #1967d2;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.about-cta-btn--primary:hover {
    background: #f0f5ff;
    color: #1251a8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    text-decoration: none;
}

.about-cta-btn--ghost {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.about-cta-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.85);
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

.about-cta-btn--candidate {
    background: #1967d2;
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(25, 103, 210, 0.28);
}

.about-cta-btn--candidate:hover {
    background: #1251a8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(25, 103, 210, 0.35);
    text-decoration: none;
}

.about-cta-btn--recruiter {
    background: #0a2563;
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(10, 37, 99, 0.22);
}

.about-cta-btn--recruiter:hover {
    background: #07194a;
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

.about-cta-btn--outline {
    background: transparent;
    color: #1967d2;
    border: 2px solid #1967d2;
}

.about-cta-btn--outline:hover {
    background: #1967d2;
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* --- Stats bar --- */

.about-stats {
    background: #ffffff;
    border-bottom: 1px solid #ebebeb;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.about-stats__grid {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 28px 48px;
}

.about-stats__divider {
    width: 1px;
    height: 40px;
    background: #ebebeb;
    flex-shrink: 0;
}

.about-stats__number {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1967d2;
    line-height: 1;
    letter-spacing: -1px;
}

.about-stats__label {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #8899a8;
}

/* --- Content sections --- */

.about-section {
    padding: 88px 0;
}

.about-section--light {
    background: #f5f7fc;
}

.about-section__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1967d2;
    margin-bottom: 12px;
}

.about-section__title {
    font-size: 2rem;
    font-weight: 700;
    color: #1b2032;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.about-section__title--center {
    text-align: center;
}

.about-section__text {
    font-size: 15px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-section-header {
    margin-bottom: 56px;
}

.about-section-intro {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Mission pillars --- */

.about-mission-pillars {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.about-mission-pillar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1b2032;
}

.about-mission-pillar i {
    font-size: 20px;
    color: #1967d2;
}

/* --- Values card --- */

.about-values-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8ecf4;
    padding: 36px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.about-values-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #1b2032;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f2f7;
}

.about-values-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-values-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-values-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: #eef3fc;
    border-radius: 10px;
}

.about-values-icon i {
    font-size: 20px;
    color: #1967d2;
}

.about-values-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1b2032;
    margin-bottom: 4px;
}

.about-values-item p {
    font-size: 13px;
    color: #777;
    line-height: 1.55;
    margin: 0;
}

/* --- Territories --- */

.about-territories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.about-territory-card {
    background: #ffffff;
    border: 1px solid #e8ecf4;
    border-radius: 10px;
    padding: 28px 20px 24px;
    text-align: center;
    transition: border-color 200ms, box-shadow 200ms, transform 200ms;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-territory-card:hover {
    border-color: #c0d0f0;
    box-shadow: 0 6px 20px rgba(25, 103, 210, 0.1);
    transform: translateY(-3px);
}

.about-territory-card__icon {
    width: 52px;
    height: 52px;
    background: #eef3fc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.about-territory-card__icon i {
    font-size: 26px;
    color: #1967d2;
}

.about-territory-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #1b2032;
    margin-bottom: 10px;
}

.about-territory-card__desc {
    font-size: 13px;
    color: #777;
    line-height: 1.55;
    margin-bottom: 18px;
    flex: 1;
}

.about-territory-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #1967d2;
    text-decoration: none;
    transition: gap 180ms;
}

.about-territory-card__link:hover {
    gap: 8px;
    color: #1251a8;
    text-decoration: none;
}

.about-territory-card__link i {
    font-size: 14px;
    transition: transform 180ms;
}

.about-territory-card__link:hover i {
    transform: translateX(2px);
}

/* --- Usage cards (candidats / recruteurs) --- */

.about-usage-card {
    background: #ffffff;
    border: 1px solid #e8ecf4;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
}

.about-usage-card--candidate {
    border-top: 4px solid #1967d2;
}

.about-usage-card--recruiter {
    border-top: 4px solid #0a2563;
}

.about-usage-card__header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid #f0f2f7;
}

.about-usage-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.about-usage-card--candidate .about-usage-card__icon {
    background: #eef3fc;
}

.about-usage-card--candidate .about-usage-card__icon i {
    font-size: 28px;
    color: #1967d2;
}

.about-usage-card--recruiter .about-usage-card__icon {
    background: #e8ecf4;
}

.about-usage-card--recruiter .about-usage-card__icon i {
    font-size: 28px;
    color: #0a2563;
}

.about-usage-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1b2032;
    margin-bottom: 6px;
}

.about-usage-card__baseline {
    font-size: 13px;
    color: #555;
    margin: 0;
}

.about-usage-list {
    list-style: none;
    margin: 0;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.about-usage-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
}

.about-usage-item i {
    font-size: 16px;
    color: #28a745;
    flex-shrink: 0;
    margin-top: 1px;
}

.about-usage-card__cta {
    padding: 20px 32px 28px;
    border-top: 1px solid #f0f2f7;
}

/* --- Team / CTA section --- */

.about-team {
    padding: 100px 0 96px;
    background: linear-gradient(135deg, #0a2563 0%, #1967d2 100%);
    text-align: center;
}

.about-team__inner {
    max-width: 580px;
    margin: 0 auto;
}

.about-team__logo {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.about-team__logo i {
    font-size: 36px;
    color: #ffffff;
}

.about-team__title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.about-team__location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.about-team__location i {
    font-size: 16px;
}

.about-team__desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    margin-bottom: 40px;
}

.about-team__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- Responsive --- */

@media (max-width: 1199px) {
    .about-territories {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .about-hero__title {
        font-size: 2.4rem;
    }

    .about-stats__item {
        padding: 22px 28px;
    }

    .about-stats__number {
        font-size: 2rem;
    }

    .about-values-card {
        margin-top: 40px;
    }

    .about-section {
        padding: 64px 0;
    }
}

@media (max-width: 767px) {
    .about-hero {
        padding: 64px 0 56px;
    }

    .about-hero__title {
        font-size: 2rem;
    }

    .about-hero__subtitle {
        font-size: 1rem;
    }

    .about-stats__grid {
        flex-wrap: wrap;
        gap: 0;
    }

    .about-stats__item {
        width: 50%;
        padding: 20px 16px;
        border-bottom: 1px solid #ebebeb;
    }

    .about-stats__divider {
        display: none;
    }

    .about-territories {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section {
        padding: 52px 0;
    }

    .about-team {
        padding: 72px 0 68px;
    }

    .about-usage-card__header,
    .about-usage-list,
    .about-usage-card__cta {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 480px) {
    .about-hero__title {
        font-size: 1.75rem;
    }

    .about-hero__actions {
        flex-direction: column;
        gap: 10px;
    }

    .about-cta-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .about-stats__item {
        width: 100%;
        padding: 18px 16px;
    }

    .about-territories {
        grid-template-columns: 1fr;
    }

    .about-team__actions {
        flex-direction: column;
        gap: 10px;
    }
}

/* === Fin Page A propos === */

/* ==========================================================================
   CTA Section — Recruteur (redesign)
   ========================================================================== */

.cta-domtom {
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 100px 0 90px;
    text-align: center;
    overflow: hidden;
}

/* Gradient overlay : sombre en bas, bleu nuit en haut */
.cta-domtom__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10, 22, 60, 0.92) 0%,
        rgba(25, 103, 210, 0.78) 55%,
        rgba(10, 22, 60, 0.95) 100%
    );
    z-index: 0;
}

.cta-domtom .auto-container {
    position: relative;
    z-index: 1;
}

/* --- Compteurs --- */

.cta-domtom__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 52px;
}

.cta-domtom__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 40px;
}

.cta-domtom__stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.cta-domtom__stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -1px;
}

.cta-domtom__stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
}

/* --- Texte principal --- */

.cta-domtom__body {
    margin-bottom: 44px;
}

.cta-domtom__title {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-domtom__title-accent {
    color: #F9AB00;
}

.cta-domtom__subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    font-weight: 400;
}

/* --- Boutons --- */

.cta-domtom__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-domtom__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, transform 150ms ease, box-shadow 180ms ease;
    cursor: pointer;
    white-space: nowrap;
}

.cta-domtom__btn i {
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* Bouton primaire : blanc sur fond bleu */
.cta-domtom__btn--primary {
    background: #ffffff;
    color: #1967d2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.cta-domtom__btn--primary:hover {
    background: #F9AB00;
    color: #1a1a1a;
    box-shadow: 0 6px 20px rgba(249, 171, 0, 0.35);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Bouton ghost : contour blanc */
.cta-domtom__btn--ghost {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.55);
}

.cta-domtom__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.9);
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Focus visible pour l'accessibilite */
.cta-domtom__btn:focus-visible {
    outline: 3px solid #F9AB00;
    outline-offset: 3px;
}

/* --- Responsive --- */

/* Tablette */
@media (max-width: 991px) {
    .cta-domtom {
        padding: 80px 0 72px;
    }

    .cta-domtom__title {
        font-size: 2.1rem;
    }

    .cta-domtom__stat {
        padding: 0 28px;
    }

    .cta-domtom__stat-number {
        font-size: 2.4rem;
    }
}

/* Mobile paysage */
@media (max-width: 767px) {
    .cta-domtom {
        padding: 64px 0 60px;
    }

    .cta-domtom__stats {
        gap: 0;
        margin-bottom: 40px;
    }

    .cta-domtom__stat {
        padding: 0 18px;
    }

    .cta-domtom__stat-number {
        font-size: 1.9rem;
    }

    .cta-domtom__stat-label {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .cta-domtom__stat-divider {
        height: 36px;
    }

    .cta-domtom__title {
        font-size: 1.75rem;
        letter-spacing: 0;
    }

    .cta-domtom__subtitle {
        font-size: 0.95rem;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .cta-domtom__stats {
        flex-direction: column;
        gap: 20px;
    }

    .cta-domtom__stat-divider {
        display: none;
    }

    .cta-domtom__stat {
        padding: 0;
    }

    .cta-domtom__stat-number {
        font-size: 2.4rem;
    }

    .cta-domtom__actions {
        flex-direction: column;
        gap: 12px;
    }

    .cta-domtom__btn {
        width: 100%;
        justify-content: center;
        max-width: 320px;
    }
}

/* === Focus visible global === */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #F9AB00;
    outline-offset: 2px;
}

.theme-btn:focus-visible {
    outline: 3px solid #F9AB00;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(249, 171, 0, 0.25);
}
