* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main {
    padding-top: 119px;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 14px;
}

.hero h1 {
    color: #dc4226;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero .subtitle {
    font-style: italic;
    font-size: 14px;
    margin-bottom: 32px;
}

.hero .highlight {
    color: #f1b517;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 20px;
    -webkit-text-stroke: 1px #f1b517;
}

.jobs {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
    padding: 14px;
}

.job-card {
    background: rgba(163, 196, 233, 0.25);
    border-radius: 18px;
    padding: 16px;
    min-height: 231px;
}

.job-card h3 {
    font-family: 'Lato bold', sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 32px;
    color: #000000;
}

.job-content {
    display: flex;
    gap: 20px;
}

.line {
    width: 5px;
    background: url('/line-7.svg') repeat-y;
    height: 165px;
}

.job-content p {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    white-space: pre-line;
    text-align: justify;
    margin-left: -20px;
}

.apply {
    margin-bottom: 40px;
    padding: 14px;
}

.apply h3 {
    color: #21509e;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.application-form input {
    height: 36px;
    background: rgba(163, 196, 233, 0.5);
    border-radius: 18px;
    border: none;
    padding: 0 24px;
    color: #21509e;
    font-size: 12px;
}

.file-input {
    position: relative;
    height: 36px;
    background: rgba(163, 196, 233, 0.5);
    border-radius: 18px;
    border: none;
    padding: 0 24px;
    color: #21509e;
    font-size: 12px;
}

.file-input input {
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-input label {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #21509e;
    font-size: 12px;
    pointer-events: none;
}

.upload-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    margin-right: 15px;
    pointer-events: none;
}

button[type="submit"] {
    width: 91px;
    height: 32px;
    background: #dc4226;
    border-radius: 16px;
    border: none;
    color: white;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}


/* TABLETTE : ≥ 600px */
@media (min-width: 600px) {

    .main {
        padding-top: 130px;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .hero .subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .hero .highlight {
        font-size: 24px;
    }

    .jobs {
        gap: 40px;
        margin-bottom: 60px;
    }

    .job-card {
        padding: 24px;
        min-height: 260px;
        transition: transform 0.3s ease;
    }

    .job-card:hover {
        transform: translateY(-5px);
    }

    .job-card h3 {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .job-content {
        gap: 30px;
    }

    .line {
        height: 185px;
    }

    .job-content p {
        font-size: 14px;
        margin-left: -30px;
    }

    .apply h3 {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .application-form {
        gap: 20px;
        max-width: 600px;
        margin: 0 auto;
    }

    .application-form input,
    .file-input {
        height: 42px;
        font-size: 14px;
        border-radius: 35px;
    }

    .file-input label {
        font-size: 14px;
    }

    button[type="submit"] {
        width: 100px;
        height: 38px;
        font-size: 16px;
        align-self: center;
    }
}

/* DESKTOP : ≥ 1024px */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 42px;
        margin-bottom: 24px;
    }

    .hero .subtitle {
        font-size: 18px;
        margin-bottom: 50px;
    }

    .hero .highlight {
        font-size: 28px;
    }

    .jobs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .job-card {
        padding: 30px;
        min-height: 300px;
        margin-left: 30px;
        margin-right: 15px;
    }

    .job-card h3 {
        font-size: 26px;
        margin-bottom: 45px;
    }

    .job-content {
        gap: 35px;
    }

    .line {
        height: 205px;
    }

    .job-content p {
        font-size: 15px;
        margin-left: -35px;
    }

    .upload-icon {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        margin-right: 15px;
        pointer-events: none;
    }

    .apply h3 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .application-form {
        gap: 24px;
        max-width: 800px;
    }

    .application-form input,
    .file-input {
        height: 70px;
        border-radius: 35px;
        font-size: 15px;
        transition: background-color 0.3s ease;
    }

    .application-form input:focus,
    .file-input:hover {
        background: rgba(163, 196, 233, 0.7);
    }

    .file-input label {
        font-size: 15px;
    }

    button[type="submit"] {
        width: 140px;
        height: 62px;
        font-size: 24px;
        border-radius: 35px;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

    button[type="submit"]:hover {
        background: #c13820;
        transform: translateY(-2px);
    }
}

/* Large Desktop : ≥ 1440px */
@media (min-width: 1440px) {

    .hero h1 {
        font-size: 48px;
    }

    .hero .subtitle {
        font-size: 20px;
    }

    .hero .highlight {
        font-size: 32px;
    }

    .jobs {
        gap: 50px;
    }

    .job-card {
        padding: 35px;
        min-height: 320px;
    }

    .job-card h3 {
        font-size: 28px;
    }

    .job-content {
        gap: 40px;
    }

    .line {
        height: 225px;
    }

    .job-content p {
        font-size: 16px;
        margin-left: -40px;
    }

    .apply h3 {
        font-size: 36px;
    }

    .application-form {
        max-width: 900px;
    }

    .application-form input,
    .file-input {
        height: 52px;
        font-size: 16px;
    }

    .file-input label {
        font-size: 16px;
    }

    button[type="submit"] {
        width: 130px;
        height: 46px;
        font-size: 17px;
    }
}